PageSourceSearch

https://italiacori.it/assets/application_italiacori-d629f983ff00f0…a3e49074eba3c2ca97455f0930a8a98b59c25e9f.js

js italiacori.it collected 2026-10-02 06:17:07 UTC 611,997 bytes, 19 lines download raw bytes

vendor: 4,513 bytes, line 1
1!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=J.type(t);return"function"!==n&&!J.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,n){if(J.isFunction(e))return J.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return J.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(rt.test(e))return J.filter(e,t,n);e=J.filter(e,t)}return J.grep(t,function(t){return q.call(e,t)>=0!==n})}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function a(t){var e=mt[t]={};return J.each(t.match(ft)||[],function(t,n){e[n]=!0}),e}function s(){K.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1),J.ready()}function r(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=J.expando+Math.random()}function l(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(_t,"-$1").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:bt.test(n)?J.parseJSON(n):n)}catch(t){}yt.set(t,e,n)}else n=void 0;return n}function d(){return!0}function c(){return!1}function u(){try{return K.activeElement}catch(t){}}function h(t,e){return J.nodeName(t,"table")&&J.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function p(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function f(t){var e=At.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function m(t,e){for(var n=0,i=t.length;i>n;n++)vt.set(t[n],"globalEval",!e||vt.get(e[n],"globalEval"))}function g(t,e){var n,i,o,a,s,r,l,d;if(1===e.nodeType){if(vt.hasData(t)&&(a=vt.access(t),s=vt.set(e,a),d=a.events))for(o in delete s.handle,s.events={},d)for(n=0,i=d[o].length;i>n;n++)J.event.add(e,o,d[o][n]);yt.hasData(t)&&(r=yt.access(t),l=J.extend({},r),yt.set(e,l))}}function v(t,e){var n=t.getElementsByTagName?t.getElementsByTagName(e||"*"):t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&J.nodeName(t,e)?J.merge([t],n):n}function y(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Ct.test(t.type)?e.checked=t.checked:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}function b(e,n){var i,o=J(n.createElement(e)).appendTo(n.body),a=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(o[0]))?i.display:J.css(o[0],"display");return o.detach(),a}function _(t){var e=K,n=Bt[t];return n||("none"!==(n=b(t,e))&&n||((e=(Ht=(Ht||J("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=b(t,e),Ht.detach()),Bt[t]=n),n}function w(t,e,n){var i,o,a,s,r=t.style;return(n=n||Yt(t))&&(s=n.getPropertyValue(e)||n[e]),n&&(""!==s||J.contains(t.ownerDocument,t)||(s=J.style(t,e)),Ft.test(s)&&jt.test(e)&&(i=r.width,o=r.minWidth,a=r.maxWidth,r.minWidth=r.maxWidth=r.width=s,s=n.width,r.width=i,r.minWidth=o,r.maxWidth=a)),void 0!==s?s+"":s}function x(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function T(t,e){if(e in t)return e;for(var n=e[0].toUpperCase()+e.slice(1),i=e,o=Ut.length;o--;)if((e=Ut[o]+n)in t)return e;return i}function C(t,e,n){var i=Zt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function S(t,e,n,i,o){for(var a=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>a;a+=2)"margin"===n&&(s+=J.css(t,n+xt[a],!0,o)),i?("content"===n&&(s-=J.css(t,"padding"+xt[a],!0,o)),"margin"!==n&&(s-=J.css(t,"border"+xt[a]+"Width",!0,o))):(s+=J.css(t,"padding"+xt[a],!0,o),"padding"!==n&&(s+=J.css(t,"border"+xt[a]+"Width",!0,o)));return s}function E(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,a=Yt(t),s="border-box"===J.css(t,"boxSizing",!1,a);if(0>=o||null==o){if((0>(o=w(t,e,a))||null==o)&&(o=t.style[e]),Ft.test(o))return o;i=s&&(X.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+S(t,e,n||(s?"border":"content"),i,a)+"px"}function k(t,e){for(var n,i,o,a=[],s=0,r=t.length;r>s;s++)(i=t[s]).style&&(a[s]=vt.get(i,"olddisplay"),n=i.style.display,e?(a[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Tt(i)&&(a[s]=vt.access(i,"olddisplay",_(i.nodeName)))):(o=Tt(i),"none"===n&&o||vt.set(i,"olddisplay",o?n:J.css(i,"dis
1play"))));for(s=0;r>s;s++)(i=t[s]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?a[s]||"":"none"));return t}function M(t,e,n,i,o){return new M.prototype.init(t,e,n,i,o)}function P(){return setTimeout(function(){Xt=void 0}),Xt=J.now()}function L(t,e){var n,i=0,o={height:t};for(e=e?1:0;4>i;i+=2-e)o["margin"+(n=xt[i])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function D(t,e,n){for(var i,o=(ne[e]||[]).concat(ne["*"]),a=0,s=o.length;s>a;a++)if(i=o[a].call(n,e,t))return i}function O(t,e,n){var i,o,a,s,r,l,d,c=this,u={},h=t.style,p=t.nodeType&&Tt(t),f=vt.get(t,"fxshow");for(i in n.queue||(null==(r=J._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,l=r.empty.fire,r.empty.fire=function(){r.unqueued||l()}),r.unqueued++,c.always(function(){c.always(function(){r.unqueued--,J.queue(t,"fx").length||r.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===("none"===(d=J.css(t,"display"))?vt.get(t,"olddisplay")||_(t.nodeName):d)&&"none"===J.css(t,"float")&&(h.display="inline-block")),n.overflow&&(h.overflow="hidden",c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),e)if(o=e[i],Qt.exec(o)){if(delete e[i],a=a||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||
vendor: 12,541 bytes, line 1
1!f||void 0===f[i])continue;p=!0}u[i]=f&&f[i]||J.style(t,i)}else d=void 0;if(J.isEmptyObject(u))"inline"===("none"===d?_(t.nodeName):d)&&(h.display=d);else for(i in f?"hidden"in f&&(p=f.hidden):f=vt.access(t,"fxshow",{}),a&&(f.hidden=!p),p?J(t).show():c.done(function(){J(t).hide()}),c.done(function(){var e;for(e in vt.remove(t,"fxshow"),u)J.style(t,e,u[e])}),u)s=D(p?f[i]:0,i,c),i in f||(f[i]=s.start,p&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}function $(t,e){var n,i,o,a,s;for(n in t)if(o=e[i=J.camelCase(n)],a=t[n],J.isArray(a)&&(o=a[1],a=t[n]=a[0]),n!==i&&(t[i]=a,delete t[n]),(s=J.cssHooks[i])&&"expand"in s)for(n in a=s.expand(a),delete t[i],a)n in t||(t[n]=a[n],e[n]=o);else e[i]=o}function z(t,e,n){var i,o,a=0,s=ee.length,r=J.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Xt||P(),n=Math.max(0,d.startTime+d.duration-e),i=1-(n/d.duration||0),a=0,s=d.tweens.length;s>a;a++)d.tweens[a].run(i);return r.notifyWith(t,[d,i,n]),1>i&&s?n:(r.resolveWith(t,[d]),!1)},d=r.promise({elem:t,props:J.extend({},e),opts:J.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Xt||P(),duration:n.duration,tweens:[],createTween:function(e,n){var i=J.Tween(t,d.opts,e,n,d.opts.specialEasing[e]||d.opts.easing);return d.tweens.push(i),i},stop:function(e){var n=0,i=e?d.tweens.length:0;if(o)return this;for(o=!0;i>n;n++)d.tweens[n].run(1);return e?r.resolveWith(t,[d,e]):r.rejectWith(t,[d,e]),this}}),c=d.props;for($(c,d.opts.specialEasing);s>a;a++)if(i=ee[a].call(d,t,c,d.opts))return i;return J.map(c,D,d),J.isFunction(d.opts.start)&&d.opts.start.call(t,d),J.fx.timer(J.extend(l,{elem:t,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 I(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,a=e.toLowerCase().match(ft)||[];if(J.isFunction(n))for(;i=a[o++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function A(t,e,n,i){function o(r){var l;return a[r]=!0,J.each(t[r]||[],function(t,r){var d=r(e,n,i);return"string"!=typeof d||s||a[d]?s?!(l=d):void 0:(e.dataTypes.unshift(d),o(d),!1)}),l}var a={},s=t===we;return o(e.dataTypes[0])||!a["*"]&&o("*")}function N(t,e){var n,i,o=J.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&J.extend(!0,t,i),t}function R(t,e,n){for(var i,o,a,s,r=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(o in r)if(r[o]&&r[o].test(i)){l.unshift(o);break}if(l[0]in n)a=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){a=o;break}s||(s=o)}a=a||s}return a?(a!==l[0]&&l.unshift(a),n[a]):void 0}function H(t,e,n,i){var o,a,s,r,l,d={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)d[s.toLowerCase()]=t.converters[s];for(a=c.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(s=d[l+" "+a]||d["* "+a]))for(o in d)if((r=o.split(" "))[1]===a&&(s=d[l+" "+r[0]]||d["* "+r[0]])){!0===s?s=d[o]:!0!==d[o]&&(a=r[0],c.unshift(r[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}function B(t,e,n,i){var o;if(J.isArray(e))J.each(e,function(e,o){n||Ce.test(t)?i(t,o):B(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==J.type(e))i(t,e);else for(o in e)B(t+"["+o+"]",e[o],n,i)}function j(t){return J.isWindow(t)?t:9===t.nodeType&&t.defaultView}var F=[],Y=F.slice,W=F.concat,Z=F.push,q=F.indexOf,V={},G=V.toString,U=V.hasOwnProperty,X={},K=t.document,Q="2.1.1",J=function(t,e){return new J.fn.init(t,e)},tt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,et=/^-ms-/,nt=/-([\da-z])/gi,it=function(t,e){return e.toUpperCase()};J.fn=J.prototype={jquery:Q,constructor:J,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:Y.call(this)},pushStack:function(t){var e=J.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return J.each(this,t,e)},map:function(t){return this.pushStack(J.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:F.sort,splice:F.splice},J.extend=J.fn.extend=function(){var t,e,n,i,o,a,s=arguments[0]||{},r=1,l=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[r]||{},r++),"object"==typeof s||J.isFunction(s)||(s={}),r===l&&(s=this,r--);l>r;r++)if(null!=(t=arguments[r]))for(e in t)n=s[e],s!==(i=t[e])&&(d&&i&&(J.isPlainObject(i)||(o=J.isArray(i)))?(o?(o=!1,a=n&&J.isArray(n)?n:[]):a=n&&J.isPlainObject(n)?n:{},s[e]=J.extend(d,a,i)):void 0!==i&&(s[e]=i));return s},J.extend({expando:"jQuery"+(Q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===J.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){return!J.isArray(t)&&t-parseFloat(t)>=0},isPlainObject:function(t){return"object"===J.type(t)&&!t.nodeType&&!J.isWindow(t)&&!(t.constructor&&!U.call(t.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?V[G.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=J.trim(t))&&(1===t.indexOf("use strict")?((e=K.createElement("script")).text=t,K.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(et,"ms-").replace(nt,it)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var o=0,a=t.length,s=n(t);if(i){if(s)for(;a>o&&!1!==e.apply(t[o],i);o++);else for(o in t)if(!1===e.apply(t[o],i))break}else if(s)for(;a>o&&!1!==e.call(t[o],o,t[o]);o++);else for(o in t)if(!1===e.call(t[o],o,t[o]))break;return t},trim:function(t){return null==t?"":(t+"").replace(tt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?J.merge(i,"string"==typeof t?[t]:t):Z.call(i,t)),i},inArray:function(t,e,n){return null==e?-1:q.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;i++)t[o++]=e[i];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,a=t.length,s=!n;a>o;o++)!e(t[o],o)!==s&&i.push(t[o]);return i},map:function(t,e,i){var o,a=0,s=t.length,r=[];if(n(t))for(;s>a;a++)null!=(o=e(t[a],a,i))&&r.push(o);else for(a in t)null!=(o=e(t[a],a,i))&&r.push(o);return W.apply([],r)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(n=t[e],e=t,t=n),J.isFunction(t)?(i=Y.call(arguments,2),o=function(){return t.apply(e||this,i.concat(Y.call(arguments)))},o.guid=t.guid=t.guid||J.guid++,o):void 0},now:Date.now,support:X}),J.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){V["[object "+e+"]"]=e.toLowerCase()});var ot=function(t){function e(t,e,n,i){var o,a,s,r,l,d,u,p,f,m;if((e?e.ownerDocument||e:B)!==O&&D(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(r=(e=e||O).nodeType)&&9!==r)return[];if(z&&!i){if(o=yt.exec(t))if(s=o[1]){if(9===r){if(!(a=e.getElementById(s))||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(e.ownerDocument&&(a=e.ownerDocument.getElementById(s))&&R(e,a)&&a.id===s)return n.push(a),n}else{if(o[2])return J.apply(n,e.getElementsByTagName(t)),n;if((s=o[3])&&w.getElementsByClassName&&e.getElementsByClassName)return J.apply(n,e.getElementsByClassName(s)),n}if(w.qsa&&(!I||!I.test(t))){if(p=u=H,f=e,m=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(d=S(t),(u=e.getAttribute("id"))?p=u.replace(_t,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=d.length;l--;)d[l]=p+h(d[l]);f=bt.test(t)&&c(e.parentNode)||e,m=d.join(",")}if(m)try{return J.apply(n,f.querySelectorAll(m)),n}catch(t){}finally{u||e.removeAttribute("id")}}}return k(t.replace(lt,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[H]=!0,t}function o(t){var e=O.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var n=t.split("|"),i=t.length;i--;)x.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||G)-(~t.sourceIndex||G);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function r(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function d(t){return i(function(e){return e=+e,i(function(n,i){for(var o,a=t([],n.length,e),s=a.length;s--;)n[o=a[s]]&&(n[o]=!(i[o]=n[o]))})})}function c(t){return t&&typeof t.getElementsByTagName!==V&&t}function u(){}function h(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,o=n&&"parentNode"===i,a=F++;return e.first?function(e,n,a){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,a)}:function(e,n,s){var r,l,d=[j,a];if(s){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if((r=(l=e[H]||(e[H]={}))[i])&&r[0]===j&&r[1]===a)return d[2]=r[2];if(l[i]=d,d[2]=t(e,n,s))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,a=n.length;a>o;o++)e(t,n[o],i);return i}function g(t,e,n,i,o){for(var a,s=[],r=0,l=t.length,d=null!=e;l>r;r++)(a=t[r])&&(!n||n(a,i,o))&&(s.push(a),d&&e.push(r));return s}function v(t,e,n,o,a,s){return o&&!o[H]&&(o=v(o)),a&&!a[H]&&(a=v(a,s)),i(function(i,s,r,l){var d,c,u,h=[],p=[],f=s.length,v=i||m(e||"*",r.nodeType?[r]:r,[]),y=!t||!i&&e?v:g(v,h,t,r,l),b=n?a||(i?t:f||o)?[]:s:y;if(n&&n(y,b,r,l),o)for(d=g(b,p),o(d,[],r,l),c=d.length;c--;)(u=d[c])&&(b[p[c]]=!(y[p[c]]=u));if(i){if(a||t){if(a){for(d=[],c=b.length;c--;)(u=b[c])&&d.push(y[c]=u);a(null,b=[],d,l)}for(c=b.length;c--;)(u=b[c])&&(d=a?et.call(i,u):h[c])>-1&&(i[d]=!(s[d]=u))}}else b=g(b===s?b.splice(f,b.length):b),a?a(null,s,b,l):J.apply(s,b)})}function y(t){for(var e,n,i,o=t.length,a=x.relative[t[0].type],s=a||x.relative[" "],r=a?1:0,l=p(function(t){return t===e},s,!0),d=p(function(t){return et.call(e,t)>-1},s,!0),c=[function(t,n,i){return!a&&(i||n!==M)||((e=n).nodeType?l(t,n,i):d(t,n,i))}];o>r;r++)if(n=x.relative[t[r].type])c=[p(f(c),n)];else{if((n=x.filter[t[r].type].apply(null,t[r].matches))[H]){for(i=++r;o>i&&!x.relative[t[i].type];i++);return v(r>1&&f(c),r>1&&h(t.slice(0,r-1).concat({value:" "===t[r-2].type?"*":""})).replace(lt,"$1"),n,i>r&&y(t.slice(r,i)),o>i&&y(t=t.slice(i)),o>i&&h(t))}c.push(n)}return f(c)}function b(t,n){var o=n.length>0,a=t.length>0,s=function(i,s,r,l,d){var c,u,h,p=0,f="0",m=i&&[],v=[],y=M,b=i||a&&x.find.TAG("*",d),_=j+=null==y?1:Math.random()||.1,w=b.length;for(d&&(M=s!==O&&s);f!==w&&null!=(c=b[f]);f++){if(a&&c){for(u=0;h=t[u++];)if(h(c,s,r)){l.push(c);break}d&&(j=_)}o&&((c=!h&&c)&&p--,i&&m.push(c))}if(p+=f,o&&f!==p){for(u=0;h=n[u++];)h(m,v,s,r);if(i){if(p>0)for(;f--;)m[f]||v[f]||(v[f]=K.call(l));v=g(v)}J.apply(l,v),d&&!i&&v.length>0&&p+n.length>1&&e.uniqueSort(l)}return d&&(j=_,M=y),m};return o?i(s):s}var _,w,x,T,C,S,E,k,M,P,L,D,O,$,z,I,A,N,R,H="sizzle"+-new Date,B=t.document,j=0,F=0,Y=n(),W=n(),Z=n(),q=function(t,e){return t===e&&(L=!0),0},V="undefined",G=1<<31,U={}.hasOwnProperty,X=[],K=X.pop,Q=X.push,J=X.push,tt=X.slice,et=X.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",ot="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",at=ot.replace("w","w#"),st="\\["+it+"*("+ot+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+at+"))|)"+it+"*\\]",rt=":("+ot+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+st+")*)|.*)\\)|)",lt=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),dt=new RegExp("^"+it+"*,"+it+"*"),
vendor: 4,116 bytes, line 1
1ct=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),ut=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),ht=new RegExp(rt),pt=new RegExp("^"+at+"$"),ft={ID:new RegExp("^#("+ot+")"),CLASS:new RegExp("^\\.("+ot+")"),TAG:new RegExp("^("+ot.replace("w","w*")+")"),ATTR:new RegExp("^"+st),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},mt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,_t=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{J.apply(X=tt.call(B.childNodes),B.childNodes),X[B.childNodes.length].nodeType}catch(t){J={apply:X.length?function(t,e){Q.apply(t,tt.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(_ in w=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},D=e.setDocument=function(t){var e,n=t?t.ownerDocument||t:B,i=n.defaultView;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,$=n.documentElement,z=!C(n),i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",function(){D()},!1):i.attachEvent&&i.attachEvent("onunload",function(){D()})),w.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=o(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=vt.test(n.getElementsByClassName)&&o(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),w.getById=o(function(t){return $.appendChild(t).id=H,!n.getElementsByName||!n.getElementsByName(H).length}),w.getById?(x.find.ID=function(t,e){if(typeof e.getElementById!==V&&z){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var n=typeof t.getAttributeNode!==V&&t.getAttributeNode("id");return n&&n.value===e}}),x.find.TAG=w.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==V?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],o=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[o++];)1===n.nodeType&&i.push(n);return i}return a},x.find.CLASS=w.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==V&&z?e.getElementsByClassName(t):void 0},A=[],I=[],(w.qsa=vt.test(n.querySelectorAll))&&(o(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&I.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+it+"*(?:value|"+nt+")"),t.querySelectorAll(":checked").length||I.push(":checked")}),o(function(t){var e=n.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(w.matchesSelector=vt.test(N=$.matches||$.webkitMatchesSelector||$.mozMatchesSelector||$.oMatchesSelector||$.msMatchesSelector))&&o(function(t){w.disconnectedMatch=N.call(t,"div"),N.call(t,"[s!='']:x"),A.push("!=",rt)}),I=I.length&&new RegExp(I.join("|")),A=A.length&&new RegExp(A.join("|")),e=vt.test($.compareDocumentPosition),R=e||vt.test($.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i))
vendor: 4,217 bytes, line 1
1)}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},q=e?function(t,e){if(t===e)return L=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!w.sortDetached&&e.compareDocumentPosition(t)===i?t===n||t.ownerDocument===B&&R(B,t)?-1:e===n||e.ownerDocument===B&&R(B,e)?1:P?et.call(P,t)-et.call(P,e):0:4&i?-1:1)}:function(t,e){if(t===e)return L=!0,0;var i,o=0,a=t.parentNode,r=e.parentNode,l=[t],d=[e];if(!a||!r)return t===n?-1:e===n?1:a?-1:r?1:P?et.call(P,t)-et.call(P,e):0;if(a===r)return s(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)d.unshift(i);for(;l[o]===d[o];)o++;return o?s(l[o],d[o]):l[o]===B?-1:d[o]===B?1:0},n):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&D(t),n=n.replace(ut,"='$1']"),!(!w.matchesSelector||!z||A&&A.test(n)||I&&I.test(n)))try{var i=N.call(t,n);if(i||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&D(t),R(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&D(t);var n=x.attrHandle[e.toLowerCase()],i=n&&U.call(x.attrHandle,e.toLowerCase())?n(t,e,!z):void 0;return void 0!==i?i:w.attributes||!z?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(L=!w.detectDuplicates,P=!w.sortStable&&t.slice(0),t.sort(q),L){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return P=null,t},T=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=T(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=T(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ht.test(n)&&(e=S(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=Y[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&Y(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==V&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var a=e.attr(o,t);return null==a?"!="===n:!n||(a+="","="===n?a===i:"!="===n?a!==i:"^="===n?i&&0===a.indexOf(i):"*="===n?i&&a.indexOf(i)>-1:"$="===n?i&&a.slice(-i.length)===i:"~="===n?(" "+a+" ").indexOf(i)>-1:"|="===n&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,o){var a="nth"!==t.slice(0,3),s="last"!==t.slice(-4),r="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var d,c,u,h,p,f,m=a!==s?"nextSibling":"previousSibling",g=e.parentNode,v=r&&e.nodeName.toLowerCase(),y=!l&&!r;if(g){if(a){for(;m;){for(u=e;u=u[m];)if(r?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(p=(d=(c=g[H]||(g[H]={}))[t]||[])[0]===j&&d[1],h=d[0]===j&&d[2],u=p&&g.childNodes[p];u=++p&&u&&u[m]||(h=p=0)||f.pop();)if(1===u.nodeType&&++h&&u===e){c[t]=[j,p,h];break}}else if(y&&(d=(e[H]||(e[H]={}))[t])&&d[0]===j)h=d[1];else for(;(u=++p&&u&&u[m]||(h=p=0)||f.pop())&&((r?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++h||(y&&((u[H]||
vendor: 5,246 bytes, line 1
1(u[H]={}))[t]=[j,h]),u!==e)););return(h-=o)===i||h%i===0&&h/i>=0}}},PSEUDO:function(t,n){var o,a=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[H]?a(n):a.length>1?(o=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=a(t,n),s=o.length;s--;)t[i=et.call(t,o[s])]=!(e[i]=o[s])}):function(t){return a(t,0,o)}):a}},pseudos:{not:i(function(t){var e=[],n=[],o=E(t.replace(lt,"$1"));return o[H]?i(function(t,e,n,i){for(var a,s=o(t,null,i,[]),r=t.length;r--;)(a=s[r])&&(t[r]=!(e[r]=a))}):function(t,i,a){return e[0]=t,o(e,null,a,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:i(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var n;do{if(n=z?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===$},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return mt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:d(function(){return[0]}),last:d(function(t,e){return[e-1]}),eq:d(function(t,e,n){return[0>n?n+e:n]}),even:d(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:d(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:d(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:d(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},x.pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[_]=r(_);for(_ in{submit:!0,reset:!0})x.pseudos[_]=l(_);return u.prototype=x.filters=x.pseudos,x.setFilters=new u,S=e.tokenize=function(t,n){var i,o,a,s,r,l,d,c=W[t+" "];if(c)return n?0:c.slice(0);for(r=t,l=[],d=x.preFilter;r;){for(s in(!i||(o=dt.exec(r)))&&(o&&(r=r.slice(o[0].length)||r),l.push(a=[])),i=!1,(o=ct.exec(r))&&(i=o.shift(),a.push({value:i,type:o[0].replace(lt," ")}),r=r.slice(i.length)),x.filter)!(o=ft[s].exec(r))||d[s]&&!(o=d[s](o))||(i=o.shift(),a.push({value:i,type:s,matches:o}),r=r.slice(i.length));if(!i)break}return n?r.length:r?e.error(t):W(t,l).slice(0)},E=e.compile=function(t,e){var n,i=[],o=[],a=Z[t+" "];if(!a){for(e||(e=S(t)),n=e.length;n--;)(a=y(e[n]))[H]?i.push(a):o.push(a);(a=Z(t,b(o,i))).selector=t}return a},k=e.select=function(t,e,n,i){var o,a,s,r,l,d="function"==typeof t&&t,u=!i&&S(t=d.selector||t);if(n=n||[],1===u.length){if((a=u[0]=u[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&w.getById&&9===e.nodeType&&z&&x.relative[a[1].type]){if(!(e=(x.find.ID(s.matches[0].replace(wt,xt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(o=ft.needsContext.test(t)?0:a.length;o--&&(s=a[o],!x.relative[r=s.type]);)if((l=x.find[r])&&(i=l(s.matches[0].replace(wt,xt),bt.test(a[0].type)&&c(e.parentNode)||e))){if(a.splice(o,1),!(t=i.length&&h(a)))return J.apply(n,i),n;break}}return(d||E(t,u))(i,e,!z,n,bt.test(t)&&c(e.parentNode)||e),n},w.sortStable=H.split("").sort(q).join("")===H,w.detectDuplicates=!!L,D(),w.sortDetached=o(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||a(nt,function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);J.find=ot,J.expr=ot.selectors,J.expr[":"]=J.expr.pseudos,J.unique=ot.uniqueSort,J.text=ot.getText,J.isXMLDoc=ot.isXML,J.contains=ot.contains;var at=J.expr.match.needsContext,st=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rt=/^.[^:#\[\.,]*$/;J.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?J.find.matchesSelector(i,t)?[i]:[]:J.find.matches(t,J.grep(e,function(t){return 1===t.nodeType}))},J.fn.extend({find:function(t){var e,n=this.length,i=[],o=this;if("string"!=typeof t)return this.pushStack(J(t).filter(function(){for(e=0;
vendor: 4,567 bytes, lines 1-2
1n>e;e++)if(J.contains(o[e],this))return!0}));for(e=0;n>e;e++)J.find(t,o[e],i);return(i=this.pushStack(n>1?J.unique(i):i)).selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&at.test(t)?J(t):t||[],!1).length}});var lt,dt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ct=J.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:dt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||lt).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof J?e[0]:e,J.merge(this,J.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:K,!0)),
2st.test(n[1])&&J.isPlainObject(e))for(n in e)J.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(i=K.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=K,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):J.isFunction(t)?void 0!==lt.ready?lt.ready(t):t(J):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),J.makeArray(t,this))};ct.prototype=J.fn,lt=J(K);var ut=/^(?:parents|prev(?:Until|All))/,ht={children:!0,contents:!0,next:!0,prev:!0};J.extend({dir:function(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&J(t).is(n))break;i.push(t)}return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),J.fn.extend({has:function(t){var e=J(t,this),n=e.length;return this.filter(function(){for(var t=0;n>t;t++)if(J.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,a=[],s=at.test(t)||"string"!=typeof t?J(t,e||this.context):0;o>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&J.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?J.unique(a):a)},index:function(t){return t?"string"==typeof t?q.call(J(t),this[0]):q.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(J.unique(J.merge(this.get(),J(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),J.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return J.dir(t,"parentNode")},parentsUntil:function(t,e,n){return J.dir(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return J.dir(t,"nextSibling")},prevAll:function(t){return J.dir(t,"previousSibling")},nextUntil:function(t,e,n){return J.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return J.dir(t,"previousSibling",n)},siblings:function(t){return J.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return J.sibling(t.firstChild)},contents:function(t){return t.contentDocument||J.merge([],t.childNodes)}},function(t,e){J.fn[t]=function(n,i){var o=J.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=J.filter(i,o)),this.length>1&&(ht[t]||J.unique(o),ut.test(t)&&o.reverse()),this.pushStack(o)}});var pt,ft=/\S+/g,mt={};J.Callbacks=function(t){t="string"==typeof t?mt[t]||a(t):J.extend({},t);var e,n,i,o,s,r,l=[],d=!t.once&&[],c=function(a){for(e=t.memory&&a,n=!0,r=o||0,o=0,s=l.length,i=!0;l&&s>r;r++)if(!1===l[r].apply(a[0],a[1])&&t.stopOnFalse){e=!1;break}i=!1,l&&(d?d.length&&c(d.shift()):e?l=[]:u.disable())},u={add:function(){if(l){var n=l.length;!function e(n){J.each(n,function(n,i){var o=J.type(i);"function"===o?t.unique&&u.has(i)||l.push(i):i&&i.length&&"string"!==o&&e(i)})}(arguments),i?s=l.length:e&&(o=n,c(e))}return this},remove:function(){return l&&J.each(arguments,function(t,e){for(var n;(n=J.inArray(e,l,n))>-1;)l.splice(n,1),i&&(s>=n&&s--,r>=n&&r--)}),this},has:function(t){return t?J.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],s=0,this},disable:function(){return l=d=e=void 0,this},disabled:function(){return!l},lock:function(){return d=void 0,e||u.disable(),this},locked:function(){return!d},fireWith:function(t,e){return!l||n&&!d||(e=[t,(e=e||[]).slice?e.slice():e],i?d.push(e):c(e)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},J.extend({Deferred:function(t){var e=[["resolve","done",J.Callbacks("once memory"),"resolved"],["reject","fail",J.Callbacks("once memory"),"rejected"],["notify","progress",J.Callbacks("memory")]],n="pe
2nding",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return J.Deferred(function(n){J.each(e,function(e,a){var s=J.isFunction(t[e])&&t[e];o[a[1]](function(){var t=s&&s.apply(this,arguments);t&&J.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?J.extend(t,i):i}},o={};return i.pipe=i.then,J.each(e,function(t,a){var s=a[2],r=a[3];i[a[1]]=s.add,r&&s.add(function(){n=r},e[1^t][2].disable,e[2][2].lock),o[a[0]]=function(){return o[a[0]+"With"](this===o?i:this,arguments),this},o[a[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,a=Y.call(arguments),s=a.length,r=1!==s||t&&J.isFunction(t.promise)?s:0,l=1===r?t:J.Deferred(),d=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?Y.call(arguments):o,i===e?l.notifyWith(n,i):--r||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>o;o++)a[o]&&J.isFunction(a[o].promise)?a[o].promise().done(d(o,i,a)).fail(l.reject).progress(d(o,n,e)):--r;return r||l.resolveWith(i,a),l.promise()}}),J.fn.ready=function(t){return J.ready.promise().done(t),this},J.extend({isReady:!1,readyWait:1,holdReady:function(t){t?J.readyWait++:J.ready(!0)},ready:function(t){(!0===t?--J.readyWait:J.isReady)||(J.isReady=!0,!0!==t&&--J.readyWait>0||(pt.resolveWith(K,[J]),J.fn.triggerHandler&&(J(K).triggerHandler("ready"),J(K).off("ready"))))}}),J.ready.promise=function(e){return pt||(pt=J.Deferred(),"complete"===K.readyState?setTimeout(J.ready):(K.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1))),pt.promise(e)},J.ready.promise();var gt=J.access=function(t,e,n,i,o,a,s){var r=0,l=t.length,d=null==n;if("object"===J.type(n))for(r in o=!0,n)J.access(t,e,r,n[r],!0,a,s);else if(void 0!==i&&(o=!0,J.isFunction(i)||(s=!0),d&&(s?(e.call(t,i),e=null):(d=e,e=function(t,e,n){return d.call(J(t),n)})),e))for(;l>r;r++)e(t[r],n,s?i:i.call(t[r],r,e(t[r],n)));return o?t:d?e.call(t):l?e(t[0],n):a};J.acceptData=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType},r.uid=1,r.accepts=J.acceptData,r.prototype={key:function(t){if(!r.accepts(t))return 0;var e={},n=t[this.expando];if(!n){n=r.uid++;try{e[this.expando]={value:n},Object.defineProperties(t,e)}catch(i){e[this.expando]=n,J.extend(t,e)}}return this.cache[n]||(this.cache[n]={}),n},set:function(t,e,n){var i,o=this.key(t),a=this.cache[o];if("string"==typeof e)a[e]=n;else if(J.isEmptyObject(a))J.extend(this.cache[o],e);else for(i in e)a[i]=e[i];return a},get:function(t,e){var n=this.cache[this.key(t)];return void 0===e?n:n[e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?void 0!==(i=this.get(t,e))?i:this.get(t,J.camelCase(e)):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,o,a=this.key(t),s=this.cache[a];if(void 0===e)this.cache[a]={};else{J.isArray(e)?i=e.concat(e.map(J.camelCase)):(o=J.camelCase(e),e in s?i=[e,o]:i=(i=o)in s?[i]:i.match(ft)||[]),n=i.length;for(;n--;)delete s[i[n]]}},hasData:function(t){return!J.isEmptyObject(this.cache[t[this.expando]]||{})},discard:function(t){t[this.expando]&&delete this.cache[t[this.expando]]}};var vt=new r,yt=new r,bt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_t=/([A-Z])/g;J.extend({hasData:function(t){return yt.hasData(t)||vt.hasData(t)},data:function(t,e,n){return yt.access(t,e,n)},removeData:function(t,e){yt.remove(t,e)},_data:function(t,e,n){return vt.access(t,e,n)},_removeData:function(t,e){vt.remove(t,e)}}),J.fn.extend({data:function(t,e){var n,i,o,a=this[0],s=a&&a.attributes;if(void 0===t){if(this.length&&(o=yt.get(a),1===a.nodeType&&!vt.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(0===(i=s[n].name).indexOf("data-")&&(i=J.camelCase(i.slice(5)),l(a,i,o[i])));vt.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){yt.set(this,t)}):gt(this,function(e){var n,i=J.camelCase(t);if(a&&void 0===e){if(void 0!==(n=yt.get(a,t)))return n;
vendor: 9,180 bytes, line 2
2if(void 0!==(n=yt.get(a,i)))return n;if(void 0!==(n=l(a,i,void 0)))return n}else this.each(function(){var n=yt.get(this,i);yt.set(this,i,e),-1!==t.indexOf("-")&&void 0!==n&&yt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){yt.remove(this,t)})}}),J.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=vt.get(t,e),n&&(!i||J.isArray(n)?i=vt.access(t,e,J.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=J.queue(t,e),i=n.length,o=n.shift(),a=J._queueHooks(t,e),s=function(){J.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete a.stop,o.call(t,s,a)),!i&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return vt.get(t,n)||vt.access(t,n,{empty:J.Callbacks("once memory").add(function(){vt.remove(t,[e+"queue",n])})})}}),J.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?J.queue(this[0],t):void 0===e?this:this.each(function(){var n=J.queue(this,t,e);J._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&J.dequeue(this,t)})},dequeue:function(t){return this.each(function(){J.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=J.Deferred(),a=this,s=this.length,r=function(){--i||o.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=vt.get(a[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(r));return r(),o.promise(e)}});var wt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,xt=["Top","Right","Bottom","Left"],Tt=function(t,e){return t=e||t,"none"===J.css(t,"display")||!J.contains(t.ownerDocument,t)},Ct=/^(?:checkbox|radio)$/i;!function(){var t=K.createDocumentFragment().appendChild(K.createElement("div")),e=K.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),X.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",X.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var St="undefined";X.focusinBubbles="onfocusin"in t;var Et=/^key/,kt=/^(?:mouse|pointer|contextmenu)|click/,Mt=/^(?:focusinfocus|focusoutblur)$/,Pt=/^([^.]*)(?:\.(.+)|)$/;J.event={global:{},add:function(t,e,n,i,o){var a,s,r,l,d,c,u,h,p,f,m,g=vt.get(t);if(g)for(n.handler&&(n=(a=n).handler,o=a.selector),n.guid||(n.guid=J.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return typeof J!==St&&J.event.triggered!==e.type?J.event.dispatch.apply(t,arguments):void 0}),d=(e=(e||"").match(ft)||[""]).length;d--;)p=m=(r=Pt.exec(e[d])||[])[1],f=(r[2]||"").split(".").sort(),p&&(u=J.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=J.event.special[p]||{},c=J.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&J.expr.match.needsContext.test(o),namespace:f.join(".")},a),(h=l[p])||((h=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(p,s,!1)),u.add&&(u.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,c):h.push(c),J.event.global[p]=!0)},remove:function(t,e,n,i,o){var a,s,r,l,d,c,u,h,p,f,m,g=vt.hasData(t)&&vt.get(t);if(g&&(l=g.events)){for(d=(e=(e||"").match(ft)||[""]).length;d--;)if(p=m=(r=Pt.exec(e[d])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=J.event.special[p]||{},h=l[p=(i?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=h.length;a--;)c=h[a],!o&&m!==c.origType||n&&n.guid!==c.guid||r&&!r.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(a,1),c.selector&&h.delegateCount--,u.remove&&u.remove.call(t,c));s&&!h.length&&(u.teardown&&!1!==u.teardown.call(t,f,g.handle)||J.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)J.event.remove(t,p+e[d],n,i,!0);J.isEmptyObject(l)&&(delete g.handle,vt.remove(t,"events"))}},trigger:function(e,n,i,o){var a,s,r,l,d,c,u,h=[i||K],p=U.call(e,"type")?e.type:e,f=U.call(e,"namespace")?e.namespace.split("."):[];if(s=r=i=i||K,3!==i.nodeType&&8!==i.nodeType&&!Mt.test(p+J.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),d=p.indexOf(":")<0&&"on"+p,(e=e[J.expando]?e:new J.Event(p,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:J.makeArray(n,[e]),u=J.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(i,n))){if(!o&&!u.noBubble&&!J.isWindow(i)){for(l=u.delegateType||p,Mt.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),r=s;r===(i.ownerDocument||K)&&h.push(r.defaultView||r.parentWindow||t)}for(a=0;(s=h[a++])&&!e.isPropagationStopped();)e.type=a>1?l:u.bindType||p,(c=(vt.get(s,"events")||{})[e.type]&&vt.get(s,"handle"))&&c.apply(s,n),(c=d&&s[d])&&c.apply&&J.acceptData(s)&&(e.result=c.apply(s,n),!1===e.result&&e.preventDefault());return e.type=p,o||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),n)||!J.acceptData(i)||d&&J.isFunction(i[p])&&!J.isWindow(i)&&((r=i[d])&&(i[d]=null),J.event.triggered=p,i[p](),J.event.triggered=void 0,r&&(i[d]=r)),e.result}},dispatch:function(t){t=J.event.fix(t);var e,n,i,o,a,s=[],r=Y.call(arguments),l=(vt.get(this,"events")||{})[t.type]||[],d=J.event.special[t.type]||{};if(r[0]=t,t.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,t)){for(s=J.event.handlers.call(this,t,l),e=0;(o=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(a.namespace))&&(t.handleObj=a,t.data=a.data,void 0!==(i=((J.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,r))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,a,s=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==t.type){for(i=[],n=0;r>n;n++)void 0===i[o=(a=e[n]).selector+" "]&&(i[o]=a.needsContext?J(o,this).index(l)>=0:J.find(o,this,null,[l]).length),i[o]&&i.push(a);i.length&&s.push({elem:l,handlers:i})}return r<e.length&&s.push({elem:this,handlers:e.slice(r)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o,a=e.button;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||K).documentElement,o=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},fix:function(t){if(t[J.expando])return t;var e,n,i,o=t.type,a=t,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=kt.test(o)?this.mouseHooks:Et.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new J.Event(a),e=i.length;e--;)t[n=i[e]]=a[n];return t.target||(t.target=K),3===t.target.nodeType&&(t.target=t.target.parentNode),s.filter?s.filter(t,a):t},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==u()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===u()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&J.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(t){return J.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var o=J.extend(new J.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?J.event.trigger(o,null,e):J.event.dispatch.call(e,o),o.isDefaultPrevented()&&n.preventDefault()}},J.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)},J.Event=function(t,e){return this instanceof J.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?d:c):this.type=t,e&&J.extend(this,e),this.timeStamp=t&&t.timeStamp||J.now(),void(this[J.expando]=!0)):new J.Event(t,e)},J.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=d,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 5,237 bytes, line 2
2,J.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){J.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,a=t.handleObj;return(!o||o!==i&&!J.contains(i,o))&&(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=e),n}}}),X.focusinBubbles||J.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){J.event.simulate(e,t.target,J.event.fix(t),!0)};J.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=vt.access(i,e);o||i.addEventListener(t,n,!0),vt.access(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=vt.access(i,e)-1;o?vt.access(i,e,o):(i.removeEventListener(t,n,!0),vt.remove(i,e))}}}),J.fn.extend({on:function(t,e,n,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(s,e,n,t[s],o);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=c;else if(!i)return this;return 1===o&&(a=i,i=function(t){return J().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=J.guid++)),this.each(function(){J.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,J(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(!1===e||"function"==typeof e)&&(n=e,e=void 0),!1===n&&(n=c),this.each(function(){J.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){J.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?J.event.trigger(t,e,n,!0):void 0}});var Lt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Dt=/<([\w:]+)/,Ot=/<|&#?\w+;/,$t=/<(?:script|style|link)/i,zt=/checked\s*(?:[^=]|=\s*.checked.)/i,It=/^$|\/(?:java|ecma)script/i,At=/^true\/(.*)/,Nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Rt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Rt.optgroup=Rt.option,Rt.tbody=Rt.tfoot=Rt.colgroup=Rt.caption=Rt.thead,Rt.th=Rt.td,J.extend({clone:function(t,e,n){var i,o,a,s,r=t.cloneNode(!0),l=J.contains(t.ownerDocument,t);if(!(X.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||J.isXMLDoc(t)))for(s=v(r),i=0,o=(a=v(t)).length;o>i;i++)y(a[i],s[i]);if(e)if(n)for(a=a||v(t),s=s||v(r),i=0,o=a.length;o>i;i++)g(a[i],s[i]);else g(t,r);return(s=v(r,"script")).length>0&&m(s,!l&&v(t,"script")),r},buildFragment:function(t,e,n,i){for(var o,a,s,r,l,d,c=e.createDocumentFragment(),u=[],h=0,p=t.length;p>h;h++)if((o=t[h])||0===o)if("object"===J.type(o))J.merge(u,o.nodeType?[o]:o);else if(Ot.test(o)){for(a=a||c.appendChild(e.createElement("div")),s=(Dt.exec(o)||["",""])[1].toLowerCase(),r=Rt[s]||Rt._default,a.innerHTML=r[1]+o.replace(Lt,"<$1></$2>")+r[2],d=r[0];d--;)a=a.lastChild;J.merge(u,a.childNodes),(a=c.firstChild).textContent=""}else u.push(e.createTextNode(o));for(c.textContent="",h=0;o=u[h++];)if((!i||-1===J.inArray(o,i))&&(l=J.contains(o.ownerDocument,o),a=v(c.appendChild(o),"script"),l&&m(a),n))for(d=0;o=a[d++];)It.test(o.type||"")&&n.push(o);return c},cleanData:function(t){for(var e,n,i,o,a=J.event.special,s=0;void 0!==(n=t[s]);s++){if(J.acceptData(n)&&((o=n[vt.expando])&&(e=vt.cache[o]))){if(e.events)for(i in e.events)a[i]?J.event.remove(n,i):J.removeEvent(n,i,e.handle);vt.cache[o]&&delete vt.cache[o]}delete yt.cache[n[yt.expando]]}}}),J.fn.extend({text:function(t){return gt(this,function(t){return void 0===t?J.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||h(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=h(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?J.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||J.cleanData(v(n)),n.parentNode&&(e&&J.contains(n.ownerDocument,n)&&m(v(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(J.cleanData(v(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return J.clone(this,t,e)})},html:function(t){return gt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!$t.test(t)&&!Rt[(Dt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(Lt,"<$1></$2>");try{for(;i>n;n++)1===(e=this[n]||{}
vendor: 8,756 bytes, line 2
2).nodeType&&(J.cleanData(v(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,J.cleanData(v(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=W.apply([],t);var n,i,o,a,s,r,l=0,d=this.length,c=this,u=d-1,h=t[0],m=J.isFunction(h);if(m||d>1&&"string"==typeof h&&!X.checkClone&&zt.test(h))return this.each(function(n){var i=c.eq(n);m&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(d&&(i=(n=J.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=i),i)){for(a=(o=J.map(v(n,"script"),p)).length;d>l;l++)s=n,l!==u&&(s=J.clone(s,!0,!0),a&&J.merge(o,v(s,"script"))),e.call(this[l],s,l);if(a)for(r=o[o.length-1].ownerDocument,J.map(o,f),l=0;a>l;l++)s=o[l],It.test(s.type||"")&&!vt.access(s,"globalEval")&&J.contains(r,s)&&(s.src?J._evalUrl&&J._evalUrl(s.src):J.globalEval(s.textContent.replace(Nt,"")))}return this}}),J.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){J.fn[t]=function(t){for(var n,i=[],o=J(t),a=o.length-1,s=0;a>=s;s++)n=s===a?this:this.clone(!0),J(o[s])[e](n),Z.apply(i,n.get());return this.pushStack(i)}});var Ht,Bt={},jt=/^margin/,Ft=new RegExp("^("+wt+")(?!px)[a-z%]+$","i"),Yt=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)};!function(){var e,n,i=K.documentElement,o=K.createElement("div"),a=K.createElement("div");if(a.style){function s(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",i.appendChild(o);var s=t.getComputedStyle(a,null);e="1%"!==s.top,n="4px"===s.width,i.removeChild(o)}a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",X.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),t.getComputedStyle&&J.extend(X,{pixelPosition:function(){return s(),e},boxSizingReliable:function(){return null==n&&s(),n},reliableMarginRight:function(){var e,n=a.appendChild(K.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",i.appendChild(o),e=!parseFloat(t.getComputedStyle(n,null).marginRight),i.removeChild(o),e}})}}(),J.swap=function(t,e,n,i){var o,a,s={};for(a in e)s[a]=t.style[a],t.style[a]=e[a];for(a in o=n.apply(t,i||[]),e)t.style[a]=s[a];return o};var Wt=/^(none|table(?!-c[ea]).+)/,Zt=new RegExp("^("+wt+")(.*)$","i"),qt=new RegExp("^([+-])=("+wt+")","i"),Vt={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Ut=["Webkit","O","Moz","ms"];J.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=w(t,"opacity");return""===n?"1":n}}}},cssNumber:{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:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,s,r=J.camelCase(e),l=t.style;return e=J.cssProps[r]||(J.cssProps[r]=T(l,r)),s=J.cssHooks[e]||J.cssHooks[r],void 0===n?s&&"get"in s&&void 0!==(o=s.get(t,!1,i))?o:l[e]:("string"===(a=typeof n)&&(o=qt.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(J.css(t,e)),a="number"),void(null!=n&&n==n&&("number"!==a||J.cssNumber[r]||(n+="px"),X.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l[e]=n))))}},css:function(t,e,n,i){var o,a,s,r=J.camelCase(e);return e=J.cssProps[r]||(J.cssProps[r]=T(t.style,r)),(s=J.cssHooks[e]||J.cssHooks[r])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=w(t,e,i)),"normal"===o&&e in Gt&&(o=Gt[e]),""===n||n?(a=parseFloat(o),!0===n||J.isNumeric(a)?a||0:o):o}}),J.each(["height","width"],function(t,e){J.cssHooks[e]={get:function(t,n,i){return n?Wt.test(J.css(t,"display"))&&0===t.offsetWidth?J.swap(t,Vt,function(){return E(t,e,i)}):E(t,e,i):void 0},set:function(t,n,i){var o=i&&Yt(t);return C(t,n,i?S(t,e,i,"border-box"===J.css(t,"boxSizing",!1,o),o):0)}}}),J.cssHooks.marginRight=x(X.reliableMarginRight,function(t,e){return e?J.swap(t,{display:"inline-block"},w,[t,"marginRight"]):void 0}),J.each({margin:"",padding:"",border:"Width"},function(t,e){J.cssHooks[t+e]={expand:function(n){for(var i=0,o={},a="string"==typeof n?n.split(" "):[n];4>i;i++)o[t+xt[i]+e]=a[i]||a[i-2]||a[0];return o}},jt.test(t)||(J.cssHooks[t+e].set=C)}),J.fn.extend({css:function(t,e){return gt(this,function(t,e,n){var i,o,a={},s=0;if(J.isArray(e)){for(i=Yt(t),o=e.length;o>s;s++)a[e[s]]=J.css(t,e[s],!1,i);return a}return void 0!==n?J.style(t,e,n):J.css(t,e)},t,e,arguments.length>1)},show:function(){return k(this,!0)},hide:function(){return k(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Tt(this)?J(this).show():J(this).hide()})}}),J.Tween=M,M.prototype={constructor:M,init:function(t,e,n,i,o,a){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=a||(J.cssNumber[n]?"":"px")},cur:function(){var t=M.propHooks[this.prop];return t&&t.get?t.get(this):M.propHooks._default.get(this)},run:function(t){var e,n=M.propHooks[this.prop];return this.pos=e=this.options.duration?J.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):M.propHooks._default.set(this),this}},M.prototype.init.prototype=M.prototype,M.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=J.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){J.fx.step[t.prop]?J.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[J.cssProps[t.prop]]||J.cssHooks[t.prop])?J.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},M.propHooks.scrollTop=M.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},J.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},J.fx=M.prototype.init,J.fx.step={};var Xt,Kt,Qt=/^(?:toggle|show|hide)$/,Jt=new RegExp("^(?:([+-])=|)("+wt+")([a-z%]*)$","i"),te=/queueHooks$/,ee=[O],ne={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=Jt.exec(e),a=o&&o[3]||(J.cssNumber[t]?"":"px"),s=(J.cssNumber[t]||"px"!==a&&+i)&&Jt.exec(J.css(n.elem,t)),r=1,l=20;if(s&&s[3]!==a){a=a||s[3],o=o||[],s=+i||1;do{s/=r=r||".5",J.style(n.elem,t,s+a)}while(r!==(r=n.cur()/i)&&1!==r&&--l)}return o&&(s=n.start=+s||+i||0,n.unit=a,n.end=o[1]?s+(o[1]+1)*o[2]:+o[2]),n}]};J.Animation=J.extend(z,{tweener:function(t,e){J.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;o>i;i++)n=t[i],ne[n]=ne[n]||[],ne[n].unshift(e)},prefilter:function(t,e){e?ee.unshift(t):ee.push(t)}}),J.speed=function(t,e,n){var i=t&&"object"==typeof t?J.extend({},t):{complete:n||!n&&e||J.isFunction(t)&&t,duration:t,easing:n&&e||e&&!J.isFunction(e)&&e};return i.duration=J.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in J.fx.speeds?J.fx.speeds[i.duration]:J.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){J.isFunction(i.old)&&i.old.call(this),i.queue&&J.dequeue(this,i.queue)},i},J.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Tt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=J.isEmptyObject(t),a=J.speed(e,n,i),s=function(){var e=z(this,J.extend({},t),a);(o||vt.get(this,"finish"))&&e.stop(!0)};return s.finish=s,o||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",a=J.timers,s=vt.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&te.test(o)&&i(s[o]);for(o=a.length;o--;)a[o].elem!==this||null!=t&&a[o].queue!==t||(a[o].anim.stop(n),e=!1,a.splice(o,1));(e||!n)&&J.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=vt.get(this),i=n[t+"queue"],o=n[t+"queueHooks"],a=J.timers,s=i?i.length:0;for(n.finish=!0,J.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=a.length;e--;
vendor: 5,838 bytes, lines 2-3
2)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),J.each(["toggle","show","hide"],function(t,e){var n=J.fn[e];J.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(L(e,!0),t,i,o)}}),J.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){J.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),J.timers=[],J.fx.tick=function(){var t,e=0,n=J.timers;for(Xt=J.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||J.fx.stop(),Xt=void 0},J.fx.timer=function(t){J.timers.push(t),t()?J.fx.start():J.timers.pop()},J.fx.interval=13,J.fx.start=function(){Kt||(Kt=setInterval(J.fx.tick,J.fx.interval))},J.fx.stop=function(){clearInterval(Kt),Kt=null},J.fx.speeds={slow:600,fast:200,_default:400},J.fn.delay=function(t,e){return t=J.fx&&J.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t=K.createElement("input"),e=K.createElement("select"),n=e.appendChild(K.createElement("option"));t.type="checkbox",X.checkOn=""!==t.value,X.optSelected=n.selected,e.disabled=!0,X.optDisabled=!n.disabled,(t=K.createElement("input")).value="t",t.type="radio",X.radioValue="t"===t.value}();var ie,oe,ae=J.expr.attrHandle;J.fn.extend({attr:function(t,e){return gt(this,J.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){J.removeAttr(this,t)})}}),J.extend({attr:function(t,e,n){var i,o,a=t.nodeType
3;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===St?J.prop(t,e,n):(1===a&&J.isXMLDoc(t)||(e=e.toLowerCase(),i=J.attrHooks[e]||(J.expr.match.bool.test(e)?oe:ie)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:null==(o=J.find.attr(t,e))?void 0:o:null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void J.removeAttr(t,e))},removeAttr:function(t,e){var n,i,o=0,a=e&&e.match(ft);if(a&&1===t.nodeType)for(;n=a[o++];)i=J.propFix[n]||n,J.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)},attrHooks:{type:{set:function(t,e){if(!X.radioValue&&"radio"===e&&J.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),oe={set:function(t,e,n){return!1===e?J.removeAttr(t,n):t.setAttribute(n,n),n}},J.each(J.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ae[e]||J.find.attr;ae[e]=function(t,e,i){var o,a;return i||(a=ae[e],ae[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,ae[e]=a),o}});var se=/^(?:input|select|textarea|button)$/i;J.fn.extend({prop:function(t,e){return gt(this,J.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[J.propFix[t]||t]})}}),J.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return(1!==a||!J.isXMLDoc(t))&&(e=J.propFix[e]||e,o=J.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){return t.hasAttribute("tabindex")||se.test(t.nodeName)||t.href?t.tabIndex:-1}}}}),X.optSelected||(J.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null}}),J.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){J.propFix[this.toLowerCase()]=this});var re=/[\t\r\n\f]/g;J.fn.extend({addClass:function(t){var e,n,i,o,a,s,r="string"==typeof t&&t,l=0,d=this.length;if(J.isFunction(t))return this.each(function(e){J(this).addClass(t.call(this,e,this.className))});if(r)for(e=(t||"").match(ft)||[];d>l;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(re," "):" ")){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=J.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,o,a,s,r=0===arguments.length||"string"==typeof t&&t,l=0,d=this.length;if(J.isFunction(t))return this.each(function(e){J(this).removeClass(t.call(this,e,this.className))});if(r)for(e=(t||"").match(ft)||[];d>l;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(re," "):"")){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");s=t?J.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(J.isFunction(t)?function(n){J(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,o=J(this),a=t.match(ft)||[];e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else(n===St||"boolean"===n)&&(this.className&&vt.set(this,"__className__",this.className),this.className=this.className||!1===t?"":vt.get(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(re," ").indexOf(e)>=0)return!0;return!1}});var le=/\r/g;J.fn.extend({val:function(t){var e,n,i,o=this[0];return arguments.length?(i=J.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?t.call(this,n,J(this).val()):t)?o="":"number"==typeof o?o+="":J.isArray(o)&&(o=J.map(o,function(t){return null==t?"":t+""})),(e=J.valHooks[this.type]||J.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=J.valHooks[o.type]||J.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(le,""):null==n?"":n:void 0}}),J.extend({valHooks:{option:{get:function(t){var e=J.find.attr(t,"value");return null!=e?e:J.trim(J.text(t))}}
vendor: 4,131 bytes, line 3
3,select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,a="select-one"===t.type||0>o,s=a?null:[],r=a?o+1:i.length,l=0>o?r:a?o:0;r>l;l++)if(!(!(n=i[l]).selected&&l!==o||(X.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&J.nodeName(n.parentNode,"optgroup"))){if(e=J(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,a=J.makeArray(e),s=o.length;s--;)((i=o[s]).selected=J.inArray(i.value,a)>=0)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),J.each(["radio","checkbox"],function(){J.valHooks[this]={set:function(t,e){return J.isArray(e)?t.checked=J.inArray(J(t).val(),e)>=0:void 0}},X.checkOn||(J.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),J.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(t,e){J.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),J.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var de=J.now(),ce=/\?/;J.parseJSON=function(t){return JSON.parse(t+"")},J.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return(!e||e.getElementsByTagName("parsererror").length)&&J.error("Invalid XML: "+t),e};var ue,he,pe=/#.*$/,fe=/([?&])_=[^&]*/,me=/^(.*?):[ \t]*([^\r\n]*)$/gm,ge=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ve=/^(?:GET|HEAD)$/,ye=/^\/\//,be=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,_e={},we={},xe="*/".concat("*");try{he=location.href}catch(t){(he=K.createElement("a")).href="",he=he.href}ue=be.exec(he.toLowerCase())||[],J.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:he,type:"GET",isLocal:ge.test(ue[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":xe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":J.parseJSON,"text xml":J.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?N(N(t,J.ajaxSettings),e):N(J.ajaxSettings,t)},ajaxPrefilter:I(_e),ajaxTransport:I(we),ajax:function(t,e){function n(t,e,n,s){var l,c,v,y,_,x=e;2!==b&&(b=2,r&&clearTimeout(r),i=void 0,a=s||"",w.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(y=R(u,w,n)),y=H(u,y,w,l),l?(u.ifModified&&((_=w.getResponseHeader("Last-Modified"))&&(J.lastModified[o]=_),(_=w.getResponseHeader("etag"))&&(J.etag[o]=_)),204===t||"HEAD"===u.type?x="nocontent":304===t?x="notmodified":(x=y.state,c=y.data,l=!(v=y.error))):(v=x,(t||!x)&&(x="error",0>t&&(t=0))),w.status=t,w.statusText=(e||x)+"",l?f.resolveWith(h,[c,x,w]):f.rejectWith(h,[w,x,v]),w.statusCode(g),g=void 0,d&&p.trigger(l?"ajaxSuccess":"ajaxError",[w,u,l?c:v]),m.fireWith(h,[w,x]),d&&(p.trigger("ajaxComplete",[w,u]),--J.active||J.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,a,s,r,l,d,c,u=J.ajaxSetup({},e),h=u.context||u,p=u.context&&(h.nodeType||h.jquery)?J(h):J.event,f=J.Deferred(),m=J.Callbacks("once memory"),g=u.statusCode||{},v={},y={},b=0,_="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!s)for(s={};e=me.exec(a);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return b||(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];
vendor: 4,460 bytes, line 3
3else w.always(t[w.status]);return this},abort:function(t){var e=t||_;return i&&i.abort(e),n(0,e),this}};if(f.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,u.url=((t||u.url||he)+"").replace(pe,"").replace(ye,ue[1]+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=J.trim(u.dataType||"*").toLowerCase().match(ft)||[""],null==u.crossDomain&&(l=be.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]===ue[1]&&l[2]===ue[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(ue[3]||("http:"===ue[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=J.param(u.data,u.traditional)),A(_e,u,e,w),2===b)return w;for(c in(d=u.global)&&0===J.active++&&J.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ve.test(u.type),o=u.url,u.hasContent||(u.data&&(o=u.url+=(ce.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(u.url=fe.test(o)?o.replace(fe,"$1_="+de++):o+(ce.test(o)?"&":"?")+"_="+de++)),u.ifModified&&(J.lastModified[o]&&w.setRequestHeader("If-Modified-Since",J.lastModified[o]),J.etag[o]&&w.setRequestHeader("If-None-Match",J.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&w.setRequestHeader("Content-Type",u.contentType),w.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+xe+"; q=0.01":""):u.accepts["*"]),u.headers)w.setRequestHeader(c,u.headers[c]);if(u.beforeSend&&(!1===u.beforeSend.call(h,w,u)||2===b))return w.abort();for(c in _="abort",{success:1,error:1,complete:1})w[c](u[c]);if(i=A(we,u,e,w)){w.readyState=1,d&&p.trigger("ajaxSend",[w,u]),u.async&&u.timeout>0&&(r=setTimeout(function(){w.abort("timeout")},u.timeout));try{b=1,i.send(v,n)}catch(t){if(!(2>b))throw t;n(-1,t)}}else n(-1,"No Transport");return w},getJSON:function(t,e,n){return J.get(t,e,n,"json")},getScript:function(t,e){return J.get(t,void 0,e,"script")}}),J.each(["get","post"],function(t,e){J[e]=function(t,n,i,o){return J.isFunction(n)&&(o=o||i,i=n,n=void 0),J.ajax({url:t,type:e,dataType:o,data:n,success:i})}}),J.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){J.fn[e]=function(t){return this.on(e,t)}}),J._evalUrl=function(t){return J.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},J.fn.extend({wrapAll:function(t){var e;return J.isFunction(t)?this.each(function(e){J(this).wrapAll(t.call(this,e))}):(this[0]&&(e=J(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return this.each(J.isFunction(t)?function(e){J(this).wrapInner(t.call(this,e))}:function(){var e=J(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=J.isFunction(t);return this.each(function(n){J(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){J.nodeName(this,"body")||J(this).replaceWith(this.childNodes)}).end()}}),J.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},J.expr.filters.visible=function(t){return!J.expr.filters.hidden(t)};var Te=/%20/g,Ce=/\[\]$/,Se=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,ke=/^(?:input|select|textarea|keygen)/i;J.param=function(t,e){var n,i=[],o=function(t,e){e=J.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=J.ajaxSettings&&J.ajaxSettings.traditional),J.isArray(t)||t.jquery&&!J.isPlainObject(t))J.each(t,function(){o(this.name,this.value)});else for(n in t)B(n,t[n],e,o);return i.join("&").replace(Te,"+")},J.fn.extend({serialize:function(){return J.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=J.prop(this,"elements");return t?J.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!J(this).is(":disabled")&&ke.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!Ct.test(t))}).map(function(t,e){var n=J(this).val();return null==n?null:J.isArray(n)?J.map(n,function(t){return{name:e.name,value:t.replace(Se,"\r\n")}}):{name:e.name,value:n.replace(Se,"\r\n")}}).get()}}),J.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(t){}};var Me=0,Pe={},Le={0:200,1223:204},De=J.ajaxSettings.xhr();t.ActiveXObject&&J(t).on("unload",function(){for(var t in Pe)Pe[t]()}),X.cors=!!De&&"withCredentials"in De,X.ajax=De=!!De,J.ajaxTransport(function(t){var e;
vendor: 5,621 bytes, line 3
3return X.cors||De&&!t.crossDomain?{send:function(n,i){var o,a=t.xhr(),s=++Me;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)a.setRequestHeader(o,n[o]);e=function(t){return function(){e&&(delete Pe[s],e=a.onload=a.onerror=null,"abort"===t?a.abort():"error"===t?i(a.status,a.statusText):i(Le[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=e(),a.onerror=e("error"),e=Pe[s]=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}:void 0}),J.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return J.globalEval(t),t}}}),J.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),J.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(i,o){e=J("<script>").prop({async:!0,charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),K.head.appendChild(e[0])},abort:function(){n&&n()}}});var Oe=[],$e=/(=)\?(?=&|$)|\?\?/;J.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Oe.pop()||J.expando+"_"+de++;return this[t]=!0,t}}),J.ajaxPrefilter("json jsonp",function(e,n,i){var o,a,s,r=!1!==e.jsonp&&($e.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=J.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace($e,"$1"+o):!1!==e.jsonp&&(e.url+=(ce.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return s||J.error(o+" was not called"),s[0]},e.dataTypes[0]="json",a=t[o],t[o]=function(){s=arguments},i.always(function(){t[o]=a,e[o]&&(e.jsonpCallback=n.jsonpCallback,Oe.push(o)),s&&J.isFunction(a)&&a(s[0]),s=a=void 0}),"script"):void 0}),J.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||K;var i=st.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=J.buildFragment([t],e,o),o&&o.length&&J(o).remove(),J.merge([],i.childNodes))};var ze=J.fn.load;J.fn.load=function(t,e,n){if("string"!=typeof t&&ze)return ze.apply(this,arguments);var i,o,a,s=this,r=t.indexOf(" ");return r>=0&&(i=J.trim(t.slice(r)),t=t.slice(0,r)),J.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&J.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){a=arguments,s.html(i?J("<div>").append(J.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,a||[t.responseText,e,t])}),this},J.expr.filters.animated=function(t){return J.grep(J.timers,function(e){return t===e.elem}).length};var Ie=t.document.documentElement;J.offset={setOffset:function(t,e,n){var i,o,a,s,r,l,d=J.css(t,"position"),c=J(t),u={};"static"===d&&(t.style.position="relative"),r=c.offset(),a=J.css(t,"top"),l=J.css(t,"left"),("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1?(s=(i=c.position()).top,o=i.left):(s=parseFloat(a)||0,o=parseFloat(l)||0),J.isFunction(e)&&(e=e.call(t,n,r)),null!=e.top&&(u.top=e.top-r.top+s),null!=e.left&&(u.left=e.left-r.left+o),"using"in e?e.using.call(t,u):c.css(u)}},J.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){J.offset.setOffset(this,t,e)});var e,n,i=this[0],o={top:0,left:0},a=i&&i.ownerDocument;return a?(e=a.documentElement,J.contains(e,i)?(typeof i.getBoundingClientRect!==St&&(o=i.getBoundingClientRect()),n=j(a),{top:o.top+n.pageYOffset-e.clientTop,left:o.left+n.pageXOffset-e.clientLeft}):o):void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===J.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),J.nodeName(t[0],"html")||(i=t.offset()),i.top+=J.css(t[0],"borderTopWidth",!0),i.left+=J.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-J.css(n,"marginTop",!0),left:e.left-i.left-J.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Ie;t&&!J.nodeName(t,"html")&&"static"===J.css(t,"position");)t=t.offsetParent;return t||Ie})}}),J.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i="pageYOffset"===n;J.fn[e]=function(o){return gt(this,function(e,o,a){var s=j(e);return void 0===a?s?s[n]:e[o]:void(s?s.scrollTo(i?t.pageXOffset:a,i?a:t.pageYOffset):e[o]=a)},e,o,arguments.length,null)}}),J.each(["top","left"],function(t,e){J.cssHooks[e]=x(X.pixelPosition,function(t,n){return n?(n=w(t,e),Ft.test(n)?J(t).position()[e]+"px":n):void 0})}),J.each({Height:"height",Width:"width"},function(t,e){J.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){J.fn[i]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return gt(this,function(e,n,i){var o;return J.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?J.css(e,n,s):J.style(e,n,i,s)},e,a?i:void 0,a,null)}})}),J.fn.size=function(){return this.length},J.fn.andSelf=J.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return J});var Ae=t.jQuery,Ne=t.$;
3return J.noConflict=function(e){return t.$===J&&(t.$=Ne),e&&t.jQuery===J&&(t.jQuery=Ae),J},typeof e===St&&(t.jQuery=t.$=J),J}),function(){"use strict";var t=function(t,e){var n;t.rails!==e&&t.error("jquery-ujs has already been loaded!");var i=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not([form]):not(form button), button[data-confirm]:not([form]):not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form:not([data-turbo=true])",formInputClickSelector:"form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]), textarea[name][required]:not([disabled])",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",csrfToken:function(){return t("meta[name=csrf-token]").attr("content")},csrfParam:function(){return t("meta[name=csrf-param]").attr("content")},CSRFProtection:function(t){var e=n.csrfToken();e&&t.setRequestHeader("X-CSRF-Token",e)},refreshCSRFTokens:function(){t('form input[name="'+n.csrfParam()+'"]').val(n.csrfToken())},fire:function(e,n,i){var o=t.Event(n);return e.trigger(o,i),!1!==o.result},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},isRemote:function(t){return t.data("remote")!==e&&!1!==t.data("remote")},handleRemote:function(i){var o,a,s,r,l,d;if(n.fire(i,"ajax:before")){if(r=i.data("with-credentials")||null,l=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){o=i.data("ujs:submit-button-formmethod")||i.attr("method"),a=i.data("ujs:submit-button-formaction")||i.attr("action"),s=t(i[0]).serializeArray();var c=i.data("ujs:submit-button");c&&(s.push(c),i.data("ujs:submit-button",null)),i.data("ujs:submit-button-formmethod",null),i.data("ujs:submit-button-formaction",null)}else i.is(n.inputChangeSelector)?(o=i.data("method"),a=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(o=i.data("method")||"get",a=i.data("url"),s=i.serialize(),i.data("params")&&(s=s+"&"+i.data("params"))):(o=i.data("method"),a=n.href(i),s=i.data("params")||null);return d={type:o||"GET",data:s,dataType:l,beforeSend:function(t,o){if(o.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),!n.fire(i,"ajax:beforeSend",[t,o]))return!1;i.trigger("ajax:send",t)},success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(a)},r&&(d.xhrFields={withCredentials:r}),a&&(d.url=a),n.ajax(d)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!((!n.protocol||":"===n.protocol)&&!n.host||e.protocol+"//"+e.host==n.protocol+"//"+n.host)}catch(t){return!0}},handleMethod:function(i){var o=n.href(i),a=i.data("method"),s=i.attr("target"),r=n.csrfToken(),l=n.csrfParam(),d=t('<form method="post" action="'+o+'"></form>'),c='<input name="_method" value="'+a+'" type="hidden" />';l===e||r===e||n.isCrossDomain(o)||(c+='<input name="'+l+'" value="'+r+'" type="hidden" />'),s&&d.attr("target",s),d.hide().append(c).appendTo("body"),d.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",(i=t.data("disable-with"))!==e&&(t.data("ujs:enable-with",t[n]()),t[
3n](i)),t.prop("disabled",!0),t.data("ujs:disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var n=t.is("button")?"html":"val";t.data("ujs:enable-with")!==e&&(t[n](t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.prop("disabled",!1),t.removeData("ujs:disabled")},allowAction:function(t){var e,i=t.data("confirm"),o=!1;if(!i)return!0;if(n.fire(t,"confirm")){try{o=n.confirm(i)}catch(t){(console.error||console.log).call(console,t.stack||t)}e=n.fire(t,"confirm:complete",[o])}return o&&e},blankInputs:function(e,n,i){var o,a,s,r=t(),l=n||"input,textarea",d=e.find(l),c={};return d.each(function(){(o=t(this)).is("input[type=radio]")?(s=o.attr("name"),c[s]||(0===e.find('input[type=radio]:checked[name="'+s+'"]').length&&(a=e.find('input[type=radio][name="'+s+'"]'),r=r.add(a)),c[s]=s)):(o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):!!o.val())===i&&(r=r.add(o))}),!!r.length&&r},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");i!==e&&(t.data("ujs:enable-with",t.html()),t.html(i)),t.on("click.railsDisable",function(t){return n.stopEverything(t)}),t.data("ujs:disabled",!0)},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.off("click.railsDisable"),t.removeData("ujs:disabled")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:disabled")&&t.rails.enableElement(e)})}),i.on("ajax:complete",n.linkDisableSelector,function(){n.enableElement(t(this))}),i.on("ajax:complete",n.buttonDisableSelector,function(){n.enableFormElement(t(this))}),i.on("click.rails",n.linkClickSelector,function(e){var i=t(this),o=i.data("method"),a=i.data("params"),s=e.metaKey||e.ctrlKey;if(!n.allowAction(i))return n.stopEverything(e);if(!s&&i.is(n.linkDisableSelector)&&n.disableElement(i),n.isRemote(i)){if(s&&(!o||"GET"===o)&&!a)return!0;var r=n.handleRemote(i);return!1===r?n.enableElement(i):r.fail(function(){n.enableElement(i)}),!1}return o?(n.handleMethod(i),!1):void 0}),i.on("click.rails",n.buttonClickSelector,function(e){var i=t(this);
3if(!n.allowAction(i)||!n.isRemote(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var o=n.handleRemote(i);return!1===o?n.enableFormElement(i):o.fail(function(){n.enableFormElement(i)}),!1}),i.on("change.rails",n.inputChangeSelector,function(e){var i=t(this);return n.allowAction(i)&&n.isRemote(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.on("submit.rails",n.formSubmitSelector,function(i){var o,a,s=t(this),r=n.isRemote(s);if(!n.allowAction(s))return n.stopEverything(i);if(s.attr("novalidate")===e)if(s.data("ujs:formnovalidate-button")===e){if((o=n.blankInputs(s,n.requiredInputSelector,!1))&&n.fire(s,"ajax:aborted:required",[o]))return n.stopEverything(i)}else s.data("ujs:formnovalidate-button",e);if(r){if(a=n.nonBlankInputs(s,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(s)},13);var l=n.fire(s,"ajax:aborted:file",[a]);return l||setTimeout(function(){n.enableFormElements(s)},13),l}return n.handleRemote(s),!1}setTimeout(function(){n.disableFormElements(s)},13)}),i.on("click.rails",n.formInputClickSelector,function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var o=i.attr("name"),a=o?{name:o,value:i.val()}:null,s=i.closest("form");0===s.length&&(s=t("#"+i.attr("form"))),s.data("ujs:submit-button",a),s.data("ujs:formnovalidate-button",i.attr("formnovalidate")),s.data("ujs:submit-button-formaction",i.attr("formaction")),s.data("ujs:submit-button-formmethod",i.attr("formmethod"))}),i.on("ajax:send.rails",n.formSubmitSelector,function(e){this===e.target&&n.disableFormElements(t(this))}),i.on("ajax:complete.rails",n.formSubmitSelector,function(e){this===e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))};window.jQuery?t(jQuery):"object"==typeof exports&&"object"==typeof module&&(module.exports=t)}(),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",function(){n=!0}),setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.alert");o||n.data("bs.alert",o=new i(this)),"string"==typeof e&&o[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){s.detach().trigger("closed.bs.alert").remove()}var o=t(this),a=o.attr("data-target");a||(a=(a=o.attr("href"))&&a.replace(/.*(?=#[^\s]*$)/,""));var s=t("#"===a?[]:a);e&&e.preventDefault(),s.length||(s=o.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var o=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.button"),a="object"==typeof e&&e;o||i.data("bs.button",o=new n(this,a)),"toggle"==e?o.toggle():e&&o.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.7",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,o=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[o]()),setTimeout(t.proxy(function(){i[o](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target).closest(".btn");e.call(i,"toggle"),t(n.target).is('input[type="radio"], input[type="checkbox"]')||(n.preventDefault(),i.is("input,button")?i.trigger("focus"):i.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:a.slide;o||i.data("bs.carousel",o=new n(this,a)),"number"==typeof e?o.to(e):s?o[s]():a.interval&&o.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("key
vendor: 7,343 bytes, lines 3-4
3down.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){
4var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var o=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,o),s=this.interval,r="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var d=a[0],c=t.Event("slide.bs.carousel",{relatedTarget:d,direction:r});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(a)]);u&&u.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:d,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,o.addClass(r),a.addClass(r),o.one("bsTransitionEnd",function(){a.removeClass([e,r].join(" ")).addClass("active"),o.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(o.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var o=function(n){var i,o=t(this),a=t(o.attr("data-target")||(i=o.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var s=t.extend({},a.data(),o.data()),r=o.attr("data-slide-to");r&&(s.interval=!1),e.call(a,s),r&&a.data("bs.carousel").to(r),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),o||n.data("bs.collapse",o=new i(this,a)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.7",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"))&&e.transitioning)){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||o.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return o.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventDefault();var a=e(o),s=a.data("bs.collapse")?"toggle":o.data();n.call(a,s)})}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(a).each(function(){var i=t(this),o=e(i),a={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","fal
4se"),o.removeClass("open").trigger(t.Event("hidden.bs.dropdown",a)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",a='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var a=e(o),s=a.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var r={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",r)),i.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(t.Event("shown.bs.dropdown",r))}return!1}},s.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=e(i),s=o.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&o.find(a).trigger("focus"),i.trigger("click");var r=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+r);if(l.length){var d=l.index(n.target);38==n.which&&d>0&&d--,40==n.which&&d<l.length-1&&d++,~d||(d=0),l.eq(d).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",a,s.prototype.toggle).on("keydown.bs.dropdown.data-api",a,s.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",s.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,i){return this.each(function(){var o=t(this),a=o.data("bs.modal"),s=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);a||o.data("bs.modal",a=new n(this,s)),"string"==typeof e?a[e](i):s.show&&a.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.7",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var a=t.Event("shown.bs.modal",{relatedTarget:e});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(a)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
4down.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;a?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),o=i.attr("href"),a=t(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},a.data(),i.data());i.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(a,s,this)})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tab");o||i.data("bs.tab",o=new n(this)),"string"==typeof e&&o[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=n.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),e.trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){var r=t(i);this.activate(e.closest("li"),n),this.activate(r,r.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},n.prototype.activate=function(e,i,o){function a(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var s=i.find("> .active"),r=o&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&r?s.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var o=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),a="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,a)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.7",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),a=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=a.top)&&"bottom":!(o+s<=t-i)&&"bottom";var r=null==this.affixed,l=r?o:a.top;return null!=n&&o<=n?"top":null!=i&&l+(r?s:e)>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,o=i.top,a=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(a=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof a&&(a=i.bottom(this.$element));var r=this.getState(s,e,o,a);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),d=t.Event(l+".bs.affix");if(this.$element.trigger(d),d.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:s-e-a})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),o=i.data("bs.scrollspy"),a="object"==typeof n&&n;o||i.data("bs.scrollspy",o=new e(this,a)),"string"==typeof n&&o[n]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),o=e.data("target")||e.attr("href"),a=/^#./.test(o)&&t(o);return a&&a.length&&a.is(":visible")&&[[a[n]().top+i,o]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,a=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=a[a.length-1])&&this.activate(t);if(s&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)s!=a[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(a[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),a="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.tooltip",o=new n(this,a)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var s=o[a];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var r="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focu
4s":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,a=this.tip(),s=this.getUID(this.type);this.setContent(),a.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&a.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,d=l.test(r);d&&(r=r.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),u=a[0].offsetWidth,h=a[0].offsetHeight;if(d){var p=r,f=this.getPosition(this.$viewport);r="bottom"==r&&c.bottom+h>f.bottom?"top":"top"==r&&c.top-h<f.top?"bottom":"right"==r&&c.right+u>f.width?"left":"left"==r&&c.left-u<f.left?"right":r,a.removeClass(p).addClass(r)}var m=this.getCalculatedOffset(r,c,u,h);this.applyPlacement(m,r);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,a=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),r=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(r)&&(r=0),e.top+=s,e.left+=r,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,d=i[0].offsetHeight;"top"==n&&d!=a&&(e.top=e.top+a-d);var c=this.getViewportAdjustedDelta(n,e,l,d);c.left?e.left+=c.left:e.top+=c.top;var u=/top|bottom/.test(n),h=u?2*c.left-o+l:2*c.top-a+d,p=u?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][p],u)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=o.hoverState&&a.detach(),o.$element&&o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),e&&e()}var o=this,a=t(this.$tip),s=t.Event("hide.bs."+this.type);if(this.$element.trigger(s),!s.isDefaultPrevented())return a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var a=window.SVGElement&&n instanceof window.SVGElement,s=i?{top:0,left:0}:a?null:e.offset(),r={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,r,l,s)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-a-s.scroll,l=e.top+a-s.scroll+i;r<s.top?o.top=s.top-r:l>s.top+s.height&&(o.top=s.top+s.height-l)}else{var d=e.left-a,c=e.left+a+n;
4d<s.left?o.left=s.left-d:c>s.right&&(o.left=s.left+s.width-c)}return o},n.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},n.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),a="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.popover",o=new n(this,a)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.7",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t,e,n,i){"use strict";function o(t,e){var i,o,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=y(t.data.options,e)),i=e.$target||n(t.currentTarget).trigger("blur"),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(i)||(s=e.selector?n(e.selector):(o=i.attr("data-fancybox")||"")?(s=t.data?t.data.items:[]).length?s.filter('[data-fancybox="'+o+'"]'):n('[data-fancybox="'+o+'"]'):[i],(r=n(s).index(i))<0&&(r=0),(a=n.fancybox.open(s,e,r)).$trigger=i))}if(t.console=t.console||{info:function(){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var a,s,r,l,d={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:"",
5baseClass:"",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>&nbsp;/&nbsp;<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">
5<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:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t){return"image"===t.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t){return"image"===t.type&&"toggleControls"},clickSlide:function(t){return"image"===t.type?"toggleControls":"close"},dblclickContent:function(t){return"image"===t.type&&"zoom"},dblclickSlide:function(t){return"image"===t.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&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},c=n(t),u=n(e),h=0,p=function(t){return t&&t.hasOwnProperty&&t instanceof n},f=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},m=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},g=function(){var t,n=e.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in o)if(n.style[t]!==i)return o[t];return"transitionend"}(),v=function(t){return t&&t.length&&t[0].offsetHeight},y=function(t,e){var i=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(i[t]=e)}),i},b=function(t){var i,o;return!(!t||t.ownerDocument!==e)&&(n(".fancybox-container").css("pointer-events","none"),i={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},o=e.elementFromPoint(i.x,i.y)===t,n(".fancybox-container").css("pointer-events",""),o)}
vendor: 58,151 bytes, lines 5-6
5,_=function(t,e,i){var o=this;o.opts=y({index:i},n.fancybox.defaults),n.isPlainObject(e)&&(o.opts=y(o.opts,e)),n.fancybox.isMobile&&(o.opts=y(o.opts,o.opts.mobile)),o.id=o.opts.id||++h,o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=!0,o.group=[],o.slides={},o.addContent(t),o.group.length&&o.init()};n.extend(_.prototype,{init:function(){var i,o,a=this,s=a.group[a.currIndex].opts;s.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==s.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),o="",n.each(s.buttons,function(t,e){o+=s.btnTpl[e]||""}),i=n(a.translate(a,s.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(s.baseClass).data("FancyBox",a).appendTo(s.parentEl),a.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(t){a.$refs[t]=i.find(".fancybox-"+t)}),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return n[e]===i?t:n[e]})},addContent:function(t){var e,o=this,a=n.makeArray(t);n.each(a,function(t,e){var a,s,r,l,d,c={},u={};n.isPlainObject(e)?(c=e,u=e.opts||e):"object"===n.type(e)&&n(e).length?(u=(a=n(e)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=a,c.src=o.opts.src||u.src||a.attr("href"),c.type||c.src||(c.type="inline",c.src=e)):c={type:"html",src:e+""},c.opts=n.extend(!0,{},o.opts,u),n.isArray(u.buttons)&&(c.opts.buttons=u.buttons),n.fancybox.isMobile&&c.opts.mobile&&(c.opts=y(c.opts,c.opts.mobile)),s=c.type||c.opts.type,l=c.src||"",!s&&l&&((r=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(s="video",c.opts.video.format||(c.opts.video.format="video/"+("ogv"===r[1]?"ogg":r[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(s="iframe",c=n.extend(!0,c,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(s="inline")),s?c.type=s:o.trigger("objectNeedsType",c),c.contentType||(c.contentType=n.inArray(c.type,["html","inline","ajax"])>-1?"html":c.type),c.index=o.group.length,"auto"==c.opts.smallBtn&&(c.opts.smallBtn=n.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===o.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"===n.type(c.opts.caption)&&(c.opts.caption=c.opts.caption.apply(e,[o,c])),"function"===n.type(o.opts.caption)&&(c.opts.caption=o.opts.caption.apply(e,[o,c])),c.opts.caption instanceof n||(c.opts.caption=c.opts.caption===i?"":c.opts.caption+""),"ajax"===c.type&&(d=l.split(/\s+/,2)).length>1&&(c.src=d.shift(),c.opts.filter=d.shift()),c.opts.modal&&(c.opts=n.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})),o.group.push(c)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on("click.fb-close","[data-fancybox-close]",function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on("click.fb","[data-fancybox-zoom]",function(){e[e.isScaledDown()?"scaleToActual":"scaleToFit"]()}),c.on("orientationchange.fb resize.fb",function(t){t&&t.originalEvent&&"resize"===t.originalEvent.type?(e.requestId&&m(e.requestId),e.requestId=f(function(){e.update(t)})):(e.current&&"iframe"===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),u.on("keydown.fb",function(t){var i=(n.fancybox?n.fancybox.getInstance():null).current,o=t.keyCode||t.which;if(9!=o){if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is("input,textarea,video,audio,select")))return 8===o||27===o?(t.preventDefault(),void e.close(t)):37===o||38===o?(t.preventDefault(),void e.previous()):39===o||40===o?(t.preventDefault(),void e.next()):void e.trigger("afterKeydown",t,o)}else i.opts.trapFocus&&e.focus(t)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,u.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){e.idleSecondsCounter++,e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;c.off("orientationchange.fb resize.fb"),u.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,a,s,r,l,d,c,u,h,p=this,f=p.group.length;if(!(p.isDragging||p.isClosing||p.isAnimating&&p.firstRun)){if(t=parseInt(t,10),!(s=p.current?p.current.opts.loop:p.opts.loop)&&(t<0||t>=f))return!1;if(o=p.firstRun=!Object.keys(p.slides).length,l=p.current,p.prevIndex=p.currIndex,p.prevPos=p.currPos,r=p.createSlide(t),f>1&&((s||r.index<f-1)&&p.createSlide(t+1),(s||r.index>0)&&p.createSlide(t-1)),p.current=r,p.currIndex=r.index,p.currPos=r.pos,p.trigger("beforeShow",o),p.updateControls(),r.forcedDuration=i,n.isNumeric(e)?r.forcedDuration=e:e=r.opts[o?"animationDuration":"transitionDuration"],e=parseInt(e,10),a=p.isMoved(r),r.$slide.addClass("fancybox-slide--current"),o)return r.opts.animationEffect&&e&&p.$refs.container.css("transition-duration",e+"ms"),p.$refs.container.addClass("fancybox-is-open").trigger("focus"),p.loadSlide(r),void p.preload("image");d=n.fancybox.getTranslate(l.$slide),c=n.fancybox.getTranslate(p.$refs.stage),n.each(p.slides,function(t,e){n.fancybox.stop(e.$slide,!0)}),l.pos!==r.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),a?(h=d.left-(l.pos*d.width+l.pos*l.opts.gutter),n.each(p.slides,function(t,i){i.$slide.removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var o=i.pos*d.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:o-c.left+h}),i.pos!==r.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>r.pos?"next":"previous")),v(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-r.pos)*d.width+(i.pos-r.pos)*i.opts.gutter},e,function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===p.currPos&&p.complete()})})):e&&r.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+r.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>r.pos?"next":"previous")),n.fancybox.animate(l.$slide,u,e,function(){l.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),r.isLoaded?p.revealContent(r):p.loadSlide(r),p.preload("image")}},createSlide:function(t){var e,i,o=this;return i=(i=t%o.group.length)<0?o.group.length+i:i,!o.slides[t]&&o.group[i]&&(e=n('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[t]=n.extend(!0,{},o.group[i],{pos:t,$slide:e,isLoaded:!1}),o.updateSlide(o.slides[t])),o.slides[t]},scaleToActual:function(t,e,o){var a,s,r,l,d,c=this,u=c.current,h=u.$content,p=n.fancybox.getTranslate(u.$slide).width,f=n.fancybox.getTranslate(u.$slide).height,m=u.width,g=u.height;c.isAnimating||c.isMoved()||!h||"image"!=u.type||!u.isLoaded||u.hasError||(c.isAnimating=!0,n.fancybox.stop(h),t=t===i?.5*p:t,e=e===i?.5*f:e,(a=n.fancybox.getTranslate(h)).top-=n.fancybox.getTranslate(u.$slide).top,a.left-=n.fancybox.getTranslate(u.$slide).left,l=m/a.width,d=g/a.height,s=.5*p-.5*m,r=.5*f-.5*g,m>p&&((s=a.left*l-(t*l-t))>0&&(s=0),s<p-m&&(s=p-m)),g>f&&((r=a.top*d-(e*d-e))>0&&(r=0),r<f-g&&(r=f-g)),c.updateCursor(m,g),n.fancybox.animate(h,{top:r,left:s,scaleX:l,scaleY:d},o||366,function(){c.isAnimating=!1}),c.SlideShow&&c.SlideShow.isActive&&c.SlideShow.stop())},scaleToFit:function(t){var e,i=this,o=i.current,a=o.$content;i.isAnimating||i.isMoved()||!a||"image"!=o.type||!o.isLoaded||o.hasError||(i.isAnimating=!0,n.fancybox.stop(a),e=i.getFitPos(o),i.updateCursor(e.width,e.height),n.fancybox.animate(a,{top:e.top,left:e.left,scaleX:e.width/a.width(),scaleY:e.height/a.height()},t||366,function(){i.isAnimating=!1}))},getFitPos:function(t){var e,i,o,a,s=this,r=t.$content,l=t.$slide,d=t.width||t.opts.width,c=t.height||t.opts.height,u={};return!!(t.isLoaded&&r&&r.length)&&(e=n.fancybox.getTranslate(s.$refs.stage).width,i=n.fancybox.getTranslate(s.$refs.stage).height,e-=parseFloat(l.css("paddingLeft"))+parseFloat(l.css("paddingRight"))+parseFloat(r.css("marginLeft"))+parseFloat(r.css("marginRight")),i-=parseFloat(l.css("paddingTop"))+parseFloat(l.css("paddingBottom"))+parseFloat(r.css("marginTop"))+parseFloat(r.css("marginBottom")),d&&c||(d=e,c=i),(d*=o=Math.min(1,e/d,i/c))>e-.5&&(d=e),(c*=o)>i-.5&&(c=i),"image"===t.type?(u.top=Math.floor(.5*(i-c))+parseFloat(l.css("paddingTop")),u.left=Math.floor(.5*(e-d))+parseFloat(l.css("paddingLeft"))):"video"===t.contentType&&(c>d/(a=t.opts.width&&t.opts.height?d/c:t.opts.ratio||16/9)?c=d/a:d>c*a&&(d=c*a)),u.width=d,u.height=c,u)},update:function(t){var e=this;n.each(e.slides,function(n,i){e.updateSlide(i,t)})},updateSlide:function(t,e){var i=this,o=t&&t.$content,a=t.width||t.opts.width,s=t.height||t.opts.height,r=t.$slide;i.adjustCaption(t),o&&(a||s||"video"===t.contentType)&&!t.hasError&&(n.fancybox.stop(o),n.fancybox.setTranslate(o,i.getFitPos(t)),t.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(t),r.length&&(r.trigger("refresh"),t.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),i.trigger("onUpdate",t,e)},centerSlide:function(t){var e=this,o=e.current,a=o.$slide;!e.isClosing&&o&&(a.siblings().css({transform:"",opacity:""}),a.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(a,{top:0,left:0,opacity:1},t===i?0:t,function(){a.css({transform:"",opacity:""}),o.isComplete||e.complete()},!1))},isMoved:function(t){var e,i,o=t||this.current;return!!o&&(i=n.fancybox.getTranslate(this.$refs.stage),e=n.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(e.top-i.top)>.5||Math.abs(e.left-i.left)>.5))},updateCursor:function(t,e){var i,o,a=this,s=a.current,r=a.$refs.container;s&&!a.isClosing&&a.Guestures&&(r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(i=a.canPan(t,e))||a.isZoomable(),r.toggleClass("fancybox-is-zoomable",o),n("[data-fancybox-zoom]").prop("disabled",!o),i?r.addClass("fancybox-can-pan"):o&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?r.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||a.group.length>1)&&"video"!==s.contentType&&r.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,e=this,n=e.current;if(n&&!e.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((t=e.getFitPos(n))&&(n.width>t.width||n.height>t.height))return!0}return!1},isScaledDown:function(t,e){var o=!1,a=this.current,s=a.$content;return t!==i&&e!==i?o=t<a.width&&e<a.height:s&&(o=(o=n.fancybox.getTranslate(s)).width<a.width&&o.height<a.height),o},canPan:function(t,e){var o=this,a=o.current,s=null,r=!1;return"image"===a.type&&(a.isComplete||t&&e)&&!a.hasError&&(r=o.getFitPos(a),t!==i&&e!==i?s={width:t,height:e}:a.isComplete&&(s=n.fancybox.getTranslate(a.$content)),s&&r&&(r=Math.abs(s.width-r.width)>1.5||Math.abs(s.height-r.height)>1.5)),r},loadSlide:function(t){var e,i,o,a=this;if(!t.isLoading&&!t.isLoaded){if(t.isLoading=!0,!1===a.trigger("beforeLoad",t))return t.isLoading=!1,!1;switch(e=t.type,(i=t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass),e){case"image":a.setImage(t);break;case"iframe":a.setIframe(t);break;case"html":a.setContent(t,t.src||t.content);break;case"video":a.setContent(t,t.opts.video.tpl.replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.opts.videoFormat||t.opts.video.format||"").replace("{{poster}}",t.thumb||""));break;case"inline":n(t.src).length?a.setContent(t,n(t.src)):a.setError(t);break;case"ajax":a.showLoading(t),o=n.ajax(n.extend({},t.opts.ajax.settings,{url:t.src,success:function(e,n){"success"===n&&a.setContent(t,e)},error:function(e,n){e&&"abort"!==n&&a.setError(t)}})),i.one("onReset",function(){o.abort()});break;default:a.setError(t)}return!0}},setImage:function(t){var i,o=this;setTimeout(function(){var e=t.$image;o.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||o.showLoading(t)},50),o.checkSrcset(t),t.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(i=e.createElement("img")).onerror=function(){n(this).remove(),t.$ghost=null},i.onload=function(){o.afterLoad(t)},t.$ghost=n(i).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),o.setBigImage(t)},checkSrcset:function(e){var n,i,o,a,s=e.opts.srcset||e.opts.image.srcset;if(s){o=t.devicePixelRatio||1,a=t.innerWidth*o,i=s.split(",").map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var i=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;i&&(e.value=i,e.postfix=t[t.length-1])}),e}),i.sort(function(t,e){return t.value-e.value});for(var r=0;r<i.length;r++){var l=i[r];if("w"===l.postfix&&l.value>=a||"x"===l.postfix&&l.value>=o){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(e.src=n.url,e.width&&e.height&&"w"==n.postfix&&(e.height=e.width/e.height*n.value,e.width=n.value),e.opts.srcset=s)}},setBigImage:function(t){var i=this,o=e.createElement("img"),a=n(o);t.$image=a.one("error",function(){i.setError(t)}).one("load",function(){var e;t.$ghost||(i.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),i.afterLoad(t)),i.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(t.width/t.height>1&&c.width()/c.height()>1?"100":Math.round(t.width/t.height*100))+"vw"),a.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!i.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),i.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(o.complete||"complete"==o.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):o.error&&a.trigger("error")},resolveImageSlideSize:function(t,e,n){var i=parseInt(t.opts.width,10),o=parseInt(t.opts.height,10);t.width=e,t.height=n,i>0&&(t.width=i,t.height=Math.floor(i*n/e)),o>0&&(t.width=Math.floor(o*e/n),t.height=o)},setIframe:function(t){var e,o=this,a=t.opts.iframe,s=t.$slide;t.$content=n('<div class="fancybox-content'+(a.preload?" fancybox-is-hidden":"")+'"></div>').css(a.css).appendTo(s),s.addClass("fancybox-slide--"+t.contentType),t.$iframe=e=n(a.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(a.attr).appendTo(t.$content),a.preload?(o.showLoading(t),e.on("load.fb error.fb",function(){this.isReady=1,t.$slide.trigger("refresh"),o.afterLoad(t)}),s.on("refresh.fb",function(){var n,o=t.$content,r=a.css.width,l=a.css.height;if(1===e[0].isReady){try{n=e.contents().find("body")}catch(t){}n&&n.length&&n.children().length&&(s.css("overflow","visible"),o.css({width:"100%","max-width":"100%",height:"9999px"}),r===i&&(r=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),o.css("width",r||"").css("max-width",""),l===i&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),o.css("height",l||""),s.css("overflow","auto")),o.removeClass("fancybox-is-hidden")}})):o.afterLoad(t),e.attr("src",t.src),s.one("onReset",function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(t){}n(this).off("refresh.fb").empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var i=this;i.isClosing||(i.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),p(e)&&e.parent().length?((e.hasClass("fancybox-content")||e.parent().hasClass("fancybox-content"))&&e.parents(".fancybox-slide").trigger("onReset"),t.$placeholder=n("<div>").hide().insertAfter(e),e.css("display","inline-block")):t.hasError||("string"===n.type(e)&&(e=n("<div>").append(n.trim(e)).contents()),t.opts.filter&&(e=n("<div>").html(e).find(t.opts.filter))),t.$slide.one("onReset",function(){n(this).find("video,audio").trigger("pause"),t.$placeholder&&(t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(),t.$placeholder=null),t.$smallBtn&&(t.$smallBtn.remove(),t.$smallBtn=null),t.hasError||(n(this).empty(),t.isLoaded=!1,t.isRevealed=!1)}),n(e).appendTo(t.$slide),n(e).is("video,audio")&&(n(e).addClass("fancybox-video"),n(e).wrap("<div></div>"),t.contentType="video",t.opts.width=t.opts.width||n(e).attr("width"),t.opts.height=t.opts.height||n(e).attr("height")),t.$content=t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner("<div></div>").children().first()),t.$content.addClass("fancybox-content"),t.$slide.addClass("fancybox-slide--"+t.contentType),i.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger("onReset").removeClass("fancybox-slide--"+t.contentType).addClass("fancybox-slide--error"),t.contentType="html",this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))},hideLoading:function(t){(t=t||this.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger("afterLoad",t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on("contextmenu.fb",function(t){return 2==t.button&&t.preventDefault(),!0}),"image"===t.type&&n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,i=t||n.current,o=i.opts.caption,a=i.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",a),a&&o&&o.length&&(i.pos!==n.currPos?((e=s.clone().appendTo(s.parent())).children().eq(0).empty().html(o),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",r||""))},adjustLayout:function(t){var e,n,i,o,a=t||this.current;a.isLoaded&&!0!==a.opts.disableLayoutFix&&(a.$content.css("margin-bottom",""),a.$content.outerHeight()>a.$slide.height()+.5&&(i=a.$slide[0].style["padding-bottom"],o=a.$slide.css("padding-bottom"),parseFloat(o)>0&&(e=a.$slide[0].scrollHeight,a.$slide.css("padding-bottom",0),Math.abs(e-a.$slide[0].scrollHeight)<1&&(n=o),a.$slide.css("padding-bottom",i))),a.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,a,s,r=this,l=t.$slide,d=!1,c=!1,u=r.isMoved(t),h=t.isRevealed;return t.isRevealed=!0,e=t.opts[r.firstRun?"animationEffect":"transitionEffect"],a=t.opts[r.firstRun?"animationDuration":"transitionDuration"],a=parseInt(t.forcedDuration===i?a:t.forcedDuration,10),!u&&t.pos===r.currPos&&a||(e=!1),"zoom"===e&&(t.pos===r.currPos&&a&&"image"===t.type&&!t.hasError&&(c=r.getThumbPos(t))?d=r.getFitPos(t):e="fade"),"zoom"===e?(r.isAnimating=!0,d.scaleX=d.width/c.width,d.scaleY=d.height/c.height,"auto"==(s=t.opts.zoomOpacity)&&(s=Math.abs(t.width/t.height-c.width/c.height)>.1),s&&(c.opacity=.1,d.opacity=1),n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"),c),v(t.$content),void n.fancybox.animate(t.$content,d,a,function(){r.isAnimating=!1,r.complete()})):(r.updateSlide(t),e?(n.fancybox.stop(l),o="fancybox-slide--"+(t.pos>=r.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+e,l.addClass(o).removeClass("fancybox-slide--current"),t.$content.removeClass("fancybox-is-hidden"),v(l),"image"!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",a,function(){l.removeClass(o).css({transform:"",opacity:""}),t.pos===r.currPos&&r.complete()},!0)):(t.$content.removeClass("fancybox-is-hidden"),h||!u||"image"!==t.type||t.hasError||t.$content.hide().fadeIn("fast"),void(t.pos===r.currPos&&r.complete())))},getThumbPos:function(t){var e,i,o,a,s,r=!1,l=t.$thumb;return!(!l||!b(l[0]))&&(e=n.fancybox.getTranslate(l),i=parseFloat(l.css("border-top-width")||0),o=parseFloat(l.css("border-right-width")||0),a=parseFloat(l.css("border-bottom-width")||0),s=parseFloat(l.css("border-left-width")||0),r={top:e.top+i,left:e.left+s,width:e.width-o-s,height:e.height-i-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,i=e.current,o={};!e.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),e.preload("inline"),v(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(e.slides,function(t,i){i.pos>=e.currPos-1&&i.pos<=e.currPos+1?o[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())}),e.slides=o),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),i.opts.autoFocus&&"html"===i.contentType&&((t=i.$content.find("input[autofocus]:enabled:visible:first")).length?t.trigger("focus"):e.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,i=this;i.group.length<2||(n=i.slides[i.currPos+1],(e=i.slides[i.currPos-1])&&e.type===t&&i.loadSlide(e),n&&n.type===t&&i.loadSlide(n))},focus:function(t,i){var o,a,s=this,r=["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(",");s.isClosing||((o=(o=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible")).filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")})).length?(a=o.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),o.eq(o.length-1).trigger("focus")):(a<0||a==o.length-1)&&(t&&t.preventDefault(),o.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var i,o,a,s,r,l,d,c=this,u=c.current,h=function(){c.cleanUp(t)};return!c.isClosing&&(c.isClosing=!0,!1===c.trigger("beforeClose",t)?(c.isClosing=!1,f(function(){c.update()}),!1):(c.removeEvents(),a=u.$content,i=u.opts.animationEffect,o=n.isNumeric(e)?e:i?u.opts.animationDuration:0,u.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(u.$slide):i=!1,u.$slide.siblings().trigger("onReset").remove(),o&&c.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),c.hideLoading(u),c.hideControls(!0),c.updateCursor(),"zoom"!==i||a&&o&&"image"===u.type&&!c.isMoved()&&!u.hasError&&(d=c.getThumbPos(u))||(i="fade"),"zoom"===i?(n.fancybox.stop(a),l={top:(s=n.fancybox.getTranslate(a)).top,left:s.left,scaleX:s.width/d.width,scaleY:s.height/d.height,width:d.width,height:d.height},"auto"==(r=u.opts.zoomOpacity)&&(r=Math.abs(u.width/u.height-d.width/d.height)>.1),r&&(d.opacity=0),n.fancybox.setTranslate(a,l),v(a),n.fancybox.animate(a,d,o,h),!0):(i&&o?n.fancybox.animate(u.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,h):!0===t?setTimeout(h,o):h(),!0)))},cleanUp:function(e){var i,o,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",e),s.current.opts.backFocus&&(r&&r.length&&r.is(":visible")||(r=s.$trigger),r&&r.length&&(o=t.scrollX,a=t.scrollY,r.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(o))),s.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(t,e){var i,o=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?o.unshift(s):s=a,o.unshift(a),n.isFunction(s.opts[t])&&(i=s.opts[t].apply(s,o)),!1===i)return i;"afterClose"!==t&&a.$refs?a.$refs.container.trigger(t+".fb",o):u.trigger(t+".fb",o)},updateControls:function(){var t=this,i=t.current,o=i.index,a=t.$refs.container,s=t.$refs.caption,r=i.opts.caption;i.$slide.trigger("refresh"),r&&r.length?(t.$caption=s,s.children().eq(0).html(r)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find("[data-fancybox-count]").html(t.group.length),a.find("[data-fancybox-index]").html(o+1),a.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&o<=0),a.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&o>=t.group.length-1),"image"===i.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():i.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(e.activeElement).is(":hidden,[disabled]")&&t.$refs.container.trigger("focus")},hideControls:function(t){var e=["infobar","toolbar","nav"];!t&&this.current.opts.preventCaptionOverlap||e.push("caption"),this.$refs.container.removeClass(e.map(function(t){return"fancybox-show-"+t}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,
6n.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&t.group.length>1)).toggleClass("fancybox-show-caption",!!t.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&t.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:d,getInstance:function(t){var e=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return e instanceof _&&("string"===n.type(t)?e[t].apply(e,i):"function"===n.type(t)&&t.apply(e,i),e)},open:function(t,e,n){return new _(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),u.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(a=e.createElement("div"),t.getComputedStyle&&t.getComputedStyle(a)&&t.getComputedStyle(a).getPropertyValue("transform")&&!(e.documentMode&&e.documentMode<11)),getTranslate:function(t){var e;return!(!t||!t.length)&&{top:(e=t[0].getBoundingClientRect()).top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))}},setTranslate:function(t,e){var n="",o={};if(t&&e)return e.left===i&&e.top===i||(n=(e.left===i?t.position().left:e.left)+"px, "+(e.top===i?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),e.scaleX!==i&&e.scaleY!==i?n+=" scale("+e.scaleX+", "+e.scaleY+")":e.scaleX!==i&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),e.opacity!==i&&(o.opacity=e.opacity),e.width!==i&&(o.width=e.width),e.height!==i&&(o.height=e.height),t.css(o)},animate:function(t,e,o,a,s){var r,l=this;n.isFunction(o)&&(a=o,o=null),l.stop(t),r=l.getTranslate(t),t.on(g,function(d){(!d||!d.originalEvent||t.is(d.originalEvent.target)&&"z-index"!=d.originalEvent.propertyName)&&(l.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?e.scaleX!==i&&e.scaleY!==i&&l.setTranslate(t,{top:e.top,left:e.left,width:r.width*e.scaleX,height:r.height*e.scaleY,scaleX:1,scaleY:1}):!0!==s&&t.removeClass(e),n.isFunction(a)&&a(d))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(e.scaleX!==i&&e.scaleY!==i&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(g)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(g),t.off(g).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return(e=(t=t||{}).selector||!1)?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},o):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},o),this},u.on("click.fb-start","[data-fancybox]",o),u.on("click.fb-start","[data-fancybox-trigger]",function(){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),s=".fancybox-button",r="fancybox-focus",l=null,u.on("mousedown mouseup focus blur",s,function(t){switch(t.type){case"mousedown":l=n(this);break;case"mouseup":l=null;break;case"focusin":n(s).removeClass(r),n(this).is(l)||n(this).is("[disabled]")||n(this).addClass(r);break;case"focusout":n(s).removeClass(r)}})}}(window,document,jQuery),function(t){"use strict";var e={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(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[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(t){return"//maps.google."+t[2]+"/maps?q="+t[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(e,n,i){if(e)return i=i||"","object"===t.type(i)&&(i=t.param(i,!0)),t.each(n,function(t,n){e=e.replace("$"+t,n||"")}),i.length&&(e+=(e.indexOf("?")>0?"&":"?")+i),e};t(document).on("objectNeedsType.fb",function(i,o,a){var s,r,l,d,c,u,h,p=a.src||"",f=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,i){if(l=p.match(i.matcher)){if(f=i.type,h=e,u={},i.paramPlace&&l[i.paramPlace]){"?"==(c=l[i.paramPlace])[0]&&(c=c.substring(1)),c=c.split("&");for(var o=0;o<c.length;++o){var s=c[o].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return d=t.extend(!0,{},i.params,a.opts[e],u),p="function"===t.type(i.url)?i.url.call(this,l,d,a):n(i.url,l,d),r="function"===t.type(i.thumb)?i.thumb.call(this,l,d,a):n(i.thumb,l),"youtube"===e?p=p.replace(/&t=((\d+)m)?(\d+)s/,function(t,e,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))}):"vimeo"===e&&(p=p.replace("&%23","#")),!1}}),f?(a.opts.thumb||a.opts.$thumb&&a.opts.$thumb.length||(a.opts.thumb=r),"iframe"===f&&(a.opts=t.extend(!0,a.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),t.extend(a,{type:f,src:p,origSrc:a.src,contentSource:h,contentType:"image"===f?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):p&&(a.type=a.opts.defaultType)});var i={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(t){var e,n=this;this[t].loaded?setTimeout(function(){n.done(t)}):this[t].loading||(this[t].loading=!0,(e=document.createElement("script")).type="text/javascript",e.src=this[t].src,"youtube"===t?window.onYouTubeIframeAPIReady=function(){n[t].loaded=!0,n.done(t)}:e.onload=function(){n[t].loaded=!0,n.done(t)},document.body.appendChild(e))},done:function(e){var n,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(n=t.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(t){0==t.data&&n.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",function(){n.next()}))}};t(document).on({"afterShow.fb":function(t,e,n){e.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(t,e,n){"use strict";var i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)},o=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)},a=function(e){var n=[];for(var i in e=(e=e.originalEvent||e||t.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[i].pageX?n.push({x:e[i].pageX,y:e[i].pageY}):e[i].clientX&&n.push({x:e[i].clientX,y:e[i].clientY});return n},s=function(t,e,n){return e&&t?"x"===n?t.x-e.x:"y"===n?t.y-e.y:Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0},r=function(t){if(t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(t.get(0).onclick)||t.data("selectable"))return!0;for(var e=0,i=t[0].attributes,o=i.length;e<o;e++)if("data-fancybox-"===i[e].nodeName.substr(0,14))return!0;return!1},l=function(e){var n=t.getComputedStyle(e)["overflow-y"],i=t.getComputedStyle(e)["overflow-x"],o=("scroll"===n||"auto"===n)&&e.scrollHeight>e.clientHeight,a=("scroll"===i||"auto"===i)&&e.scrollWidth>e.clientWidth;return o||a},d=function(t){for(var e=!1;!(e=l(t.get(0)))&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return e},c=function(t){var e=this;e.instance=t,e.$bg=t.$refs.bg,e.$stage=t.$refs.stage,e.$container=t.$refs.container,e.destroy(),e.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(e,"ontouchstart"))};c.prototype.destroy=function(){var t=this;t.$container.off(".fb.touch"),n(e).off(".fb.touch"),t.requestId&&(o(t.requestId),t.requestId=null),t.tapped&&(clearTimeout(t.tapped),t.tapped=null)},c.prototype.ontouchstart=function(i){var o=this,l=n(i.target),c=o.instance,u=c.current,h=u.$slide,p=u.$content,f="touchstart"==i.type;if(f&&o.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&h.length&&l.length&&!r(l)&&!r(l.parent())&&(l.is("img")||!(i.originalEvent.clientX>l[0].clientWidth+l.offset().left))){if(!u||c.isAnimating||u.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();o.realPoints=o.startPoints=a(i),o.startPoints.length&&(u.touch&&i.stopPropagation(),o.startEvent=i,o.canTap=!0,o.$target=l,o.$content=p,o.opts=u.opts.touch,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.isScrolling=!1,o.canPan=c.canPan(),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canvasWidth=Math.round(h[0].clientWidth),o.canvasHeight=Math.round(h[0].clientHeight),o.contentLastPos=null,o.contentStartPos=n.fancybox.getTranslate(o.$content)||{top:0,left:0},o.sliderStartPos=n.fancybox.getTranslate(h),o.stagePos=n.fancybox.getTranslate(c.$refs.stage),o.sliderStartPos.top-=o.stagePos.top,o.sliderStartPos.left-=o.stagePos.left,o.contentStartPos.top-=o.stagePos.top,o.contentStartPos.left-=o.stagePos.left,n(e).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(o,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(o,"ontouchmove")),n.fancybox.isMobile&&e.addEventListener("scroll",o.onscroll,!0),((o.opts||o.canPan)&&(l.is(o.$stage)||o.$stage.find(l).length)||(l.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&l.parents(".fancybox-caption").length))&&(o.isScrollable=d(l)||d(l.parent()),n.fancybox.isMobile&&o.isScrollable||i.preventDefault(),(1===o.startPoints.length||u.hasError)&&(o.canPan?(n.fancybox.stop(o.$content),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-is-grabbing")),2===o.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(o.canTap=!1,o.isSwiping=!1,o.isPanning=!1,o.isZooming=!0,n.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-n(t).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-n(t).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.contentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=s(o.startPoints[0],o.startPoints[1]))))}},c.prototype.onscroll=function(){var t=this;t.isScrolling=!0,e.removeEventListener("scroll",t.onscroll,!0)},c.prototype.ontouchmove=function(t){var e=this;void 0===t.originalEvent.buttons||0!==t.originalEvent.buttons?e.isScrolling?e.canTap=!1:(e.newPoints=a(t),(e.opts||e.canPan)&&e.newPoints.length&&e.newPoints.length&&(e.isSwiping&&!0===e.isSwiping||t.preventDefault(),e.distanceX=s(e.newPoints[0],e.startPoints[0],"x"),e.distanceY=s(e.newPoints[0],e.startPoints[0],"y"),e.distance=s(e.newPoints[0],e.startPoints[0]),e.distance>0&&(e.isSwiping?e.onSwipe(t):e.isPanning?e.onPan():e.isZooming&&e.onZoom()))):e.ontouchend(t)},c.prototype.onSwipe=function(){var e,a=this,s=a.instance,r=a.isSwiping,l=a.sliderStartPos.left||0;if(!0!==r)"x"==r&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?l+=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)?l-=Math.pow(-a.distanceX,.8):l+=a.distanceX),a.sliderLastPos={top:"x"==r?0:a.sliderStartPos.top+a.distanceY,left:l},a.requestId&&(o(a.requestId),a.requestId=null),a.requestId=i(function(){a.sliderLastPos&&(n.each(a.instance.slides,function(t,e){var i=e.pos-a.instance.currPos;n.fancybox.setTranslate(e.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+i*a.canvasWidth+i*e.opts.gutter})}),a.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(a.distance)>10){if(a.canTap=!1,s.group.length<2&&a.opts.vertical?a.isSwiping="y":s.isDragging||!1===a.opts.vertical||"auto"===a.opts.vertical&&n(t).width()>800?a.isSwiping="x":(e=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=e>45&&e<135?"y":"x"),"y"===a.isSwiping&&n.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);s.isDragging=a.isSwiping,a.startPoints=a.newPoints,n.each(s.slides,function(t,e){var i,o;n.fancybox.stop(e.$slide),i=n.fancybox.getTranslate(e.$slide),o=n.fancybox.getTranslate(s.$refs.stage),e.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(t,e){return(e.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),e.pos===s.current.pos&&(a.sliderStartPos.top=i.top-o.top,a.sliderStartPos.left=i.left-o.left),n.fancybox.setTranslate(e.$slide,{top:i.top-o.top,left:i.left-o.left})}),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},c.prototype.onPan=function(){var t=this;s(t.newPoints[0],t.realPoints[0])<(n.fancybox.isMobile?10:5)?t.startPoints=t.newPoints:(t.canTap=!1,t.contentLastPos=t.limitMovement(),t.requestId&&o(t.requestId),t.requestId=i(function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)}))},c.prototype.limitMovement=function(){var t,e,n,i,o,a,s=this,r=s.canvasWidth,l=s.canvasHeight,d=s.distanceX,c=s.distanceY,u=s.contentStartPos,h=u.left,p=u.top,f=u.width,m=u.height;return o=f>r?h+d:h,a=p+c,t=Math.max(0,.5*r-.5*f),e=Math.max(0,.5*l-.5*m),n=Math.min(r-f,.5*r-.5*f),i=Math.min(l-m,.5*l-.5*m),d>0&&o>t&&(o=t-1+Math.pow(-t+h+d,.8)||0),d<0&&o<n&&(o=n+1-Math.pow(n-h-d,.8)||0),c>0&&a>e&&(a=e-1+Math.pow(-e+p+c,.8)||0),c<0&&a<i&&(a=i+1-Math.pow(i-p-c,.8)||0),{top:a,left:o}},c.prototype.limitPosition=function(t,e,n,i){var o=this,a=o.canvasWidth,s=o.canvasHeight;return t=n>a?(t=t>0?0:t)<a-n?a-n:t:Math.max(0,a/2-n/2),{top:e=i>s?(e=e>0?0:e)<s-i?s-i:e:Math.max(0,s/2-i/2),left:t}},c.prototype.onZoom=function(){var e=this,a=e.contentStartPos,r=a.width,l=a.height,d=a.left,c=a.top,u=s(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,h=Math.floor(r*u),p=Math.floor(l*u),f=(r-h)*e.percentageOfImageAtPinchPointX,m=(l-p)*e.percentageOfImageAtPinchPointY,g=(e.newPoints[0].x+e.newPoints[1].x)/2-n(t).scrollLeft(),v=(e.newPoints[0].y+e.newPoints[1].y)/2-n(t).scrollTop(),y=g-e.centerPointStartX,b={top:c+(m+(v-e.centerPointStartY)),left:d+(f+y),scaleX:u,scaleY:u};e.canTap=!1,e.newWidth=h,e.newHeight=p,e.contentLastPos=b,e.requestId&&o(e.requestId),e.requestId=i(function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})},c.prototype.ontouchend=function(t){var i=this,s=i.isSwiping,r=i.isPanning,l=i.isZooming,d=i.isScrolling;if(i.endPoints=a(t),i.dMs=Math.max((new Date).getTime()-i.startTime,1),i.$container.removeClass("fancybox-is-grabbing"),n(e).off(".fb.touch"),e.removeEventListener("scroll",i.onscroll,!0),i.requestId&&(o(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.isScrolling=!1,i.instance.isDragging=!1,i.canTap)return i.onTap(t);i.speed=100,i.velocityX=i.distanceX/i.dMs*.5,i.velocityY=i.distanceY/i.dMs*.5,r?i.endPanning():l?i.endZooming():i.endSwiping(s,d)},c.prototype.endSwiping=function(t,e){var i=this,o=!1,a=i.instance.group.length,s=Math.abs(i.distanceX),r="x"==t&&a>1&&(i.dMs>130&&s>10||s>50),l=300;i.sliderLastPos=null,"y"==t&&!e&&Math.abs(i.distanceY)>50?(n.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),o=i.instance.close(!0,250)):r&&i.distanceX>0?o=i.instance.previous(l):r&&i.distanceX<0&&(o=i.instance.next(l)),!1!==o||"x"!=t&&"y"!=t||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var t,e,i,o=this;o.contentLastPos&&(!1===o.opts.momentum||o.dMs>350?(t=o.contentLastPos.left,e=o.contentLastPos.top):(t=o.contentLastPos.left+500*o.velocityX,e=o.contentLastPos.top+500*o.velocityY),(i=o.limitPosition(t,e,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,i.height=o.contentStartPos.height,n.fancybox.animate(o.$content,i,366))},c.prototype.endZooming=function(){var t,e,i,o,a=this,s=a.instance.current,r=a.newWidth,l=a.newHeight;a.contentLastPos&&(t=a.contentLastPos.left,o={top:e=a.contentLastPos.top,left:t,width:r,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,o),r<a.canvasWidth&&l<a.canvasHeight?a.instance.scaleToFit(150):r>s.width||l>s.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(i=a.limitPosition(t,e,r,l),n.fancybox.animate(a.$content,i,150)))},c.prototype.onTap=function(e){var i,o=this,s=n(e.target),r=o.instance,l=r.current,d=e&&a(e)||o.startPoints,c=d[0]?d[0].x-n(t).scrollLeft()-o.stagePos.left:0,u=d[0]?d[0].y-n(t).scrollTop()-o.stagePos.top:0,h=function(t){var i=l.opts[t];if(n.isFunction(i)&&(i=i.apply(r,[l,e])),i)switch(i){case"close":r.close(o.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(o.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(c,u):r.group.length<2&&r.close(o.startEvent))}};if((!e.originalEvent||2!=e.originalEvent.button)&&(s.is("img")||!(c>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(s.is(".fancybox-slide"))i="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;i="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(c-o.tapX)>50||Math.abs(u-o.tapY)>50)return this;h("dblclick"+i)}else o.tapX=c,o.tapY=u,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?o.tapped=setTimeout(function(){o.tapped=null,r.isAnimating||h("click"+i)},500):h("click"+i);return this}},n(e).on("onActivate.fb",function(t,e){e&&!e.Guestures&&(e.Guestures=new c(e))}).on("beforeClose.fb",function(t,e){e&&e.Guestures&&e.Guestures.destroy()})}(window,document,jQuery),function(t,e){"use strict";e.extend(!0,e.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 n=function(t){this.instance=t,this.init()};e.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var t=this,n=t.instance,i=n.group[n.currIndex].opts.slideShow;t.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){t.toggle()}),n.group.length<2||!i?t.$button.hide():i.progress&&(t.$progress=e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(t){var n=this,i=n.instance,o=i.current;o&&(!0===t||o.opts.loop||i.currIndex<i.group.length-1)?n.isActive&&"video"!==o.contentType&&(n.$progress&&e.fancybox.animate(n.$progress.show(),{scaleX:1},o.opts.slideShow.speed),n.timer=setTimeout(function(){i.current.opts.loop||i.current.index!=i.group.length-1?i.next():i.jumpTo(0)},o.opts.slideShow.speed)):(n.stop(),i.idleSecondsCounter=0,i.showControls())},clear:function(){var t=this;clearTimeout(t.timer),t.timer=null,t.$progress&&t.$progress.removeAttr("style").hide()},start:function(){var t=this,e=t.instance.current;e&&(t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),t.isActive=!0,e.isComplete&&t.set(!0),t.instance.trigger("onSlideShowChange",!0))},stop:function(){var t=this,e=t.instance.current;t.clear(),t.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),t.isActive=!1,t.instance.trigger("onSlideShowChange",!1),t.$progress&&t.$progress.removeAttr("style").hide()},toggle:function(){var t=this;t.isActive?t.stop():t.start()}}),e(t).on({"onInit.fb":function(t,e){e&&!e.SlideShow&&(e.SlideShow=new n(e))},"beforeShow.fb":function(t,e,n,i){var o=e&&e.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(t,e){var n=e&&e.SlideShow;n&&n.isActive&&n.set()},"afterKeydown.fb":function(n,i,o,a,s){var r=i&&i.SlideShow;!r||!o.opts.slideShow||80!==s&&32!==s||e(t.activeElement).is("button,a,input")||(a.preventDefault(),r.toggle())},"beforeClose.fb onDeactivate.fb":function(t,e){var n=e&&e.SlideShow;n&&n.stop()}}),e(t).on("visibilitychange",function(){var n=e.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(t.hidden?i.clear():i.set())})}(document,jQuery),function(t,e){"use strict";var n=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<e.length;i++){var o=e[i];if(o&&o[1]in t){for(var a=0;a<o.length;a++)n[e[0][a]]=o[a];return n}}return!1}();if(n){var i={request:function(e){(e=e||t.documentElement)[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){t[n.exitFullscreen]()},toggle:function(e){e=e||t.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(t[n.fullscreenElement])},enabled:function(){return Boolean(t[n.fullscreenEnabled])}};e.extend(!0,e.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}}),e(t).on(n.fullscreenchange,function(){var t=i.isFullscreen(),n=e.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",t),n.$refs.container.toggleClass("fancybox-is-fullscreen",t),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!t).toggleClass("fancybox-button--fsexit",t))})}e(t).on({"onInit.fb":function(t,e){n?e&&e.group[e.currIndex].opts.fullScreen?(e.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(t){t.stopPropagation(),t.preventDefault(),i.toggle()}),e.opts.fullScreen&&!0===e.opts.fullScreen.autoStart&&i.request(),e.FullScreen=i):e&&e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(t,e,n,i,o){e&&e.FullScreen&&70===o&&(i.preventDefault(),e.FullScreen.toggle())},"beforeClose.fb":function(t,e){e&&e.FullScreen&&e.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(t,e){"use strict";var n="fancybox-thumbs",i=n+"-active";e.fancybox.defaults=e.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"}},e.fancybox.defaults);var o=function(t){this.init(t)};e.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(t){var e=this,n=t.group,i=0;e.instance=t,e.opts=n[t.currIndex].opts.thumbs,t.Thumbs=e,e.$button=t.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,a=n.length;o<a&&(n[o].thumb&&i++,!(i>1));o++);i>1&&e.opts?(e.$button.removeAttr("style").on("click",function(){e.toggle()}),e.isActive=!0):e.$button.hide()},create:function(){var t,i=this,o=i.instance,a=i.opts.parentEl,s=[];i.$grid||(i.$grid=e('<div class="'+n+" "+n+"-"+i.opts.axis+'"></div>').appendTo(o.$refs.container.find(a).addBack().filter(a)),i.$grid.on("click","a",function(){o.jumpTo(e(this).attr("data-index"))})),i.$list||(i.$list=e('<div class="'+n+'__list">').appendTo(i.$grid)),e.each(o.group,function(e,n){(t=n.thumb)||"image"!==n.type||(t=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(t&&t.length?' style="background-image:url('+t+')"':'class="fancybox-thumbs-missing"')+"></a>")}),i.$list[0].innerHTML=s.join(""),"x"===i.opts.axis&&i.$list.width(parseInt(i.$grid.css("padding-right"),10)+o.group.length*i.$list.children().eq(0).outerWidth(!0))},focus:function(t){var e,n,o=this,a=o.$list,s=o.$grid;o.instance.current&&(n=(e=a.children().removeClass(i).filter('[data-index="'+o.instance.current.index+'"]').addClass(i)).position(),"y"===o.opts.axis&&(n.top<0||n.top>a.height()-e.outerHeight())?a.stop().animate({scrollTop:a.scrollTop()+n.top},t):"x"===o.opts.axis&&(n.left<s.scrollLeft()||n.left>s.scrollLeft()+(s.width()-e.outerWidth()))&&a.parent().stop().animate({scrollLeft:n.left},t))},update:function(){var t=this;t.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),t.isVisible?(t.$grid||t.create(),t.instance.trigger("onThumbsShow"),t.focus(0)):t.$grid&&t.instance.trigger("onThumbsHide"),t.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),e(t).on({"onInit.fb":function(t,e){var n;e&&!e.Thumbs&&(n=new o(e)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(t,e,n,i){var o=e&&e.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(t,e,n,i,o){var a=e&&e.Thumbs;a&&a.isActive&&71===o&&(i.preventDefault(),a.toggle())},"beforeClose.fb":function(t,e){var n=e&&e.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(t,e){"use strict";function n(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(t).replace(/[&<>"'`=\/]/g,function(t){return e[t]})}e.extend(!0,e.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(t,e){return!t.currentHash&&"inline"!==e.type&&"html"!==e.type&&(e.origSrc||e.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>'}}),e(t).on("click","[data-fancybox-share]",function(){var t,i,o=e.fancybox.getInstance(),a=o.current||null;a&&("function"===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[o,a])),i=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,o.$caption?encodeURIComponent(o.$caption.text()):""),e.fancybox.open({src:o.translate(o,i),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){o.$refs.container.one("beforeClose.fb",function(){t.close(null,0)}),e.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})}
6,mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){"use strict";function i(){var e=t.location.hash.substr(1),n=e.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:e,index:i<1?1:i,gallery:n.join("-")}}function o(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(""!==(n=(e=t.current?t.current.opts:t.opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){var e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,n=function(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t};return(t+"").replace(e,n)}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,o;!1!==e.group[e.currIndex].opts.hash&&(n=i(),(o=a(e))&&n.gallery&&o==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,s){var r;o&&!1!==o.opts.hash&&(r=a(i))&&(i.currentHash=r+(i.group.length>1?"-"+(o.index+1):""),t.location.hash!=="#"+i.currentHash&&(s&&!i.origHash&&(i.origHash=t.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout(function(){"replaceState"in t.history?(t.history[s?"pushState":"replaceState"]({},e.title,t.location.pathname+t.location.search+"#"+i.currentHash),s&&(i.hasCreatedHistory=!0)):t.location.hash=i.currentHash,i.hashTimer=null},300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?t.history.back():i.currentHash&&("replaceState"in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(i.origHash||"")):t.location.hash=i.origHash),i.currentHash=null)}}),n(t).on("hashchange.fb",function(){var t=i(),e=null;n.each(n(".fancybox-container").get().reverse(),function(t,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return e=o,!1}),e?e.currentHash===t.gallery+"-"+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):""!==t.gallery&&o(t)}),setTimeout(function(){
7n.fancybox.getInstance()||o(i())},50))})}(window,document,jQuery),function(t,e){"use strict";var n=(new Date).getTime();e(t).on({"onInit.fb":function(t,e){e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(t){var i=e.current,o=(new Date).getTime();e.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(t.preventDefault(),t.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,o-n<250||(n=o,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery),function(t){function e(e){t("audio").each(function(){this!=e&&this.pause()}),t(e).data("played_already",1),t(".fraudio-play").html(i),e.paused?(t(e).parent().find(".fraudio-play").html(o),e.play()):e.pause()}function n(e){if(s){var n=s.offset().left,i=t(s.siblings(".fraudio-progress")[0]);e.pageX<n?i.css("width",0):e.pageX>n+s.width()?i.css("width","100%"):i.css("width",e.pageX-n)}}var i='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="30" style="margin-top: -4px;"><path fill="white" stroke="white" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z"/></svg>',o='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="30" style="margin-top: -4px;"><path fill="white" stroke="white" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm-16 328c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160zm112 0c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v160z"/></svg>',a='<div class="fraudio-container">\t\t\t<audio></audio>\t\t\t<div class="fraudio-play-container">\t\t\t\t<span class="fraudio-play">\t\t\t\t\t'+i+'\t\t\t\t</span>\t\t\t</div>\t\t\t<div class="fraudio-duration hidden-xs"></div>\t\t\t<div class="fraudio-text">\t\t\t\t<div class="fraudio-duration visible-xs"></div>\t\t\t\t<div class="fraudio-title"></div>\t\t\t\t<div class="fraudio-artist"></div>\t\t\t</div>\t\t\t<div class="fraudio-progress"></div>\t\t\t<div class="fraudio-progress-click"></div>\t\t</div>',s=!1;t.fn.fraudio=function(){this.filter("audio").each(function(){$fraudio=t(a),$fraudio.find("audio").replaceWith(t(this).clone()),$fraudio.find(".fraudio-title").html(t(this).attr("data-title")),$fraudio.find(".fraudio-artist").html(t(this).attr("data-artist")),t(this).attr("autoplay")&&($fraudio.find("audio").data("played_already",1),$fraudio.find(".fraudio-play").html(o)),t(this).replaceWith($fraudio)}),t(".fraudio-play").click(function(){e(t(this).closest(".fraudio-container").find("audio")[0]);var n=t(this).data("target"),i=t('.js-play-song[data-id="'+n+'"]');i.toggleClass("is-playing"),i.find("i").toggleClass("fa-pause"),i.find("i").toggleClass("fa-play-circle")}),t(".fraudio").on("timeupdate",function(){if(!s){var e=t(this).siblings(".fraudio-progress")[0];t(e).css("width",this.currentTime/this.duration*100+"%");var n=this.currentTime,i=this.duration,o=Math.floor(n/60),a=Math.floor(n-60*o);a=a<10?"0"+a:a;var r=Math.floor(i/60),l=Math.floor(i-60*r);l=l<10?"0"+l:l,t(".fraudio-duration").html(o+":"+a+" / "+r+":"+l)}}),t("audio").on("ended",function(){t(this).parent().find(".fraudio-play").html(i)}),t(".fraudio-progress-click").on("mousedown",function(){var n=t(this).siblings("audio")[0];t(n).data("played_already")?s=t(this):e(n)}),t(document).on("mousemove",n),t(document).on("mouseup mouseleave",function(t){if(s){n(t);var e=s.siblings("audio")[0];e.currentTime=t.offsetX/s.width()*e.duration,s=!1}})},t(function(){t(".fraudio").fraudio()})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Swiper=e()}(this,function(){"use strict";function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function n(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function i(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Object.keys(e).forEach(function(o){void 0===t[o]?t[o]=e[o]:n(e[o])&&n(t[o])&&Object.keys(e[o]).length>0&&i(t[o],e[o])})}function o(){var t="undefined"!=typeof document?document:{};return i(t,$),t}function a(){var t="undefined"!=typeof window?window:{};return i(t,z),t}
vendor: 9,596 bytes, line 7
7function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function d(){return(d=l()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return n&&r(o,n.prototype),o}).apply(null,arguments)}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){function n(){return d(t,arguments,s(this).constructor)}if(null===t||(i=t,-1===Function.toString.call(i).indexOf("[native code]")))return t;var i;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r(n,t)})(t)}function u(t){void 0===t&&(t=[]);var e=[];return t.forEach(function(t){Array.isArray(t)?e.push.apply(e,u(t)):e.push(t)}),e}function h(t,e){return Array.prototype.filter.call(t,e)}function p(t,e){var n=a(),i=o(),s=[];if(!e&&t instanceof I)return t;if(!t)return new I(s);if("string"==typeof t){var r=t.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){var l="div";0===r.indexOf("<li")&&(l="ul"),0===r.indexOf("<tr")&&(l="tbody"),0!==r.indexOf("<td")&&0!==r.indexOf("<th")||(l="tr"),0===r.indexOf("<tbody")&&(l="table"),0===r.indexOf("<option")&&(l="select");var d=i.createElement(l);d.innerHTML=r;for(var c=0;c<d.childNodes.length;c+=1)s.push(d.childNodes[c])}else s=function(t,e){if("string"!=typeof t)return[t];for(var n=[],i=e.querySelectorAll(t),o=0;o<i.length;o+=1)n.push(i[o]);return n}(t.trim(),e||i)}else if(t.nodeType||t===n||t===i)s.push(t);else if(Array.isArray(t)){if(t instanceof I)return t;s=t}return new I(function(t){for(var e=[],n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(s))}function f(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function m(){return Date.now()}function g(t,e){void 0===e&&(e="x");var n,i,o,s=a(),r=function(t){var e,n=a();return n.getComputedStyle&&(e=n.getComputedStyle(t,null)),!e&&t.currentStyle&&(e=t.currentStyle),e||(e=t.style),e}(t);return s.WebKitCSSMatrix?((i=r.transform||r.webkitTransform).split(",").length>6&&(i=i.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),o=new s.WebKitCSSMatrix("none"===i?"":i)):n=(o=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===e&&(i=s.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(i=s.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function v(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function y(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function b(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!y(i))for(var o=Object.keys(Object(i)).filter(function(t){return e.indexOf(t)<0}),a=0,s=o.length;a<s;a+=1){var r=o[a],l=Object.getOwnPropertyDescriptor(i,r);void 0!==l&&l.enumerable&&(v(t[r])&&v(i[r])?i[r].__swiper__?t[r]=i[r]:b(t[r],i[r]):!v(t[r])&&v(i[r])?(t[r]={},i[r].__swiper__?t[r]=i[r]:b(t[r],i[r])):t[r]=i[r])}}return t}function _(t,e){Object.keys(e).forEach(function(n){v(e[n])&&Object.keys(e[n]).forEach(function(i){"function"==typeof e[n][i]&&(e[n][i]=e[n][i].bind(t))}),t[n]=e[n]})}function w(t){return void 0===t&&(t=""),"."+t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}function x(t,e,n,i){var a=o();return n&&Object.keys(i).forEach(function(n){if(!e[n]&&!0===e.auto){var o=a.createElement("div");o.className=i[n],t.append(o),e[n]=o}}),e}function T(){return A||(A=function(){var t=a(),e=o();return{touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>=0,observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),A}function C(t){return void 0===t&&(t={}),N||(N=function(t){var e=(void 0===t?{}:t).userAgent,n=T(),i=a(),o=i.navigator.platform,s=e||i.navigator.userAgent,r={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/),u=s.match(/(iPad).*OS\s([\d_]+)/),h=s.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===o,m="MacIntel"===o;return!u&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+d)>=0&&((u=s.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),c&&!f&&(r.os="android",r.android=!0),(u||p||h)&&(r.os="ios",r.ios=!0),r}(t)),N}function S(){return R||(R=function(){var t,e=a();return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:(t=e.navigator.userAgent.toLowerCase(),t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),R}function E(t){var e=this,n=o(),i=a(),s=e.touchEventsData,r=e.params,l=e.touches;if(e.enabled&&(!e.animating||!r.preventInteractionOnTransition)){var d=t;d.originalEvent&&(d=d.originalEvent);var c=p(d.target);if(("wrapper"!==r.touchEventsTarget||c.closest(e.wrapperEl).length)&&(s.isTouchEvent="touchstart"===d.type,(s.isTouchEvent||!("which"in d)||3!==d.which)&&!(!s.isTouchEvent&&"button"in d&&d.button>0||s.isTouched&&s.isMoved))){r.noSwipingClass&&""!==r.noSwipingClass&&d.target&&d.target.shadowRoot&&t.path&&t.path[0]&&(c=p(t.path[0]));var u=r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass,h=!(!d.target||!d.target.shadowRoot);if(r.noSwiping&&(h?function(t,e){return void 0===e&&(e=this),function e(n){return n&&n!==o()&&n!==a()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(t)||e(n.getRootNode().host)):null}(e)}(u,d.target):c.closest(u)[0]))e.allowClick=!0;else if(!r.swipeHandler||c.closest(r.swipeHandler)[0]){l.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,l.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var f=l.currentX,g=l.currentY,v=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,y=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(v&&(f<=y||f>=i.innerWidth-y)){if("prevent"!==v)return;t.preventDefault()}if(b(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=g,s.touchStartTime=m(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==d.type){var _=!0;c.is(s.focusableElements)&&(_=!1),n.activeElement&&p(n.activeElement).is(s.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();var w=_&&e.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!w||c[0].isContentEditable||d.preventDefault()}e.emit("touchStart",d)}}}}function k(t){var e=o(),n=this,i=n.touchEventsData,a=n.params,s=n.touches,r=n.rtlTranslate;if(n.enabled){var l=t;if(l.originalEvent&&(l=l.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===l.type){var d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),c="touchmove"===l.type?d.pageX:l.pageX,u="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return s.startX=c,void(s.startY=u);if(!n.allowTouchMove)return n.allowClick=!1,void(i.isTouched&&(b(s,{startX:c,startY:u,currentX:c,currentY:u}),i.touchStartTime=m()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(u<s.startY&&n.translate<=n.maxTranslate()||u>s.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(c<s.startX&&n.translate<=n.maxTranslate()||c>s.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&p(l.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){s.currentX=c,s.currentY=u;var h,f=s.currentX-s.startX,g=s.currentY-s.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(f,2)+Math.pow(g,2))<n.params.threshold))if(void 0===i.isScrolling&&(n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:f*f+g*g>=25&&(h=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=n.isHorizontal()?h>a.touchAngle:90-h>a.touchAngle)),i.isScrolling&&n.emit("touchMoveOpposite",l),void 0===i.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){n.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),i.isMoved||(a.loop&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce
vendor: 1,114 bytes, line 7
7=!1,!a.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),i.isMoved=!0;var v=n.isHorizontal()?f:g;s.diff=v,v*=a.touchRatio,r&&(v=-v),n.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var y=!0,_=a.resistanceRatio;if(a.touchReleaseOnEdges&&(_=0),v>0&&i.currentTranslate>n.minTranslate()?(y=!1,a.resistance&&(i.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+i.startTranslate+v,_))):v<0&&i.currentTranslate<n.maxTranslate()&&(y=!1,a.resistance&&(i.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-i.startTranslate-v,_))),y&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 4,136 bytes, line 7
7if(!i.allowThresholdMove)return i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,void(s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:s[n.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:s[n.isHorizontal()?"currentX":"currentY"],time:m()})),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",l)}}function M(t){var e=this,n=e.touchEventsData,i=e.params,o=e.touches,a=e.rtlTranslate,s=e.$wrapperEl,r=e.slidesGrid,l=e.snapGrid;if(e.enabled){var d=t;if(d.originalEvent&&(d=d.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",d),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var c,u=m(),h=u-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(d),e.emit("tap click",d),h<300&&u-n.lastClickTime<300&&e.emit("doubleTap doubleClick",d)),n.lastClickTime=m(),f(function(){e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||0===o.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,c=i.followFinger?a?e.translate:-e.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(c<-e.minTranslate())return void e.slideTo(e.activeIndex);if(c>-e.maxTranslate())return void(e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),g=n.velocities.pop(),v=p.position-g.position,y=p.time-g.time;e.velocity=v/y,e.velocity/=2,Math.abs(e.velocity)<i.freeModeMinimumVelocity&&(e.velocity=0),(y>150||m()-p.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,_=e.velocity*b,w=e.translate+_;a&&(w=-w);var x,T,C=!1,S=20*Math.abs(e.velocity)*i.freeModeMomentumBounceRatio;if(w<e.maxTranslate())i.freeModeMomentumBounce?(w+e.maxTranslate()<-S&&(w=e.maxTranslate()-S),x=e.maxTranslate(),C=!0,n.allowMomentumBounce=!0):w=e.maxTranslate(),i.loop&&i.centeredSlides&&(T=!0);else if(w>e.minTranslate())i.freeModeMomentumBounce?(w-e.minTranslate()>S&&(w=e.minTranslate()+S),x=e.minTranslate(),C=!0,n.allowMomentumBounce=!0):w=e.minTranslate(),i.loop&&i.centeredSlides&&(T=!0);else if(i.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"===e.swipeDirection?l[E]:l[E-1])}if(T&&e.once("transitionEnd",function(){e.loopFix()}),0!==e.velocity){if(b=a?Math.abs((-w-e.translate)/e.velocity):Math.abs((w-e.translate)/e.velocity),i.freeModeSticky){var M=Math.abs((a?-w:w)-e.translate),P=e.slidesSizesGrid[e.activeIndex];b=M<P?i.speed:M<2*P?1.5*i.speed:2.5*i.speed}}else if(i.freeModeSticky)return void e.slideToClosest();i.freeModeMomentumBounce&&C?(e.updateProgress(x),e.setTransition(b),e.setTranslate(w),e.transitionStart(!0,e.swipeDirection),e.animating=!0,s.transitionEnd(function(){e&&!e.destroyed&&n.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(i.speed),setTimeout(function(){e.setTranslate(x),s.transitionEnd(function(){e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(e.updateProgress(w),e.setTransition(b),e.setTranslate(w),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,s.transitionEnd(function(){e&&!e.destroyed&&e.transitionEnd()}))):(e.emit("_freeModeNoMomentumRelease"),e.updateProgress(w)),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeModeSticky)return void e.slideToClosest();i.freeMode&&e.emit("_freeModeNoMomentumRelease")}(!i.freeModeMomentum||h>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}
7else{for(var L=0,D=e.slidesSizesGrid[0],O=0;O<r.length;O+=O<i.slidesPerGroupSkip?1:i.slidesPerGroup){var $=O<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==r[O+$]?c>=r[O]&&c<r[O+$]&&(L=O,D=r[O+$]-r[O]):c>=r[O]&&(L=O,D=r[r.length-1]-r[r.length-2])}var z=(c-r[L])/D,I=L<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(h>i.longSwipesMs){if(!i.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(z>=i.longSwipesRatio?e.slideTo(L+I):e.slideTo(L)),"prev"===e.swipeDirection&&(z>1-i.longSwipesRatio?e.slideTo(L+I):e.slideTo(L))}else{if(!i.shortSwipes)return void e.slideTo(e.activeIndex);!e.navigation||d.target!==e.navigation.nextEl&&d.target!==e.navigation.prevEl?("next"===e.swipeDirection&&e.slideTo(L+I),"prev"===e.swipeDirection&&e.slideTo(L)):d.target===e.navigation.nextEl?e.slideTo(L+I):e.slideTo(L)}}}}function P(){var t=this,e=t.params,n=t.el;if(!n||0!==n.offsetWidth){e.breakpoints&&t.setBreakpoint();var i=t.allowSlideNext,o=t.allowSlidePrev,a=t.snapGrid;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=o,t.allowSlideNext=i,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}}function L(t){var e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function D(){var t=this,e=t.wrapperEl,n=t.rtlTranslate;if(t.enabled){t.previousTranslate=t.translate,t.isHorizontal()?t.translate=n?e.scrollWidth-e.offsetWidth-e.scrollLeft:-e.scrollLeft:t.translate=-e.scrollTop,-0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();var i=t.maxTranslate()-t.minTranslate();(0===i?0:(t.translate-t.minTranslate())/i)!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}function O(){}var $={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[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}},z={document:$,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}},I=function(t){function e(e){var n,i,o;return i=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n=t.call.apply(t,[this].concat(e))||this),o=i.__proto__,Object.defineProperty(i,"__proto__",{get:function(){return o},set:function(t){o.__proto__=t}}),n}var n,i;return i=t,(n=e).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,e}(c(Array));p.fn=I.prototype;var A,N,R,H={addClass:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=u(e.map(function(t){return t.split(" ")}));return this.forEach(function(t){var e;(e=t.classList).add.apply(e,i)}),this},removeClass:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=u(e.map(function(t){return t.split(" ")}));return this.forEach(function(t){var e;(e=t.classList).remove.apply(e,i)}),this},hasClass:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=u(e.map(function(t){return t.split(" ")}));return h(this,function(t){return i.filter(function(e){return t.classList.contains(e)}).length>0}).length>0},toggleClass:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=u(e.map(function(t){return t.split(" ")}));
vendor: 9,344 bytes, lines 7-8
7this.forEach(function(t){i.forEach(function(e){t.classList.toggle(e)})})},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(var i in t)this[n][i]=t[i],this[n].setAttribute(i,t[i]);return this},removeAttr:function(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this},transform:function(t){for(var e=0;e<this.length;e+=1)this[e].style.transform=t;return this},transition:function(t){for(var e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?t+"ms":t;return this},on:function(){function t(t){var e=t.target;if(e){var n=t.target.dom7EventData||[];if(n.indexOf(t)<0&&n.unshift(t),p(e).is(s))r.apply(e,n);else for(var i=p(e).parents(),o=0;o<i.length;o+=1)p(i[o]).is(s)&&r.apply(i[o],n)}}function e(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),r.apply(this,e)}for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i[0],s=i[1],r=i[2],l=i[3];"function"==typeof i[1]&&(a=i[0],r=i[1],l=i[2],s=void 0),l||(l=!1);for(var d,c=a.split(" "),u=0;u<this.length;u+=1){var h=this[u];if(s)for(d=0;d<c.length;d+=1){var f=c[d];h.dom7LiveListeners||(h.dom7LiveListeners={}),h.dom7LiveListeners[f]||(h.dom7LiveListeners[f]=[]),h.dom7LiveListeners[f].push({listener:r,proxyListener:t}),h.addEventListener(f,t,l)}else for(d=0;d<c.length;d+=1){var m=c[d];h.dom7Listeners||(h.dom7Listeners={}),h.dom7Listeners[m]||(h.dom7Listeners[m]=[]),h.dom7Listeners[m].push({listener:r,proxyListener:e}),h.addEventListener(m,e,l)}}return this},off:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e[0],o=e[1],a=e[2],s=e[3];"function"==typeof e[1]&&(i=e[0],a=e[1],s=e[2],o=void 0),s||(s=!1);for(var r=i.split(" "),l=0;l<r.length;l+=1)for(var d=r[l],c=0;c<this.length;c+=1){var u=this[c],h=void 0;if(!o&&u.dom7Listeners?h=u.dom7Listeners[d]:o&&u.dom7LiveListeners&&(h=u.dom7LiveListeners[d]),h&&h.length)for(var p=h.length-1;p>=0;p-=1){var f=h[p];a&&f.listener===a||a&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===a?(u.removeEventListener(d,f.proxyListener,s),h.splice(p,1)):a||(u.removeEventListener(d,f.proxyListener,s),h.splice(p,1))}}return this},trigger:function(){for(var t=a(),e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var o=n[0].split(" "),s=n[1],r=0;r<o.length;r+=1)for(var l=o[r],d=0;d<this.length;d+=1){var c=this[d];if(t.CustomEvent){var u=new t.CustomEvent(l,{detail:s,bubbles:!0,cancelable:!0});c.dom7EventData=n.filter(function(t,e){return e>0}),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}}return this},transitionEnd:function(t){var e=this;return t&&e.on("transitionend",function n(i){i.target===this&&(t.call(this,i),e.off("transitionend",n))}),this},outerWidth:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var t=a();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var t=a(),e=o(),n=this[0],i=n.getBoundingClientRect(),s=e.body,r=n.clientTop||s.clientTop||0,l=n.clientLeft||s.clientLeft||0,d=n===t?t.scrollY:n.scrollTop,c=n===t?t.scrollX:n.scrollLeft;return{top:i.top+d-r,left:i.left+c-l}}return null},css:function(t,e){var n,i=a();if(1===arguments.length){if("string"!=typeof t){for(n=0;n<this.length;n+=1)for(var o in t)this[n].style[o]=t[o];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(n=0;n<this.length;n+=1)this[n].style[t]=e;return this}return this},each:function(t){return t?(this.forEach(function(e,n){t.apply(e,[e,n])}),this):this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this},text:function(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this},is:function(t){var e,n,i=a(),s=o(),r=this[0];if(!r||void 0===t)return!1;if("string"==typeof t){if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(e=p(t),n=0;n<e.length;n+=1)if(e[n]===r)return!0;return!1}if(t===s)return r===s;if(t===i)return r===i;if(t.nodeType||t instanceof I){for(e=t.nodeType?[t]:t,n=0;n<e.length;n+=1)if(e[n]===r)return!0;return!1}return!1},index:function(){var t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}},eq:function(t){if(void 0===t)return this;var e=this.length;if(t>e-1)return p([]);if(t<0){var n=e+t;return p(n<0?[]:[this[n]])}return p([this[t]])},append:function(){for(var t,e=o(),n=0;n<arguments.length;n+=1){t=n<0||arguments.length<=n?void 0:arguments[n];for(var i=0;i<this.length;i+=1)if("string"==typeof t){var a=e.createElement("div");for(a.innerHTML=t;a.firstChild;)this[i].appendChild(a.firstChild)}else if(t instanceof I)for(var s=0;s<t.length;s+=1)this[i].appendChild(t[s]);else this[i].appendChild(t)}return this},prepend:function(t){var e,n,i=o();for(e=0;e<this.length;e+=1)if("string"==typeof t){var a=i.createElement("div");for(a.innerHTML=t,n=a.childNodes.length-1;n>=0;n-=1)this[e].insertBefore(a.childNodes[n],this[e].childNodes[0])}else if(t instanceof I)for(n=0;n<t.length;n+=1)this[e].insertBefore(t[n],this[e].childNodes[0]);else this[e].insertBefore(t,this[e].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&p(this[0].nextElementSibling).is(t)?p([this[0].nextElementSibling]):p([]):this[0].nextElementSibling?p([this[0].nextElementSibling]):p([]):p([])},nextAll:function(t){var e=[],n=this[0];if(!n)return p([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;t?p(i).is(t)&&e.push(i):e.push(i),n=i}return p(e)},prev:function(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&p(e.previousElementSibling).is(t)?p([e.previousElementSibling]):p([]):e.previousElementSibling?p([e.previousElementSibling]):p([])}return p([])},prevAll:function(t){var e=[],n=this[0];if(!n)return p([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;t?p(i).is(t)&&e.push(i):e.push(i),n=i}return p(e)},parent:function(t){for(var e=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?p(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return p(e)},parents:function(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].parentNode;i;)t?p(i).is(t)&&e.push(i):e.push(i),i=i.parentNode;return p(e)},closest:function(t){var e=this;return void 0===t?p([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].querySelectorAll(t),o=0;o<i.length;o+=1)e.push(i[o]);return p(e)},children:function(t){for(var e=[],n=0;n<this.length;n+=1)for(var i=this[n].children,o=0;o<i.length;o+=1)t&&!p(i[o]).is(t)||e.push(i[o]);return p(e)},filter:function(t){return p(h(this,t))},remove:function(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}};Object.keys(H).forEach(function(t){Object.defineProperty(p.fn,t,{value:H[t],writable:!0})});var B={name:"resize",create:function(){var t=this;b(t,{resize:{observer:null,createObserver:function(){t&&!t.destroyed&&t.initialized&&(t.resize.observer=new ResizeObserver(function(e){var n=t.width,i=t.height,o=n,a=i;e.forEach(function(e){var n=e.contentBoxSize,i=e.contentRect,s=e.target;s&&s!==t.el||(o=i?i.width:(n[0]||n).inlineSize,a=i?i.height:(n[0]||n).blockSize)}),o===n&&a===i||t.resize.resizeHandler()}),t.resize.observer.observe(t.el))},removeObserver:function(){t.resize.observer&&t.resize.observer.unobserve&&t.el&&(t.resize.observer.unobserve(t.el),t.resize.observer=null)},resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(t){var e=a()
8;t.params.resizeObserver&&void 0!==a().ResizeObserver?t.resize.createObserver():(e.addEventListener("resize",t.resize.resizeHandler),e.addEventListener("orientationchange",t.resize.orientationChangeHandler))},destroy:function(t){var e=a();t.resize.removeObserver(),e.removeEventListener("resize",t.resize.resizeHandler),e.removeEventListener("orientationchange",t.resize.orientationChangeHandler)}}},j={attach:function(t,e){void 0===e&&(e={});var n=a(),i=this,o=new(n.MutationObserver||n.WebkitMutationObserver)(function(t){if(1!==t.length){var e=function(){i.emit("observerUpdate",t[0])};n.requestAnimationFrame?n.requestAnimationFrame(e):n.setTimeout(e,0)}else i.emit("observerUpdate",t[0])});o.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),i.observer.observers.push(o)},init:function(){var t=this;
8if(t.support.observer&&t.params.observer){if(t.params.observeParents)for(var e=t.$el.parents(),n=0;n<e.length;n+=1)t.observer.attach(e[n]);t.observer.attach(t.$el[0],{childList:t.params.observeSlideChildren}),t.observer.attach(t.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(t){t.disconnect()}),this.observer.observers=[]}},F={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){_(this,{observer:e({},j,{observers:[]})})},on:{init:function(t){t.observer.init()},destroy:function(t){t.observer.destroy()}}},Y=!1,W={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,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,breakpointsBase:"window",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,touchStartForcePreventDefault:!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,loopPreventsSlide:!0,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,_emitClasses:!1},Z={modular:{useParams:function(t){var e=this;e.modules&&Object.keys(e.modules).forEach(function(n){var i=e.modules[n];i.params&&b(t,i.params)})},useModules:function(t){void 0===t&&(t={});var e=this;e.modules&&Object.keys(e.modules).forEach(function(n){var i=e.modules[n],o=t[n]||{};i.on&&e.on&&Object.keys(i.on).forEach(function(t){e.on(t,i.on[t])}),i.create&&i.create.bind(e)(o)})}},eventsEmitter:{on:function(t,e,n){var i=this;if("function"!=typeof e)return i;var o=n?"unshift":"push";return t.split(" ").forEach(function(t){i.eventsListeners[t]||(i.eventsListeners[t]=[]),i.eventsListeners[t][o](e)}),i},once:function(t,e,n){function i(){o.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];e.apply(o,a)}var o=this;return"function"!=typeof e?o:(i.__emitterProxy=e,o.on(t,i,n))},onAny:function(t,e){var n=this;if("function"!=typeof t)return n;var i=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[i](t),n},offAny:function(t){var e=this;if(!e.eventsAnyListeners)return e;var n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off:function(t,e){var n=this;return n.eventsListeners?(t.split(" ").forEach(function(t){void 0===e?n.eventsListeners[t]=[]:n.eventsListeners[t]&&n.eventsListeners[t].forEach(function(i,o){(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[t].splice(o,1)})}),n):n},emit:function(){var t,e,n,i=this;if(!i.eventsListeners)return i;for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return"string"==typeof a[0]||Array.isArray(a[0])?(t=a[0],e=a.slice(1,a.length),n=i):(t=a[0].events,e=a[0].data,n=a[0].context||i),e.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEac
vendor: 68,088 bytes, lines 8-10
8h(function(t){i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(function(i){i.apply(n,[t].concat(e))}),i.eventsListeners&&i.eventsListeners[t]&&i.eventsListeners[t].forEach(function(t){t.apply(n,e)})}),i}},update:{updateSize:function(){var t,e,n=this,i=n.$el;t=void 0!==n.params.width&&null!==n.params.width?n.params.width:i[0].clientWidth,e=void 0!==n.params.height&&null!==n.params.height?n.params.height:i[0].clientHeight,0===t&&n.isHorizontal()||0===e&&n.isVertical()||(t=t-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),e=e-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(e)&&(e=0),b(n,{width:t,height:e,size:n.isHorizontal()?t:e}))},updateSlides:function(){function t(t){return n.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function e(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}var n=this,i=n.params,o=n.$wrapperEl,a=n.size,s=n.rtlTranslate,r=n.wrongRTL,l=n.virtual&&i.virtual.enabled,d=l?n.virtual.slides.length:n.slides.length,c=o.children("."+n.params.slideClass),u=l?n.virtual.slides.length:c.length,h=[],p=[],f=[],m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(n));var g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(n));var v=n.snapGrid.length,y=n.slidesGrid.length,_=i.spaceBetween,w=-m,x=0,T=0;if(void 0!==a){var C,S;"string"==typeof _&&_.indexOf("%")>=0&&(_=parseFloat(_.replace("%",""))/100*a),n.virtualSize=-_,s?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),i.slidesPerColumn>1&&(C=Math.floor(u/i.slidesPerColumn)===u/n.params.slidesPerColumn?u:Math.ceil(u/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(C=Math.max(C,i.slidesPerView*i.slidesPerColumn)));for(var E,k,M,P=i.slidesPerColumn,L=C/P,D=Math.floor(u/i.slidesPerColumn),O=0;O<u;O+=1){S=0;var $=c.eq(O);if(i.slidesPerColumn>1){var z=void 0,I=void 0,A=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var N=Math.floor(O/(i.slidesPerGroup*i.slidesPerColumn)),R=O-i.slidesPerColumn*i.slidesPerGroup*N,H=0===N?i.slidesPerGroup:Math.min(Math.ceil((u-N*P*i.slidesPerGroup)/P),i.slidesPerGroup);z=(I=R-(A=Math.floor(R/H))*H+N*i.slidesPerGroup)+A*C/P,$.css({"-webkit-box-ordinal-group":z,"-moz-box-ordinal-group":z,"-ms-flex-order":z,"-webkit-order":z,order:z})}else"column"===i.slidesPerColumnFill?(A=O-(I=Math.floor(O/P))*P,(I>D||I===D&&A===P-1)&&(A+=1)>=P&&(A=0,I+=1)):I=O-(A=Math.floor(O/L))*L;$.css(t("margin-top"),0!==A?i.spaceBetween&&i.spaceBetween+"px":"")}if("none"!==$.css("display")){if("auto"===i.slidesPerView){var B=getComputedStyle($[0]),j=$[0].style.transform,F=$[0].style.webkitTransform;if(j&&($[0].style.transform="none"),F&&($[0].style.webkitTransform="none"),i.roundLengths)S=n.isHorizontal()?$.outerWidth(!0):$.outerHeight(!0);else{var Y=e(B,"width"),W=e(B,"padding-left"),Z=e(B,"padding-right"),q=e(B,"margin-left"),V=e(B,"margin-right"),G=B.getPropertyValue("box-sizing");if(G&&"border-box"===G)S=Y+q+V;else{var U=$[0],X=U.clientWidth;S=Y+W+Z+q+V+(U.offsetWidth-X)}}j&&($[0].style.transform=j),F&&($[0].style.webkitTransform=F),i.roundLengths&&(S=Math.floor(S))}else S=(a-(i.slidesPerView-1)*_)/i.slidesPerView,i.roundLengths&&(S=Math.floor(S)),c[O]&&(c[O].style[t("width")]=S+"px");c[O]&&(c[O].swiperSlideSize=S),f.push(S),i.centeredSlides?(w=w+S/2+x/2+_,0===x&&0!==O&&(w=w-a/2-_),0===O&&(w=w-a/2-_),Math.abs(w)<.001&&(w=0),i.roundLengths&&(w=Math.floor(w)),T%i.slidesPerGroup==0&&h.push(w),p.push(w)):(i.roundLengths&&(w=Math.floor(w)),(T-Math.min(n.params.slidesPerGroupSkip,T))%n.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+S+_),n.virtualSize+=S+_,x=S,T+=1}}if(n.virtualSize=Math.max(n.virtualSize,a)+g,s&&r&&("slide"===i.effect||"coverflow"===i.effect)&&o.css({width:n.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&o.css(((k={})[t("width")]=n.virtualSize+i.spaceBetween+"px",k)),i.slidesPerColumn>1&&(n.virtualSize=(S+i.spaceBetween)*C,n.virtualSize=Math.ceil(n.virtualSize/i.slidesPerColumn)-i.spaceBetween,o.css(((M={})[t("width")]=n.virtualSize+i.spaceBetween+"px",M)),i.centeredSlides)){E=[];for(var K=0;K<h.length;K+=1){var Q=h[K];i.roundLengths&&(Q=Math.floor(Q)),h[K]<n.virtualSize+h[0]&&E.push(Q)}h=E}if(!i.centeredSlides){E=[];for(var J=0;J<h.length;J+=1){var tt=h[J];i.roundLengths&&(tt=Math.floor(tt)),h[J]<=n.virtualSize-a&&E.push(tt)}h=E,Math.floor(n.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(n.virtualSize-a)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){var et,nt=n.isHorizontal()&&s?"marginLeft":t("marginRight");c.filter(function(t,e){return!i.cssMode||e!==c.length-1}).css(((et={})[nt]=_+"px",et))}if(i.centeredSlides&&i.centeredSlidesBounds){var it=0;f.forEach(function(t){it+=t+(i.spaceBetween?i.spaceBetween:0)});var ot=(it-=i.spaceBetween)-a;h=h.map(function(t){return t<0?-m:t>ot?ot+g:t})}if(i.centerInsufficientSlides){var at=0;if(f.forEach(function(t){at+=t+(i.spaceBetween?i.spaceBetween:0)}),(at-=i.spaceBetween)<a){var st=(a-at)/2;h.forEach(function(t,e){h[e]=t-st}),p.forEach(function(t,e){p[e]=t+st})}}b(n,{slides:c,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),u!==d&&n.emit("slidesLengthChange"),h.length!==v&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==y&&n.emit("slidesGridLengthChange"),(i.watchSlidesProgress||i.watchSlidesVisibility)&&n.updateSlidesOffset()}},updateAutoHeight:function(t){var e,n=this,i=[],o=n.virtual&&n.params.virtual.enabled,a=0;"number"==typeof t?n.setTransition(t):!0===t&&n.setTransition(n.params.speed);var s=function(t){return o?n.slides.filter(function(e){return parseInt(e.getAttribute("data-swiper-slide-index"),10)===t})[0]:n.slides.eq(t)[0]};if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)n.visibleSlides.each(function(t){i.push(t)});else for(e=0;e<Math.ceil(n.params.slidesPerView);e+=1){var r=n.activeIndex+e;if(r>n.slides.length&&!o)break;i.push(s(r))}else i.push(s(n.activeIndex));for(e=0;e<i.length;e+=1)if(void 0!==i[e]){var l=i[e].offsetHeight;a=l>a?l:a}a&&n.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var t=this.slides,e=0;e<t.length;e+=1)t[e].swiperSlideOffset=this.isHorizontal()?t[e].offsetLeft:t[e].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this,n=e.params,i=e.slides,o=e.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&e.updateSlidesOffset();var a=-t;o&&(a=t),i.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var s=0;s<i.length;s+=1){var r=i[s],l=(a+(n.centeredSlides?e.minTranslate():0)-r.swiperSlideOffset)/(r.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var d=-(a-r.swiperSlideOffset),c=d+e.slidesSizesGrid[s];(d>=0&&d<e.size-1||c>1&&c<=e.size||d<=0&&c>=e.size)&&(e.visibleSlides.push(r),e.visibleSlidesIndexes.push(s),i.eq(s).addClass(n.slideVisibleClass))}r.progress=o?-l:l}e.visibleSlides=p(e.visibleSlides)}},updateProgress:function(t){var e=this;if(void 0===t){var n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}var i=e.params,o=e.maxTranslate()-e.minTranslate(),a=e.progress,s=e.isBeginning,r=e.isEnd,l=s,d=r;0===o?(a=0,s=!0,r=!0):(s=(a=(t-e.minTranslate())/o)<=0,r=a>=1),b(e,{progress:a,isBeginning:s,isEnd:r}),(i.watchSlidesProgress||i.watchSlidesVisibility||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),s&&!l&&e.emit("reachBeginning toEdge"),r&&!d&&e.emit("reachEnd toEdge"),(l&&!s||d&&!r)&&e.emit("fromEdge"),e.emit("progress",a)},updateSlidesClasses:function(){var t,e=this,n=e.slides,i=e.params,o=e.$wrapperEl,a=e.activeIndex,s=e.realIndex,r=e.virtual&&i.virtual.enabled;n.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(t=r?e.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):n.eq(a)).addClass(i.slideActiveClass),i.loop&&(t.hasClass(i.slideDuplicateClass)?o.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(i.slideDuplicateActiveClass):o.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(i.slideDuplicateActiveClass));var l=t.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===l.length&&(l=n.eq(0)).addClass(i.slideNextClass);var d=t.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===d.length&&(d=n.eq(-1)).addClass(i.slidePrevClass),i.loop&&(l.hasClass(i.slideDuplicateClass)?o.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):o.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),d.hasClass(i.slideDuplicateClass)?o.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):o.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(t){var e,n=this,i=n.rtlTranslate?n.translate:-n.translate,o=n.slidesGrid,a=n.snapGrid,s=n.params,r=n.activeIndex,l=n.realIndex,d=n.snapIndex,c=t;if(void 0===c){for(var u=0;u<o.length;u+=1)void 0!==o[u+1]?i>=o[u]&&i<o[u+1]-(o[u+1]-o[u])/2?c=u:i>=o[u]&&i<o[u+1]&&(c=u+1):i>=o[u]&&(c=u);s.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(a.indexOf(i)>=0)e=a.indexOf(i);else{var h=Math.min(s.slidesPerGroupSkip,c);e=h+Math.floor((c-h)/s.slidesPerGroup)}if(e>=a.length&&(e=a.length-1),c!==r){var p=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);b(n,{snapIndex:e,realIndex:p,previousIndex:r,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),l!==p&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else e!==d&&(n.snapIndex=e,n.emit("snapIndexChange"))},updateClickedSlide:function(t){var e,n=this,i=n.params,o=p(t.target).closest("."+i.slideClass)[0],a=!1;if(o)for(var s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){a=!0,e=s;break}if(!o||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(p(o).attr("data-swiper-slide-index"),10):n.clickedIndex=e,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");var e=this,n=e.params,i=e.rtlTranslate,o=e.translate,a=e.$wrapperEl;if(n.virtualTranslate)return i?-o:o;if(n.cssMode)return o;var s=g(a[0],t);return i&&(s=-s),s||0},setTranslate:function(t,e){var n=this,i=n.rtlTranslate,o=n.params,a=n.$wrapperEl,s=n.wrapperEl,r=n.progress,l=0,d=0;n.isHorizontal()?l=i?-t:t:d=t,o.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),o.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-d:o.virtualTranslate||a.transform("translate3d("+l+"px, "+d+"px, 0px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:d;var c=n.maxTranslate()-n.minTranslate();(0===c?0:(t-n.minTranslate())/c)!==r&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,n,i,o){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);var a=this,s=a.params,r=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l,d=a.minTranslate(),c=a.maxTranslate();if(l=i&&t>d?d:i&&t<c?c:t,a.updateProgress(l),s.cssMode){var u,h=a.isHorizontal();return 0===e?r[h?"scrollLeft":"scrollTop"]=-l:r.scrollTo?r.scrollTo(((u={})[h?"left":"top"]=-l,u.behavior="smooth",u)):r[h?"scrollLeft":"scrollTop"]=-l,!0}return 0===e?(a.setTransition(0),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(l),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(t){a&&!a.destroyed&&t.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(t,e){var n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);var n=this,i=n.activeIndex,o=n.params,a=n.previousIndex;if(!o.cssMode){o.autoHeight&&n.updateAutoHeight();var s=e;if(s||(s=i>a?"next":i<a?"prev":"reset"),n.emit("transitionStart"),t&&i!==a){if("reset"===s)return void n.emit("slideResetTransitionStart");n.emit("slideChangeTransitionStart"),"next"===s?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}},transitionEnd:function(t,e){void 0===t&&(t=!0);var n=this,i=n.activeIndex,o=n.previousIndex,a=n.params;if(n.animating=!1,!a.cssMode){n.setTransition(0);var s=e;if(s||(s=i>o?"next":i<o?"prev":"reset"),n.emit("transitionEnd"),t&&i!==o){if("reset"===s)return void n.emit("slideResetTransitionEnd");n.emit("slideChangeTransitionEnd"),"next"===s?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}},slide:{slideTo:function(t,e,n,i,o){if(void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0),"number"!=typeof t&&"string"!=typeof t)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof t+"] given.");if("string"==typeof t){var a=parseInt(t,10);if(!isFinite(a))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+t+"] given.");t=a}var s=this,r=t;r<0&&(r=0);var l=s.params,d=s.snapGrid,c=s.slidesGrid,u=s.previousIndex,h=s.activeIndex,p=s.rtlTranslate,f=s.wrapperEl,m=s.enabled;if(s.animating&&l.preventInteractionOnTransition||!m&&!i&&!o)return!1;var g=Math.min(s.params.slidesPerGroupSkip,r),v=g+Math.floor((r-g)/s.params.slidesPerGroup);v>=d.length&&(v=d.length-1),(h||l.initialSlide||0)===(u||0)&&n&&s.emit("beforeSlideChangeStart");var y,b=-d[v];if(s.updateProgress(b),l.normalizeSlideIndex)for(var _=0;_<c.length;_+=1){var w=-Math.floor(100*b),x=Math.floor(100*c[_]),T=Math.floor(100*c[_+1]);void 0!==c[_+1]?w>=x&&w<T-(T-x)/2?r=_:w>=x&&w<T&&(r=_+1):w>=x&&(r=_)}if(s.initialized&&r!==h){if(!s.allowSlideNext&&b<s.translate&&b<s.minTranslate())return!1;if(!s.allowSlidePrev&&b>s.translate&&b>s.maxTranslate()&&(h||0)!==r)return!1}if(y=r>h?"next":r<h?"prev":"reset",p&&-b===s.translate||!p&&b===s.translate)return s.updateActiveIndex(r),l.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),"slide"!==l.effect&&s.setTranslate(b),"reset"!==y&&(s.transitionStart(n,y),s.transitionEnd(n,y)),!1;if(l.cssMode){var C,S=s.isHorizontal(),E=-b;return p&&(E=f.scrollWidth-f.offsetWidth-E),0===e?f[S?"scrollLeft":"scrollTop"]=E:f.scrollTo?f.scrollTo(((C={})[S?"left":"top"]=E,C.behavior="smooth",C)):f[S?"scrollLeft":"scrollTop"]=E,!0}return 0===e?(s.setTransition(0),s.setTranslate(b),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,i),s.transitionStart(n,y),s.transitionEnd(n,y)):(s.setTransition(e),s.setTranslate(b),s.updateActiveIndex(r),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,i),s.transitionStart(n,y),s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(t){s&&!s.destroyed&&t.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.$wrapperEl[0].addEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(t,e,n,i){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===n&&(n=!0);var o=this,a=t;return o.params.loop&&(a+=o.loopedSlides),o.slideTo(a,e,n,i)},slideNext:function(t,e,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var i=this,o=i.params,a=i.animating;if(!i.enabled)return i;var s=i.activeIndex<o.slidesPerGroupSkip?1:o.slidesPerGroup;if(o.loop){if(a&&o.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+s,t,e,n)},slidePrev:function(t,e,n){function i(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var o=this,a=o.params,s=o.animating,r=o.snapGrid,l=o.slidesGrid,d=o.rtlTranslate;if(!o.enabled)return o;if(a.loop){if(s&&a.loopPreventsSlide)return!1;o.loopFix(),o._clientLeft=o.$wrapperEl[0].clientLeft}var c,u=i(d?o.translate:-o.translate),h=r.map(function(t){return i(t)}),p=r[h.indexOf(u)-1];return void 0===p&&a.cssMode&&r.forEach(function(t){!p&&u>=t&&(p=t)}),void 0!==p&&(c=l.indexOf(p))<0&&(c=o.activeIndex-1),o.slideTo(c,t,e,n)},slideReset:function(t,e,n){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,n)},slideToClosest:function(t,e,n,i){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),void 0===i&&(i=.5);var o=this,a=o.activeIndex,s=Math.min(o.params.slidesPerGroupSkip,a),r=s+Math.floor((a-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[r]){var d=o.snapGrid[r];l-d>(o.snapGrid[r+1]-d)*i&&(a+=o.params.slidesPerGroup)}else{var c=o.snapGrid[r-1];l-c<=(o.snapGrid[r]-c)*i&&(a-=o.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,o.slidesGrid.length-1),o.slideTo(a,t,e,n)},slideToClickedSlide:function(){var t,e=this,n=e.params,i=e.$wrapperEl,o="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView,a=e.clickedIndex;if(n.loop){if(e.animating)return;t=parseInt(p(e.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<e.loopedSlides-o/2||a>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),a=i.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),f(function(){e.slideTo(a)})):e.slideTo(a):a>e.slides.length-o?(e.loopFix(),a=i.children("."+n.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),f(function(){e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}},loop:{loopCreate:function(){var t=this,e=o(),n=t.params,i=t.$wrapperEl;i.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var a=i.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var s=n.slidesPerGroup-a.length%n.slidesPerGroup;if(s!==n.slidesPerGroup){for(var r=0;r<s;r+=1){var l=p(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);i.append(l)}a=i.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=a.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>a.length&&(t.loopedSlides=a.length);var d=[],c=[];a.each(function(e,n){var i=p(e);n<t.loopedSlides&&c.push(e),n<a.length&&n>=a.length-t.loopedSlides&&d.push(e),i.attr("data-swiper-slide-index",n)});for(var u=0;u<c.length;u+=1)i.append(p(c[u].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=d.length-1;h>=0;h-=1)i.prepend(p(d[h].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var t=this;t.emit("beforeLoopFix");var e,n=t.activeIndex,i=t.slides,o=t.loopedSlides,a=t.allowSlidePrev,s=t.allowSlideNext,r=t.snapGrid,l=t.rtlTranslate;t.allowSlidePrev=!0,t.allowSlideNext=!0;var d=-r[n]-t.getTranslate();n<o?(e=i.length-3*o+n,e+=o,t.slideTo(e,0,!1,!0)&&0!==d&&t.setTranslate((l?-t.translate:t.translate)-d)):n>=i.length-o&&(e=-i.length+n+o,e+=o,t.slideTo(e,0,!1,!0)&&0!==d&&t.setTranslate((l?-t.translate:t.translate)-d)),t.allowSlidePrev=a,t.allowSlideNext=s,t.emit("loopFix")},loopDestroy:function(){var t=this,e=t.$wrapperEl,n=t.params,i=t.slides;e.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(t){var e=this;if(!(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)){var n=e.el;n.style.cursor="move",n.style.cursor=t?"-webkit-grabbing":"-webkit-grab",n.style.cursor=t?"-moz-grabbin":"-moz-grab",n.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){var t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.el.style.cursor="")}},manipulation:{appendSlide:function(t){var e=this,n=e.$wrapperEl,i=e.params;if(i.loop&&e.loopDestroy(),"object"==typeof t&&"length"in t)for(var o=0;o<t.length;o+=1)t[o]&&n.append(t[o]);else n.append(t);i.loop&&e.loopCreate(),i.observer&&e.support.observer||e.update()},prependSlide:function(t){var e=this,n=e.params,i=e.$wrapperEl,o=e.activeIndex;n.loop&&e.loopDestroy();var a=o+1;if("object"==typeof t&&"length"in t){for(var s=0;s<t.length;s+=1)t[s]&&i.prepend(t[s]);a=o+t.length}else i.prepend(t);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),e.slideTo(a,0,!1)},addSlide:function(t,e){var n=this,i=n.$wrapperEl,o=n.params,a=n.activeIndex;o.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.slides=i.children("."+o.slideClass));var s=n.slides.length;if(t<=0)n.prependSlide(e);else if(t>=s)n.appendSlide(e);else{for(var r=a>t?a+1:a,l=[],d=s-1;d>=t;d-=1){var c=n.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof e&&"length"in e){for(var u=0;u<e.length;u+=1)e[u]&&i.append(e[u]);r=a>t?a+e.length:a}else i.append(e);for(var h=0;h<l.length;h+=1)i.append(l[h]);o.loop&&n.loopCreate(),o.observer&&n.support.observer||n.update(),o.loop?n.slideTo(r+n.loopedSlides,0,!1):n.slideTo(r,0,!1)}},removeSlide:function(t){var e=this,n=e.params,i=e.$wrapperEl,o=e.activeIndex;n.loop&&(o-=e.loopedSlides,e.loopDestroy(),e.slides=i.children("."+n.slideClass));var a,s=o;if("object"==typeof t&&"length"in t){for(var r=0;r<t.length;r+=1)a=t[r],e.slides[a]&&e.slides.eq(a).remove(),a<s&&(s-=1);s=Math.max(s,0)}else a=t,e.slides[a]&&e.slides.eq(a).remove(),a<s&&(s-=1),s=Math.max(s,0);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),n.loop?e.slideTo(s+e.loopedSlides,0,!1):e.slideTo(s,0,!1)},removeAllSlides:function(){for(var t=[],e=0;e<this.slides.length;e+=1)t.push(e);this.removeSlide(t)}},events:{attachEvents:function(){var t=this,e=o(),n=t.params,i=t.touchEvents,a=t.el,s=t.wrapperEl,r=t.device,l=t.support;t.onTouchStart=E.bind(t),t.onTouchMove=k.bind(t),t.onTouchEnd=M.bind(t),n.cssMode&&(t.onScroll=D.bind(t)),t.onClick=L.bind(t);var d=!!n.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(i.start,t.onTouchStart,!1),e.addEventListener(i.move,t.onTouchMove,d),e.addEventListener(i.end,t.onTouchEnd,!1);else{if(l.touch){var c=!("touchstart"!==i.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(i.start,t.onTouchStart,c),a.addEventListener(i.move,t.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),a.addEventListener(i.end,t.onTouchEnd,c),i.cancel&&a.addEventListener(i.cancel,t.onTouchEnd,c),Y||(e.addEventListener("touchstart",O),Y=!0)}(n.simulateTouch&&!r.ios&&!r.android||n.simulateTouch&&!l.touch&&r.ios)&&(a.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,d),e.addEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&a.addEventListener("click",t.onClick,!0),n.cssMode&&s.addEventListener("scroll",t.onScroll),n.updateOnWindowResize?t.on(r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):t.on("observerUpdate",P,!0)},detachEvents:function(){var t=this,e=o(),n=t.params,i=t.touchEvents,a=t.el,s=t.wrapperEl,r=t.device,l=t.support,d=!!n.nested;if(!l.touch&&l.pointerEvents)a.removeEventListener(i.start,t.onTouchStart,!1),e.removeEventListener(i.move,t.onTouchMove,d),e.removeEventListener(i.end,t.onTouchEnd,!1);else{if(l.touch){var c=!("onTouchStart"!==i.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(i.start,t.onTouchStart,c),a.removeEventListener(i.move,t.onTouchMove,d),a.removeEventListener(i.end,t.onTouchEnd,c),i.cancel&&a.removeEventListener(i.cancel,t.onTouchEnd,c)}(n.simulateTouch&&!r.ios&&!r.android||n.simulateTouch&&!l.touch&&r.ios)&&(a.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,d),e.removeEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&a.removeEventListener("click",t.onClick,!0),n.cssMode&&s.removeEventListener("scroll",t.onScroll),t.off(r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",P)}},breakpoints:{setBreakpoint:function(){var t=this,e=t.activeIndex,n=t.initialized,i=t.loopedSlides,o=void 0===i?0:i,a=t.params,s=t.$el,r=a.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(l&&t.currentBreakpoint!==l){var d=l in r?r[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(t){var e=d[t];void 0!==e&&(d[t]="slidesPerView"!==t||"AUTO"!==e&&"auto"!==e?"slidesPerView"===t?parseFloat(e):parseInt(e,10):"auto")});var c=d||t.originalParams,u=a.slidesPerColumn>1,h=c.slidesPerColumn>1,p=a.enabled;u&&!h?(s.removeClass(a.containerModifierClass+"multirow "+a.containerModifierClass+"multirow-column"),t.emitContainerClasses()):!u&&h&&(s.addClass(a.containerModifierClass+"multirow"),(c.slidesPerColumnFill&&"column"===c.slidesPerColumnFill||!c.slidesPerColumnFill&&"column"===a.slidesPerColumnFill)&&s.addClass(a.containerModifierClass+"multirow-column"),t.emitContainerClasses());var f=c.direction&&c.direction!==a.direction,m=a.loop&&(c.slidesPerView!==a.slidesPerView||f);f&&n&&t.changeDirection(),b(t.params,c);var g=t.params.enabled;b(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),p&&!g?t.disable():!p&&g&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",c),m&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-o+t.loopedSlides,0,!1)),t.emit("breakpoint",c)}}},getBreakpoint:function(t,e,n){if(void 0===e&&(e="window"),t&&("container"!==e||n)){
9var i=!1,o=a(),s="window"===e?o.innerHeight:n.clientHeight,r=Object.keys(t).map(function(t){if("string"==typeof t&&0===t.indexOf("@")){var e=parseFloat(t.substr(1));return{value:s*e,point:t}}return{value:t,point:t}});r.sort(function(t,e){return parseInt(t.value,10)-parseInt(e.value,10)});for(var l=0;l<r.length;l+=1){var d=r[l],c=d.point,u=d.value;"window"===e?o.matchMedia("(min-width: "+u+"px)").matches&&(i=c):u<=n.clientWidth&&(i=c)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var t=this,e=t.params,n=t.isLocked,i=t.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(t.slides.length-1)+t.slides[0].offsetWidth*t.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&i?t.isLocked=i<=t.size:t.isLocked=1===t.snapGrid.length,t.allowSlideNext=!t.isLocked,t.allowSlidePrev=!t.isLocked,n!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock"),n&&n!==t.isLocked&&(t.isEnd=!1,t.navigation&&t.navigation.update())}},classes:{addClasses:function(){var t,e,n,i=this,o=i.classNames,a=i.params,s=i.rtl,r=i.$el,l=i.device,d=i.support,c=(t=["initialized",a.direction,{"pointer-events":d.pointerEvents&&!d.touch},{"free-mode":a.freeMode},{autoheight:a.autoHeight},{rtl:s},{multirow:a.slidesPerColumn>1},{"multirow-column":a.slidesPerColumn>1&&"column"===a.slidesPerColumnFill},{android:l.android},{ios:l.ios},{"css-mode":a.cssMode}],e=a.containerModifierClass,n=[],t.forEach(function(t){"object"==typeof t?Object.keys(t).forEach(function(i){t[i]&&n.push(e+i)}):"string"==typeof t&&n.push(e+t)}),n);o.push.apply(o,c),r.addClass([].concat(o).join(" ")),i.emitContainerClasses()},removeClasses:function(){var t=this,e=t.$el,n=t.classNames;e.removeClass(n.join(" ")),t.emitContainerClasses()}},images:{loadImage:function(t,e,n,i,o,s){function r(){s&&s()}var l,d=a();p(t).parent("picture")[0]||t.complete&&o?r():e?((l=new d.Image).onload=r,l.onerror=r,i&&(l.sizes=i),n&&(l.srcset=n),e&&(l.src=e)):r()},preloadImages:function(){function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}var e=this;e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},q={},V=function(){function e(){for(var t,n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];if(1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?n=o[0]:(t=o[0],n=o[1]),n||(n={}),n=b({},n),t&&!n.el&&(n.el=t),n.el&&p(n.el).length>1){var s=[];return p(n.el).each(function(t){var i=b({},n,{el:t});s.push(new e(i))}),s}var r=this;r.__swiper__=!0,r.support=T(),r.device=C({userAgent:n.userAgent}),r.browser=S(),r.eventsListeners={},r.eventsAnyListeners=[],void 0===r.modules&&(r.modules={}),Object.keys(r.modules).forEach(function(t){var e=r.modules[t];if(e.params){var i=Object.keys(e.params)[0],o=e.params[i];if("object"!=typeof o||null===o)return;if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===n[i]&&(n[i]={auto:!0}),!(i in n)||!("enabled"in o))return;!0===n[i]&&(n[i]={enabled:!0}),"object"!=typeof n[i]||"enabled"in n[i]||(n[i].enabled=!0),n[i]||(n[i]={enabled:!1})}});var l,d,c=b({},W);return r.useParams(c),r.params=b({},c,q,n),r.originalParams=b({},r.params),r.passedParams=b({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(function(t){r.on(t,r.params.on[t])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=p,b(r,{enabled:r.params.enabled,el:t,classNames:[],slides:p(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===r.params.direction},isVertical:function(){return"vertical"===r.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],r.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),r.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},r.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.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,focusableElements:r.params.focusableElements,lastClickTime:m(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.useModules(),r.emit("_swiper"),r.params.init&&r.init(),r}var n,i,a,s=e.prototype;return s.enable=function(){var t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))},s.disable=function(){var t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))},s.setProgress=function(t,e){var n=this;t=Math.min(Math.max(t,0),1);var i=n.minTranslate(),o=(n.maxTranslate()-i)*t+i;n.translateTo(o,void 0===e?0:e),n.updateActiveIndex(),n.updateSlidesClasses()},s.emitContainerClasses=function(){var t=this;if(t.params._emitClasses&&t.el){var e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)});t.emit("_containerClasses",e.join(" "))}},s.getSlideClasses=function(t){var e=this;return t.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)}).join(" ")},s.emitSlidesClasses=function(){var t=this;if(t.params._emitClasses&&t.el){var e=[];t.slides.each(function(n){var i=t.getSlideClasses(n);e.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)}),t.emit("_slideClasses",e)}},s.slidesPerViewDynamic=function(){var t=this,e=t.params,n=t.slides,i=t.slidesGrid,o=t.size,a=t.activeIndex,s=1;if(e.centeredSlides){for(var r,l=n[a].swiperSlideSize,d=a+1;d<n.length;d+=1)n[d]&&!r&&(s+=1,(l+=n[d].swiperSlideSize)>o&&(r=!0));for(var c=a-1;c>=0;c-=1)n[c]&&!r&&(s+=1,(l+=n[c].swiperSlideSize)>o&&(r=!0))}else for(var u=a+1;u<n.length;u+=1)i[u]-i[a]<o&&(s+=1);return s},s.update=function(){function t(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}var e=this;if(e&&!e.destroyed){var n=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(t(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||t(),i.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}},s.changeDirection=function(t,e){void 0===e&&(e=!0);var n=this,i=n.params.direction;return t||(t="horizontal"===i?"vertical":"horizontal"),t===i||"horizontal"!==t&&"vertical"!==t||(n.$el.removeClass(""+n.params.containerModifierClass+i).addClass(""+n.params.containerModifierClass+t),n.emitContainerClasses(),n.params.direction=t,n.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),n.emit("changeDirection"),e&&n.update()),n},s.mount=function(t){var e=this;if(e.mounted)return!0;var n=p(t||e.params.el);if(!(t=n[0]))return!1;t.swiper=e;var i=function(){return"."+(e.params.wrapperClass||"").trim().split(" ").join(".")},a=function(){if(t&&t.shadowRoot&&t.shadowRoot.querySelector){var e=p(t.shadowRoot.querySelector(i()));return e.children=function(t){return n.children(t)},e}return n.children(i())}();if(0===a.length&&e.params.createElements){var s=o().createElement("div");a=p(s),s.className=e.params.wrapperClass,n.append(s),n.children("."+e.params.slideClass).each(function(t){a.append(t)})}return b(e,{$el:n,el:t,$wrapperEl:a,wrapperEl:a[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===a.css("display")}),!0},s.init=function(t){var e=this;return e.initialized||!1===e.mount(t)||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.enabled&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit,!1,!0):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit,!1,!0),e.attachEvents(),e.initialized=!0,e.emit("init"),e.emit("afterInit")),e},s.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var n,i=this,o=i.params,a=i.$el,s=i.$wrapperEl,r=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),o.loop&&i.loopDestroy(),e&&(i.removeClasses(),a.removeAttr("style"),s.removeAttr("style"),r&&r.length&&r.removeClass([o.slideVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(t){i.off(t)}),!1!==t&&(i.$el[0].swiper=null,n=i,Object.keys(n).forEach(function(t){try{n[t]=null}catch(t){}try{delete n[t]}catch(t){}})),i.destroyed=!0),null},e.extendDefaults=function(t){b(q,t)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var n=t.name||Object.keys(e.prototype.modules).length+"_"+m();e.prototype.modules[n]=t},e.use=function(t){return Array.isArray(t)?(t.forEach(function(t){return e.installModule(t)}),e):(e.installModule(t),e)},n=e,a=[{key:"extendedDefaults",get:function(){return q}},{key:"defaults",get:function(){return W}}],(i=null)&&t(n.prototype,i),a&&t(n,a),e}();Object.keys(Z).forEach(function(t){Object.keys(Z[t]).forEach(function(e){V.prototype[e]=Z[t][e]})}),V.use([B,F]);var G={update:function(t){function e(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.lazy&&n.params.lazy.enabled&&n.lazy.load()}var n=this,i=n.params,o=i.slidesPerView,a=i.slidesPerGroup,s=i.centeredSlides,r=n.params.virtual,l=r.addSlidesBefore,d=r.addSlidesAfter,c=n.virtual,u=c.from,h=c.to,p=c.slides,f=c.slidesGrid,m=c.renderSlide,g=c.offset;n.updateActiveIndex();var v,y,_,w=n.activeIndex||0;v=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",s?(y=Math.floor(o/2)+a+d,_=Math.floor(o/2)+a+l):(y=o+(a-1)+d,_=a+l);var x=Math.max((w||0)-_,0),T=Math.min((w||0)+y,p.length-1),C=(n.slidesGrid[x]||0)-(n.slidesGrid[0]||0);if(b(n.virtual,{from:x,to:T,offset:C,slidesGrid:n.slidesGrid}),u===x&&h===T&&!t)return n.slidesGrid!==f&&C!==g&&n.slides.css(v,C+"px"),void n.updateProgress();if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:C,from:x,to:T,slides:function(){for(var t=[],e=x;e<=T;e+=1)t.push(p[e]);return t}()}),void(n.params.virtual.renderExternalUpdate&&e());var S=[],E=[];if(t)n.$wrapperEl.find("."+n.params.slideClass).remove();else for(var k=u;k<=h;k+=1)(k<x||k>T)&&n.$wrapperEl.find("."+n.params.slideClass+'[data-swiper-slide-index="'+k+'"]').remove();for(var M=0;M<p.length;M+=1)M>=x&&M<=T&&(void 0===h||t?E.push(M):(M>h&&E.push(M),M<u&&S.push(M)));E.forEach(function(t){n.$wrapperEl.append(m(p[t],t))}),S.sort(function(t,e){return e-t}).forEach(function(t){n.$wrapperEl.prepend(m(p[t],t))}),n.$wrapperEl.children(".swiper-slide").css(v,C+"px"),e()},renderSlide:function(t,e){var n=this,i=n.params.virtual;if(i.cache&&n.virtual.cache[e])return n.virtual.cache[e];var o=i.renderSlide?p(i.renderSlide.call(n,t,e)):p('<div class="'+n.params.slideClass+'" data-swiper-slide-index="'+e+'">'+t+"</div>");return o.attr("data-swiper-slide-index")||o.attr("data-swiper-slide-index",e),i.cache&&(n.virtual.cache[e]=o),o},appendSlide:function(t){var e=this;if("object"==typeof t&&"length"in t)for(var n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.push(t[n]);else e.virtual.slides.push(t);e.virtual.update(!0)},prependSlide:function(t){var e=this,n=e.activeIndex,i=n+1,o=1;if(Array.isArray(t)){for(var a=0;a<t.length;a+=1)t[a]&&e.virtual.slides.unshift(t[a]);i=n+t.length,o=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){var s=e.virtual.cache,r={};Object.keys(s).forEach(function(t){var e=s[t],n=e.attr("data-swiper-slide-index");n&&e.attr("data-swiper-slide-index",parseInt(n,10)+1),r[parseInt(t,10)+o]=e}),e.virtual.cache=r}e.virtual.update(!0),e.slideTo(i,0)},removeSlide:function(t){var e=this;if(null!=t){var n=e.activeIndex;if(Array.isArray(t))for(var i=t.length-1;i>=0;i-=1)e.virtual.slides.splice(t[i],1),e.params.virtual.cache&&delete e.virtual.cache[t[i]],t[i]<n&&(n-=1),n=Math.max(n,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<n&&(n-=1),n=Math.max(n,0);e.virtual.update(!0),e.slideTo(n,0)}},removeAllSlides:function(){var t=this;t.virtual.slides=[],t.params.virtual.cache&&(t.virtual.cache={}),t.virtual.update(!0),t.slideTo(0,0)}},U={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){_(this,{virtual:e({},G,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(t){if(t.params.virtual.enabled){t.classNames.push(t.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};b(t.params,e),b(t.originalParams,e),t.params.initialSlide||t.virtual.update()}},setTranslate:function(t){t.params.virtual.enabled&&t.virtual.update()}}},X={handle:function(t){var e=this;if(e.enabled){var n=a(),i=o(),s=e.rtlTranslate,r=t;r.originalEvent&&(r=r.originalEvent);var l=r.keyCode||r.charCode,d=e.params.keyboard.pageUpDown,c=d&&33===l,u=d&&34===l,h=37===l,p=39===l,f=38===l,m=40===l;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&m||u))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&f||c))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(e.params.keyboard.onlyInViewport&&(c||u||h||p||f||m)){var g=!1;if(e.$el.parents("."+e.params.slideClass).length>0&&0===e.$el.parents("."+e.params.slideActiveClass).length)return;var v=e.$el,y=v[0].clientWidth,b=v[0].clientHeight,_=n.innerWidth,w=n.innerHeight,x=e.$el.offset();s&&(x.left-=e.$el[0].scrollLeft);for(var T=[[x.left,x.top],[x.left+y,x.top],[x.left,x.top+b],[x.left+y,x.top+b]],C=0;C<T.length;C+=1){var S=T[C];if(S[0]>=0&&S[0]<=_&&S[1]>=0&&S[1]<=w){if(0===S[0]&&0===S[1])continue;g=!0}}if(!g)return}e.isHorizontal()?((c||u||h||p)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((u||p)&&!s||(c||h)&&s)&&e.slideNext(),((c||h)&&!s||(u||p)&&s)&&e.slidePrev()):((c||u||f||m)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(u||m)&&e.slideNext(),(c||f)&&e.slidePrev()),e.emit("keyPress",l)}}},enable:function(){var t=this,e=o();t.keyboard.enabled||(p(e).on("keydown",t.keyboard.handle),t.keyboard.enabled=!0)},disable:function(){var t=this,e=o();t.keyboard.enabled&&(p(e).off("keydown",t.keyboard.handle),t.keyboard.enabled=!1)}},K={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){_(this,{keyboard:e({enabled:!1},X)})},on:{init:function(t){t.params.keyboard.enabled&&t.keyboard.enable()},destroy:function(t){t.keyboard.enabled&&t.keyboard.disable()}}},Q={lastScrollTime:m(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return a().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t=o(),e="onwheel",n=e in t;if(!n){var i=t.createElement("div");i.setAttribute(e,"return;"),n="function"==typeof i.onwheel}return!n&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")&&(n=t.implementation.hasFeature("Events.wheel","3.0")),n}()?"wheel":"mousewheel"},normalize:function(t){var e=0,n=0,i=0,o=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=10*e,o=10*n,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(i=t.deltaX),t.shiftKey&&!i&&(i=o,o=0),(i||o)&&t.deltaMode&&(1===t.deltaMode?(i*=40,o*=40):(i*=800,o*=800)),i&&!e&&(e=i<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:o}},handleMouseEnter:function(){this.enabled&&(this.mouseEntered=!0)},handleMouseLeave:function(){this.enabled&&(this.mouseEntered=!1)},handle:function(t){var e=t,n=this;if(n.enabled){var i=n.params.mousewheel;n.params.cssMode&&e.preventDefault();var o=n.$el;if("container"!==n.params.mousewheel.eventsTarget&&(o=p(n.params.mousewheel.eventsTarget)),!n.mouseEntered&&!o[0].contains(e.target)&&!i.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);var a=0,s=n.rtlTranslate?-1:1,r=Q.normalize(e);if(i.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(r.pixelX)>Math.abs(r.pixelY)))return!0;a=-r.pixelX*s}else{if(!(Math.abs(r.pixelY)>Math.abs(r.pixelX)))return!0;a=-r.pixelY}else a=Math.abs(r.pixelX)>Math.abs(r.pixelY)?-r.pixelX*s:-r.pixelY;if(0===a)return!0;i.invert&&(a=-a);var l=n.getTranslate()+a*i.sensitivity;if(l>=n.minTranslate()&&(l=n.minTranslate()),l<=n.maxTranslate()&&(l=n.maxTranslate()),(!!n.params.loop||!(l===n.minTranslate()||l===n.maxTranslate()))&&n.params.nested&&e.stopPropagation(),n.params.freeMode){var d={time:m(),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 h=n.getTranslate()+a*i.sensitivity,g=n.isBeginning,v=n.isEnd;if(h>=n.minTranslate()&&(h=n.minTranslate()),h<=n.maxTranslate()&&(h=n.maxTranslate()),n.setTransition(0),n.setTranslate(h),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!g&&n.isBeginning||!v&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;var y=n.mousewheel.recentWheelEvents;y.length>=15&&y.shift();var b=y.length?y[y.length-1]:void 0,_=y[0];if(y.push(d),b&&(d.delta>b.delta||d.direction!==b.direction))y.splice(0);else if(y.length>=15&&d.time-_.time<500&&_.delta-d.delta>=1&&d.delta<=6){var w=a>0?.8:.2;n.mousewheel.lastEventBeforeSnap=d,y.splice(0),n.mousewheel.timeout=f(function(){n.slideToClosest(n.params.speed,!0,void 0,w)},0)}n.mousewheel.timeout||(n.mousewheel.timeout=f(function(){n.mousewheel.lastEventBeforeSnap=d,y.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(u||n.emit("scroll",e),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),h===n.minTranslate()||h===n.maxTranslate())return!0}}else{var x={time:m(),delta:Math.abs(a),direction:Math.sign(a),raw:t},T=n.mousewheel.recentWheelEvents;T.length>=2&&T.shift();var C=T.length?T[T.length-1]:void 0;if(T.push(x),C?(x.direction!==C.direction||x.delta>C.delta||x.time>C.time+150)&&n.mousewheel.animateSlider(x):n.mousewheel.animateSlider(x),n.mousewheel.releaseScroll(x))return!0}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}},animateSlider:function(t){var e=this,n=a();return!(this.params.mousewheel.thresholdDelta&&t.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&m()-e.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(t.delta>=6&&m()-e.mousewheel.lastScrollTime<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),e.emit("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),e.emit("scroll",t.raw)),e.mousewheel.lastScrollTime=(new n.Date).getTime(),1))},releaseScroll:function(t){var e=this,n=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1},enable:function(){var t=this,e=Q.event();if(t.params.cssMode)return t.wrapperEl.removeEventListener(e,t.mousewheel.handle),!0;if(!e)return!1;if(t.mousewheel.enabled)return!1;var n=t.$el;return"container"!==t.params.mousewheel.eventsTarget&&(n=p(t.params.mousewheel.eventsTarget)),n.on("mouseenter",t.mousewheel.handleMouseEnter),n.on("mouseleave",t.mousewheel.handleMouseLeave),n.on(e,t.mousewheel.handle),t.mousewheel.enabled=!0,!0},disable:function(){var t=this,e=Q.event();if(t.params.cssMode)return t.wrapperEl.addEventListener(e,t.mousewheel.handle),!0;if(!e)return!1;if(!t.mousewheel.enabled)return!1;var n=t.$el;return"container"!==t.params.mousewheel.eventsTarget&&(n=p(t.params.mousewheel.eventsTarget)),n.off(e,t.mousewheel.handle),t.mousewheel.enabled=!1,!0}},J={toggleEl:function(t,e){t[e?"addClass":"removeClass"](this.params.navigation.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=e)},update:function(){var t=this,e=t.params.navigation,n=t.navigation.toggleEl;if(!t.params.loop){var i=t.navigation,o=i.$nextEl,a=i.$prevEl;a&&a.length>0&&(t.isBeginning?n(a,!0):n(a,!1),t.params.watchOverflow&&t.enabled&&a[t.isLocked?"addClass":"removeClass"](e.lockClass)),o&&o.length>0&&(t.isEnd?n(o,!0):n(o,!1),t.params.watchOverflow&&t.enabled&&o[t.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(t){var e=this;t.preventDefault(),e.isBeginning&&!e.params.loop||e.slidePrev()},onNextClick:function(t){var e=this;t.preventDefault(),e.isEnd&&!e.params.loop||e.slideNext()},init:function(){var t,e,n=this,i=n.params.navigation;n.params.navigation=x(n.$el,n.params.navigation,n.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),(i.nextEl||i.prevEl)&&(i.nextEl&&(t=p(i.nextEl),n.params.uniqueNavElements&&"string"==typeof i.nextEl&&t.length>1&&1===n.$el.find(i.nextEl).length&&(t=n.$el.find(i.nextEl))),i.prevEl&&(e=p(i.prevEl),n.params.uniqueNavElements&&"string"==typeof i.prevEl&&e.length>1&&1===n.$el.find(i.prevEl).length&&(e=n.$el.find(i.prevEl))),t&&t.length>0&&t.on("click",n.navigation.onNextClick),e&&e.length>0&&e.on("click",n.navigation.onPrevClick),b(n.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:e,prevEl:e&&e[0]}),n.enabled||(t&&t.addClass(i.lockClass),e&&e.addClass(i.lockClass)))},destroy:function(){var t=this,e=t.navigation,n=e.$nextEl,i=e.$prevEl;n&&n.length&&(n.off("click",t.navigation.onNextClick),n.removeClass(t.params.navigation.disabledClass)),i&&i.length&&(i.off("click",t.navigation.onPrevClick),i.removeClass(t.params.navigation.disabledClass))}},tt={update:function(){var t=this,e=t.rtl,n=t.params.pagination;if(n.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var i,o=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el,s=t.params.loop?Math.ceil((o-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?((i=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup))>o-1-2*t.loopedSlides&&(i-=o-2*t.loopedSlides),i>s-1&&(i-=s),i<0&&"bullets"!==t.params.paginationType&&(i=s+i)):i=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){var r,l,d,c=t.pagination.bullets;if(n.dynamicBullets&&(t.pagination.bulletSize=c.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(t.isHorizontal()?"width":"height",t.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==t.previousIndex&&(t.pagination.dynamicBulletIndex+=i-t.previousIndex,t.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?t.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:t.pagination.dynamicBulletIndex<0&&(t.pagination.dynamicBulletIndex=0)),r=i-t.pagination.dynamicBulletIndex,d=((l=r+(Math.min(c.length,n.dynamicMainBullets)-1))+r)/2),c.removeClass(n.bulletActiveClass+" "+n.bulletActiveClass+"-next "+n.bulletActiveClass+"-next-next "+n.bulletActiveClass+"-prev "+n.bulletActiveClass+"-prev-prev "+n.bulletActiveClass+"-main"),a.length>1)c.each(function(t){var e=p(t),o=e.index();o===i&&e.addClass(n.bulletActiveClass),n.dynamicBullets&&(o>=r&&o<=l&&e.addClass(n.bulletActiveClass+"-main"),o===r&&e.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),o===l&&e.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))});else{var u=c.eq(i),h=u.index();if(u.addClass(n.bulletActiveClass),n.dynamicBullets){for(var f=c.eq(r),m=c.eq(l),g=r;g<=l;g+=1)c.eq(g).addClass(n.bulletActiveClass+"-main");if(t.params.loop)if(h>=c.length-n.dynamicMainBullets){for(var v=n.dynamicMainBullets;v>=0;v-=1)c.eq(c.length-v).addClass(n.bulletActiveClass+"-main");c.eq(c.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else f.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),m.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else f.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),m.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){var y=Math.min(c.length,n.dynamicMainBullets+4),b=(t.pagination.bulletSize*y-t.pagination.bulletSize)/2-d*t.pagination.bulletSize,_=e?"right":"left";c.css(t.isHorizontal()?_:"top",b+"px")}}if("fraction"===n.type&&(a.find(w(n.currentClass)).text(n.formatFractionCurrent(i+1)),a.find(w(n.totalClass)).text(n.formatFractionTotal(s))),"progressbar"===n.type){var x;x=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";var T=(i+1)/s,C=1,S=1;"horizontal"===x?C=T:S=T,a.find(w(n.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+C+") scaleY("+S+")").transition(t.params.speed)}"custom"===n.type&&n.renderCustom?(a.html(n.renderCustom(t,i+1,s)),t.emit("paginationRender",a[0])):t.emit("paginationUpdate",a[0]),t.params.watchOverflow&&t.enabled&&a[t.isLocked?"addClass":"removeClass"](n.lockClass)}},render:function(){var t=this,e=t.params.pagination;if(e.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,i=t.pagination.$el,o="";if("bullets"===e.type){var a=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&!t.params.loop&&a>n&&(a=n);for(var s=0;s<a;s+=1)e.renderBullet?o+=e.renderBullet.call(t,s,e.bulletClass):o+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(o),t.pagination.bullets=i.find(w(e.bulletClass))}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(o)),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(o)),"custom"!==e.type&&t.emit("paginationRender",t.pagination.$el[0])}},init:function(){var t=this;t.params.pagination=x(t.$el,t.params.pagination,t.params.createElements,{el:"swiper-pagination"});var e=t.params.pagination;if(e.el){var n=p(e.el);0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&n.length>1&&(n=t.$el.find(e.el)),"bullets"===e.type&&e.clickable&&n.addClass(e.clickableClass),n.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(n.addClass(""+e.modifierClass+e.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.addClass(e.progressbarOppositeClass),e.clickable&&n.on("click",w(e.bulletClass),function(e){e.preventDefault();var n=p(this).index()*t.params.slidesPerGroup;t.params.loop&&(n+=t.loopedSlides),t.slideTo(n)}),b(t.pagination,{$el:n,el:n[0]}),t.enabled||n.addClass(e.lockClass))}},destroy:function(){var t=this,e=t.params.pagination;if(e.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length){var n=t.pagination.$el;n.removeClass(e.hiddenClass),n.removeClass(e.modifierClass+e.type),t.pagination.bullets&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&n.off("click",w(e.bulletClass))}}},et={setTranslate:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var e=t.scrollbar,n=t.rtlTranslate,i=t.progress,o=e.dragSize,a=e.trackSize,s=e.$dragEl,r=e.$el,l=t.params.scrollbar,d=o,c=(a-o)*i;n?(c=-c)>0?(d=o-c,c=0):-c+o>a&&(d=a+c):c<0?(d=o+c,c=0):c+o>a&&(d=a-c),t.isHorizontal()?(s.transform("translate3d("+c+"px, 0, 0)"),s[0].style.width=d+"px"):(s.transform("translate3d(0px, "+c+"px, 0)"),s[0].style.height=d+"px"),l.hide&&(clearTimeout(t.scrollbar.timeout),r[0].style.opacity=1,t.scrollbar.timeout=setTimeout(function(){r[0].style.opacity=0,r.transition(400)},1e3))}},setTransition:function(t){var e=this;e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)},updateSize:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var e=t.scrollbar,n=e.$dragEl,i=e.$el;n[0].style.width="",n[0].style.height="";var o,a=t.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,s=t.size/t.virtualSize,r=s*(a/t.size);o="auto"===t.params.scrollbar.dragSize?a*s:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n[0].style.width=o+"px":n[0].style.height=o+"px",i[0].style.display=s>=1?"none":"",t.params.scrollbar.hide&&(i[0].style.opacity=0),b(e,{trackSize:a,divider:s,moveDivider:r,dragSize:o}),t.params.watchOverflow&&t.enabled&&e.$el[t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}},getPointerPosition:function(t){return this.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY},setDragPosition:function(t){var e,n=this,i=n.scrollbar,o=n.rtlTranslate,a=i.$el,s=i.dragSize,r=i.trackSize,l=i.dragStartPos;e=(i.getPointerPosition(t)-a.offset()[n.isHorizontal()?"left":"top"]-(null!==l?l:s/2))/(r-s),e=Math.max(Math.min(e,1),0),o&&(e=1-e);var d=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*e;n.updateProgress(d),n.setTranslate(d),n.updateActiveIndex(),n.updateSlidesClasses()},onDragStart:function(t){var e=this,n=e.params.scrollbar,i=e.scrollbar,o=e.$wrapperEl,a=i.$el,s=i.$dragEl;e.scrollbar.isTouched=!0,e.scrollbar.dragStartPos=t.target===s[0]||t.target===s?i.getPointerPosition(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),o.transition(100),s.transition(100),i.setDragPosition(t),clearTimeout(e.scrollbar.dragTimeout),a.transition(0),n.hide&&a.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),e.emit("scrollbarDragStart",t)},onDragMove:function(t){var e=this,n=e.scrollbar,i=e.$wrapperEl,o=n.$el,a=n.$dragEl;e.scrollbar.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,n.setDragPosition(t),i.transition(0),o.transition(0),a.transition(0),e.emit("scrollbarDragMove",t))},onDragEnd:function(t){var e=this,n=e.params.scrollbar,i=e.scrollbar,o=e.$wrapperEl,a=i.$el;e.scrollbar.isTouched&&(e.scrollbar.isTouched=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),o.transition("")),n.hide&&(clearTimeout(e.scrollbar.dragTimeout),e.scrollbar.dragTimeout=f(function(){a.css("opacity",0),a.transition(400)},1e3)),e.emit("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())},enableDraggable:function(){var t=this;if(t.params.scrollbar.el){var e=o(),n=t.scrollbar,i=t.touchEventsTouch,a=t.touchEventsDesktop,s=t.params,r=t.support,l=n.$el[0],d=!(!r.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},c=!(!r.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};l&&(r.touch?(l.addEventListener(i.start,t.scrollbar.onDragStart,d),l.addEventListener(i.move,t.scrollbar.onDragMove,d),l.addEventListener(i.end,t.scrollbar.onDragEnd,c)):(l.addEventListener(a.start,t.scrollbar.onDragStart,d),e.addEventListener(a.move,t.scrollbar.onDragMove,d),e.addEventListener(a.end,t.scrollbar.onDragEnd,c)))}},disableDraggable:function(){var t=this;if(t.params.scrollbar.el){var e=o(),n=t.scrollbar,i=t.touchEventsTouch,a=t.touchEventsDesktop,s=t.params,r=t.support,l=n.$el[0],d=!(!r.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},c=!(!r.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};l&&(r.touch?(l.removeEventListener(i.start,t.scrollbar.onDragStart,d),
10l.removeEventListener(i.move,t.scrollbar.onDragMove,d),l.removeEventListener(i.end,t.scrollbar.onDragEnd,c)):(l.removeEventListener(a.start,t.scrollbar.onDragStart,d),e.removeEventListener(a.move,t.scrollbar.onDragMove,d),e.removeEventListener(a.end,t.scrollbar.onDragEnd,c)))}},init:function(){var t=this,e=t.scrollbar,n=t.$el;t.params.scrollbar=x(n,t.params.scrollbar,t.params.createElements,{el:"swiper-scrollbar"});var i=t.params.scrollbar;if(i.el){var o=p(i.el);t.params.uniqueNavElements&&"string"==typeof i.el&&o.length>1&&1===n.find(i.el).length&&(o=n.find(i.el));var a=o.find("."+t.params.scrollbar.dragClass);0===a.length&&(a=p('<div class="'+t.params.scrollbar.dragClass+'"></div>'),o.append(a)),b(e,{$el:o,el:o[0],$dragEl:a,dragEl:a[0]}),i.draggable&&e.enableDraggable(),o&&o[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},nt={setTransform:function(t,e){var n=this.rtl,i=p(t),o=n?-1:1,a=i.attr("data-swiper-parallax")||"0",s=i.attr("data-swiper-parallax-x"),r=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(s||r?(s=s||"0",r=r||"0"):this.isHorizontal()?(s=a,r="0"):(r=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*e*o+"%":s*e*o+"px",r=r.indexOf("%")>=0?parseInt(r,10)*e+"%":r*e+"px",null!=d){var c=d-(d-1)*(1-Math.abs(e));i[0].style.opacity=c}if(null==l)i.transform("translate3d("+s+", "+r+", 0px)");else{var u=l-(l-1)*(1-Math.abs(e));i.transform("translate3d("+s+", "+r+", 0px) scale("+u+")")}},setTranslate:function(){var t=this,e=t.$el,n=t.slides,i=t.progress,o=t.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){t.parallax.setTransform(e,i)}),n.each(function(e,n){var a=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(n/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),p(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){t.parallax.setTransform(e,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(e){var n=p(e),i=parseInt(n.attr("data-swiper-parallax-duration"),10)||t;0===t&&(i=0),n.transition(i)})}},it={getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,n=t.targetTouches[0].pageY,i=t.targetTouches[1].pageX,o=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-e,2)+Math.pow(o-n,2))},onGestureStart:function(t){var e=this,n=e.support,i=e.params.zoom,o=e.zoom,a=o.gesture;if(o.fakeGestureTouched=!1,o.fakeGestureMoved=!1,!n.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;o.fakeGestureTouched=!0,a.scaleStart=it.getDistanceBetweenTouches(t)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=p(t.target).closest("."+e.params.slideClass),0===a.$slideEl.length&&(a.$slideEl=e.slides.eq(e.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+i.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl&&a.$imageEl.transition(0),e.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(t){var e=this,n=e.support,i=e.params.zoom,o=e.zoom,a=o.gesture;if(!n.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;o.fakeGestureMoved=!0,a.scaleMove=it.getDistanceBetweenTouches(t)}a.$imageEl&&0!==a.$imageEl.length?(n.gestures?o.scale=t.scale*o.currentScale:o.scale=a.scaleMove/a.scaleStart*o.currentScale,o.scale>a.maxRatio&&(o.scale=a.maxRatio-1+Math.pow(o.scale-a.maxRatio+1,.5)),o.scale<i.minRatio&&(o.scale=i.minRatio+1-Math.pow(i.minRatio-o.scale+1,.5)),a.$imageEl.transform("translate3d(0,0,0) scale("+o.scale+")")):"gesturechange"===t.type&&o.onGestureStart(t)},onGestureEnd:function(t){var e=this,n=e.device,i=e.support,o=e.params.zoom,a=e.zoom,s=a.gesture;if(!i.gestures){if(!a.fakeGestureTouched||!a.fakeGestureMoved)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!n.android)return;a.fakeGestureTouched=!1,a.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(a.scale=Math.max(Math.min(a.scale,s.maxRatio),o.minRatio),s.$imageEl.transition(e.params.speed).transform("translate3d(0,0,0) scale("+a.scale+")"),a.currentScale=a.scale,a.isScaling=!1,1===a.scale&&(s.$slideEl=void 0))},onTouchStart:function(t){var e=this.device,n=this.zoom,i=n.gesture,o=n.image;i.$imageEl&&0!==i.$imageEl.length&&(o.isTouched||(e.android&&t.cancelable&&t.preventDefault(),o.isTouched=!0,o.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,o.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(t){var e=this,n=e.zoom,i=n.gesture,o=n.image,a=n.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(e.allowClick=!1,o.isTouched&&i.$slideEl)){o.isMoved||(o.width=i.$imageEl[0].offsetWidth,o.height=i.$imageEl[0].offsetHeight,o.startX=g(i.$imageWrapEl[0],"x")||0,o.startY=g(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0));var s=o.width*n.scale,r=o.height*n.scale;if(!(s<i.slideWidth&&r<i.slideHeight)){if(o.minX=Math.min(i.slideWidth/2-s/2,0),o.maxX=-o.minX,o.minY=Math.min(i.slideHeight/2-r/2,0),o.maxY=-o.minY,o.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,o.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!o.isMoved&&!n.isScaling){if(e.isHorizontal()&&(Math.floor(o.minX)===Math.floor(o.startX)&&o.touchesCurrent.x<o.touchesStart.x||Math.floor(o.maxX)===Math.floor(o.startX)&&o.touchesCurrent.x>o.touchesStart.x))return void(o.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(o.minY)===Math.floor(o.startY)&&o.touchesCurrent.y<o.touchesStart.y||Math.floor(o.maxY)===Math.floor(o.startY)&&o.touchesCurrent.y>o.touchesStart.y))return void(o.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),o.isMoved=!0,o.currentX=o.touchesCurrent.x-o.touchesStart.x+o.startX,o.currentY=o.touchesCurrent.y-o.touchesStart.y+o.startY,o.currentX<o.minX&&(o.currentX=o.minX+1-Math.pow(o.minX-o.currentX+1,.8)),o.currentX>o.maxX&&(o.currentX=o.maxX-1+Math.pow(o.currentX-o.maxX+1,.8)),o.currentY<o.minY&&(o.currentY=o.minY+1-Math.pow(o.minY-o.currentY+1,.8)),o.currentY>o.maxY&&(o.currentY=o.maxY-1+Math.pow(o.currentY-o.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=o.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=o.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(o.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(o.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(o.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(o.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=o.touchesCurrent.x,a.prevPositionY=o.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+o.currentX+"px, "+o.currentY+"px,0)")}}},onTouchEnd:function(){var t=this.zoom,e=t.gesture,n=t.image,i=t.velocity;if(e.$imageEl&&0!==e.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var o=300,a=300,s=i.x*o,r=n.currentX+s,l=i.y*a,d=n.currentY+l;0!==i.x&&(o=Math.abs((r-n.currentX)/i.x)),0!==i.y&&(a=Math.abs((d-n.currentY)/i.y));var c=Math.max(o,a);n.currentX=r,n.currentY=d;var u=n.width*t.scale,h=n.height*t.scale;n.minX=Math.min(e.slideWidth/2-u/2,0),n.maxX=-n.minX,n.minY=Math.min(e.slideHeight/2-h/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),e.$imageWrapEl.transition(c).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var t=this,e=t.zoom,n=e.gesture;n.$slideEl&&t.previousIndex!==t.activeIndex&&(n.$imageEl&&n.$imageEl.transform("translate3d(0,
100,0) scale(1)"),n.$imageWrapEl&&n.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,n.$slideEl=void 0,n.$imageEl=void 0,n.$imageWrapEl=void 0)},toggle:function(t){var e=this.zoom;e.scale&&1!==e.scale?e.out():e.in(t)},in:function(t){var e,n,i,o,s,r,l,d,c,u,h,f,m,g,v,y,b=this,_=a(),w=b.zoom,x=b.params.zoom,T=w.gesture,C=w.image;T.$slideEl||(t&&t.target&&(T.$slideEl=p(t.target).closest("."+b.params.slideClass)),T.$slideEl||(b.params.virtual&&b.params.virtual.enabled&&b.virtual?T.$slideEl=b.$wrapperEl.children("."+b.params.slideActiveClass):T.$slideEl=b.slides.eq(b.activeIndex)),T.$imageEl=T.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),T.$imageWrapEl=T.$imageEl.parent("."+x.containerClass)),T.$imageEl&&0!==T.$imageEl.length&&T.$imageWrapEl&&0!==T.$imageWrapEl.length&&(T.$slideEl.addClass(""+x.zoomedSlideClass),void 0===C.touchesStart.x&&t?(e="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(e=C.touchesStart.x,n=C.touchesStart.y),w.scale=T.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,w.currentScale=T.$imageWrapEl.attr("data-swiper-zoom")||x.maxRatio,t?(v=T.$slideEl[0].offsetWidth,y=T.$slideEl[0].offsetHeight,i=T.$slideEl.offset().left+_.scrollX+v/2-e,o=T.$slideEl.offset().top+_.scrollY+y/2-n,l=T.$imageEl[0].offsetWidth,d=T.$imageEl[0].offsetHeight,c=l*w.scale,u=d*w.scale,m=-(h=Math.min(v/2-c/2,0)),g=-(f=Math.min(y/2-u/2,0)),(s=i*w.scale)<h&&(s=h),s>m&&(s=m),(r=o*w.scale)<f&&(r=f),r>g&&(r=g)):(s=0,r=0),T.$imageWrapEl.transition(300).transform("translate3d("+s+"px, "+r+"px,0)"),T.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+w.scale+")"))},out:function(){var t=this,e=t.zoom,n=t.params.zoom,i=e.gesture;i.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?i.$slideEl=t.$wrapperEl.children("."+t.params.slideActiveClass):i.$slideEl=t.slides.eq(t.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&i.$imageWrapEl&&0!==i.$imageWrapEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+n.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(t){var e=this,n=e.zoom,i=n.slideSelector,o=n.passiveListener;e.$wrapperEl[t]("gesturestart",i,n.onGestureStart,o),e.$wrapperEl[t]("gesturechange",i,n.onGestureChange,o),e.$wrapperEl[t]("gestureend",i,n.onGestureEnd,o)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var t=this,e=t.support,n=t.zoom;if(!n.enabled){n.enabled=!0;var i=!("touchstart"!==t.touchEvents.start||!e.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},o=!e.passiveListener||{passive:!1,capture:!0},a="."+t.params.slideClass;t.zoom.passiveListener=i,t.zoom.slideSelector=a,e.gestures?(t.$wrapperEl.on(t.touchEvents.start,t.zoom.enableGestures,i),t.$wrapperEl.on(t.touchEvents.end,t.zoom.disableGestures,i)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.on(t.touchEvents.start,a,n.onGestureStart,i),t.$wrapperEl.on(t.touchEvents.move,a,n.onGestureChange,o),t.$wrapperEl.on(t.touchEvents.end,a,n.onGestureEnd,i),t.touchEvents.cancel&&t.$wrapperEl.on(t.touchEvents.cancel,a,n.onGestureEnd,i)),t.$wrapperEl.on(t.touchEvents.move,"."+t.params.zoom.containerClass,n.onTouchMove,o)}},disable:function(){var t=this,e=t.zoom;if(e.enabled){var n=t.support;t.zoom.enabled=!1;var i=!("touchstart"!==t.touchEvents.start||!n.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},o=!n.passiveListener||{passive:!1,capture:!0},a="."+t.params.slideClass;n.gestures?(t.$wrapperEl.off(t.touchEvents.start,t.zoom.enableGestures,i),t.$wrapperEl.off(t.touchEvents.end,t.zoom.disableGestures,i)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.off(t.touchEvents.start,a,e.onGestureStart,i),t.$wrapperEl.off(t.touchEvents.move,a,e.onGestureChange,o),t.$wrapperEl.off(t.touchEvents.end,a,e.onGestureEnd,i),t.touchEvents.cancel&&t.$wrapperEl.off(t.touchEvents.cancel,a,e.onGestureEnd,i)),t.$wrapperEl.off(t.touchEvents.move,"."+t.params.zoom.containerClass,e.onTouchMove,o)}}},ot={loadInSlide:function(t,e){void 0===e&&(e=!0);var n=this,i=n.params.lazy;if(void 0!==t&&0!==n.slides.length){var o=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):n.slides.eq(t),a=o.find("."+i.elementClass+":not(."+i.loadedClass+"):not(."+i.loadingClass+")");!o.hasClass(i.elementClass)||o.hasClass(i.loadedClass)||o.hasClass(i.loadingClass)||a.push(o[0]),0!==a.length&&a.each(function(t){var a=p(t);a.addClass(i.loadingClass);var s=a.attr("data-background"),r=a.attr("data-src"),l=a.attr("data-srcset"),d=a.attr("data-sizes"),c=a.parent("picture");n.loadImage(a[0],r||s,l,d,!1,function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){
vendor: 38,398 bytes, lines 10-11
10if(s?(a.css("background-image",'url("'+s+'")'),a.removeAttr("data-background")):(l&&(a.attr("srcset",l),a.removeAttr("data-srcset")),d&&(a.attr("sizes",d),a.removeAttr("data-sizes")),c.length&&c.children("source").each(function(t){var e=p(t);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),r&&(a.attr("src",r),a.removeAttr("data-src"))),a.addClass(i.loadedClass).removeClass(i.loadingClass),o.find("."+i.preloaderClass).remove(),n.params.loop&&e){var t=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var u=n.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(u.index(),!1)}else{var h=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');n.lazy.loadInSlide(h.index(),!1)}}n.emit("lazyImageReady",o[0],a[0]),n.params.autoHeight&&n.updateAutoHeight()}}),n.emit("lazyImageLoad",o[0],a[0])})}},load:function(){function t(t){if(r){if(i.children("."+o.slideClass+'[data-swiper-slide-index="'+t+'"]').length)return!0}else if(a[t])return!0;return!1}function e(t){return r?p(t).attr("data-swiper-slide-index"):p(t).index()}var n=this,i=n.$wrapperEl,o=n.params,a=n.slides,s=n.activeIndex,r=n.virtual&&o.virtual.enabled,l=o.lazy,d=o.slidesPerView;if("auto"===d&&(d=0),n.lazy.initialImageLoaded||(n.lazy.initialImageLoaded=!0),n.params.watchSlidesVisibility)i.children("."+o.slideVisibleClass).each(function(t){var e=r?p(t).attr("data-swiper-slide-index"):p(t).index();n.lazy.loadInSlide(e)});else if(d>1)for(var c=s;c<s+d;c+=1)t(c)&&n.lazy.loadInSlide(c);else n.lazy.loadInSlide(s);if(l.loadPrevNext)if(d>1||l.loadPrevNextAmount&&l.loadPrevNextAmount>1){for(var u=l.loadPrevNextAmount,h=d,f=Math.min(s+h+Math.max(u,h),a.length),m=Math.max(s-Math.max(h,u),0),g=s+d;g<f;g+=1)t(g)&&n.lazy.loadInSlide(g);for(var v=m;v<s;v+=1)t(v)&&n.lazy.loadInSlide(v)}else{var y=i.children("."+o.slideNextClass);y.length>0&&n.lazy.loadInSlide(e(y));var b=i.children("."+o.slidePrevClass);b.length>0&&n.lazy.loadInSlide(e(b))}},checkInViewOnLoad:function(){var t=a(),e=this;if(e&&!e.destroyed){var n=e.params.lazy.scrollingElement?p(e.params.lazy.scrollingElement):p(t),i=n[0]===t,o=i?t.innerWidth:n[0].offsetWidth,s=i?t.innerHeight:n[0].offsetHeight,r=e.$el.offset(),l=!1;e.rtlTranslate&&(r.left-=e.$el[0].scrollLeft);for(var d=[[r.left,r.top],[r.left+e.width,r.top],[r.left,r.top+e.height],[r.left+e.width,r.top+e.height]],c=0;c<d.length;c+=1){var u=d[c];if(u[0]>=0&&u[0]<=o&&u[1]>=0&&u[1]<=s){if(0===u[0]&&0===u[1])continue;l=!0}}var h=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};l?(e.lazy.load(),n.off("scroll",e.lazy.checkInViewOnLoad,h)):e.lazy.scrollHandlerAttached||(e.lazy.scrollHandlerAttached=!0,n.on("scroll",e.lazy.checkInViewOnLoad,h))}}},at={LinearSpline:function(t,e){var n,i,o,a,s,r=function(t,e){for(i=-1,n=t.length;n-i>1;)t[o=n+i>>1]<=e?i=o:n=o;return n};return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(s=r(this.x,t),a=s-1,(t-this.x[a])*(this.y[s]-this.y[a])/(this.x[s]-this.x[a])+this.y[a]):0},this},getInterpolateFunction:function(t){var e=this;e.controller.spline||(e.controller.spline=e.params.loop?new at.LinearSpline(e.slidesGrid,t.slidesGrid):new at.LinearSpline(e.snapGrid,t.snapGrid))},setTranslate:function(t,e){function n(t){var e=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(t),o=-a.controller.spline.interpolate(-e)),o&&"container"!==a.params.controller.by||(i=(t.maxTranslate()-t.minTranslate())/(a.maxTranslate()-a.minTranslate()),o=(e-a.minTranslate())*i+t.minTranslate()),a.params.controller.inverse&&(o=t.maxTranslate()-o),t.updateProgress(o),t.setTranslate(o,a),t.updateActiveIndex(),t.updateSlidesClasses()}var i,o,a=this,s=a.controller.control,r=a.constructor;if(Array.isArray(s))for(var l=0;l<s.length;l+=1)s[l]!==e&&s[l]instanceof r&&n(s[l]);else s instanceof r&&e!==s&&n(s)},setTransition:function(t,e){function n(e){e.setTransition(t,o),0!==t&&(e.transitionStart(),e.params.autoHeight&&f(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){s&&(e.params.loop&&"slide"===o.params.controller.by&&e.loopFix(),e.transitionEnd())}))}var i,o=this,a=o.constructor,s=o.controller.control;if(Array.isArray(s))for(i=0;i<s.length;i+=1)s[i]!==e&&s[i]instanceof a&&n(s[i]);else s instanceof a&&e!==s&&n(s)}},st={getRandomNumber:function(t){return void 0===t&&(t=16),"x".repeat(t).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(t){return t.attr("tabIndex","0"),t},makeElNotFocusable:function(t){return t.attr("tabIndex","-1"),t},addElRole:function(t,e){return t.attr("role",e),t},addElRoleDescription:function(t,e){return t.attr("aria-roledescription",e),t},addElControls:function(t,e){return t.attr("aria-controls",e),t},addElLabel:function(t,e){return t.attr("aria-label",e),t},addElId:function(t,e){return t.attr("id",e),t},addElLive:function(t,e){return t.attr("aria-live",e),t},disableEl:function(t){return t.attr("aria-disabled",!0),t},enableEl:function(t){return t.attr("aria-disabled",!1),t},onEnterOrSpaceKey:function(t){if(13===t.keyCode||32===t.keyCode){var e=this,n=e.params.a11y,i=p(t.target);e.navigation&&e.navigation.$nextEl&&i.is(e.navigation.$nextEl)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?e.a11y.notify(n.lastSlideMessage):e.a11y.notify(n.nextSlideMessage)),e.navigation&&e.navigation.$prevEl&&i.is(e.navigation.$prevEl)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?e.a11y.notify(n.firstSlideMessage):e.a11y.notify(n.prevSlideMessage)),e.pagination&&i.is(w(e.params.pagination.bulletClass))&&i[0].click()}},notify:function(t){var e=this.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},updateNavigation:function(){var t=this;if(!t.params.loop&&t.navigation){var e=t.navigation,n=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(t.isBeginning?(t.a11y.disableEl(i),t.a11y.makeElNotFocusable(i)):(t.a11y.enableEl(i),t.a11y.makeElFocusable(i))),n&&n.length>0&&(t.isEnd?(t.a11y.disableEl(n),t.a11y.makeElNotFocusable(n)):(t.a11y.enableEl(n),t.a11y.makeElFocusable(n)))}},updatePagination:function(){var t=this,e=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(n){var i=p(n);t.a11y.makeElFocusable(i),t.params.pagination.renderBullet||(t.a11y.addElRole(i,"button"),t.a11y.addElLabel(i,e.paginationBulletMessage.replace(/\{\{index\}\}/,i.index()+1)))})},init:function(){var t=this,e=t.params.a11y;t.$el.append(t.a11y.liveRegion);var n=t.$el;e.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(n,e.containerRoleDescriptionMessage),e.containerMessage&&t.a11y.addElLabel(n,e.containerMessage);var i=t.$wrapperEl,o=i.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16),a=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";t.a11y.addElId(i,o),t.a11y.addElLive(i,a),e.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(p(t.slides),e.itemRoleDescriptionMessage),t.a11y.addElRole(p(t.slides),e.slideRole);var s,r,l=t.params.loop?t.slides.filter(function(e){return!e.classList.contains(t.params.slideDuplicateClass)}).length:t.slides.length;t.slides.each(function(n,i){var o=p(n),a=t.params.loop?parseInt(o.attr("data-swiper-slide-index"),10):i,s=e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,l);t.a11y.addElLabel(o,s)}),t.navigation&&t.navigation.$nextEl&&(s=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(r=t.navigation.$prevEl),s&&s.length&&(t.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(t.a11y.addElRole(s,"button"),s.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(s,e.nextSlideMessage),t.a11y.addElControls(s,o)),r&&r.length&&(t.a11y.makeElFocusable(r),"BUTTON"!==r[0].tagName&&(t.a11y.addElRole(r,"button"),r.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(r,e.prevSlideMessage),t.a11y.addElControls(r,o)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown",w(t.params.pagination.bulletClass),t.a11y.onEnterOrSpaceKey)},destroy:function(){var t,e,n=this;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove(),n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(e=n.navigation.$prevEl),t&&t.off("keydown",n.a11y.onEnterOrSpaceKey),e&&e.off("keydown",n.a11y.onEnterOrSpaceKey),n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown",w(n.params.pagination.bulletClass),n.a11y.onEnterOrSpaceKey)}},rt={init:function(){var t=this,e=a();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);var n=t.history;n.initialized=!0,n.paths=rt.getPathValues(t.params.url),(n.paths.key||n.paths.value)&&(n.scrollToSlide(0,n.paths.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",t.history.setHistoryPopState))}},destroy:function(){var t=a();this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var t=this;t.history.paths=rt.getPathValues(t.params.url),t.history.scrollToSlide(t.params.speed,t.history.paths.value,!1)},getPathValues:function(t){var e=a(),n=(t?new URL(t):e.location).pathname.slice(1).split("/").filter(function(t){return""!==t}),i=n.length;return{key:n[i-2],value:n[i-1]}},setHistory:function(t,e){var n=this,i=a();if(n.history.initialized&&n.params.history.enabled){var o;o=n.params.url?new URL(n.params.url):i.location;var s=n.slides.eq(e),r=rt.slugify(s.attr("data-history"));if(n.params.history.root.length>0){var l=n.params.history.root;"/"===l[l.length-1]&&(l=l.slice(0,l.length-1)),r=l+"/"+t+"/"+r}else o.pathname.includes(t)||(r=t+"/"+r);var d=i.history.state;d&&d.value===r||(n.params.history.replaceState?i.history.replaceState({value:r},null,r):i.history.pushState({value:r},null,r))}},slugify:function(t){return t.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,n){var i=this;if(e)for(var o=0,a=i.slides.length;o<a;o+=1){var s=i.slides.eq(o);if(rt.slugify(s.attr("data-history"))===e&&!s.hasClass(i.params.slideDuplicateClass)){var r=s.index();i.slideTo(r,t,n)}}else i.slideTo(0,t,n)}},lt={onHashChange:function(){var t=this,e=o();t.emit("hashChange");var n=e.location.hash.replace("#","");if(n!==t.slides.eq(t.activeIndex).attr("data-hash")){var i=t.$wrapperEl.children("."+t.params.slideClass+'[data-hash="'+n+'"]').index();if(void 0===i)return;t.slideTo(i)}},setHash:function(){var t=this,e=a(),n=o();if(t.hashNavigation.initialized&&t.params.hashNavigation.enabled)if(t.params.hashNavigation.replaceState&&e.history&&e.history.replaceState)e.history.replaceState(null,null,"#"+t.slides.eq(t.activeIndex).attr("data-hash")||""),t.emit("hashSet");else{var i=t.slides.eq(t.activeIndex),s=i.attr("data-hash")||i.attr("data-history");n.location.hash=s||"",t.emit("hashSet")}},init:function(){var t=this,e=o(),n=a();if(!(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)){t.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var s=0,r=t.slides.length;s<r;s+=1){var l=t.slides.eq(s);if((l.attr("data-hash")||l.attr("data-history"))===i&&!l.hasClass(t.params.slideDuplicateClass)){var d=l.index();t.slideTo(d,0,t.params.runCallbacksOnInit,!0)}}t.params.hashNavigation.watchState&&p(n).on("hashchange",t.hashNavigation.onHashChange)}},destroy:function(){var t=a();this.params.hashNavigation.watchState&&p(t).off("hashchange",this.hashNavigation.onHashChange)}},dt={run:function(){var t=this,e=t.slides.eq(t.activeIndex),n=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=f(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()},n)},start:function(){var t=this;return void 0===t.autoplay.timeout&&!t.autoplay.running&&(t.autoplay.running=!0,t.emit("autoplayStart"),t.autoplay.run(),!0)},stop:function(){var t=this;return!!t.autoplay.running&&void 0!==t.autoplay.timeout&&(t.autoplay.timeout&&(clearTimeout(t.autoplay.timeout),t.autoplay.timeout=void 0),t.autoplay.running=!1,t.emit("autoplayStop"),!0)},pause:function(t){var e=this;e.autoplay.running&&(e.autoplay.paused||(e.autoplay.timeout&&clearTimeout(e.autoplay.timeout),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].addEventListener(t,e.autoplay.onTransitionEnd)}):(e.autoplay.paused=!1,e.autoplay.run())))},onVisibilityChange:function(){var t=this,e=o();"hidden"===e.visibilityState&&t.autoplay.running&&t.autoplay.pause(),"visible"===e.visibilityState&&t.autoplay.paused&&(t.autoplay.run(),t.autoplay.paused=!1)},onTransitionEnd:function(t){var e=this;e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)}),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())},onMouseEnter:function(){var t=this;t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach(function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)})},onMouseLeave:function(){var t=this;t.params.autoplay.disableOnInteraction||(t.autoplay.paused=!1,t.autoplay.run())},attachMouseEvents:function(){var t=this;t.params.autoplay.pauseOnMouseEnter&&(t.$el.on("mouseenter",t.autoplay.onMouseEnter),t.$el.on("mouseleave",t.autoplay.onMouseLeave))},detachMouseEvents:function(){var t=this;t.$el.off("mouseenter",t.autoplay.onMouseEnter),t.$el.off("mouseleave",t.autoplay.onMouseLeave)}},ct={setTranslate:function(){for(var t=this,e=t.slides,n=0;n<e.length;n+=1){var i=t.slides.eq(n),o=-i[0].swiperSlideOffset;t.params.virtualTranslate||(o-=t.translate);var a=0;t.isHorizontal()||(a=o,o=0);var s=t.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:s}).transform("translate3d("+o+"px, "+a+"px, 0px)")}},setTransition:function(t){var e=this,n=e.slides,i=e.$wrapperEl;if(n.transition(t),e.params.virtualTranslate&&0!==t){var o=!1;n.transitionEnd(function(){if(!o&&e&&!e.destroyed){o=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)i.trigger(t[n])}})}}},ut={setTranslate:function(){var t,e=this,n=e.$el,i=e.$wrapperEl,o=e.slides,a=e.width,s=e.height,r=e.rtlTranslate,l=e.size,d=e.browser,c=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled,f=0;c.shadow&&(u?(0===(t=i.find(".swiper-cube-shadow")).length&&(t=p('<div class="swiper-cube-shadow"></div>'),i.append(t)),t.css({height:a+"px"})):0===(t=n.find(".swiper-cube-shadow")).length&&(t=p('<div class="swiper-cube-shadow"></div>'),n.append(t)));for(var m=0;m<o.length;m+=1){var g=o.eq(m),v=m;h&&(v=parseInt(g.attr("data-swiper-slide-index"),10));var y=90*v,b=Math.floor(y/360);r&&(y=-y,b=Math.floor(-y/360));var _=Math.max(Math.min(g[0].progress,1),-1),w=0,x=0,T=0;v%4==0?(w=4*-b*l,T=0):(v-1)%4==0?(w=0,T=4*-b*l):(v-2)%4==0?(w=l+4*b*l,T=l):(v-3)%4==0&&(w=-l,T=3*l+4*l*b),r&&(w=-w),u||(x=w,w=0);var C="rotateX("+(u?0:-y)+"deg) rotateY("+(u?y:0)+"deg) translate3d("+w+"px, "+x+"px, "+T+"px)";if(_<=1&&_>-1&&(f=90*v+90*_,r&&(f=90*-v-90*_)),g.transform(C),c.slideShadows){var S=u?g.find(".swiper-slide-shadow-left"):g.find(".swiper-slide-shadow-top"),E=u?g.find(".swiper-slide-shadow-right"):g.find(".swiper-slide-shadow-bottom");0===S.length&&(S=p('<div class="swiper-slide-shadow-'+(u?"left":"top")+'"></div>'),g.append(S)),0===E.length&&(E=p('<div class="swiper-slide-shadow-'+(u?"right":"bottom")+'"></div>'),g.append(E)),S.length&&(S[0].style.opacity=Math.max(-_,0)),E.length&&(E[0].style.opacity=Math.max(_,0))}}if(i.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"}),c.shadow)if(u)t.transform("translate3d(0px, "+(a/2+c.shadowOffset)+"px, "+-a/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var k=Math.abs(f)-90*Math.floor(Math.abs(f)/90),M=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),P=c.shadowScale,L=c.shadowScale/M,D=c.shadowOffset;t.transform("scale3d("+P+", 1, "+L+") translate3d(0px, "+(s/2+D)+"px, "+-s/2/L+"px) rotateX(-90deg)")}var O=d.isSafari||d.isWebView?-l/2:0;i.transform("translate3d(0px,0,"+O+"px) rotateX("+(e.isHorizontal()?0:f)+"deg) rotateY("+(e.isHorizontal()?-f:0)+"deg)")},setTransition:function(t){var e=this,n=e.$el;e.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&n.find(".swiper-cube-shadow").transition(t)}},ht={setTranslate:function(){for(var t=this,e=t.slides,n=t.rtlTranslate,i=0;i<e.length;i+=1){var o=e.eq(i),a=o[0].progress;t.params.flipEffect.limitRotation&&(a=Math.max(Math.min(o[0].progress,1),-1));var s=-180*a,r=0,l=-o[0].swiperSlideOffset,d=0;if(t.isHorizontal()?n&&(s=-s):(d=l,l=0,r=-s,s=0),o[0].style.zIndex=-Math.abs(Math.round(a))+e.length,t.params.flipEffect.slideShadows){var c=t.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),u=t.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");0===c.length&&(c=p('<div class="swiper-slide-shadow-'+(t.isHorizontal()?"left":"top")+'"></div>'),o.append(c)),0===u.length&&(u=p('<div class="swiper-slide-shadow-'+(t.isHorizontal()?"right":"bottom")+'"></div>'),o.append(u)),c.length&&(c[0].style.opacity=Math.max(-a,0)),u.length&&(u[0].style.opacity=Math.max(a,0))}o.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+r+"deg) rotateY("+s+"deg)")}},setTransition:function(t){var e=this,n=e.slides,i=e.activeIndex,o=e.$wrapperEl;if(n.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.virtualTranslate&&0!==t){var a=!1;n.eq(i).transitionEnd(function(){if(!a&&e&&!e.destroyed){a=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],n=0;n<t.length;n+=1)o.trigger(t[n])}})}}},pt={setTranslate:function(){
11for(var t=this,e=t.width,n=t.height,i=t.slides,o=t.slidesSizesGrid,a=t.params.coverflowEffect,s=t.isHorizontal(),r=t.translate,l=s?e/2-r:n/2-r,d=s?a.rotate:-a.rotate,c=a.depth,u=0,h=i.length;u<h;u+=1){var f=i.eq(u),m=o[u],g=(l-f[0].swiperSlideOffset-m/2)/m*a.modifier,v=s?d*g:0,y=s?0:d*g,b=-c*Math.abs(g),_=a.stretch;"string"==typeof _&&-1!==_.indexOf("%")&&(_=parseFloat(a.stretch)/100*m);var w=s?0:_*g,x=s?_*g:0,T=1-(1-a.scale)*Math.abs(g);Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(b)<.001&&(b=0),Math.abs(v)<.001&&(v=0),Math.abs(y)<.001&&(y=0),Math.abs(T)<.001&&(T=0);var C="translate3d("+x+"px,"+w+"px,"+b+"px)  rotateX("+y+"deg) rotateY("+v+"deg) scale("+T+")";if(f.transform(C),f[0].style.zIndex=1-Math.abs(Math.round(g)),a.slideShadows){var S=s?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),E=s?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=p('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),f.append(S)),0===E.length&&(E=p('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),f.append(E)),S.length&&(S[0].style.opacity=g>0?g:0),E.length&&(E[0].style.opacity=-g>0?-g:0)}}},setTransition:function(t){this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}},ft={init:function(){var t=this,e=t.params.thumbs;if(t.thumbs.initialized)return!1;t.thumbs.initialized=!0;var n=t.constructor;return e.swiper instanceof n?(t.thumbs.swiper=e.swiper,b(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),b(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):v(e.swiper)&&(t.thumbs.swiper=new n(b({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),t.thumbs.swiperCreated=!0),t.thumbs.swiper.$el.addClass(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",t.thumbs.onThumbClick),!0},onThumbClick:function(){var t=this,e=t.thumbs.swiper;if(e){var n=e.clickedIndex,i=e.clickedSlide;if(!(i&&p(i).hasClass(t.params.thumbs.slideThumbActiveClass)||null==n)){var o;if(o=e.params.loop?parseInt(p(e.clickedSlide).attr("data-swiper-slide-index"),10):n,t.params.loop){var a=t.activeIndex;t.slides.eq(a).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,a=t.activeIndex);var s=t.slides.eq(a).prevAll('[data-swiper-slide-index="'+o+'"]').eq(0).index(),r=t.slides.eq(a).nextAll('[data-swiper-slide-index="'+o+'"]').eq(0).index();o=void 0===s?r:void 0===r?s:r-a<a-s?r:s}t.slideTo(o)}}},update:function(t){var e=this,n=e.thumbs.swiper;if(n){var i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,o=e.params.thumbs.autoScrollOffset,a=o&&!n.params.loop;if(e.realIndex!==n.realIndex||a){var s,r,l=n.activeIndex;if(n.params.loop){n.slides.eq(l).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,l=n.activeIndex);var d=n.slides.eq(l).prevAll('[data-swiper-slide-index="'+e.realIndex+'"]').eq(0).index(),c=n.slides.eq(l).nextAll('[data-swiper-slide-index="'+e.realIndex+'"]').eq(0).index();s=void 0===d?c:void 0===c?d:c-l==l-d?n.params.slidesPerGroup>1?c:l:c-l<l-d?c:d,r=e.activeIndex>e.previousIndex?"next":"prev"}else r=(s=e.realIndex)>e.previousIndex?"next":"prev";a&&(s+="next"===r?o:-1*o),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>l?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>l&&n.params.slidesPerGroup,n.slideTo(s,t?0:void 0))}var u=1,h=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(u=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),n.slides.removeClass(h),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(var p=0;p<u;p+=1)n.$wrapperEl.children('[data-swiper-slide-index="'+(e.realIndex+p)+'"]').addClass(h);else for(var f=0;f<u;f+=1)n.slides.eq(e.realIndex+f).addClass(h)}}},mt=[U,K,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){_(this,{mousewheel:{enabled:!1,lastScrollTime:m(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:Q.enable,disable:Q.disable,handle:Q.handle,handleMouseEnter:Q.handleMouseEnter,handleMouseLeave:Q.handleMouseLeave,animateSlider:Q.animateSlider,releaseScroll:Q.releaseScroll}})},on:{init:function(t){!t.params.mousewheel.enabled&&t.params.cssMode&&t.mousewheel.disable(),t.params.mousewheel.enabled&&t.mousewheel.enable()},destroy:function(t){t.params.cssMode&&t.mousewheel.enable(),t.mousewheel.enabled&&t.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(){_(this,{navigation:e({},J)})},on:{init:function(t){t.navigation.init(),t.navigation.update()},toEdge:function(t){t.navigation.update()},fromEdge:function(t){t.navigation.update()},destroy:function(t){t.navigation.destroy()},"enable disable":function(t){var e=t.navigation,n=e.$nextEl,i=e.$prevEl;n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),i&&i[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)},click:function(t,e){var n=t.navigation,i=n.$nextEl,o=n.$prevEl,a=e.target;if(t.params.navigation.hideOnClick&&!p(a).is(o)&&!p(a).is(i)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;var s;i?s=i.hasClass(t.params.navigation.hiddenClass):o&&(s=o.hasClass(t.params.navigation.hiddenClass)),!0===s?t.emit("navigationShow"):t.emit("navigationHide"),i&&i.toggleClass(t.params.navigation.hiddenClass),o&&o.toggleClass(t.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(t){return t},formatFractionTotal:function(t){return t},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(){_(this,{pagination:e({dynamicBulletIndex:0},tt)})},on:{init:function(t){t.pagination.init(),t.pagination.render(),t.pagination.update()},activeIndexChange:function(t){(t.params.loop||void 0===t.snapIndex)&&t.pagination.update()},snapIndexChange:function(t){t.params.loop||t.pagination.update()},slidesLengthChange:function(t){t.params.loop&&(t.pagination.render(),t.pagination.update())},snapGridLengthChange:function(t){t.params.loop||(t.pagination.render(),t.pagination.update())},destroy:function(t){t.pagination.destroy()},"enable disable":function(t){var e=t.pagination.$el;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)},click:function(t,e){var n=e.target;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!p(n).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow"):t.emit("paginationHide"),t.pagination.$el.toggleClass(t.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(){_(this,{scrollbar:e({isTouched:!1,timeout:null,dragTimeout:null},et)})},on:{init:function(t){t.scrollbar.init(),t.scrollbar.updateSize(),t.scrollbar.setTranslate()},update:function(t){t.scrollbar.updateSize()},resize:function(t){t.scrollbar.updateSize()},observerUpdate:function(t){t.scrollbar.updateSize()},setTranslate:function(t){t.scrollbar.setTranslate()},setTransition:function(t,e){t.scrollbar.setTransition(e)},"enable disable":function(t){var e=t.scrollbar.$el;e&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)},destroy:function(t){t.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){_(this,{parallax:e({},nt)})},on:{beforeInit:function(t){t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},init:function(t){t.params.parallax.enabled&&t.parallax.setTranslate()},setTranslate:function(t){t.params.parallax.enabled&&t.parallax.setTranslate()},setTransition:function(t,e){t.params.parallax.enabled&&t.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 t=this;_(t,{zoom:e({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}},it)});var n=1;Object.defineProperty(t.zoom,"scale",{get:function(){return n},set:function(e){if(n!==e){var i=t.zoom.gesture.$imageEl?t.zoom.gesture.$imageEl[0]:void 0,o=t.zoom.gesture.$slideEl?t.zoom.gesture.$slideEl[0]:void 0;t.emit("zoomChange",e,i,o)}n=e}})},on:{init:function(t){t.params.zoom.enabled&&t.zoom.enable()},destroy:function(t){t.zoom.disable()},touchStart:function(t,e){t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(t,e){t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(t,e){!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(t){t.zoom.enabled&&t.params.zoom.enabled&&t.zoom.onTransitionEnd()},slideChange:function(t){t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&t.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){_(this,{lazy:e({initialImageLoaded:!1},ot)})},on:{beforeInit:function(t){t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)},init:function(t){t.params.lazy.enabled&&!t.params.loop&&0===t.params.initialSlide&&(t.params.lazy.checkInView?t.lazy.checkInViewOnLoad():t.lazy.load())},scroll:function(t){t.params.freeMode&&!t.params.freeModeSticky&&t.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(t){t.params.lazy.enabled&&t.lazy.load()},transitionStart:function(t){t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!t.lazy.initialImageLoaded)&&t.lazy.load()},transitionEnd:function(t){t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&t.lazy.load()},slideChange:function(t){var e=t.params,n=e.lazy,i=e.cssMode,o=e.watchSlidesVisibility,a=e.watchSlidesProgress,s=e.touchReleaseOnEdges,r=e.resistanceRatio;n.enabled&&(i||(o||a)&&(s||0===r))&&t.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){_(this,{controller:e({control:this.params.controller.control},at)})},on:{update:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},resize:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},observerUpdate:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},setTranslate:function(t,e,n){t.controller.control&&t.controller.setTranslate(e,n)},setTransition:function(t,e,n){t.controller.control&&t.controller.setTransition(e,n)}}},{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}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){_(this,{a11y:e({},st,{liveRegion:p('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(t){t.params.a11y.enabled&&(t.a11y.init(),t.a11y.updateNavigation())},toEdge:function(t){t.params.a11y.enabled&&t.a11y.updateNavigation()},fromEdge:function(t){t.params.a11y.enabled&&t.a11y.updateNavigation()},paginationUpdate:function(t){t.params.a11y.enabled&&t.a11y.updatePagination()},destroy:function(t){t.params.a11y.enabled&&t.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,root:"",replaceState:!1,key:"slides"}},create:function(){_(this,{history:e({},rt)})},on:{init:function(t){t.params.history.enabled&&t.history.init()},destroy:function(t){t.params.history.enabled&&t.history.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(t){t.history.initialized&&t.history.setHistory(t.params.history.key,t.activeIndex)},slideChange:function(t){t.history.initialized&&t.params.cssMode&&t.history.setHistory(t.params.history.key,t.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){_(this,{hashNavigation:e({initialized:!1},lt)})},on:{init:function(t){t.params.hashNavigation.enabled&&t.hashNavigation.init()},destroy:function(t){t.params.hashNavigation.enabled&&t.hashNavigation.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(t){t.hashNavigation.initialized&&t.hashNavigation.setHash()},slideChange:function(t){t.hashNavigation.initialized&&t.params.cssMode&&t.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){_(this,{autoplay:e({},dt,{running:!1,paused:!1})})},on:{init:function(t){t.params.autoplay.enabled&&(t.autoplay.start(),o().addEventListener("visibilitychange",t.autoplay.onVisibilityChange),t.autoplay.attachMouseEvents())},beforeTransitionStart:function(t,e,n){t.autoplay.running&&(n||!t.params.autoplay.disableOnInteraction?t.autoplay.pause(e):t.autoplay.stop())},sliderFirstMove:function(t){t.autoplay.running&&(t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause())},touchEnd:function(t){t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&t.autoplay.run()},destroy:function(t){t.autoplay.detachMouseEvents(),t.autoplay.running&&t.autoplay.stop(),o().removeEventListener("visibilitychange",t.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){_(this,{fadeEffect:e({},ct)})},on:{beforeInit:function(t){if("fade"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};b(t.params,e),b(t.originalParams,e)}},setTranslate:function(t){"fade"===t.params.effect&&t.fadeEffect.setTranslate()},setTransition:function(t,e){"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){_(this,{cubeEffect:e({},ut)})},on:{beforeInit:function(t){if("cube"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"cube"),t.classNames.push(t.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};b(t.params,e),b(t.originalParams,e)}},setTranslate:function(t){"cube"===t.params.effect&&t.cubeEffect.setTranslate()},setTransition:function(t,e){"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){_(this,{flipEffect:e({},ht)})},on:{beforeInit:function(t){if("flip"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"flip"),t.classNames.push(t.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};b(t.params,e),b(t.originalParams,e)}},setTranslate:function(t){"flip"===t.params.effect&&t.flipEffect.setTranslate()},setTransition:function(t,e){"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){_(this,{coverflowEffect:e({},pt)})},on:{beforeInit:function(t){"coverflow"===t.params.effect&&(t.classNames.push(t.params.containerModifierClass+"coverflow"),t.classNames.push(t.params.containerModifierClass+"3d"),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},setTranslate:function(t){"coverflow"===t.params.effect&&t.coverflowEffect.setTranslate()},setTransition:function(t,e){"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){_(this,{thumbs:e({swiper:null,initialized:!1},ft)})},on:{beforeInit:function(t){var e=t.params.thumbs;e&&e.swiper&&(t.thumbs.init(),t.thumbs.update(!0))},slideChange:function(t){t.thumbs.swiper&&t.thumbs.update()},update:function(t){t.thumbs.swiper&&t.thumbs.update()},resize:function(t){t.thumbs.swiper&&t.thumbs.update()},observerUpdate:function(t){t.thumbs.swiper&&t.thumbs.update()},setTransition:function(t,e){var n=t.thumbs.swiper;n&&n.setTransition(e)},beforeDestroy:function(t){var e=t.thumbs.swiper;e&&t.thumbs.swiperCreated&&e&&e.destroy()}}}];return V.use(mt),V}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";function e(t){for(var e,n,i=1,o=arguments.length;i<o;i++)for(e in n=arguments[i])t[e]=n[e];return t}function n(){}function i(t,e){var n,i=Array.prototype.slice;
vendor: 8,959 bytes, line 11
11return t.bind?t.bind.apply(t,i.call(arguments,1)):(n=i.call(arguments,2),function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)})}function o(t){return"_leaflet_id"in t||(t._leaflet_id=++Ut),t._leaflet_id}function a(t,e,n){var i,o,a=function(){i=!1,o&&(s.apply(n,o),o=!1)},s=function(){i?o=arguments:(t.apply(n,arguments),setTimeout(a,e),i=!0)};return s}function s(t,e,n){var i=e[1],o=i-(e=e[0]);return t===i&&n?t:((t-e)%o+o)%o+e}function r(){return!1}function l(t,e){return!1===e?t:(e=Math.pow(10,void 0===e?6:e),Math.round(t*e)/e)}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function c(t){return d(t).split(/\s+/)}function u(t,e){for(var n in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?Gt(t.options):{}),e)t.options[n]=e[n];return t.options}function h(t,e,n){var i,o=[];for(i in t)o.push(encodeURIComponent(n?i.toUpperCase():i)+"="+encodeURIComponent(t[i]));return(e&&-1!==e.indexOf("?")?"&":"?")+o.join("&")}function p(t,e){return t.replace(Xt,function(t,n){if(void 0===(n=e[n]))throw new Error("No value provided for variable "+t);return"function"==typeof n?n(e):n})}function f(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}function m(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}function g(t){var e=+new Date,n=Math.max(0,16-(e-Jt));return Jt=e+n,window.setTimeout(t,n)}function v(t,e,n){if(!n||te!==g)return te.call(window,i(t,e));t.call(e)}function y(t){t&&ee.call(window,t)}function b(){}function _(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}function w(t,e,n){return t instanceof _?t:Kt(t)?new _(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new _(t.x,t.y):new _(t,e,n)}function x(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i<o;i++)this.extend(n[i])}function T(t,e){return!t||t instanceof x?t:new x(t,e)}function C(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;i<o;i++)this.extend(n[i])}function S(t,e){return t instanceof C?t:new C(t,e)}function E(t,e,n){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function k(t,e,n){return t instanceof E?t:Kt(t)&&"object"!=typeof t[0]?3===t.length?new E(t[0],t[1],t[2]):2===t.length?new E(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new E(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new E(t,e,n)}function M(t,e,n,i){Kt(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=n,this._d=i)}function P(t,e,n,i){return new M(t,e,n,i)}function D(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function O(t,e){for(var n,i,o,a,s="",r=0,l=t.length;r<l;r++){for(n=0,i=(o=t[r]).length;n<i;n++)s+=(n?"L":"M")+(a=o[n]).x+" "+a.y;s+=e?Ge.svg?"z":"x":""}return s||"M0 0"}function $(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}function z(t,e,n){return"touchstart"!==e||nn||(document.addEventListener(Ue,I,!0),document.addEventListener(Xe,A,!0),document.addEventListener(Ke,N,!0),document.addEventListener(Qe,N,!0),nn=!0),tn[e]?(n=tn[e].bind(this,n),t.addEventListener(Je[e],n,!1),n):(console.warn("wrong event specified:",e),r)}function I(t){en[t.pointerId]=t}function A(t){en[t.pointerId]&&(en[t.pointerId]=t)}function N(t){delete en[t.pointerId]}function R(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],en)e.touches.push(en[n]);e.changedTouches=[e],t(e)}}function H(t,e){function n(t){var n;1!==t.detail?i=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||(n=bt(t)).some(function(t){return t instanceof HTMLLabelElement&&t.attributes.for})&&!n.some(function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement})||((n=Date.now())-o<=on?2===++i&&e(function(t){var e,n,i={};for(n in t)e=t[n],i[n]=e&&e.bind?e.bind(t):e;return(t=i).type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(t)):i=1,o=n)}t.addEventListener("dblclick",e);var i,o=0;return t.addEventListener("click",n),{dblclick:e,simDblclick:n}}function B(t){return"string"==typeof t?document.getElementById(t):t}function j(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(n=n&&"auto"!==n||!document.defaultView?n:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:n}function F(t,e,n){return(t=document.createElement(t)).className=e||"",n&&n.appendChild(t),t}function Y(t){var e=t.parentNode;e&&e.removeChild(t)}function W(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Z(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function q(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function V(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=K(t)).length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function G(t,e){var n;if(void 0!==t.classList)for(var i=c(e),o=0,a=i.length;o<a;o++)t.classList.add(i[o]);else V(t,e)||X(t,((n=K(t))?n+" ":"")+e)}function U(t,e){void 0!==t.classList?t.classList.remove(e):X(t,d((" "+K(t)+" ").replace(" "+e+" "," ")))}function X(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function K(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function Q(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(t){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}}function J(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function tt(t,e,n){e=e||new _(0,0),t.style[an]=(Ge.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(n?" scale("+n+")":"")}function et(t,e){t._leaflet_pos=e,Ge.any3d?tt(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function nt(t){return t._leaflet_pos||new _(0,0)}function it(){dt(window,"dragstart",vt)}function ot(){ct(window,"dragstart",vt)}function at(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(st(),fe=(pe=t).style.outlineStyle,t.style.outlineStyle="none",dt(window,"keydown",st))}function st(){pe&&(pe.style.outlineStyle=fe,fe=pe=void 0,ct(window,"keydown",st))}function rt(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function lt(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}function dt(t,e,n,i){if(e&&"object"==typeof e)for(var o in e)ht(t,o,e[o],n);else for(var a=0,s=(e=c(e)).length;a<s;a++)ht(t,e[a],n,i);return this}function ct(t,e,n,i){if(1===arguments.length)ut(t),delete t[dn];else if(e&&"object"==typeof e)for(var o in e)pt(t,o,e[o],n);else if(e=c(e),2===arguments.length)ut(t,function(t){return-1!==f(e,t)});else for(var a=0,s=e.length;a<s;a++)pt(t,e[a],n,i);return this}function ut(t,e){for(var n in t[dn]){var i=n.split(/\d/)[0];e&&!e(i)||pt(t,i,null,null,n)}}function ht(t,e,n,i){var a,s,r=e+o(n)+(i?"_"+o(i):"");t[dn]&&t[dn][r]||(s=a=function(e){return n.call(i||t,e||window.event)},!Ge.touchNative&&Ge.pointer&&0===e.indexOf("touch")?a=z(t,e,a):Ge.touch&&"dblclick"===e?a=H(t,a):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(cn[e]||e,a,!!Ge.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(cn[e],a=function(e){e=e||window.event,xt(t,e)&&s(e)},!1):t.addEventListener(e,s,!1):t.attachEvent("on"+e,a),t[dn]=t[dn]||{},t[dn][r]=a)}function pt(t,e,n,i,a){var s,r;a=a||e+o(n)+(i?"_"+o(i):""),(n=t[dn]&&t[dn][a])&&(!Ge.touchNative&&Ge.pointer&&0===e.indexOf("touch")?(i=t,r=n,Je[s=e]?i.removeEventListener(Je[s],r,!1):console.warn("wrong event specified:",s)):Ge.touch&&"dblclick"===e?(i=n,(r=t).removeEventListener("dblclick",i.dblclick),r.removeEventListener("click",i.simDblclick)):"removeEventListener"in t?t.removeEventListener(cn[e]||e,n,!1):t.detachEvent("on"+e,n),t[dn][a]=null)}function ft(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function mt(t){return ht(t,"wheel",ft),this}function gt(t){return dt(t,"mousedown touchstart dblclick contextmenu",ft),t._leaflet_disable_click=!0,this}function vt(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function yt(t){return vt(t),ft(t),this}function bt(t){if(t.composedPath)return t.composedPath();for(var e=[],n=t.target;n;)e.push(n),n=n.parentNode;return e}function _t(t,e){var n,i;return e?(i=(n=lt(e)).boundingClientRect,new _((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)):new _(t.clientX,t.clientY)}function wt(t){return Ge.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/un:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail
vendor: 2,882 bytes, line 11
11:t.detail?t.detail/-32765*60:0}function xt(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}function Tt(t){return new fn(t)}function Ct(t,e,n){for(var i,o,a,s,r,l,d,c=[1,4,2,8],u=0,h=t.length;u<h;u++)t[u]._code=Dt(t[u],e);for(a=0;a<4;a++){for(l=c[a],i=[],u=0,o=(h=t.length)-1;u<h;o=u++)s=t[u],r=t[o],s._code&l?r._code&l||((d=Lt(r,s,l,e,n))._code=Dt(d,e),i.push(d)):(r._code&l&&((d=Lt(r,s,l,e,n))._code=Dt(d,e),i.push(d)),i.push(s));t=i}return t}function St(t,e){var n,i,o,a,s,r,l;if(!t||0===t.length)throw new Error("latlngs not passed");$t(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var d=k([0,0]),c=S(t),u=(c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(d=Et(t)),t.length),h=[],p=0;p<u;p++){var f=k(t[p]);h.push(e.project(k([f.lat-d.lat,f.lng-d.lng])))}for(p=s=r=l=0,n=u-1;p<u;n=p++)i=h[p],o=h[n],a=i.y*o.x-o.y*i.x,r+=(i.x+o.x)*a,l+=(i.y+o.y)*a,s+=3*a;return c=0===s?h[0]:[r/s,l/s],k([(c=e.unproject(w(c))).lat+d.lat,c.lng+d.lng])}function Et(t){for(var e=0,n=0,i=0,o=0;o<t.length;o++){var a=k(t[o]);e+=a.lat,n+=a.lng,i++}return k([e/i,n/i])}function kt(t,e){if(e&&t.length){var n=t=function(t,e){for(var n=[t[0]],i=1,o=0,a=t.length;i<a;i++)(function(t,e){var n=e.x-t.x;return n*n+(e=e.y-t.y)*e})(t[i],t[o])>e&&(n.push(t[i]),o=i);return o<a-1&&n.push(t[a-1]),n}(t,e*=e),i=n.length,o=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);o[0]=o[i-1]=1,function t(e,n,i,o,a){var s,r,l,d=0;for(r=o+1;r<=a-1;r++)d<(l=Ot(e[r],e[o],e[a],!0))&&(s=r,d=l);i<d&&(n[s]=1,t(e,n,i,o,s),t(e,n,i,s,a))}(n,o,e,0,i-1);var a,s=[];for(a=0;a<i;a++)o[a]&&s.push(n[a]);return s}return t.slice()}function Mt(t,e,n){return Math.sqrt(Ot(t,e,n,!0))}function Pt(t,e,n,i,o){var a,s,r,l=i?ln:Dt(t,n),d=Dt(e,n);for(ln=d;;){if(!(l|d))return[t,e];if(l&d)return!1;r=Dt(s=Lt(t,e,a=l||d,n,o),n),a===l?(t=s,l=r):(e=s,d=r)}}function Lt(t,e,n,i,o){var a,s,r=e.x-t.x,l=(e=e.y-t.y,i.min);i=i.max;return 8&n?(a=t.x+r*(i.y-t.y)/e,s=i.y):4&n?(a=t.x+r*(l.y-t.y)/e,s=l.y):2&n?(a=i.x,s=t.y+e*(i.x-t.x)/r):1&n&&(a=l.x,s=t.y+e*(l.x-t.x)/r),new _(a,s,o)}function Dt(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function Ot(t,e,n,i){var o=e.x,a=(e=e.y,n.x-o),s=n.y-e,r=a*a+s*s;return 0<r&&(1<(r=((t.x-o)*a+(t.y-e)*s)/r)?(o=n.x,e=n.y):0<r&&(o+=a*r,e+=s*r)),a=t.x-o,s=t.y-e,i?a*a+s*s:new _(o,e)}function $t(t){return!Kt(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function zt(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),$t(t)}function It(t,e){var n,i,o,a,s,r;if(!t||0===t.length)throw new Error("latlngs not passed");$t(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var l=k([0,0]),d=S(t),c=(d.getNorthWest().distanceTo(d.getSouthWest
vendor: 10,799 bytes, lines 11-12
11())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(l=Et(t)),t.length),u=[],h=0;h<c;h++){var p=k(t[h]);u.push(e.project(k([p.lat-l.lat,p.lng-l.lng])))}for(n=h=0;h<c-1;h++)n+=u[h].distanceTo(u[h+1])/2;if(0===n)r=u[0];else for(i=h=0;h<c-1;h++)if(o=u[h],a=u[h+1],n<(i+=s=o.distanceTo(a))){r=[a.x-(s=(i-n)/s)*(a.x-o.x),a.y-s*(a.y-o.y)];break}return k([(d=e.unproject(w(r))).lat+l.lat,d.lng+l.lng])}function At(t,e){var n,i,o,a,s="Feature"===t.type?t.geometry:t,r=s?s.coordinates:null,l=[],d=e&&e.pointToLayer,c=e&&e.coordsToLatLng||Rt;if(!r&&!s)return null;switch(s.type){case"Point":return Nt(d,t,n=c(r),e);case"MultiPoint":for(o=0,a=r.length;o<a;o++)n=c(r[o]),l.push(Nt(d,t,n,e));return new Tn(l);case"LineString":case"MultiLineString":return i=Ht(r,"LineString"===s.type?0:1,c),new Dn(i,e);case"Polygon":case"MultiPolygon":return i=Ht(r,"Polygon"===s.type?1:2,c),new On(i,e);case"GeometryCollection":for(o=0,a=s.geometries.length;o<a;o++){var u=At({geometry:s.geometries[o],type:"Feature",properties:t.properties},e);u&&l.push(u)}return new Tn(l);case"FeatureCollection":for(o=0,a=s.features.length;o<a;o++){var h=At(s.features[o],e);h&&l.push(h)}return new Tn(l);default:throw new Error("Invalid GeoJSON object.")}}function Nt(t,e,n,i){return t?t(e,n):new kn(n,i&&i.markersInheritOptions&&i)}function Rt(t){return new E(t[1],t[0],t[2])}function Ht(t,e,n){for(var i,o=[],a=0,s=t.length;a<s;a++)i=e?Ht(t[a],e-1,n):(n||Rt)(t[a]),o.push(i);return o}function Bt(t,e){return void 0!==(t=k(t)).alt?[l(t.lng,e),l(t.lat,e),l(t.alt,e)]:[l(t.lng,e),l(t.lat,e)]}function jt(t,e,n,i){for(var o=[],a=0,s=t.length;a<s;a++)o.push(e?jt(t[a],$t(t[a])?0:e-1,n,i):Bt(t[a],i));return!e&&n&&0<o.length&&o.push(o[0].slice()),o}function Ft(t,n){return t.feature?e({},t.feature,{geometry:n}):Yt(n)}function Yt(t){
12return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function Wt(t,e){return new $n(t,e)}function Zt(t,e){return new Fn(t,e)}function qt(t){return Ge.canvas?new Zn(t):null}function Vt(t){return Ge.svg||Ge.vml?new Gn(t):null}var Gt=Object.create||function(t){return n.prototype=t,new n},Ut=0,Xt=/\{ *([\w_ -]+) *\}/g,Kt=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},Qt="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",Jt=0,te=window.requestAnimationFrame||m("RequestAnimationFrame")||g,ee=window.cancelAnimationFrame||m("CancelAnimationFrame")||m("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)},ne={__proto__:null,extend:e,create:Gt,bind:i,get lastId(){return Ut},stamp:o,throttle:a,wrapNum:s,falseFn:r,formatNum:l,trim:d,splitWords:c,setOptions:u,getParamString:h,template:p,isArray:Kt,indexOf:f,emptyImageUrl:Qt,requestFn:te,cancelFn:ee,requestAnimFrame:v,cancelAnimFrame:y};b.extend=function(t){function n(){u(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var i,o=n.__super__=this.prototype,a=Gt(o);for(i in(a.constructor=n).prototype=a,this)Object.prototype.hasOwnProperty.call(this,i)&&"prototype"!==i&&"__super__"!==i&&(n[i]=this[i]);if(t.statics&&e(n,t.statics),t.includes){var s=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){s=Kt(s)?s:[s];for(var r=0;r<s.length;r++)s[r]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}e.apply(null,[a].concat(t.includes))}return e(a,t),delete a.statics,delete a.includes,a.options&&(a.options=o.options?Gt(o.options):{},e(a.options,t.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=a._initHooks.length;t<e;t++)a._initHooks[t].call(this)}},n},b.include=function(t){var n=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=n,this.mergeOptions(t.options)),this},b.mergeOptions=function(t){return e(this.prototype.options,t),this},b.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var ie={on:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e);else for(var o=0,a=(t=c(t)).length;o<a;o++)this._on(t[o],e,n);return this},off:function(t,e,n){if(arguments.length)if("object"==typeof t)for(var i in t)this._off(i,t[i],e);else{t=c(t);for(var o=1===arguments.length,a=0,s=t.length;a<s;a++)o?this._off(t[a]):this._off(t[a],e,n)}else delete this._events;return this},_on:function(t,e,n,i){"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1===this._listens(t,e,n)&&(e={fn:e,ctx:n=n===this?void 0:n},i&&(e.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e))},_off:function(t,e,n){var i,o,a;if(this._events&&(i=this._events[t]))if(1===arguments.length){if(this._firingCount)for(o=0,a=i.length;o<a;o++)i[o].fn=r;delete this._events[t]}else"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1!==(e=this._listens(t,e,n))&&(n=i[e],this._firingCount&&(n.fn=r,this._events[t]=i=i.slice()),i.splice(e,1))},fire:function(t,n,i){if(this.listens(t,i)){var o=e({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var a=this._events[t];if(a){this._firingCount=this._firingCount+1||1;for(var s=0,r=a.length;s<r;s++){var l=a[s],d=l.fn;l.once&&this.off(t,d,l.ctx),d.call(l.ctx||this,o)}this._firingCount--}}i&&this._propagateEvent(o)}return this},listens:function(t,e,n,i){"string"!=typeof t&&console.warn('"string" type argument expected');var o=e,a=("function"!=typeof e&&(i=!!e,n=o=void 0),this._events&&this._events[t]);if(a&&a.length&&!1!==this._listens(t,o,n))return!0;if(i)for(var s in this._eventParents)if(this._eventParents[s].listens(t,e,n,i))return!0;return!1},_listens:function(t,e,n){if(this._events){var i=this._events[t]||[];if(!e)return!!i.length;n===this&&(n=void 0);for(var o=0,a=i.length;o<a;o++)if(i[o].fn===e&&i[o].ctx===n)return o}return!1},once:function(t,e,n){if("object"==typeof t)for(var i in t)this._on(i,t[i],e,!0);else for(var o=0,a=(t=c(t)).length;o<a;o++)this._on(t[o],e,n,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[o(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[o(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}},oe=(ie.addEventListener=ie.on,ie.removeEventListener=ie.clearAllEventListeners=ie.off,ie.addOneTimeEventListener=ie.once,ie.fireEvent=ie.fire,ie.hasEventListeners=ie.listens,b.extend(ie)),ae=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};_.prototype={clone:function(){return new _(this.x,this.y)},add:function(t){return this.clone()._add(w(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(w(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new _(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new _(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ae(this.x),this.y=ae(this.y),this},distanceTo:function(t){var e=(t=w(t)).x-this.x;t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=w(t)).x===this.x&&t.y===this.y},contains:function(t){return t=w(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+l(this.x)+", "+l(this.y)+")"}},x.prototype={extend:function(t){var e,n;if(t){if(t instanceof _||"number"==typeof t[0]||"x"in t)e=n=w(t);else if(e=(t=T(t)).min,n=t.max,!e||!n)return this;this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=e.clone(),this.max=n.clone())}return this},getCenter:function(t){return w((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return w(this.min.x,this.max.y)},getTopRight:function(){return w(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return(t=("number"==typeof t[0]||t instanceof _?w:T)(t))instanceof x?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=T(t);var e=this.min,n=this.max,i=t.min,o=(t=t.max).x>=e.x&&i.x<=n.x;t=t.y>=e.y&&i.y<=n.y;return o&&t},overlaps:function(t){t=T(t);var e=this.min,n=this.max,i=t.min,o=(t=t.max).x>e.x&&i.x<n.x;t=t.y>e.y&&i.y<n.y;return o&&t},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,n=this.max,i=Math.abs(e.x-n.x)*t;t=Math.abs(e.y-n.y)*t;return T(w(e.x-i,e.y-t),w(n.x+i,n.y+t))},equals:function(t){return!!t&&(t=T(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},C.prototype={extend:function(t){var e,n,i=this._southWest,o=this._northEast;if(t instanceof E)n=e=t;else{if(!(t instanceof C))return t?this.extend(k(t)||S(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return i||o?(i.lat=Math.min(e.lat,i.lat),i.lng=Math.min(e.lng,i.lng),o.lat=Math.max(n.lat,o.lat),o.lng=Math.max(n.lng,o.lng)):(this._southWest=new E(e.lat,e.lng),this._northEast=new E(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t;t=Math.abs(e.lng-n.lng)*t;return new C(new E(e.lat-i,e.lng-t),new E(n.lat+i,n.lng+t))},getCenter:function(){return new E((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new E(this.getNorth(),this.getWest())},getSouthEast:function(){return new E(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,396 bytes, line 12
12,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof E||"lat"in t?k:S)(t);var e,n,i=this._southWest,o=this._northEast;return t instanceof C?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=o.lat&&e.lng>=i.lng&&n.lng<=o.lng},intersects:function(t){t=S(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=(t=t.getNorthEast()).lat>=e.lat&&i.lat<=n.lat;t=t.lng>=e.lng&&i.lng<=n.lng;return o&&t},overlaps:function(t){t=S(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),o=(t=t.getNorthEast()).lat>e.lat&&i.lat<n.lat;t=t.lng>e.lng&&i.lng<n.lng;return o&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=S(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var se={latLngToPoint:function(t,e){return t=this.projection.project(t),e=this.scale(e),this.transformation._transform(t,e)},pointToLatLng:function(t,e){return e=this.scale(e),t=this.transformation.untransform(t,e),this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new x(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:!(E.prototype={equals:function(t,e){return!!t&&(t=k(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+l(this.lat,t)+", "+l(this.lng,t)+")"},distanceTo:function(t){return re.distance(this,k(t))},wrap:function(){return re.wrapLatLng(this)},toBounds:function(t){var e=(t=180*t/40075017)/Math.cos(Math.PI/180*this.lat);return S([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new E(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?s(t.lng,this.wrapLng,!0):t.lng;return new E(this.wrapLat?s(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),i=e.lat-n.lat;e=e.lng-n.lng;
12return 0==i&&0==e?t:(n=t.getSouthWest(),t=t.getNorthEast(),new C(new E(n.lat-i,n.lng-e),new E(t.lat-i,t.lng-e)))}},re=e({},se,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,i=t.lat*n,o=e.lat*n,a=Math.sin((e.lat-t.lat)*n/2);e=Math.sin((e.lng-t.lng)*n/2),t=a*a+Math.cos(i)*Math.cos(o)*e*e,n=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*n}}),le={R:le=6378137,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE;n=Math.max(Math.min(n,t.lat),-n),n=Math.sin(n*e);return new _(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new E((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new x([-(le*=Math.PI),-le],[le,le])};M.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new _((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var de,ce,ue,he,pe,fe,me=e({},re,{code:"EPSG:3857",projection:le,transformation:P(me=.5/(Math.PI*le.R),.5,-me,.5)}),ge=e({},me,{code:"EPSG:900913"}),ve=document.documentElement.style,ye="ActiveXObject"in window,be=ye&&!document.addEventListener,_e="msLaunchUri"in navigator&&!("documentMode"in document),we=$("webkit"),xe=$("android"),Te=$("android 2")||$("android 3"),Ce=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Se=(Ce=xe&&$("Google")&&Ce<537&&!("AudioNode"in window),!!window.opera),Ee=!_e&&$("chrome"),ke=$("gecko")&&!we&&!Se&&!ye,Me=!Ee&&$("safari"),Pe=$("phantom"),Le="OTransition"in ve,De=0===navigator.platform.indexOf("Win"),Oe=ye&&"transition"in ve,$e="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Te,ze=(ve="MozPerspective"in ve,!window.L_DISABLE_3D&&(Oe||$e||ve)&&!Le&&!Pe),Ie=(Xn="undefined"!=typeof orientation||$("mobile"))&&we,Ae=Xn&&$e,Ne=!window.PointerEvent&&window.MSPointerEvent,Re=!(!window.PointerEvent&&!Ne),He="ontouchstart"in window||!!window.TouchEvent,Be=!window.L_NO_TOUCH&&(He||Re),je=Xn&&Se,Fe=Xn&&ke,Ye=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),We=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",r,e),window.removeEventListener("testPassiveEventSupport",r,e)}catch(t){}return t}(),Ze=!!document.createElement("canvas").getContext,qe=!(!document.createElementNS||!D("svg").createSVGRect),Ve=!!qe&&((Ve=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Ve.firstChild&&Ve.firstChild.namespaceURI)),Ge={ie:ye,ielt9:be,edge:_e,webkit:we,android:xe,android23:Te,androidStock:Ce,opera:Se,chrome:Ee,gecko:ke,safari:Me,phantom:Pe,opera12:Le,win:De,ie3d:Oe,webkit3d:$e,gecko3d:ve,any3d:ze,mobile:Xn,mobileWebkit:Ie,mobileWebkit3d:Ae,msPointer:Ne,pointer:Re,touch:Be,touchNative:He,mobileOpera:je,mobileGecko:Fe,retina:Ye,passiveEvents:We,canvas:Ze,svg:qe,vml:!qe&&function(){try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),inlineSvg:Ve,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Ue=Ge.msPointer?"MSPointerDown":"pointerdown",Xe=Ge.msPointer?"MSPointerMove":"pointermove",Ke=Ge.msPointer?"MSPointerUp":"pointerup",Qe=Ge.msPointer?"MSPointerCancel":"pointercancel",Je={touchstart:Ue,touchmove:Xe,touchend:Ke,touchcancel:Qe},tn={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&vt(e),R(t,e)},touchmove:R,touchend:R,touchcancel:R},en={},nn=!1,on=200,an=J(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),sn=J(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),rn="webkitTransition"===sn||"OTransition"===sn?sn+"End":"transitionend";he="onselectstart"in document?(ue=function(){dt(window,"selectstart",vt)},function(){ct(window,"selectstart",vt)}):(ce=J(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),ue=function(){var t;ce&&(t=document.documentElement.style,de=t[ce],t[ce]="none")},function(){ce&&(document.documentElement.style[ce]=de,de=void 0)}),ye={__proto__:null,TRANSFORM:an,TRANSITION:sn,TRANSITION_END:rn,get:B,getStyle:j,create:F,remove:Y,empty:W,toFront:Z,toBack:q,hasClass:V,addClass:G,removeClass:U,setClass:X,getClass:K,setOpacity:Q,testProp:J,setTransform:tt,setPosition:et,getPosition:nt,get disableTextSelection(){return ue},get enableTextSelection(){return he},disableImageDrag:it,enableImageDrag:ot,preventOutline:at,restoreOutline:st,getSizedParentNode:rt,getScale:lt};var ln,dn="_leaflet_events",cn={mouseenter:"mouseover",mouseleave:"mou
12seout",wheel:!("onwheel"in window)&&"mousewheel"},un=Ge.linux&&Ge.chrome?window.devicePixelRatio:Ge.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:1,hn=(be={__proto__:null,on:dt,off:ct,stopPropagation:ft,disableScrollPropagation:mt,disableClickPropagation:gt,preventDefault:vt,stop:yt,getPropagationPath:bt,getMousePosition:_t,getWheelDelta:wt,isExternalTarget:xt,addListener:dt,removeListener:ct},oe.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=nt(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=v(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t)),e&&t._round(),et(this._el,t),this.fire("step")},_complete:function(){y(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}})),pn=oe.extend({options:{crs:me,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=u(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(k(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=sn&&Ge.any3d&&!Ge.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),dt(this._proxy,rn,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter(k(t),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=e({animate:i.animate},i.zoom),i.pan=e({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,i.zoom):this._tryAnimatedPan(t,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n,i.pan&&i.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(Ge.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(Ge.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),o=this.getSize().divideBy(2);t=(t instanceof _?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/i),i=this.containerPointToLatLng(o.add(t));return this.setView(i,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():S(t);var n=w(e.paddingTopLeft||e.padding||[0,0]),i=w(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,n.add(i));return(o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0?{center:t.getCenter(),zoom:o}
vendor: 4,092 bytes, line 12
12:(e=i.subtract(n).divideBy(2),i=this.project(t.getSouthWest(),o),n=this.project(t.getNorthEast(),o),{center:this.unproject(i.add(n).divideBy(2).add(e),o),zoom:o})},fitBounds:function(t,e){if((t=S(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw new Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var n;return e=e||{},(t=w(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new hn,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(G(this._mapPane,"leaflet-pan-anim"),n=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(t,e,n){function i(t){return t=(h*h-u*u+(t?-1:1)*m*m*p*p)/(2*(t?h:u)*m*p),(t=Math.sqrt(t*t+1)-t)<1e-9?-18:Math.log(t)}function o(t){return(Math.exp(t)-Math.exp(-t))/2}function a(t){return(Math.exp(t)+Math.exp(-t))/2}function s(t){return u*(a(g)*(o(t=g+f*t)/a(t))-o(g))/m}if(!1===(n=n||{}).animate||!Ge.any3d)return this.setView(t,e,n);this._stop();var r=this.project(this.getCenter()),l=this.project(t),d=this.getSize(),c=this._zoom,u=(t=k(t),e=void 0===e?c:e,Math.max(d.x,d.y)),h=u*this.getZoomScale(c,e),p=l.distanceTo(r)||1,f=1.42,m=f*f,g=i(0),y=Date.now(),b=(i(1)-g)/f,_=n.duration?1e3*n.duration:1e3*b*.8;return this._moveStart(!0,n.noMoveStart),function n(){var i=(Date.now()-y)/_,o=(1-Math.pow(1-i,1.5))*b;i<=1?(this._flyToFrame=v(n,this),this._move(this.unproject(r.add(l.subtract(r).multiplyBy(s(o)/p)),c),this.getScaleZoom(u/(i=o,u*(a(g)/a(g+f*i))),c),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){return t=this._getBoundsCenterZoom(t,e),this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return t=S(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter();t=this._limitCenter(n,this._zoom,S(t));return n.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=w((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=w(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),a=(t=this.project(t),(n=T([(a=this.getPixelBounds()).min.add(n),a.max.subtract(i)])).getSize());return n.contains(t)||(this._enforcingBounds=!0,i=t.subtract(n.getCenter()),n=n.extend(t).getSize().subtract(a),o.x+=i.x<0?-n.x:n.x,o.y+=i.y<0?-n.y:n.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize(),o=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),a=n.divideBy(2).round(),s=o.divideBy(2).round();return(a=a.subtract(s)).x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var n,o;
vendor: 10,968 bytes, lines 12-13
12return t=this._locateOptions=e({timeout:1e4,watch:!1},t),"geolocation"in navigator?(n=i(this._handleGeolocationResponse,this),o=i(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e;this._container._leaflet_id&&(e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."}))},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e,n,i=new E(t.coords.latitude,t.coords.longitude),o=i.toBounds(2*t.coords.accuracy),a=this._locateOptions,s=(a.setView&&(e=this.getBoundsZoom(o),this.setView(i,a.maxZoom?Math.min(e,a.maxZoom):e)),{latlng:i,bounds:o,timestamp:t.timestamp});for(n in t.coords)"number"==typeof t.coords[n]&&(s[n]=t.coords[n]);this.fire("locationfound",s)}},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t]&&e.enable()),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),Y(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(y(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)Y(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){return e=F("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane),t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new C(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=S(t),n=w(n||[0,0]);var i=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),s=t.getNorthWest(),r=(t=t.getSouthEast(),n=this.getSize().subtract(n),t=T(this.project(t,i),this.project(s,i)).getSize(),s=Ge.any3d?this.options.zoomSnap:1,n.x/t.x);n=n.y/t.y,t=e?Math.max(r,n):Math.min(r,n),i=this.getScaleZoom(t,i);return s&&(i=Math.round(i/(s/100))*(s/100),i=e?Math.ceil(i/s)*s:Math.floor(i/s)*s),Math.max(o,Math.min(a,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new _(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){return new x(t=this._getTopLeftPoint(t,e),t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e,t=n.zoom(t*n.scale(e));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(k(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(w(t),e)},layerPointToLatLng:function(t){return t=w(t).add(this.getPixelOrigin()),this.unproject(t)},latLngToLayerPoint:function(t){return this.project(k(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(k(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(S(t))},distance:function(t,e){return this.options.crs.distance(k(t),k(e))},containerPointToLayerPoint:function(t){return w(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return w(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){return t=this.containerPointToLayerPoint(w(t)),this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(k(t)))},mouseEventToContainerPoint:function(t){return _t(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){if(!(t=this._container=B(t)))throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");dt(t,"scroll",this._onScroll,this),this._containerId=o(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&Ge.any3d,G(t,"leaflet-container"+(Ge.touch?" leaflet-touch":"")+(Ge.retina?" leaflet-retina":"")+(Ge.ielt9?" leaflet-oldie":"")+(Ge.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),j(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),et(this._mapPane,new _(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(G(t.markerPane,"leaflet-zoom-hide"),G(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,n){et(this._mapPane,new _(0,0));var i=!this._loaded,o=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(o,n)._move(t,e)._moveEnd(o),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n,i){void 0===e&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),i?n&&n.pinch&&this.fire("zoom",n):((o||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return y(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){et(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?ct:dt;e((this._targets[o(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),Ge.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){y(this._resizeRequest),this._resizeRequest=v(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],a="mouseout"===e||"mouseover"===e,s=t.target||t.srcElement,r=!1;s;){if((n=this._targets[o(s)])&&("click"===e||"preclick"===e)&&this._draggableMoved(n)){r=!0;break}if(n&&n.listens(e,!0)){if(a&&!xt(s,t))break;if(i.push(n),a)break}if(s===this._container)break;s=s.parentNode}return i.length||r||a||!this.listens(e,!0)?i:[this]},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e,n=t.target||t.srcElement
13;!this._loaded||n._leaflet_disable_events||"click"===t.type&&this._isClickDisabled(n)||("mousedown"===(e=t.type)&&at(n),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){"click"===t.type&&((l=e({},t)).type="preclick",this._fireDOMEvent(l,l.type,i));var o=this._findEventTargets(t,n);if(i){for(var a=[],s=0;s<i.length;s++)i[s].listens(n,!0)&&a.push(i[s]);o=a.concat(o)}if(o.length){"contextmenu"===n&&vt(t);var r,l=o[0],d={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(r=l.getLatLng&&(!l._radius||l._radius<=10),d.containerPoint=r?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(t),d.layerPoint=this.containerPointToLayerPoint(d.containerPoint),d.latlng=r?l.getLatLng():this.layerPointToLatLng(d.layerPoint)),s=0;s<o.length;s++)if(o[s].fire(n,d,!0),d.originalEvent._stopped||!1===o[s].options.bubblingMouseEvents&&-1!==f(this._mouseEvents,n))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return nt(this._mapPane)||new _(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){return n=this._getNewPixelOrigin(n,e),this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,n){return n=this._getNewPixelOrigin(n,e),T([this.project(t.getSouthWest
vendor: 4,487 bytes, line 13
13(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){var i,o;return!n||(i=this.project(t,e),o=this.getSize().divideBy(2),o=new x(i.subtract(o),i.add(o)),o=this._getBoundsOffset(o,n,e),Math.abs(o.x)<=1&&Math.abs(o.y)<=1)?t:this.unproject(i.add(o),e)},_limitOffset:function(t,e){var n;return e?(n=new x((n=this.getPixelBounds()).min.add(t),n.max.add(t)),t.add(this._getBoundsOffset(n,e))):t},_getBoundsOffset:function(t,e,n){return n=(e=T(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n))).min.subtract(t.min),e=e.max.subtract(t.max),new _(this._rebound(n.x,-e.x),this._rebound(n.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=Ge.any3d?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){U(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){return t=this._getCenterOffset(t)._trunc(),!(!0!==(e&&e.animate)&&!this.getSize().contains(t)||(this.panBy(t,e),0))},_createAnimProxy:function(){var t=this._proxy=F("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=an,n=this._proxy.style[e];tt(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Y(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();tt(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(!this._animatingZoom){if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e);i=this._getCenterOffset(t)._divideBy(1-1/i);if(!0!==n.animate&&!this.getSize().contains(i))return!1;v(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,e,!0)},this)}return!0},_animateZoom:function(t,e,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,G(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&U(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),fn=b.extend({options:{position:"topright"},initialize:function(t){u(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition();t=t._controlCorners[n];return G(e,"leaflet-control"),-1!==n.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(Y(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),mn=(pn.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 7,297 bytes, line 13
13,_initControlPos:function(){function t(t,o){e[t+o]=F("div",n+t+" "+n+o,i)}var e=this._controlCorners={},n="leaflet-",i=this._controlContainer=F("div",n+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Y(this._controlCorners[t]);Y(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),fn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n<i?-1:i<n?1:0}},initialize:function(t,e,n){for(var i in u(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return fn.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){return t.off("add remove",this._onLayerChange,this),(t=this._getLayer(o(t)))&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){G(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(G(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):U(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return U(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=F("div",t),n=this.options.collapsed,i=(e.setAttribute("aria-haspopup",!0),gt(e),mt(e),this._section=F("section",t+"-list")),o=(n&&(this._map.on("click",this.collapse,this),dt(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)),this._layersLink=F("a",t+"-toggle",e));o.href="#",o.title="Layers",o.setAttribute("role","button"),dt(o,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){vt(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=F("div",t+"-base",i),this._separator=F("div",t+"-separator",i),this._overlaysList=F("div",t+"-overlays",i),e.appendChild(i)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&o(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(i(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){W(this._baseLayersList),W(this._overlaysList),this._layerControlInputs=[];for(var t,e,n,i=0,o=0;o<this._layers.length;o++)n=this._layers[o],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,i+=n.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<i)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(o(t.target));(t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null)&&this._map.fire(t,e)},_createRadioElement:function(t,e){return t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",(e=document.createElement("div")).innerHTML=t,e.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer),a=((i=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+o(this),i),this._layerControlInputs.push(e),e.layerId=o(t.layer),dt(e,"click",this._onInputClick,this),document.createElement("span"))).innerHTML=" "+t.name,document.createElement("span"));return n.appendChild(a),a.appendChild(e),a.appendChild(i),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,e,n=this._layerControlInputs,i=[],o=[];this._handlingClick=!0;for(var a=n.length-1;0<=a;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||o.push(e);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<i.length;a++)this._map.hasLayer(i[a])||this._map.addLayer(i[a]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,i=this._map.getZoom(),o=n.length-1;0<=o;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&i<e.options.minZoom||void 0!==e.options.maxZoom&&i>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section,e=(this._preventClick=!0,dt(t,"click",vt),this.expand(),this);setTimeout(function(){ct(t,"click",vt),e._preventClick=!1})}})),gn=fn.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=F("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,o){return(n=F("a",n,i)).innerHTML=t,n.href="#",n.title=e,n.setAttribute("role","button"),n.setAttribute("aria-label",e),gt(n),dt(n,"click",yt),dt(n,"click",o,this),dt(n,"click",this._refocusOnMap,this),n},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";U(this._zoomInButton,e),U(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),!this._disabled&&t._zoom!==t.getMinZoom()||
vendor: 4,190 bytes, line 13
13(G(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),!this._disabled&&t._zoom!==t.getMaxZoom()||(G(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}}),vn=(pn.mergeOptions({zoomControl:!0}),pn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new gn,this.addControl(this.zoomControl))}),fn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=F("div",e),i=this.options;return this._addScales(i,e+"-line",n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=F("div",e,n)),t.imperial&&(this._iScale=F("div",e,n))},_update:function(){var t=(e=this._map).getSize().y/2,e=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(e)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,n;5280<(t=3.2808399*t)?(n=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,n+" mi",n/e)):(n=this._getRoundNum(t),this._updateScale(this._iScale,n+" ft",n/t))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1);return e*(10<=(t=t/e)?10:5<=t?5:3<=t?3:2<=t?2:1)}})),yn=fn.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ge.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){u(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=F("div","leaflet-control-attribution"),gt(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}}),bn=(_e=(pn.mergeOptions({attributionControl:!0}),pn.addInitHook(function(){this.options.attributionControl&&(new yn).addTo(this)}),fn.Layers=mn,fn.Zoom=gn,fn.Scale=vn,fn.Attribution=yn,Tt.layers=function(t,e,n){return new mn(t,e,n)},Tt.zoom=function(t){return new gn(t)},Tt.scale=function(t){return new vn(t)},Tt.attribution=function(t){return new yn(t)},b.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})),we=(_e.addTo=function(t,e){return t.addHandler(e,this),this},{Events:ie}),Ge.touch?"touchstart mousedown":"mousedown"),_n=oe.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){u(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n}
vendor: 3,751 bytes, line 13
13,enable:function(){this._enabled||(dt(this._dragStartTarget,bn,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(_n._dragging===this&&this.finishDrag(!0),ct(this._dragStartTarget,bn,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,n;this._enabled&&(this._moved=!1,V(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?_n._dragging===this&&this.finishDrag():_n._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((_n._dragging=this)._preventOutline&&at(this._element),it(),ue(),this._moving||(this.fire("down"),n=t.touches?t.touches[0]:t,e=rt(this._element),this._startPoint=new _(n.clientX,n.clientY),this._startPos=nt(this._element),this._parentScale=lt(e),n="mousedown"===t.type,dt(document,n?"mousemove":"touchmove",this._onMove,this),dt(document,n?"mouseup":"touchend touchcancel",this._onUp,this)))))},_onMove:function(t){var e;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new _((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY)._subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,vt(t),this._moved||(this.fire("dragstart"),this._moved=!0,G(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),G(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),et(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){U(document.body,"leaflet-dragging"),this._lastTarget&&(U(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ct(document,"mousemove touchmove",this._onMove,this),ct(document,"mouseup touchend touchcancel",this._onUp,this),ot(),he();var e=this._moved&&this._moving;this._moving=!1,_n._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}}),wn=(xe={__proto__:null,clipPolygon:Ct,polygonCenter:St,centroid:Et},Te={__proto__:null,simplify:kt,pointToSegmentDistance:Mt,closestPointOnSegment:function(t,e,n){return Ot(t,e,n)},clipSegment:Pt,_getEdgeIntersection:Lt,_getBitCode:Dt,_sqClosestPointOnSegment:Ot,isFlat:$t,_flat:zt,polylineCenter:It},Ce={project:function(t){return new _(t.lng,t.lat)},unproject:function(t){return new E(t.y,t.x)},bounds:new x([-180,-90],[180,90])},Se={R:6378137,R_MINOR:6356752.314245179,bounds:new x([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,i=t.lat*e,o=this.R_MINOR/n,a=(o=Math.sqrt(1-o*o))*Math.sin(i);a=Math.tan(Math.PI/4-i/2)/Math.pow((1-a)/(1+a),o/2),i=-n*Math.log(Math.max(a,1e-10));return new _(t.lng*e*n,i)},unproject:function(t){for(var e,n=180/Math.PI,i=this.R,o=this.R_MINOR/i,a=Math.sqrt(1-o*o),s=Math.exp(-t.y/i),r=Math.PI/2-2*Math.atan(s),l=0,d=.1;l<15&&1e-7<Math.abs(d);l++)e=a*Math.sin(r),e=Math.pow((1-e)/(1+e),a/2),r+=d=Math.PI/2-2*Math.atan(s*e)-r;return new E(r*n,t.x*n/i)}},Ee={__proto__:null,LonLat:Ce,Mercator:Se,SphericalMercator:le},Me=e({},re,{code:"EPSG:3395",projection:Se,transformation:P(ke=.5/(Math.PI*Se.R),.5,-ke,.5)}),e({},re,{code:"EPSG:4326",projection:Ce,transformation:P(1/180,1,-1/180,.5)})),xn=(Pe=e({},se,{projection:Ce,transformation:P(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng;e=e.lat-t.lat;return Math.sqrt(n*n+e*e)},infinite:!0}
vendor: 1,808 bytes, line 13
13),Le=(se.Earth=re,se.EPSG3395=Me,se.EPSG3857=me,se.EPSG900913=ge,se.EPSG4326=wn,se.Simple=Pe,oe.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[o(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[o(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,n=t.target;n.hasLayer(this)&&(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents&&(e=this.getEvents(),n.on(e,this),this.once("remove",function(){n.off(e,this)},this)),this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this}))}})),pn.include({addLayer:function(t){var e;if(t._layerAdd)return e=o(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw new Error("The provided object is not a Layer.")},removeLayer:function(t){var e=o(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return o(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?Kt(t)?t:[t]:[]).length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[o(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=o(t),this._zoomBoundLayers[t]&&(
vendor: 8,543 bytes, line 13
13delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,n=-1/0,i=this._getZoomSpan();for(t in this._zoomBoundLayers){var o=this._zoomBoundLayers[t].options;e=void 0===o.minZoom?e:Math.min(e,o.minZoom),n=void 0===o.maxZoom?n:Math.max(n,o.maxZoom)}this._layersMaxZoom=n===-1/0?void 0:n,this._layersMinZoom=e===1/0?void 0:e,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),Le.extend({initialize:function(t,e){var n,i;if(u(this,e),this._layers={},t)for(n=0,i=t.length;n<i;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){return t=t in this._layers?t:this.getLayerId(t),this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)(n=this._layers[e])[t]&&n[t].apply(n,i);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:o})),Tn=xn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),xn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),xn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new C;for(t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Cn=b.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){u(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(n)return n=this._createImg(n,e&&"IMG"===e.tagName?e:null),this._setIconStyles(n,t),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n;if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var n=this.options,i=w(i="number"==typeof(i=n[e+"Size"])?[i,i]:i),o=w("shadow"===e&&n.shadowAnchor||n.iconAnchor||i&&i.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),o&&(t.style.marginLeft=-o.x+"px",t.style.marginTop=-o.y+"px"),i&&(t.style.width=i.x+"px",t.style.height=i.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return Ge.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Sn=Cn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof Sn.imagePath&&(Sn.imagePath=this._detectIconPath()),(this.options.imagePath||Sn.imagePath)+Cn.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function e(t,e,n){return(e=e.exec(t))&&e[n]}return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=F("div","leaflet-default-icon-path",document.body),e=j(t,"background-image")||j(t,"backgroundImage");return document.body.removeChild(t),(e=this._stripUrl(e))?e:(t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-11-1):""}}),En=_e.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new _n(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),G(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&U(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,i=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=nt(e._icon),s=n.getPixelBounds(),r=n.getPixelOrigin();(r=T(s.min._subtract(r).add(o),s.max._subtract(r).subtract(o))).contains(a)||(o=w((Math.max(r.max.x,a.x)-r.max.x)/(s.max.x-r.max.x)-(Math.min(r.min.x,a.x)-r.min.x)/(s.min.x-r.min.x),(Math.max(r.max.y,a.y)-r.max.y)/(s.max.y-r.max.y)-(Math.min(r.min.y,a.y)-r.min.y)/(s.min.y-r.min.y)).multiplyBy(i),n.panBy(o,{animate:!1}),this._draggable._newPos._add(o),this._draggable._startPos._add(o),et(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=v(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(y(this._panRequest),this._panRequest=v(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,i=nt(e._icon),o=e._map.layerPointToLatLng(i);n&&et(n,i),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){y(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),kn=Le.extend({options:{icon:new Sn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){u(this,e),this._latlng=k(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=k(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t,e=this.options,n="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=!1,o=!1;(t=((t=e.icon.createIcon(this._icon))!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(t.title=e.title),"IMG"===t.tagName&&(t.alt=e.alt||"")),G(t,n),e.keyboard&&(t.tabIndex="0",t.setAttribute("role","button")),this._icon=t,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&dt(t,"focus",this._panOnFocus,this),e.icon.createShadow(this._shadow)))!==this._shadow&&(this._removeShadow(),o=!0),t&&(G(t,n),t.alt=""),this._shadow=t,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),t&&o&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}
vendor: 5,565 bytes, lines 13-14
13),this.options.autoPanOnFocus&&ct(this._icon,"focus",this._panOnFocus,this),Y(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Y(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&et(this._icon,t),this._shadow&&et(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round(),this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(G(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),
14En&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new En(this),t&&this.dragging.enable()))},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&Q(this._icon,t),this._shadow&&Q(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,e,n=this._map;n&&(t=(e=this.options.icon.options).iconSize?w(e.iconSize):w(0,0),e=e.iconAnchor?w(e.iconAnchor):w(0,0),n.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:t.subtract(e)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Mn=Le.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return u(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Pn=Mn.extend({options:{fill:!0,radius:10},initialize:function(t,e){u(this,e),this._latlng=k(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=k(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Mn.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance();t=[t+n,e+n];this._pxBounds=new x(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Ln=Pn.extend({initialize:function(t,n,i){if(u(this,n="number"==typeof n?e({},i,{radius:n}):n),this._latlng=k(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new C(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Mn.prototype.setStyle,_project:function(){var t,e,n,i,o,a=this._latlng.lng,s=this._latlng.lat,r=this._map,l=r.options.crs;l.distance===re.distance?(i=Math.PI/180,o=this._mRadius/re.R/i,t=r.project([s+o,a]),e=r.project([s-o,a]),e=t.add(e).divideBy(2),n=r.unproject(e).lat,i=Math.acos((Math.cos(o*i)-Math.sin(s*i)*Math.sin(n*i))/(Math.cos(s*i)*Math.cos(n*i)))/i,!isNaN(i)&&0!==i||(i=o/Math.cos(Math.PI/180*s)),this._point=e.subtract(r.getPixelOrigin()),this._radius=isNaN(i)?0:e.x-r.project([n,a-i]).x,this._radiusY=e.y-t.y):(o=l.unproject(l.project(this._latlng).subtract([this._mRadius,0])),this._point=r.latLngToLayerPoint(this._latlng),this._radius=this._point.x-r.latLngToLayerPoint(o).x),this._updateBounds()}}),Dn=Mn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){u(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e=1/0,n=null,i=Ot,o=0,a=this._parts.length;o<a;o++)for(var s=this._parts[o],r=1,l=s.length;r<l;r++){var d,c,u=i(t,d=s[r-1],c=s[r],!0);u<e&&(e=u,n=i(t,d,c))}return n&&(n.distance=Math.sqrt(e)),n},getCenter:function(){if(this._map)return It(this._defaultShape(),this._map.options.crs);
vendor: 13,556 bytes, line 14
14throw new Error("Must add layer to map before using getCenter()")},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=k(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new C,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return $t(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=$t(t),i=0,o=t.length;i<o;i++)n?(e[i]=k(t[i]),this._bounds.extend(e[i])):e[i]=this._convertLatLngs(t[i]);return e},_project:function(){var t=new x;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=new _(t=this._clickTolerance(),t);this._rawPxBounds&&(this._pxBounds=new x([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,e,n){var i,o,a=t[0]instanceof E,s=t.length;if(a){for(o=[],i=0;i<s;i++)o[i]=this._map.latLngToLayerPoint(t[i]),n.extend(o[i]);e.push(o)}else for(i=0;i<s;i++)this._projectLatlngs(t[i],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var e,n,i,o,a=this._parts,s=0,r=0,l=this._rings.length;s<l;s++)for(e=0,n=(o=this._rings[s]).length;e<n-1;e++)(i=Pt(o[e],o[e+1],t,e,!0))&&(a[r]=a[r]||[],a[r].push(i[0]),i[1]===o[e+1]&&e!==n-2||(a[r].push(i[1]),r++))},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,i=t.length;n<i;n++)t[n]=kt(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,i,o,a,s,r,l=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t))for(n=0,a=this._parts.length;n<a;n++)for(i=0,o=(s=(r=this._parts[n]).length)-1;i<s;o=i++)if((e||0!==i)&&Mt(t,r[o],r[i])<=l)return!0;return!1}});Dn._flat=zt;var On=Dn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(this._map)return St(this._defaultShape(),this._map.options.crs);throw new Error("Must add layer to map before using getCenter()")},_convertLatLngs:function(t){var e=(t=Dn.prototype._convertLatLngs.call(this,t)).length;return 2<=e&&t[0]instanceof E&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){Dn.prototype._setLatLngs.call(this,t),$t(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return($t(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=new _(e=this.options.weight,e);t=new x(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,i=0,o=this._rings.length;i<o;i++)(n=Ct(this._rings[i],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,i,o,a,s,r,l,d=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,r=this._parts.length;o<r;o++)for(a=0,s=(l=(e=this._parts[o]).length)-1;a<l;s=a++)n=e[a],i=e[s],n.y>t.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(d=!d);return d||Dn.prototype._containsPoint.call(this,t,!0)}}),$n=Tn.extend({initialize:function(t,e){u(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,o=Kt(t)?t:t.features;if(o){for(e=0,n=o.length;e<n;e++)((i=o[e]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var a,s=this.options;return s.filter&&!s.filter(t)||!(a=At(t,s))?this:(a.feature=Yt(t),a.defaultOptions=a.options,this.resetStyle(a),s.onEachFeature&&s.onEachFeature(t,a),this.addLayer(a))},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});De={toGeoJSON:function(t){return Ft(this,{type:"Point",coordinates:Bt(this.getLatLng(),t)})}},kn.include(De),Ln.include(De),Pn.include(De),Dn.include({toGeoJSON:function(t){var e=!$t(this._latlngs);return Ft(this,{type:(e?"Multi":"")+"LineString",coordinates:jt(this._latlngs,e?1:0,!1,t)})}}),On.include({toGeoJSON:function(t){var e=!$t(this._latlngs),n=e&&!$t(this._latlngs[0]);t=jt(this._latlngs,n?2:e?1:0,!0,t);return Ft(this,{type:(n?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),xn.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(n){e.push(n.toGeoJSON(t).geometry.coordinates)}),Ft(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e,n,i=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===i?this.toMultiPoint(t):(e="GeometryCollection"===i,n=[],this.eachLayer(function(i){i.toGeoJSON&&(i=i.toGeoJSON(t),e?n.push(i.geometry):"FeatureCollection"===(i=Yt(i)).type?n.push.apply(n,i.features):n.push(i))}),e?Ft(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});Oe=Wt;var zn=Le.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=S(e),u(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(G(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Y(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&Z(this._image),this},bringToBack:function(){return this._map&&q(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=S(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:F("img");G(e,"leaflet-image-layer"),this._zoomAnimated&&G(e,"leaflet-zoom-animated"),this.options.className&&G(e,this.options.className),e.onselectstart=r,e.onmousemove=r,e.onload=i(this.fire,this,"load"),e.onerror=i(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom);t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;tt(this._image,t,e)},_reset:function(){var t=this._image,e=new x(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();et(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){Q(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),In=zn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:F("video");if(G(e,"leaflet-image-layer"),this._zoomAnimated&&G(e,"leaflet-zoom-animated"),this.options.className&&G(e,this.options.className),e.onselectstart=r,e.onmousemove=r,e.onloadeddata=i(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),o=[],a=0;a<n.length;a++)o.push(n[a].src);this._url=0<n.length?o:[e.src]}else{Kt(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;s<this._url.length;s++){var l=F("source");l.src=this._url[s],e.appendChild(l)}}}}),An=zn.extend({_initImage:function(){var t=this._image=this._url;G(t,"leaflet-image-layer"),this._zoomAnimated&&G(t,"leaflet-zoom-animated"),this.options.className&&G(t,this.options.className),t.onselectstart=r,t.onmousemove=r}}),Nn=Le.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof E||Kt(t))?(this._latlng=k(t),u(this,e)):(u(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&Q(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&Q(this._container,1),this.bringToFront(),this.options.interactive&&(G(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(Q(this._container,0),this._removeTimeout=setTimeout(i(Y,void 0,this._container),200)):Y(this._container),this.options.interactive&&(U(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=k(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Z(this._container),this},bringToBack:function(){return this._map&&q(this._container),this},_prepareOpen:function(t){if(!(n=this._source)._map)return!1;if(n instanceof Tn){var e,n=null,i=this._source._layers;for(e in i)if(i[e]._map){n=i[e];break}if(!n)return!1;this._source=n}if(!t)if(n.getCenter)t=n.getCenter();else if(n.getLatLng)t=n.getLatLng();else{if(!n.getBounds)throw new Error("Unable to get source layer LatLng.");t=n.getBounds().getCenter()}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,n;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=w(this.options.offset),n=this._getAnchor(),this._zoomAnimated?et(this._container,e.add(n)):t=t.add(e).add(n),e=this._containerBottom=-t.y,n=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=n+"px")},_getAnchor:function(){return[0,0]}}),Rn=(pn.include({_initOverlay:function(t,e,n,i){var o=e;return o instanceof t||(o=new t(i).setContent(e)),n&&o.setLatLng(n),o}}),Le.include({_initOverlay:function(t,e,n,i){var o=n;return o instanceof t?(u(o,i),o._source=this):(o=e&&!i?e:new t(i,this)).setContent(n),o}}),Nn.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,Nn.prototype.openOn.call(this,t)},onAdd:function(t){Nn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Mn||this._source.on("preclick",ft))},onRemove:function(t){Nn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Mn||this._source.off("preclick",ft))},getEvents:function(){var t=Nn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&
vendor: 11,853 bytes, line 14
14(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=F("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=F("div",t+"-content-wrapper",e);this._contentNode=F("div",t+"-content",n),gt(e),mt(this._contentNode),dt(e,"contextmenu",ft),this._tipContainer=F("div",t+"-tip-container",e),this._tip=F("div",t+"-tip",this._tipContainer),this.options.closeButton&&((n=this._closeButton=F("a",t+"-close-button",e)).setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">&#215;</span>',dt(n,"click",function(t){vt(t),this.close()},this))},_updateLayout:function(){var t=this._contentNode,e=t.style,n=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),i=(n=Math.min(n,this.options.maxWidth),n=(n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),this.options.maxHeight),o="leaflet-popup-scrolled";(i&&i<n?(e.height=i+"px",G):U)(t,o),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);var e=this._getAnchor();et(this._container,t.add(e))},_adjustPan:function(){var t,e,n,i,o,a,s,r;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning?this._autopanning=!1:(t=this._map,e=parseInt(j(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,r=this._containerWidth,(n=new _(this._containerLeft,-e-this._containerBottom))._add(nt(this._container)),n=t.layerPointToContainerPoint(n),o=w(this.options.autoPanPadding),i=w(this.options.autoPanPaddingTopLeft||o),o=w(this.options.autoPanPaddingBottomRight||o),a=t.getSize(),s=0,n.x+r+o.x>a.x&&(s=n.x+r-a.x+o.x),n.x-s-i.x<(r=0)&&(s=n.x-i.x),n.y+e+o.y>a.y&&(r=n.y+e-a.y+o.y),n.y-r-i.y<0&&(r=n.y-i.y),(s||r)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([s,r]))))},_getAnchor:function(){return w(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),Hn=(pn.mergeOptions({closePopupOnClick:!0}),pn.include({openPopup:function(t,e,n){return this._initOverlay(Rn,t,e,n).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),Le.include({bindPopup:function(t,e){return this._popup=this._initOverlay(Rn,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof Tn||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e;this._popup&&this._map&&(yt(t),e=t.layer||t.target,this._popup._source!==e||e instanceof Mn?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),Nn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Nn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Nn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Nn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=F("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n=this._map,i=this._container,o=n.latLngToContainerPoint(n.getCenter()),a=(n=n.layerPointToContainerPoint(t),this.options.direction),s=i.offsetWidth,r=i.offsetHeight,l=w(this.options.offset),d=this._getAnchor();n="top"===a?(e=s/2,r):"bottom"===a?(e=s/2,0):(e="center"===a?s/2:"right"===a?0:"left"===a?s:n.x<o.x?(a="right",0):(a="left",s+2*(l.x+d.x)),r/2);t=t.subtract(w(e,n,!0)).add(l).add(d),U(i,"leaflet-tooltip-right"),U(i,"leaflet-tooltip-left"),U(i,"leaflet-tooltip-top"),U(i,"leaflet-tooltip-bottom"),G(i,"leaflet-tooltip-"+a),et(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&Q(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),this._setPosition(t)},_getAnchor:function(){return w(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),Bn=(pn.include({openTooltip:function(t,e,n){return this._initOverlay(Hn,t,e,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),Le.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Hn,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e,n;!t&&this._tooltipHandlersAdded||(e=t?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[e](n),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&(this instanceof Tn||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(dt(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),dt(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){(t="function"==typeof t.getElement&&t.getElement())&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){var e;this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag?(this._openOnceFlag=!0,(e=this)._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)})):(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)))},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),Cn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){t=t&&"DIV"===t.tagName?t:document.createElement("div");var e=this.options;return e.html instanceof Element?(W(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=w(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));Cn.Default=Sn;var jn=Le.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ge.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){u(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),Y(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Z(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(q(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=a(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof _?t:new _(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,i=-t(-1/0,1/0),o=0,a=n.length;o<a;o++)e=n[o].style.zIndex,n[o]!==this._container&&e&&(i=t(i,+e));isFinite(i)&&(this.options.zIndex=i+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Ge.ielt9){Q(this._container,this.options.opacity);var t,e=+new Date,n=!1,i=!1;for(t in this._tiles){var o,a=this._tiles[t];a.current&&a.loaded&&(o=Math.min(1,(e-a.loaded)/200),Q(a.el,o),o<1?n=!0:(a.active?i=!0:this._onOpaqueTile(a),a.active=!0))}i&&!this._noPrune&&this._pruneTiles(),n&&(y(this._fadeFrame),this._fadeFrame=v(this._updateOpacity,this))}},_onOpaqueTile:r,_initContainer:function(){this._container||(this._container=F("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(Y(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[t],o=this._map;
vendor: 14,740 bytes, lines 14-15
14return i||((i=this._levels[t]={}).el=F("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=e,i.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),i.zoom=t,this._setZoomTransform(i,o.getCenter(),o.getZoom()),r(i.el.offsetWidth),this._onCreateLevel(i)),this._level=i}},_onUpdateLevel:r,_onRemoveLevel:r,_onCreateLevel:r,_pruneTiles:function(){if(this._map){var t,e,n,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(n=this._tiles[t]).retain=n.current;for(t in this._tiles)(n=this._tiles[t]).current&&!n.active&&(e=n.coords,this._retainParent(e.x,e.y,e.z,e.z-5)||this._retainChildren(e.x,e.y,e.z,e.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)Y(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,i){n-=1;var o=((o=new _(+(t=Math.floor(t/2)),+(e=Math.floor(e/2)))).z=n,this._tileCoordsToKey(o));return(o=this._tiles[o])&&o.active?o.retain=!0:(o&&o.loaded&&(o.retain=!0),i<n&&this._retainParent(t,e,n,i))},_retainChildren:function(t,e,n,i){for(var o=2*t;o<2*t+2;o++)for(var a=2*e;a<2*e+2;a++){var s=((s=new _(o,a)).z=n+1,this._tileCoordsToKey(s));(s=this._tiles[s])&&s.active?s.retain=!0:(s&&s.loaded&&(s.retain=!0),n+1<i&&this._retainChildren(o,a,n+1,i))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo),this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,i){var o=Math.round(e),a=(o=void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom?void 0:this._clampZoom(o),this.options.updateWhenZooming&&o!==this._tileZoom);i&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){
15for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var i=this._map.getZoomScale(n,t.zoom);e=t.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(e,n)).round();Ge.any3d?tt(t.el,e,i):et(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],i).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],i).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],i).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=(n=this._map)._animatingZoom?Math.max(n._animateToZoom,n.getZoom()):n.getZoom(),n=(e=n.getZoomScale(e,this._tileZoom),t=n.project(t,this._tileZoom).floor(),n.getSize().divideBy(2*e));return new x(t.subtract(n),t.add(n))},_update:function(t){if(i=this._map){var e=this._clampZoom(i.getZoom());if(void 0===t&&(t=i.getCenter()),void 0!==this._tileZoom){var n,i=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(i),a=o.getCenter(),s=[],r=(i=this.options.keepBuffer,new x(o.getBottomLeft().subtract([i,-i]),o.getTopRight().add([i,-i])));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(n in this._tiles){var l=this._tiles[n].coords;l.z===this._tileZoom&&r.contains(new _(l.x,l.y))||(this._tiles[n].current=!1)}if(1<Math.abs(e-this._tileZoom))this._setView(t,e);else{for(var d=o.min.y;d<=o.max.y;d++)for(var c=o.min.x;c<=o.max.x;c++){var u,h=new _(c,d);h.z=this._tileZoom,this._isValidTile(h)&&((u=this._tiles[this._tileCoordsToKey(h)])?u.current=!0:s.push(h))}if(s.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==s.length){this._loading||(this._loading=!0,this.fire("loading"));var p=document.createDocumentFragment();for(c=0;c<s.length;c++)this._addTile(s[c],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),S(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n);n=i.add(n);return[e.unproject(i,t.z),e.unproject(n,t.z)]},_tileCoordsToBounds:function(t){return t=new C((t=this._tileCoordsToNwSe(t))[0],t[1]),this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=new _(+(t=t.split(":"))[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(Y(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){G(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=r,t.onmousemove=r,Ge.ielt9&&this.options.opacity<1&&Q(t,this.options.opacity)},_addTile:function(t,e){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&v(i(this._tileReady,this,t,null,a)),et(a,n),this._tiles[o]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(Q(n.el,0),y(this._fadeFrame),this._fadeFrame=v(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(G(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ge.ielt9||!this._map._fadeAnimated?v(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new _(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new x(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),Fn=jn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=u(this,e)).detectRetina&&Ge.retina&&0<e.maxZoom?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return dt(n,"load",i(this._tileOnLoad,this,e,n)),dt(n,"error",i(this._tileOnError,this,e,n)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ge.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(n.y=t),n["-y"]=t),p(this._url,e(n,this.options))},_tileOnLoad:function(t,e){Ge.ielt9?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){return t=Math.abs(t.x+t.y)%this.options.subdomains.length,this.options.subdomains[t]},_abortLoading:function(){var t,e,n;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((n=this._tiles[t].el).onload=r,n.onerror=r,n.complete||(n.src=Qt,e=this._tiles[t].coords,Y(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:e})))},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",Qt),jn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==Qt))return jn.prototype._tileReady.call(this,t,e,n)}}),Yn=Fn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i,o=e({},this.defaultWmsParams);for(i in n)i in this.options||(o[i]=n[i]);t=(n=u(this,n)).detectRetina&&Ge.retina?2:1;var a=this.getTileSize();o.width=a.x*t,o.height=a.y*t,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,Fn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=(e=(n=T((n=this._crs).project(e[0]),n.project(e[1]))).min,n.max);e=(1.3<=this._wmsVersion&&this._crs===wn?[e.y,e.x,n.y,n.x]:[e.x,e.y,n.x,n.y]).join(",");return(n=Fn.prototype.getTileUrl.call(this,t))+h(this.wmsParams,n,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});Fn.WMS=Yn,Zt.wms=function(t,e){return new Yn(t,e)};var Wn=Le.extend({options:{padding:.1},initialize:function(t){u(this,t),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),G(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e);i=i.multiplyBy(-n).add(o).subtract(this._map._getNewPixelOrigin(t,e));Ge.any3d?tt(this._container,i,n):et(this._container,i)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new x(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Zn=Wn.extend({options:{tolerance:0},getEvents:function(){var t=Wn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");dt(t,"mousemove",this._onMouseMove,this),dt(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),dt(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){y(this._redrawRequest),delete this._ctx,Y(this._container),ct(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,n,i;this._map._animatingZoom&&this._bounds||(Wn.prototype._update.call(this),t=this._bounds,e=this._container,n=t.getSize(),i=Ge.retina?2:1,et(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ge.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){Wn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),t=(this._layers[o(t)]=t)._order={layer:t,prev:this._drawLast,next:null},this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=(n=t._order).next,n=n.prev;e?e.prev=n:this._drawLast=n,n?n.next=e:this._drawFirst=e,delete t._order,delete this._layers[o(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var e,n=t.options.dashArray.split(/[, ]+/),i=[],o=0;o<n.length;o++){if(e=Number(n[o]),isNaN(e))return;i.push(e)}t.options._dashArray=i}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||v(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new x,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))
vendor: 6,933 bytes, line 15
15)},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var t,e,n=this._redrawBounds;this._ctx.save(),n&&(e=n.getSize(),this._ctx.beginPath(),this._ctx.rect(n.min.x,n.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)t=i.layer,(!n||t._pxBounds&&t._pxBounds.intersects(n))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,i,o,a,s=t._parts,r=s.length,l=this._ctx;if(r){for(l.beginPath(),n=0;n<r;n++){for(i=0,o=s[n].length;i<o;i++)a=s[n][i],l[i?"lineTo":"moveTo"](a.x,a.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){var e,n,i,o;this._drawing&&!t._empty()&&(e=t._point,n=this._ctx,i=Math.max(Math.round(t._radius),1),1!=(o=(Math.max(Math.round(t._radiusY),1)||i)/i)&&(n.save(),n.scale(1,o)),n.beginPath(),n.arc(e.x,e.y/o,i,0,2*Math.PI,!1),1!=o&&n.restore(),this._fillStroke(n,t))},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,i=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(i)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(e)||(n=e));this._fireEvent(!!n&&[n],t)},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(U(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,o,a=this._drawFirst;a;a=a.next)(n=a.layer).options.interactive&&n._containsPoint(e)&&(o=n);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(G(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(i(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e,n,i=t._order;i&&(e=i.next,n=i.prev,e&&((e.prev=n)?n.next=e:e&&(this._drawFirst=e),i.prev=this._drawLast,(this._drawLast.next=i).next=null,this._drawLast=i,this._requestRedraw(t)))},_bringToBack:function(t){var e,n,i=t._order;i&&(e=i.next,(n=i.prev)&&((n.next=e)?e.prev=n:n&&(this._drawLast=n),i.prev=null,i.next=this._drawFirst,this._drawFirst.prev=i,this._drawFirst=i,this._requestRedraw(t)))}}),qn=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Vn=($e={_initContainer:function(){this._container=F("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=qn("shape");G(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=qn("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;Y(e),t.removeInteractiveTarget(e),delete this._layers[o(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,o=t._container;o.stroked=!!i.stroke,o.filled=!!i.fill,i.stroke?(e=e||(t._stroke=qn("stroke")),o.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=Kt(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(o.removeChild(e),t._stroke=null),i.fill?(n=n||(t._fill=qn("fill")),o.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(o.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){Z(t._container)},_bringToBack:function(t){q(t._container)}},Ge.vml?qn:D),Gn=Wn.extend({_initContainer:function(){this._container=Vn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Vn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Y(this._container),ct(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,n;this._map._animatingZoom&&this._bounds||(Wn.prototype._update.call(this),e=(t=this._bounds).getSize(),n=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),et(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=Vn("path");t.options.className&&G(e,t.options.className),t.options.interactive&&G(e,"leaflet-interactive"),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Y(t._path),t.removeInteractiveTarget(t._path),delete this._layers[o(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path;t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,O(t._parts,e))}
vendor: 13,206 bytes, line 15
15,_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ";e=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){Z(t._path)},_bringToBack:function(t){q(t._path)}});Ge.vml&&Gn.include($e),pn.include({getRenderer:function(t){return t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e)},_createRenderer:function(t){return this.options.preferCanvas&&qt(t)||Vt(t)}});var Un=On.extend({initialize:function(t,e){On.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=S(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});Gn.create=Vn,Gn.pointsToPath=O,$n.geometryToLayer=At,$n.coordsToLatLng=Rt,$n.coordsToLatLngs=Ht,$n.latLngToCoords=Bt,$n.latLngsToCoords=jt,$n.getFeature=Ft,$n.asFeature=Yt,pn.mergeOptions({boxZoom:!0});ve=_e.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){dt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ct(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Y(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),ue(),it(),this._startPoint=this._map.mouseEventToContainerPoint(t),dt(document,{contextmenu:yt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=F("div","leaflet-zoom-box",this._container),G(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=(t=new x(this._point,this._startPoint)).getSize();et(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(Y(this._box),U(this._container,"leaflet-crosshair")),he(),ot(),ct(document,{contextmenu:yt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0),t=new C(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})))},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}}),pn.addInitHook("addHandler","boxZoom",ve),pn.mergeOptions({doubleClickZoom:!0}),ze=_e.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta;n=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}});var Xn=(pn.addInitHook("addHandler","doubleClickZoom",ze),pn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),_e.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new _n(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),G(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){U(this._map._container,"leaflet-grab"),U(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=S(this._map.options.maxBounds),this._offsetLimit=T(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,n;this._map.options.inertia&&(e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(n),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=((o=this._draggable._newPos.x)-e+n)%t+e-n,o=(o+e+n)%t-e-n;t=Math.abs(i+n)<Math.abs(o+n)?i:o;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,n,i,o,a=this._map,s=a.options,r=!s.inertia||t.noInertia||this._times.length<2;a.fire("dragend",t),!r&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),r=(this._lastTime-this._times[0])/1e3,e=s.easeLinearity,r=(t=t.multiplyBy(e/r)).distanceTo([0,0]),n=Math.min(s.inertiaMaxSpeed,r),t=t.multiplyBy(n/r),i=n/(s.inertiaDeceleration*e),(o=t.multiplyBy(-i/2).round()).x||o.y)?(o=a._limitOffset(o,a.options.maxBounds),v(function(){a.panBy(o,{duration:i,easeLinearity:e,noMoveStart:!0,animate:!0})})):a.fire("moveend")}})),Kn=(Ie=(pn.addInitHook("addHandler","dragging",Xn),pn.mergeOptions({keyboard:!0,keyboardPanDelta:80}),_e.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),dt(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ct(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,e,n;this._focused||(n=document.body,t=document.documentElement,e=n.scrollTop||t.scrollTop,n=n.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(n,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},n=this.keyCodes,i=0,o=n.left.length;i<o;i++)e[n.left[i]]=[-1*t,0];for(i=0,o=n.right.length;i<o;i++)e[n.right[i]]=[t,0];for(i=0,o=n.down.length;i<o;i++)e[n.down[i]]=[0,t];for(i=0,o=n.up.length;i<o;i++)e[n.up[i]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},n=this.keyCodes,i=0,o=n.zoomIn.length;i<o;i++)e[n.zoomIn[i]]=t;for(i=0,o=n.zoomOut.length;i<o;i++)e[n.zoomOut[i]]=-t},_addHooks:function(){dt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ct(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n,i=t.keyCode,o=this._map;if(i in this._panKeys)o._panAnim&&o._panAnim._inProgress||(n=this._panKeys[i],t.shiftKey&&(n=w(n).multiplyBy(3)),o.options.maxBounds&&(n=o._limitOffset(w(n),o.options.maxBounds)),o.options.worldCopyJump?(e=o.wrapLatLng(o.unproject(o.project(o.getCenter()).add(n))),o.panTo(e)):o.panBy(n));else if(i in this._zoomKeys)o.setZoom(o.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!o._popup||!o._popup.options.closeOnEscapeKey)return;o.closePopup()}yt(t)}}})),Ae=(pn.addInitHook("addHandler","keyboard",Ie),pn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),_e.extend({addHooks:function(){dt(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ct(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=wt(t),n=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),e=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),e),yt(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0,i=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel));i=4*Math.log(2/(1+Math.exp(-Math.abs(i))))/Math.LN2,n=n?Math.ceil(i/n)*n:i,i=t._limitZoom(e+(0<this._delta?n:-n))-e;this._delta=0,this._startTime=null,i&&("center"===t.options.scrollWheelZoom?t.setZoom(e+i):t.setZoomAround(this._lastMousePos,e+i))}})),Ne=(pn.addInitHook("addHandler","scrollWheelZoom",Ae),pn.mergeOptions({tapHold:Ge.touchNative&&Ge.safari&&Ge.mobile,tapTolerance:15}),_e.extend({addHooks:function(){dt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ct(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;clearTimeout(this._holdTimeout),1===t.touches.length&&(e=t.touches[0],this._startPos=this._newPos=new _(e.clientX,e.clientY),this._holdTimeout=setTimeout(i(function(){this._cancel(),this._isTapValid()&&(dt(document,"touchend",vt),dt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),dt(document,"touchend touchcancel contextmenu",this._cancel,this),dt(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){ct(document,"touchend",vt),ct(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),ct(document,"touchend touchcancel contextmenu",this._cancel,this),ct(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0],this._newPos=new _(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){(t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY}))._simulated=!0,e.target.dispatchEvent(t)}})),Re=(pn.addInitHook("addHandler","tapHold",Ne),pn.mergeOptions({touchZoom:Ge.touch,bounceAtZoomLimits:!0}),_e.extend({addHooks:function(){G(this._map._container,"leaflet-touch-zoom"),dt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){U(this._map._container,"leaflet-touch-zoom"),ct(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,n,i=this._map;!t.touches||2!==t.touches.length||i._animatingZoom||this._zooming||(e=i.mouseEventToContainerPoint(t.touches[0]),n=i.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=i.getSize()._divideBy(2),this._startLatLng=i.containerPointToLatLng(this._centerPoint),"center"!==i.options.touchZoom&&(this._pinchStartLatLng=i.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=i.getZoom(),this._moved=!1,this._zooming=!0,i._stop(),dt(document,"touchmove",this._onTouchMove,this),dt(document,"touchend touchcancel",this._onTouchEnd,this),vt(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
15Zoom()&&a<1||this._zoom>e.getMaxZoom()&&1<a)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==a)return}else{if(n=n._add(o)._divideBy(2)._subtract(this._centerPoint),1==a&&0===n.x&&0===n.y)return
16;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(n),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),y(this._animRequest),o=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0),this._animRequest=v(o,this,!0),vt(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,y(this._animRequest),ct(document,"touchmove",this._onTouchMove,this),ct(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),pn.addInitHook("addHandler","touchZoom",Re),pn.BoxZoom=ve,pn.DoubleClickZoom=ze,pn.Drag=Xn,pn.Keyboard=Ie,pn.ScrollWheelZoom=Ae,pn.TapHold=Ne,pn.TouchZoom=Re,t.Bounds=x,t.Browser=Ge,t.CRS=se,t.Canvas=Zn,t.Circle=Ln,t.CircleMarker=Pn,t.Class=b,t.Control=fn,t.DivIcon=Bn,t.DivOverlay=Nn,t.DomEvent=be,t.DomUtil=ye,t.Draggable=_n,t.Evented=oe,t.FeatureGroup=Tn,t.GeoJSON=$n,t.GridLayer=jn,t.Handler=_e,t.Icon=Cn,t.ImageOverlay=zn,t.LatLng=E,t.LatLngBounds=C,t.Layer=Le,t.LayerGroup=xn,t.LineUtil=Te,t.Map=pn,t.Marker=kn,t.Mixin=we,t.Path=Mn,t.Point=_,t.PolyUtil=xe,t.Polygon=On,t.Polyline=Dn,t.Popup=Rn,t.PosAnimation=hn,t.Projection=Ee,t.Rectangle=Un,t.Renderer=Wn,t.SVG=Gn,t.SVGOverlay=An,t.TileLayer=Fn,t.Tooltip=Hn,t.Transformation=M,t.Util=ne,t.VideoOverlay=In,t.bind=i,t.bounds=T,t.canvas=qt,t.circle=function(t,e,n){return new Ln(t,e,n)},t.circleMarker=function(t,e){return new Pn(t,e)},t.control=Tt,t.divIcon=function(t){return new Bn(t)},t.extend=e,t.featureGroup=function(t,e){return new Tn(t,e)},t.geoJSON=Wt,t.geoJson=Oe,t.gridLayer=function(t){return new jn(t)},t.icon=function(t){return new Cn(t)},t.imageOverlay=function(t,e,n){return new zn(t,e,n)},t.latLng=k,t.latLngBounds=S,t.layerGroup=function(t,e){return new xn(t,e)},t.map=function(t,e){return new pn(t,e)},t.marker=function(t,e){return new kn(t,e)},t.point=w,t.polygon=function(t,e){return new On(t,e)},t.polyline=function(t,e){return new Dn(t,e)},t.popup=function(t,e){return new Rn(t,e)},t.rectangle=function(t,e){return new Un(t,e)},t.setOptions=u,t.stamp=o,t.svg=Vt,t.svgOverlay=function(t,e,n){return new An(t,e,n)},t.tileLayer=Zt,t.tooltip=function(t,e){return new Hn(t,e)},t.transformation=P,t.version="1.9.4",t.videoOverlay=function(t,e,n){return new In(t,e,n)},window.L);t.noConflict=function(){return window.L=Kn,this},window.L=t}),function(){"use strict";var t={}.hasOwnProperty,e=[].slice;(function(){function n(e,n){var i,o,a,s,r,l;for(a in this.map=e,null==n&&(n={}),n)t.call(n,a)&&(l=n[a],this[a]=l);for(this.initMarkerArrays(),this.listeners={},o=0,s=(r=["click","zoomend"]).length;o<s;o++)i=r[o],this.map.addEventListener(i,function(t){return function(){return t.unspiderfy()}}(this))}var i,o;if(null!=this.L)return this.OverlappingMarkerSpiderfier=((i=n.prototype).VERSION="0.2.6",o=2*Math.PI,i.keepSpiderfied=!1,i.nearbyDistance=20,i.circleSpiralSwitchover=9,i.circleFootSeparation=25,i.circleStartAngle=o/12,i.spiralFootSeparation=28,i.spiralLengthStart=11,i.spiralLengthFactor=5,i.legWeight=1.5,i.legColors={usual:"#222",highlighted:"#f00"},i.initMarkerArrays=function(){return this.markers=[],this.markerListeners=[]},i.addMarker=function(t){var e,n;return null!=t._oms||(t._oms=!0,n=this,e=function(){return n.spiderListener(t)},t.addEventListener("click",e),this.markerListeners.push(e),this.markers.push(t)),this},i.getMarkers=function(){return this.markers.slice(0)},i.removeMarker=function(t){var e,n;return null!=t._omsData&&this.unspiderfy(),(e=this.arrIndexOf(this.markers,t))<0||(n=this.markerListeners.splice(e,1)[0],t.removeEventListener("click",n),delete t._oms,this.markers.splice(e,1)),this},i.clearMarkers=function(){var t,e,n,i,o,a;for(this.unspiderfy(),t=e=0,n=(a=this.markers).length;e<n;t=++e)i=a[t],o=this.markerListeners[t],i.removeEventListener("click",o),delete i._oms;return this.initMarkerArrays(),this},i.addListener=function(t,e){var n;return(null!=(n=this.listeners)[t]?n[t]:n[t]=[]).push(e),this},i.removeListener=function(t,e){var n;return(n=this.arrIndexOf(this.listeners[t],e))<0||this.listeners[t].splice(n,1),this},i.clearListeners=function(t){return this.listeners[t]=[],this},i.trigger=function(){var t,n,i,o,a,s,r,l;
vendor: 4,120 bytes, line 16
16for(n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],l=[],o=0,a=(r=null!=(s=this.listeners[n])?s:[]).length;o<a;o++)i=r[o],l.push(i.apply(null,t));return l},i.generatePtsCircle=function(t,e){var n,i,a,s,r,l,d;for(r=this.circleFootSeparation*(2+t)/o,i=o/t,d=[],a=s=0,l=t;0<=l?s<l:l<s;a=0<=l?++s:--s)n=this.circleStartAngle+a*i,d.push(new L.Point(e.x+r*Math.cos(n),e.y+r*Math.sin(n)));return d},i.generatePtsSpiral=function(t,e){var n,i,a,s,r,l,d;for(s=this.spiralLengthStart,d=[],i=a=n=0,l=t;0<=l?a<l:l<a;i=0<=l?++a:--a)n+=this.spiralFootSeparation/s+5e-4*i,r=new L.Point(e.x+s*Math.cos(n),e.y+s*Math.sin(n)),s+=o*this.spiralLengthFactor/n,d.push(r);return d},i.spiderListener=function(t){var e,n,i,o,a,s,r,l,d,c;if((s=null!=t._omsData)&&this.keepSpiderfied||this.unspiderfy(),s)return this.trigger("click",t);for(r=[],l=[],d=this.nearbyDistance*this.nearbyDistance,a=this.map.latLngToLayerPoint(t.getLatLng()),e=0,n=(c=this.markers).length;e<n;e++)i=c[e],this.map.hasLayer(i)&&(o=this.map.latLngToLayerPoint(i.getLatLng()),this.ptDistanceSq(o,a)<d?r.push({marker:i,markerPt:o}):l.push(i));return 1===r.length?this.trigger("click",t):this.spiderfy(r,l)},i.makeHighlightListeners=function(t){return{highlight:(n=this,function(){return t._omsData.leg.setStyle({color:n.legColors.highlighted})}),unhighlight:(e=this,function(){return t._omsData.leg.setStyle({color:e.legColors.usual})})};var e,n},i.spiderfy=function(t,e){var n,i,o,a,s,r,l,d,c,u,h;return this.spiderfying=!0,u=t.length,n=this.ptAverage(function(){var e,n,i;for(i=[],e=0,n=t.length;e<n;e++)l=t[e],i.push(l.markerPt);return i}()),a=u>=this.circleSpiralSwitchover?this.generatePtsSpiral(u,n).reverse():this.generatePtsCircle(u,n),h=function(){var e,n,l;for(l=[],e=0,n=a.length;e<n;e++)o=a[e],i=this.map.layerPointToLatLng(o),c=this.minExtract(t,function(t){return function(e){return t.ptDistanceSq(e.markerPt,o)}}(this)),r=c.marker,s=new L.Polyline([r.getLatLng(),i],{color:this.legColors.usual,weight:this.legWeight,clickable:!1}),this.map.addLayer(s),r._omsData={usualPosition:r.getLatLng(),leg:s},this.legColors.highlighted!==this.legColors.usual&&(d=this.makeHighlightListeners(r),r._omsData.highlightListeners=d,r.addEventListener("mouseover",d.highlight),r.addEventListener("mouseout",d.unhighlight)),r.setLatLng(i),r.setZIndexOffset(r.options.zIndexOffset+1e6),l.push(r);return l}.call(this),delete this.spiderfying,this.spiderfied=!0,this.trigger("spiderfy",h,e)},i.unspiderfy=function(t){var e,n,i,o,a,s,r;if(null==t&&(t=null),null==this.spiderfied)return this;for(this.unspiderfying=!0,r=[],a=[],e=0,n=(s=this.markers).length;e<n;e++)null!=(i=s[e])._omsData?(this.map.removeLayer(i._omsData.leg),i!==t&&i.setLatLng(i._omsData.usualPosition),i.setZIndexOffset(i.options.zIndexOffset-1e6),null!=(o=i._omsData.highlightListeners)&&(i.removeEventListener("mouseover",o.highlight),i.removeEventListener("mouseout",o.unhighlight)),delete i._omsData,r.push(i)):a.push(i);return delete this.unspiderfying,delete this.spiderfied,this.trigger("unspiderfy",r,a),this},i.ptDistanceSq=function(t,e){var n,i;return(n=t.x-e.x)*n+(i=t.y-e.y)*i},i.ptAverage=function(t){var e,n,i,o,a,s;for(a=s=0,e=0,n=t.length;e<n;e++)a+=(o=t[e]).x,s+=o.y;return i=t.length,new L.Point(a/i,s/i)},i.minExtract=function(t,e){var n,i,o,a,s,r;for(o=a=0,s=t.length;a<s;o=++a)r=e(t[o]),(null==n||r<i)&&(i=r,n=o);return t.splice(n,1)[0]},i.arrIndexOf=function(t,e){var n,i,o;if(null!=t.indexOf)return t.indexOf(e);for(n=i=0,o=t.length;i<o;n=++i)if(t[n]===e)return n;return-1},n)}).call(window)}(),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return eo.apply(null,arguments)}function e(t){eo=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;
vendor: 4,993 bytes, line 16
16for(e in t)if(o(t,e))return!1;return!0}function s(t){return void 0===t}function r(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function d(t,e){var n,i=[],o=t.length;for(n=0;n<o;++n)i.push(e(t[n],n));return i}function c(t,e){for(var n in e)o(e,n)&&(t[n]=e[n]);return o(e,"toString")&&(t.toString=e.toString),o(e,"valueOf")&&(t.valueOf=e.valueOf),t}function u(t,e,n,i){return Ee(t,e,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(t){return null==t._pf&&(t._pf=h()),t._pf}function f(t){if(null==t._isValid){var e=p(t),n=no.call(e.parsedDateParts,function(t){return null!=t}),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function m(t){var e=u(NaN);return null!=t?c(p(e),t):p(e).userInvalidated=!0,e}function g(t,e){var n,i,o,a=oo.length;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=p(e)),s(e._locale)||(t._locale=e._locale),a>0)for(n=0;n<a;n++)s(o=e[i=oo[n]])||(t[i]=o);return t}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ao&&(ao=!0,t.updateOffset(this),ao=!1)}function y(t){return t instanceof v||null!=t&&null!=t._isAMomentObject}function b(e){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function _(e,n){var i=!0;return c(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),i){var a,s,r,l=[],d=arguments.length;for(s=0;s<d;s++){if(a="","object"==typeof arguments[s]){for(r in a+="\n["+s+"] ",arguments[0])o(arguments[0],r)&&(a+=r+": "+arguments[0][r]+", ");a=a.slice(0,-2)}else a=arguments[s];l.push(a)}b(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function w(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),so[e]||(b(n),so[e]=!0)}function x(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function T(t){var e,n;for(n in t)o(t,n)&&(x(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function C(t,e){var n,a=c({},t);for(n in e)o(e,n)&&(i(t[n])&&i(e[n])?(a[n]={},c(a[n],t[n]),c(a[n],e[n])):null!=e[n]?a[n]=e[n]:delete a[n]);for(n in t)o(t,n)&&!o(e,n)&&i(t[n])&&(a[n]=c({},a[n]));return a}function S(t){null!=t&&this.set(t)}function E(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return x(i)?i.call(e,n):i}function k(t,e,n){var i=""+Math.abs(t),o=e-i.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function M(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(po[t]=o),e&&(po[e[0]]=function(){return k(o.apply(this,arguments),e[1],e[2])}),n&&(po[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function P(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function L(t){var e,n,i=t.match(co);for(e=0,n=i.length;e<n;e++)po[i[e]]?i[e]=po[i[e]]:i[e]=P(i[e]);return function(e){var o,a="";for(o=0;o<n;o++)a+=x(i[o])?i[o].call(e,t):i[o];return a}}function D(t,e){return t.isValid()?(e=O(e,t.localeData()),ho[e]=ho[e]||L(e),ho[e](t)):t.localeData().invalidDate()}function O(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(uo.lastIndex=0;i>=0&&uo.test(t);)t=t.replace(uo,n),uo.lastIndex=0,i-=1;return t}function $(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(co).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])}function z(){return this._invalidDate}function I(t){return this._ordinal.replace("%d",t)}function A(t,e,n,i){var o=this._relativeTime[n];return x(o)?o(t,e,n,i):o.replace(/%d/i,t)}function N(t,e){var n=this._relativeTime[t>0?"future":"past"];return x(n)?n(e):n.replace(/%s/i,e)}function R(t,e){var n=t.toLowerCase();bo[n]=bo[n+"s"]=bo[e]=t}function H(t){return"string"==typeof t?bo[t]||bo[t.toLowerCase()]:void 0}function B(t){var e,n,i={};
vendor: 12,654 bytes, line 16
16for(n in t)o(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}function j(t,e){_o[t]=e}function F(t){var e,n=[];for(e in t)o(t,e)&&n.push({unit:e,priority:_o[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}function Y(t){return t%4==0&&t%100!=0||t%400==0}function W(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Z(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=W(e)),n}function q(e,n){return function(i){return null!=i?(G(this,e,i),t.updateOffset(this,n),this):V(this,e)}}function V(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function G(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Y(t.year())&&1===t.month()&&29===t.date()?(n=Z(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),at(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function U(t){return x(this[t=H(t)])?this[t]():this}function X(t,e){if("object"==typeof t){var n,i=F(t=B(t)),o=i.length;for(n=0;n<o;n++)this[i[n].unit](t[i[n].unit])}else if(x(this[t=H(t)]))return this[t](e);return this}function K(t,e,n){ro[t]=x(e)?e:function(t){return t&&n?n:e}}function Q(t,e){return o(ro,t)?ro[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,i,o=e;for("string"==typeof t&&(t=[t]),r(e)&&(o=function(t,n){n[e]=Z(t)}),i=t.length,n=0;n<i;n++)Ho[t[n]]=o}function nt(t,e){et(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function it(t,e,n){null!=e&&o(Ho,t)&&Ho[t](e,n._a,n,t)}function ot(t,e){return(t%e+e)%e}function at(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ot(e,12);return t+=(e-n)/12,1===n?Y(t)?29:28:31-n%7%2}function st(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ko).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function rt(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ko.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(t,e,n){var i,o,a,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(o=Ro.call(this._shortMonthsParse,s))?o:null:-1!==(o=Ro.call(this._longMonthsParse,s))?o:null:"MMM"===e?-1!==(o=Ro.call(this._shortMonthsParse,s))||-1!==(o=Ro.call(this._longMonthsParse,s))?o:null:-1!==(o=Ro.call(this._longMonthsParse,s))||-1!==(o=Ro.call(this._shortMonthsParse,s))?o:null}function dt(t,e,n){var i,o,a;if(this._monthsParseExact)return lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function ct(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=Z(e);else if(!r(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),at(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function ut(e){return null!=e?(ct(this,e),t.updateOffset(this,!0),this):V(this,"Month")}function ht(){return at(this.year(),this.month())}function pt(t){return this._monthsParseExact?(o(this,"_monthsRegex")||mt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Qo),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ft(t){return this._monthsParseExact?(o(this,"_monthsRegex")||mt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Jo),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function mt(){function t(t,e){return e.length-t.length}var e,n,i=[],o=[],a=[];for(e=0;e<12;e++)n=u([2e3,e]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),o.sort(t),a.sort(t),e=0;e<12;e++)i[e]=tt(i[e]),o[e]=tt(o[e]);for(e=0;e<24;e++)a[e]=tt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function gt(t){return Y(t)?366:365}function vt(){return Y(this.year())}function yt(t,e,n,i,o,a,s){var r;return t<100&&t>=0?(r=new Date(t+400,e,n,i,o,a,s),isFinite(r.getFullYear())&&r.setFullYear(t)):r=new Date(t,e,n,i,o,a,s),r}function bt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function _t(t,e,n){var i=7+e-n;return-((7+bt(t,0,i).getUTCDay()-e)%7)+i-1}function wt(t,e,n,i,o){var a,s,r=1+7*(e-1)+(7+n-i)%7+_t(t,i,o);return r<=0?s=gt(a=t-1)+r:r>gt(t)?(a=t+1,s=r-gt(t)):(a=t,s=r),{year:a,dayOfYear:s}}function xt(t,e,n){var i,o,a=_t(t.year(),e,n),s=Math.floor((t.dayOfYear()-a-1)/7)+1;return s<1?i=s+Tt(o=t.year()-1,e,n):s>Tt(t.year(),e,n)?(i=s-Tt(t.year(),e,n),o=t.year()+1):(o=t.year(),i=s),{week:i,year:o}}function Tt(t,e,n){var i=_t(t,e,n),o=_t(t+1,e,n);return(gt(t)-i+o)/7}function Ct(t){return xt(t,this._week.dow,this._week.doy).week}function St(){return this._week.dow}function Et(){return this._week.doy}function kt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Mt(t){var e=xt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Pt(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}function Lt(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Dt(t,e){return t.slice(e,7).concat(t.slice(0,e))}function Ot(t,e){var i=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Dt(i,this._week.dow):t?i[t.day()]:i}function $t(t){return!0===t?Dt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function zt(t){return!0===t?Dt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function It(t,e,n){var i,o,a,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(o=Ro.call(this._weekdaysParse,s))?o:null:"ddd"===e?-1!==(o=Ro.call(this._shortWeekdaysParse,s))?o:null:-1!==(o=Ro.call(this._minWeekdaysParse,s))?o:null:"dddd"===e?-1!==(o=Ro.call(this._weekdaysParse,s))||-1!==(o=Ro.call(this._shortWeekdaysParse,s))||-1!==(o=Ro.call(this._minWeekdaysParse,s))?o:null:"ddd"===e?-1!==(o=Ro.call(this._shortWeekdaysParse,s))||-1!==(o=Ro.call(this._weekdaysParse,s))||-1!==(o=Ro.call(this._minWeekdaysParse,s))?o:null:-1!==(o=Ro.call(this._minWeekdaysParse,s))||-1!==(o=Ro.call(this._weekdaysParse,s))||-1!==(o=Ro.call(this._shortWeekdaysParse,s))?o:null}function At(t,e,n){var i,o,a;if(this._weekdaysParseExact)return It.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Pt(t,this.localeData()),this.add(t-e,"d")):e}function Rt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ht(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Lt(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Bt(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=aa),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function jt(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sa),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ft(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ra),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function t(t,e){return e.length-t.length}var e,n,i,o,a,s=[],r=[],l=[],d=[];for(e=0;e<7;e++)n=u([2e3,1]).day(e),i=tt(this.weekdaysMin(n,"")),o=tt(this.weekdaysShort(n,"")),a=tt(this.weekdays(n,"")),s.push(i),r.push(o),l.push(a),d.push(i),d.push(o),d.push(a);s.sort(t),r.sort(t),l.sort(t),d.sort(t),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Wt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function qt(t,e){M(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Vt(t,e){return e._meridiemParse}function Gt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ut(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Xt(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function Kt(t){return t?t.toLowerCase().replace("_","-"):t}function Qt(t){for(var e,n,i,o,a=0;a<t.length;){for(e=(o=Kt(t[a]).split("-")).length,n=(n=Kt(t[a+1]))?n.split("-"):null;e>0;){if(i=te(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&Xt(o,n)>=e-1)break;e--}a++}return la}function Jt(t){return null!=t.match("^[^/\\\\]*$")}function te(t){var e=null;if(void 0===ha[t]&&"undefined"!=typeof module&&module&&module.exports&&Jt(t))try{e=la._abbr,require("./locale/"+t),ee(e)}catch(e){ha[t]=null}return ha[t]}function ee(t,e){var n;return t&&((n=s(e)?oe(t):ne(t,e))?la=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),la._abbr}function ne(t,e){if(null!==e){var n,i=ua;if(e.abbr=t,null!=ha[t])w("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ha[t]._config;else if(null!=e.parentLocale)if(null!=ha[e.parentLocale])i=ha[e.parentLocale]._config;else{if(null==(n=te(e.parentLocale)))return pa[e.parentLocale]||(pa[e.parentLocale]=[]),pa[e.parentLocale].push({name:t,config:e}),null;i=n._config}return ha[t]=new S(C(i,e)),pa[t]&&pa[t].forEach(function(t){ne(t.name,t.config)}),ee(t),ha[t]}return delete ha[t],null}function ie(t,e){if(null!=e){var n,i,o=ua;
vendor: 13,842 bytes, lines 16-17
16null!=ha[t]&&null!=ha[t].parentLocale?ha[t].set(C(ha[t]._config,e)):(null!=(i=te(t))&&(o=i._config),e=C(o,e),null==i&&(e.abbr=t),(n=new S(e)).parentLocale=ha[t],ha[t]=n),ee(t)}else null!=ha[t]&&(null!=ha[t].parentLocale?(ha[t]=ha[t].parentLocale,t===ee()&&ee(t)):null!=ha[t]&&delete ha[t]);return ha[t]}function oe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return la;if(!n(t)){if(e=te(t))return e;t=[t]}return Qt(t)}function ae(){return io(ha)}function se(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[jo]<0||n[jo]>11?jo:n[Fo]<1||n[Fo]>at(n[Bo],n[jo])?Fo:n[Yo]<0||n[Yo]>24||24===n[Yo]&&(0!==n[Wo]||0!==n[Zo]||0!==n[qo])?Yo:n[Wo]<0||n[Wo]>59?Wo:n[Zo]<0||n[Zo]>59?Zo:n[qo]<0||n[qo]>999?qo:-1,p(t)._overflowDayOfYear&&(e<Bo||e>Fo)&&(e=Fo),p(t)._overflowWeeks&&-1===e&&(e=Vo),p(t)._overflowWeekday&&-1===e&&(e=Go),p(t).overflow=e),t}function re(t){var e,n,i,o,a,s,r=t._i,l=fa.exec(r)||ma.exec(r),d=va.length,c=ya.length;if(l){for(p(t).iso=!0,e=0,n=d;e<n;e++)if(va[e][1].exec(l[1])){o=va[e][0],i=!1!==va[e][2];break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,n=c;e<n;e++)if(ya[e][1].exec(l[3])){a=(l[2]||" ")+ya[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!ga.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=o+(a||"")+(s||""),be(t)}else t._isValid=!1}function le(t,e,n,i,o,a){var s=[de(t),Xo.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return a&&s.push(parseInt(a,10)),s}function de(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function ce(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ue(t,e,n){if(t&&ia.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return p(n).weekdayMismatch=!0,n._isValid=!1,!1;return!0}function he(t,e,n){if(t)return wa[t];if(e)return 0;var i=parseInt(n,10),o=i%100;return 60*((i-o)/100)+o}function pe(t){var e,n=_a.exec(ce(t._i));if(n){if(e=le(n[4],n[3],n[2],n[5],n[6],n[7]),!ue(n[1],e,t))return;t._a=e,t._tzm=he(n[8],n[9],n[10]),t._d=bt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function fe(e){var n=ba.exec(e._i);null===n?(re(e),!1===e._isValid&&(delete e._isValid,pe(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:t.createFromInputFallback(e)))):e._d=new Date(+n[1])}function me(t,e,n){return null!=t?t:null!=e?e:n}function ge(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ve(t){var e,n,i,o,a,s=[];if(!t._d){for(i=ge(t),t._w&&null==t._a[Fo]&&null==t._a[jo]&&ye(t),null!=t._dayOfYear&&(a=me(t._a[Bo],i[Bo]),(t._dayOfYear>gt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=bt(a,0,t._dayOfYear),t._a[jo]=n.getUTCMonth(),t._a[Fo]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Yo]&&0===t._a[Wo]&&0===t._a[Zo]&&0===t._a[qo]&&(t._nextDay=!0,t._a[Yo]=0),t._d=(t._useUTC?bt:yt).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Yo]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}function ye(t){var e,n,i,o,a,s,r,l,d;null!=(e=t._w).GG||null!=e.W||null!=e.E?(a=1,s=4,n=me(e.GG,t._a[Bo],xt(ke(),1,4).year),i=me(e.W,1),((o=me(e.E,1))<1||o>7)&&(l=!0)):(a=t._locale._week.dow,s=t._locale._week.doy,d=xt(ke(),a,s),n=me(e.gg,t._a[Bo],d.year),i=me(e.w,d.week),null!=e.d?((o=e.d)<0||o>6)&&(l=!0):null!=e.e?(o=e.e+a,(e.e<0||e.e>6)&&(l=!0)):o=a),i<1||i>Tt(n,a,s)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(r=wt(n,i,o,a,s),t._a[Bo]=r.year,t._dayOfYear=r.dayOfYear)}function be(e){if(e._f!==t.ISO_8601)if(e._f!==t.RFC_2822){e._a=[],p(e).empty=!0;var n,i,o,a,s,r,l,d=""+e._i,c=d.length,u=0;for(l=(o=O(e._f,e._locale).match(co)||[]).length,n=0;n<l;n++)a=o[n],(i=(d.match(Q(a,e))||[])[0])&&((s=d.substr(0,d.indexOf(i))).length>0&&p(e).unusedInput.push(s),d=d.slice(d.indexOf(i)+i.length),u+=i.length),po[a]?(i?p(e).empty=!1:p(e).unusedTokens.push(a),it(a,i,e)):e._strict&&!i&&p(e).unusedTokens.push(a);p(e).charsLeftOver=c-u,d.length>0&&p(e).unusedInput.push(d),e._a[Yo]<=12&&!0===p(e).bigHour&&e._a[Yo]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Yo]=_e(e._locale,e._a[Yo],e._meridiem),null!==(r=p(e).era)&&(e._a[Bo]=e._locale.erasConvertYear(r,e._a[Bo])),ve(e),se(e)}else pe(e);else re(e)}function _e(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function we(t){var e,n,i,o,a,s,r=!1,l=t._f.length;if(0===l)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<l;o++)a=0,s=!1,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],be(e),f(e)&&(s=!0),a+=p(e).charsLeftOver,a+=10*p(e).unusedTokens.length,p(e).score=a,r?a<i&&(i=a,n=e):(null==i||a<i||s)&&(i=a,n=e,s&&(r=!0));c(t,n||e)}function xe(t){if(!t._d){var e=B(t._i),n=void 0===e.day?e.date:e.day;t._a=d([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ve(t)}}function Te(t){var e=new v(se(Ce(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Ce(t){var e=t._i,i=t._f;return t._locale=t._locale||oe(t._l),null===e||void 0===i&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),y(e)?new v(se(e)):(l(e)?t._d=e:n(i)?we(t):i?be(t):Se(t),f(t)||(t._d=null),t))}function Se(e){var o=e._i;s(o)?e._d=new Date(t.now()):l(o)?e._d=new Date(o.valueOf()):"string"==typeof o?fe(e):n(o)?(e._a=d(o.slice(0),function(t){return parseInt(t,10)}),ve(e)):i(o)?xe(e):r(o)?e._d=new Date(o):t.createFromInputFallback(e)}function Ee(t,e,o,s,r){var l={};return!0!==e&&!1!==e||(s=e,e=void 0),!0!==o&&!1!==o||(s=o,o=void 0),(i(t)&&a(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=o,l._i=t,l._f=e,l._strict=s,Te(l)}function ke(t,e,n,i){return Ee(t,e,n,i,!1)}function Me(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return ke();for(i=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](i)||(i=e[o]);return i}function Pe(){return Me("isBefore",[].slice.call(arguments,0))}function Le(){return Me("isAfter",[].slice.call(arguments,0))}function De(t){var e,n,i=!1,a=Sa.length;for(e in t)if(o(t,e)&&(-1===Ro.call(Sa,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<a;++n)if(t[Sa[n]]){if(i)return!1;parseFloat(t[Sa[n]])!==Z(t[Sa[n]])&&(i=!0)}return!0}function Oe(){return this._isValid}function $e(){return Je(NaN)}function ze(t){
17var e=B(t),n=e.year||0,i=e.quarter||0,o=e.month||0,a=e.week||e.isoWeek||0,s=e.day||0,r=e.hour||0,l=e.minute||0,d=e.second||0,c=e.millisecond||0;this._isValid=De(e),this._milliseconds=+c+1e3*d+6e4*l+1e3*r*60*60,this._days=+s+7*a,this._months=+o+3*i+12*n,this._data={},this._locale=oe(),this._bubble()}function Ie(t){return t instanceof ze}function Ae(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e,n){var i,o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),s=0;for(i=0;i<o;i++)(n&&t[i]!==e[i]||!n&&Z(t[i])!==Z(e[i]))&&s++;return s+a}function Re(t,e){M(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+k(~~(t/60),2)+e+k(~~t%60,2)})}function He(t,e){var n,i,o=(e||"").match(t);return null===o?null:0===(i=60*(n=((o[o.length-1]||[])+"").match(Ea)||["-",0,0])[1]+Z(n[2]))?0:"+"===n[0]?i:-i}function Be(e,n){var i,o;return n._isUTC?(i=n.clone(),o=(y(e)||l(e)?e.valueOf():ke(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),t.updateOffset(i,!1),i):ke(e).local()}function je(t){return-Math.round(t._d.getTimezoneOffset())}function Fe(e,n,i){var o,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=He(Io,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&n&&(o=je(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==e&&(!n||this._changeInProgress?an(this,Je(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:je(this)}function Ye(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function We(t){return this.utcOffset(0,t)}function Ze(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(je(this),"m")),this}function qe(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=He(zo,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ve(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function Ge(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ue(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t,e={};return g(e,this),(e=Ce(e))._a?(t=e._isUTC?u(e._a):ke(e._a),this._isDSTShifted=this.isValid()&&Ne(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Xe(){return!!this.isValid()&&!this._isUTC}function Ke(){return!!this.isValid()&&this._isUTC}function Qe(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Je(t,e){var n,i,a,s=t,l=null;return Ie(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:r(t)||!isNaN(+t)?(s={},e?s[e]=+t:s.milliseconds=+t):(l=ka.exec(t))?(n="-"===l[1]?-1:1,s={y:0,d:Z(l[Fo])*n,h:Z(l[Yo])*n,m:Z(l[Wo])*n,s:Z(l[Zo])*n,ms:Z(Ae(1e3*l[qo]))*n}):(l=Ma.exec(t))?(n="-"===l[1]?-1:1,s={y:tn(l[2],n),M:tn(l[3],n),w:tn(l[4],n),d:tn(l[5],n),h:tn(l[6],n),m:tn(l[7],n),s:tn(l[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(a=nn(ke(s.from),ke(s.to)),(s={}).ms=a.milliseconds,s.M=a.months),i=new ze(s),Ie(t)&&o(t,"_locale")&&(i._locale=t._locale),Ie(t)&&o(t,"_isValid")&&(i._isValid=t._isValid),i}function tn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function en(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function nn(t,e){var n;return t.isValid()&&e.isValid()?(e=Be(e,t),t.isBefore(e)?n=en(t,e):((n=en(e,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function on(t,e){return function(n,i){var o;return null===i||isNaN(+i)||(w(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),an(this,Je(n,i),t),this}}function an(e,n,i,o){var a=n._milliseconds,s=Ae(n._days),r=Ae(n._months);e.isValid()&&(o=null==o||o,r&&ct(e,V(e,"Month")+r*i),s&&G(e,"Date",V(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),o&&t.updateOffset(e,s||r))}function sn(t){return"string"==typeof t||t instanceof String}function rn(t){return y(t)||l(t)||sn(t)||r(t)||dn(t)||ln(t)||null==t}function ln(t){var e,n,s=i(t)&&!a(t),r=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],d=l.length;for(e=0;e<d;e+=1)n=l[e],r=r||o(t,n);return s&&r}function dn(t){var e=n(t),i=!1;return e&&(i=0===t.filter(function(e){return!r(e)&&sn(t)}).length),e&&i}function cn(t){var e,n,s=i(t)&&!a(t),r=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<l.length;e+=1)n=l[e],r=r||o(t,n);return s&&r}function un(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function hn(e,n){1===arguments.length&&(arguments[0]?rn(arguments[0])?(e=arguments[0],n=void 0):cn(arguments[0])&&(n=arguments[0],e=void 0):(e=void 0,n=void 0));var i=e||ke(),o=Be(i,this).startOf("day"),a=t.calendarFormat(this,o)||"sameElse",s=n&&(x(n[a])?n[a].call(this,i):n[a]);return this.format(s||this.localeData().calendar(a,this,ke(i)))}function pn(){return new v(this)}function fn(t,e){var n=y(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function mn(t,e){var n=y(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function gn(t,e,n,i){var o=y(t)?t:ke(t),a=y(e)?e:ke(e);return!!(this.isValid()&&o.isValid()&&a.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function vn(t,e){var n,i=y(t)?t:ke(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function yn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function bn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function _n(t,e,n){var i,o,a;if(!this.isValid())return NaN;if(!(i=Be(t,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":a=wn(this,i)/12;break;case"month":a=wn(this,i);break;case"quarter":a=wn(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-o)/864e5;break;case"week":a=(this-i-o)/6048e5;break;default:a=this-i}return n?a:W(a)}function wn(t,e){if(t.date()<e.date())return-wn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(n+1,"months")-i)))||0}function xn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Tn(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;
vendor: 19,714 bytes, line 17
17return n.year()<0||n.year()>9999?D(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(n,"Z")):D(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Cn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,o="moment",a="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),t="["+o+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(t+e+n+i)}function Sn(e){e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=D(this,e);return this.localeData().postformat(n)}function En(t,e){return this.isValid()&&(y(t)&&t.isValid()||ke(t).isValid())?Je({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function kn(t){return this.from(ke(),t)}function Mn(t,e){return this.isValid()&&(y(t)&&t.isValid()||ke(t).isValid())?Je({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Pn(t){return this.to(ke(),t)}function Ln(t){var e;return void 0===t?this._locale._abbr:(null!=(e=oe(t))&&(this._locale=e),this)}function Dn(){return this._locale}function On(t,e){return(t%e+e)%e}function $n(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Ia:new Date(t,e,n).valueOf()}function zn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Ia:Date.UTC(t,e,n)}function In(e){var n,i;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?zn:$n,e){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=On(n+(this._isUTC?0:this.utcOffset()*$a),za);break;case"minute":n=this._d.valueOf(),n-=On(n,$a);break;case"second":n=this._d.valueOf(),n-=On(n,Oa)}return this._d.setTime(n),t.updateOffset(this,!0),this}function An(e){var n,i;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?zn:$n,e){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=za-On(n+(this._isUTC?0:this.utcOffset()*$a),za)-1;break;case"minute":n=this._d.valueOf(),n+=$a-On(n,$a)-1;break;case"second":n=this._d.valueOf(),n+=Oa-On(n,Oa)-1}return this._d.setTime(n),t.updateOffset(this,!0),this}function Nn(){return this._d.valueOf()-6e4*(this._offset||0)}function Rn(){return Math.floor(this.valueOf()/1e3)}function Hn(){return new Date(this.valueOf())}function Bn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function jn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Fn(){return this.isValid()?this.toISOString():null}function Yn(){return f(this)}function Wn(){return c({},p(this))}function Zn(){return p(this).overflow}function qn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Vn(){var e,n,i,o=this._eras||oe("en")._eras;for(e=0,n=o.length;e<n;++e){if("string"==typeof o[e].since)i=t(o[e].since).startOf("day"),o[e].since=i.valueOf();switch(typeof o[e].until){case"undefined":o[e].until=1/0;break;case"string":i=t(o[e].until).startOf("day").valueOf(),o[e].until=i.valueOf()}}return o}function Gn(t,e,n){var i,o,a,s,r,l=this.eras();for(t=t.toUpperCase(),i=0,o=l.length;i<o;++i)if(a=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),r=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return l[i];break;case"NNNN":if(a===t)return l[i];break;case"NNNNN":if(r===t)return l[i]}else if([a,s,r].indexOf(t)>=0)return l[i]}function Un(e,n){var i=e.since<=e.until?1:-1;return void 0===n?t(e.since).year():t(e.since).year()+(n-e.offset)*i}function Xn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""}function Kn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""}function Qn(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""}function Jn(){var e,n,i,o,a=this.localeData().eras();for(e=0,n=a.length;e<n;++e)if(i=a[e].since<=a[e].until?1:-1,o=this.clone().startOf("day").valueOf(),a[e].since<=o&&o<=a[e].until||a[e].until<=o&&o<=a[e].since)return(this.year()-t(a[e].since).year())*i+a[e].offset;return this.year()}function ti(t){return o(this,"_erasNameRegex")||ri.call(this),t?this._erasNameRegex:this._erasRegex}function ei(t){return o(this,"_erasAbbrRegex")||ri.call(this),t?this._erasAbbrRegex:this._erasRegex}function ni(t){return o(this,"_erasNarrowRegex")||ri.call(this),t?this._erasNarrowRegex:this._erasRegex}function ii(t,e){return e.erasAbbrRegex(t)}function oi(t,e){return e.erasNameRegex(t)}function ai(t,e){return e.erasNarrowRegex(t)}function si(t,e){return e._eraYearOrdinalRegex||Oo}function ri(){var t,e,n=[],i=[],o=[],a=[],s=this.eras();for(t=0,e=s.length;t<e;++t)i.push(tt(s[t].name)),n.push(tt(s[t].abbr)),o.push(tt(s[t].narrow)),a.push(tt(s[t].name)),a.push(tt(s[t].abbr)),a.push(tt(s[t].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function li(t,e){M(0,[t,t.length],0,e)}function di(t){return mi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ci(t){return mi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function ui(){return Tt(this.year(),1,4)}function hi(){return Tt(this.isoWeekYear(),1,4)}function pi(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function fi(){var t=this.localeData()._week;return Tt(this.weekYear(),t.dow,t.doy)}function mi(t,e,n,i,o){var a;return null==t?xt(this,i,o).year:(e>(a=Tt(t,i,o))&&(e=a),gi.call(this,t,e,n,i,o))}function gi(t,e,n,i,o){var a=wt(t,e,n,i,o),s=bt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function vi(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function yi(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function bi(t,e){e[qo]=Z(1e3*("0."+t))}function _i(){return this._isUTC?"UTC":""}function wi(){return this._isUTC?"Coordinated Universal Time":""}function xi(t){return ke(1e3*t)}function Ti(){return ke.apply(null,arguments).parseZone()}function Ci(t){return t}function Si(t,e,n,i){var o=oe(),a=u().set(i,e);return o[n](a,t)}function Ei(t,e,n){if(r(t)&&(e=t,t=void 0),t=t||"",null!=e)return Si(t,e,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=Si(t,i,n,"month");return o}function ki(t,e,n,i){"boolean"==typeof t?(r(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,r(e)&&(n=e,e=void 0),e=e||"");var o,a=oe(),s=t?a._week.dow:0,l=[];if(null!=n)return Si(e,(n+s)%7,i,"day");for(o=0;o<7;o++)l[o]=Si(e,(o+s)%7,i,"day");return l}function Mi(t,e){return Ei(t,e,"months")}function Pi(t,e){return Ei(t,e,"monthsShort")}function Li(t,e,n){return ki(t,e,n,"weekdays")}function Di(t,e,n){return ki(t,e,n,"weekdaysShort")}function Oi(t,e,n){return ki(t,e,n,"weekdaysMin")}function $i(){var t=this._data;return this._milliseconds=Ya(this._milliseconds),this._days=Ya(this._days),this._months=Ya(this._months),t.milliseconds=Ya(t.milliseconds),t.seconds=Ya(t.seconds),t.minutes=Ya(t.minutes),t.hours=Ya(t.hours),t.months=Ya(t.months),t.years=Ya(t.years),this}function zi(t,e,n,i){var o=Je(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function Ii(t,e){return zi(this,t,e,1)}function Ai(t,e){return zi(this,t,e,-1)}function Ni(t){return t<0?Math.floor(t):Math.ceil(t)}function Ri(){var t,e,n,i,o,a=this._milliseconds,s=this._days,r=this._months,l=this._data;return a>=0&&s>=0&&r>=0||a<=0&&s<=0&&r<=0||(a+=864e5*Ni(Bi(r)+s),s=0,r=0),l.milliseconds=a%1e3,t=W(a/1e3),l.seconds=t%60,e=W(t/60),l.minutes=e%60,n=W(e/60),l.hours=n%24,s+=W(n/24),r+=o=W(Hi(s)),s-=Ni(Bi(o)),i=W(r/12),r%=12,l.days=s,l.months=r,l.years=i,this}function Hi(t){return 4800*t/146097}function Bi(t){return 146097*t/4800}function ji(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+Hi(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(Bi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Fi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN}function Yi(t){return function(){return this.as(t)}}function Wi(){return Je(this)}function Zi(t){return t=H(t),this.isValid()?this[t+"s"]():NaN}function qi(t){return function(){return this.isValid()?this._data[t]:NaN}}function Vi(){return W(this.days()/7)}function Gi(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function Ui(t,e,n,i){var o=Je(t).abs(),a=ss(o.as("s")),s=ss(o.as("m")),r=ss(o.as("h")),l=ss(o.as("d")),d=ss(o.as("M")),c=ss(o.as("w")),u=ss(o.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||r<=1&&["h"]||r<n.h&&["hh",r]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||d<=1&&["M"]||d<n.M&&["MM",d]||u<=1&&["y"]||["yy",u])[2]=e,h[3]=+t>0,h[4]=i,Gi.apply(null,h)}function Xi(t){return void 0===t?ss:"function"==typeof t&&(ss=t,!0)}function Ki(t,e){return void 0!==rs[t]&&(void 0===e?rs[t]:(rs[t]=e,"s"===t&&(rs.ss=e-1),!0))}function Qi(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,o=!1,a=rs;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(o=t),"object"==typeof e&&(a=Object.assign({},rs,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),i=Ui(this,!o,a,n=this.localeData()),o&&(i=n.pastFuture(+this,i)),n.postformat(i)}function Ji(t){return(t>0)-(t<0)||+t}function to(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,o,a,s,r,l=ls(this._milliseconds)/1e3,d=ls(this._days),c=ls(this._months),u=this.asSeconds();return u?(t=W(l/60),e=W(t/60),l%=60,t%=60,n=W(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=u<0?"-":"",a=Ji(this._months)!==Ji(u)?"-":"",s=Ji(this._days)!==Ji(u)?"-":"",r=Ji(this._milliseconds)!==Ji(u)?"-":"",o+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(d?s+d+"D":"")+(e||t||l?"T":"")+(e?r+e+"H":"")+(t?r+t+"M":"")+(l?r+i+"S":"")):"P0D"}var eo,no;no=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var io,oo=t.momentProperties=[],ao=!1,so={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null,io=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)o(t,e)&&n.push(e);return n};var ro,lo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},co=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,uo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ho={},po={},fo={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},mo="Invalid date",go="%d",vo=/\d{1,2}/,yo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},bo={},_o={},wo=/\d/,xo=/\d\d/,To=/\d{3}/,Co=/\d{4}/,So=/[+-]?\d{6}/,Eo=/\d\d?/,ko=/\d\d\d\d?/,Mo=/\d\d\d\d\d\d?/,Po=/\d{1,3}/,Lo=/\d{1,4}/,Do=/[+-]?\d{1,6}/,Oo=/\d+/,$o=/[+-]?\d+/,zo=/Z|[+-]\d\d:?\d\d/gi,Io=/Z|[+-]\d\d(?::?\d\d)?/gi,Ao=/[+-]?\d+(\.\d{1,3})?/,No=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;ro={};var Ro,Ho={},Bo=0,jo=1,Fo=2,Yo=3,Wo=4,Zo=5,qo=6,Vo=7,Go=8;Ro=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},M("M",["MM",2],"Mo",function(){return this.month()+1}),M("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),M("MMMM",0,0,function(t){return this.localeData().months(this,t)}),R("month","M"),j("month",8),K("M",Eo),K("MM",Eo,xo),K("MMM",function(t,e){return e.monthsShortRegex(t)}),K("MMMM",function(t,e){return e.monthsRegex(t)}),et(["M","MM"],function(t,e){e[jo]=Z(t)-1}),et(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[jo]=o:p(n).invalidMonth=t});var Uo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Xo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ko=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Qo=No,Jo=No;M("Y",0,0,function(){var t=this.year();return t<=9999?k(t,4):"+"+t}),M(0,["YY",2],0,function(){return this.year()%100}),M(0,["YYYY",4],0,"year"),M(0,["YYYYY",5],0,"year"),M(0,["YYYYYY",6,!0],0,"year"),R("year","y"),j("year",1),K("Y",$o),K("YY",Eo,xo),K("YYYY",Lo,Co),K("YYYYY",Do,So),K("YYYYYY",Do,So),et(["YYYYY","YYYYYY"],Bo),et("YYYY",function(e,n){n[Bo]=2===e.length?t.parseTwoDigitYear(e):Z(e)}),et("YY",function(e,n){n[Bo]=t.parseTwoDigitYear(e)}),et("Y",function(t,e){e[Bo]=parseInt(t,10)}),t.parseTwoDigitYear=function(t){return Z(t)+(Z(t)>68?1900:2e3)};var ta=q("FullYear",!0);M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),j("week",5),j("isoWeek",5),K("w",Eo),K("ww",Eo,xo),K("W",Eo),K("WW",Eo,xo),nt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=Z(t)});var ea={dow:0,doy:6};M("d",0,"do","day"),M("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),M("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),M("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),K("d",Eo),K("e",Eo),K("E",Eo),K("dd",function(t,e){return e.weekdaysMinRegex(t)}),K("ddd",function(t,e){return e.weekdaysShortRegex(t)}),K("dddd",function(t,e){return e.weekdaysRegex(t)}),nt(["dd","ddd","dddd"],function(t,e,n,i){var o=n._locale.weekdaysParse(t,i,n._strict);null!=o?e.d=o:p(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,i){e[i]=Z(t)});var na="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ia="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),aa=No,sa=No,ra=No;M("H",["HH",2],0,"hour"),M("h",["hh",2],0,Wt),M("k",["kk",2],0,Zt),M("hmm",0,0,function(){return""+Wt.apply(this)+k(this.minutes(),2)}),M("hmmss",0,0,function(){return""+Wt.apply(this)+k(this.minutes(),2)+k(this.seconds(),2)}),M("Hmm",0,0,function(){return""+this.hours()+k(this.minutes(),2)}),M("Hmmss",0,0,function(){return""+this.hours()+k(this.minutes(),2)+k(this.seconds(),2)}),qt("a",!0),qt("A",!1),R("hour","h"),j("hour",13),K("a",Vt),K("A",Vt),K("H",Eo),K("h",Eo),K("k",Eo),K("HH",Eo,xo),K("hh",Eo,xo),K("kk",Eo,xo),K("hmm",ko),K("hmmss",Mo),K("Hmm",ko),K("Hmmss",Mo),et(["H","HH"],Yo),et(["k","kk"],function(t,e){var n=Z(t);e[Yo]=24===n?0:n}),et(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),et(["h","hh"],function(t,e,n){e[Yo]=Z(t),p(n).bigHour=!0}),et("hmm",function(t,e,n){var i=t.length-2;e[Yo]=Z(t.substr(0,i)),e[Wo]=Z(t.substr(i)),p(n).bigHour=!0}),et("hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[Yo]=Z(t.substr(0,i)),e[Wo]=Z(t.substr(i,2)),e[Zo]=Z(t.substr(o)),p(n).bigHour=!0}),et("Hmm",function(t,e){var n=t.length-2;e[Yo]=Z(t.substr(0,n)),e[Wo]=Z(t.substr(n))}),et("Hmmss",function(t,e){var n=t.length-4,i=t.length-2;e[Yo]=Z(t.substr(0,n)),e[Wo]=Z(t.substr(n,2)),e[Zo]=Z(t.substr(i))});var la,da=/[ap]\.?m?\.?/i,ca=q("Hours",!0),ua={calendar:lo,longDateFormat:fo,invalidDate:mo,ordinal:go,dayOfMonthOrdinalParse:vo,relativeTime:yo,months:Uo,monthsShort:Xo,week:ea,weekdays:na,weekdaysMin:oa,weekdaysShort:ia,meridiemParse:da},ha={},pa={},fa=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ma=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ga=/Z|[+-]\d\d(?::?\d\d)?/,va=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ya=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ba=/^\/?Date\((-?\d+)/i,_a=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wa={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=_("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var xa=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Ta=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()}),Ca=function(){return Date.now?Date.now():+new Date},Sa=["year","quarter","month","week","day","hour","minute","second","millisecond"];
vendor: 9,665 bytes, lines 17-18
17Re("Z",":"),Re("ZZ",""),K("Z",Io),K("ZZ",Io),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=He(Io,t)});var Ea=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var ka=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ma=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Je.fn=ze.prototype,Je.invalid=$e;var Pa=on(1,"add"),La=on(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Da=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),Oa=1e3,$a=60*Oa,za=60*$a,Ia=3506328*za;M("N",0,0,"eraAbbr"),M("NN",0,0,"eraAbbr"),M("NNN",0,0,"eraAbbr"),M("NNNN",0,0,"eraName"),M("NNNNN",0,0,"eraNarrow"),M("y",["y",1],"yo","eraYear"),M("y",["yy",2],0,"eraYear"),M("y",["yyy",3],0,"eraYear"),M("y",["yyyy",4],0,"eraYear"),K("N",ii),K("NN",ii),K("NNN",ii),K("NNNN",oi),K("NNNNN",ai),et(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var o=n._locale.erasParse(t,i,n._strict);o?p(n).era=o:p(n).invalidEra=t}),K("y",Oo),K("yy",Oo),K("yyy",Oo),K("yyyy",Oo),K("yo",si),et(["y","yy","yyy","yyyy"],Bo),et(["yo"],function(t,e,n){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Bo]=n._locale.eraYearOrdinalParse(t,i):e[Bo]=parseInt(t,10)}),M(0,["gg",2],0,function(){return this.weekYear()%100}),M(0,["GG",2],0,function(){return this.isoWeekYear()%100}),li("gggg","weekYear"),li("ggggg","weekYear"),li("GGGG","isoWeekYear"),li("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),K("G",$o),K("g",$o),K("GG",Eo,xo),K("gg",Eo,xo),K("GGGG",Lo,Co),K("gggg",Lo,Co),K("GGGGG",Do,So),K("ggggg",Do,So),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=Z(t)}),nt(["gg","GG"],function(e,n,i,o){n[o]=t.parseTwoDigitYear(e)}),M("Q",0,"Qo","quarter"),R("quarter","Q"),j("quarter",7),K("Q",wo),et("Q",function(t,e){e[jo]=3*(Z(t)-1)}),M("D",["DD",2],"Do","date"),R("date","D"),j("date",9),K("D",Eo),K("DD",Eo,xo),K("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),et(["D","DD"],Fo),et("Do",function(t,e){e[Fo]=Z(t.match(Eo)[0])});var Aa=q("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),j("dayOfYear",4),K("DDD",Po),K("DDDD",To),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=Z(t)}),M("m",["mm",2],0,"minute"),R("minute","m"),j("minute",14),K("m",Eo),K("mm",Eo,xo),et(["m","mm"],Wo);var Na=q("Minutes",!1);M("s",["ss",2],0,"second"),R("second","s"),j("second",15),K("s",Eo),K("ss",Eo,xo),et(["s","ss"],Zo);var Ra,Ha,Ba=q("Seconds",!1);for(M("S",0,0,function(){return~~(this.millisecond()/100)}),M(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),M(0,["SSS",3],0,"millisecond"),M(0,["SSSS",4],0,function(){return 10*this.millisecond()}),M(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),M(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),M(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),M(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),M(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),j("millisecond",16),K("S",Po,wo),K("SS",Po,xo),K("SSS",Po,To),Ra="SSSS";Ra.length<=9;Ra+="S")K(Ra,Oo);for(Ra="S";Ra.length<=9;Ra+="S")et(Ra,bi);Ha=q("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var ja=v.prototype;ja.add=Pa,ja.calendar=hn,ja.clone=pn,ja.diff=_n,ja.endOf=An,ja.format=Sn,ja.from=En,ja.fromNow=kn,ja.to=Mn,ja.toNow=Pn,ja.get=U,ja.invalidAt=Zn,ja.isAfter=fn,ja.isBefore=mn,ja.isBetween=gn,ja.isSame=vn,ja.isSameOrAfter=yn,ja.isSameOrBefore=bn,ja.isValid=Yn,ja.lang=Da,ja.locale=Ln,ja.localeData=Dn,ja.max=Ta,ja.min=xa,ja.parsingFlags=Wn,ja.set=X,ja.startOf=In,ja.subtract=La,ja.toArray=Bn,ja.toObject=jn,ja.toDate=Hn,ja.toISOString=Tn,ja.inspect=Cn,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ja[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ja.toJSON=Fn,ja.toString=xn,ja.unix=Rn,ja.valueOf=Nn,ja.creationData=qn,ja.eraName=Xn,ja.eraNarrow=Kn,ja.eraAbbr=Qn,ja.eraYear=Jn,ja.year=ta,ja.isLeapYear=vt,ja.weekYear=di,ja.isoWeekYear=ci,ja.quarter=ja.quarters=vi,ja.month=ut,ja.daysInMonth=ht,ja.week=ja.weeks=kt,ja.isoWeek=ja.isoWeeks=Mt,ja.weeksInYear=pi,ja.weeksInWeekYear=fi,ja.isoWeeksInYear=ui,ja.isoWeeksInISOWeekYear=hi,ja.date=Aa,ja.day=ja.days=Nt,ja.weekday=Rt,ja.isoWeekday=Ht,ja.dayOfYear=yi,ja.hour=ja.hours=ca,ja.minute=ja.minutes=Na,ja.second=ja.seconds=Ba,ja.millisecond=ja.milliseconds=Ha,ja.utcOffset=Fe,ja.utc=We,ja.local=Ze,ja.parseZone=qe,ja.hasAlignedHourOffset=Ve,ja.isDST=Ge,ja.isLocal=Xe,ja.isUtcOffset=Ke,ja.isUtc=Qe,ja.isUTC=Qe,ja.zoneAbbr=_i,ja.zoneName=wi,ja.dates=_("dates accessor is deprecated. Use date instead.",Aa),ja.months=_("months accessor is deprecated. Use month instead",ut),ja.years=_("years accessor is deprecated. Use year instead",ta),ja.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ye),ja.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ue);var Fa=S.prototype;Fa.calendar=E,Fa.longDateFormat=$,Fa.invalidDate=z,Fa.ordinal=I,Fa.preparse=Ci,Fa.postformat=Ci,Fa.relativeTime=A,Fa.pastFuture=N,Fa.set=T,Fa.eras=Vn,Fa.erasParse=Gn,Fa.erasConvertYear=Un,Fa.erasAbbrRegex=ei,Fa.erasNameRegex=ti,Fa.erasNarrowRegex=ni,Fa.months=st,Fa.monthsShort=rt,Fa.monthsParse=dt,Fa.monthsRegex=ft,Fa.monthsShortRegex=pt,Fa.week=Ct,Fa.firstDayOfYear=Et,Fa.firstDayOfWeek=St,Fa.weekdays=Ot,Fa.weekdaysMin=zt,
18Fa.weekdaysShort=$t,Fa.weekdaysParse=At,Fa.weekdaysRegex=Bt,Fa.weekdaysShortRegex=jt,Fa.weekdaysMinRegex=Ft,Fa.isPM=Gt,Fa.meridiem=Ut,ee("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===Z(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),t.lang=_("moment.lang is deprecated. Use moment.locale instead.",ee),t.langData=_("moment.langData is deprecated. Use moment.localeData instead.",oe);var Ya=Math.abs,Wa=Yi("ms"),Za=Yi("s"),qa=Yi("m"),Va=Yi("h"),Ga=Yi("d"),Ua=Yi("w"),Xa=Yi("M"),Ka=Yi("Q"),Qa=Yi("y"),Ja=qi("milliseconds"),ts=qi("seconds"),es=qi("minutes"),ns=qi("hours"),is=qi("days"),os=qi("months"),as=qi("years"),ss=Math.round,rs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},ls=Math.abs,ds=ze.prototype;return ds.isValid=Oe,ds.abs=$i,ds.add=Ii,ds.subtract=Ai,ds.as=ji,ds.asMilliseconds=Wa,ds.asSeconds=Za,ds.asMinutes=qa,ds.asHours=Va,ds.asDays=Ga,ds.asWeeks=Ua,ds.asMonths=Xa,ds.asQuarters=Ka,ds.asYears=Qa,ds.valueOf=Fi,ds._bubble=Ri,ds.clone=Wi,ds.get=Zi,ds.milliseconds=Ja,ds.seconds=ts,ds.minutes=es,ds.hours=ns,ds.days=is,ds.weeks=Vi,ds.months=os,ds.years=as,ds.humanize=Qi,ds.toISOString=to,ds.toString=to,ds.toJSON=to,ds.locale=Ln,ds.localeData=Dn,ds.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",to),ds.lang=Da,M("X",0,0,"unix"),M("x",0,0,"valueOf"),K("x",$o),K("X",Ao),et("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),et("x",function(t,e,n){n._d=new Date(Z(t))}),t.version="2.29.4",e(ke),t.fn=ja,t.min=Pe,t.max=Le,t.now=Ca,t.utc=u,t.unix=xi,t.months=Mi,t.isDate=l,t.locale=ee,t.invalid=m,t.duration=Je,t.isMoment=y,t.weekdays=Li,t.parseZone=Ti,t.localeData=oe,t.isDuration=Ie,t.monthsShort=Pi,t.weekdaysMin=Oi,t.defineLocale=ne,t.updateLocale=ie,t.locales=ae,t.weekdaysShort=Di,t.normalizeUnits=H,t.relativeTimeRounding=Xi,t.relativeTimeThreshold=Ki,t.calendarFormat=un,t.prototype=ja,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?e(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],e):e(t.moment)}(this,function(t){"use strict";return t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
18d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}),function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],t);else if("object"==typeof exports)module.exports=t(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";t(jQuery,moment)}}(function(t,e){"use strict";if(!e)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,i){var o,a,s,r,l,d,c,u={},h=!0,p=!1,f=!1,m=0,g=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],v=["days","months","years","decades"],y=["top","bottom","auto"],b=["left","right","auto"],_=["default","top","bottom"],w={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},x={},T=function(){return void 0!==e.tz&&void 0!==i.timeZone&&null!==i.timeZone&&""!==i.timeZone},C=function(t){var n;return n=null==t?e():e.isDate(t)||e.isMoment(t)?e(t):T()?e.tz(t,d,i.useStrict,i.timeZone):e(t,d,i.useStrict),T()&&n.tz(i.timeZone),n},S=function(t){if("string"!=typeof t||t.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(t){case"y":return-1!==l.indexOf("Y");case"M":return-1!==l.indexOf("M");case"d":return-1!==l.toLowerCase().indexOf("d");case"h":case"H":return-1!==l.toLowerCase().indexOf("h");case"m":return-1!==l.indexOf("m");case"s":return-1!==l.indexOf("s");default:return!1}},E=function(){return S("h")||S("m")||S("s")},k=function(){return S("y")||S("M")||S("d")},M=function(){var e=t("<thead>").append(t("<tr>").append(t("<th>").addClass("prev").attr("data-action","previous").append(t("<span>").addClass(i.icons.previous))).append(t("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",i.calendarWeeks?"6":"5")).append(t("<th>").addClass("next").attr("data-action","next").append(t("<span>").addClass(i.icons.next)))),n=t("<tbody>").append(t("<tr>").append(t("<td>").attr("colspan",i.calendarWeeks?"8":"7")));return[t("<div>").addClass("datepicker-days").append(t("<table>").addClass("table-condensed").append(e).append(t("<tbody>"))),t("<div>").addClass("datepicker-months").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-years").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone())),t("<div>").addClass("datepicker-decades").append(t("<table>").addClass("table-condensed").append(e.clone()).append(n.clone()))]},P=function(){var e=t("<tr>"),n=t("<tr>"),o=t("<tr>");return S("h")&&(e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:i.tooltips.pickHour}).attr("data-action","showHours"))),o.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(t("<span>").addClass(i.icons.down))))),S("m")&&(S("h")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),o.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:i.tooltips.pickMinute}).attr("data-action","showMinutes"))),o.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(t("<span>").addClass(i.icons.down))))),S("s")&&(S("m")&&(e.append(t("<td>").addClass("separator")),n.append(t("<td>").addClass("separator").html(":")),o.append(t("<td>").addClass("separator"))),e.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(t("<span>").addClass(i.icons.up)))),n.append(t("<td>").append(t("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:i.tooltips.pickSecond}).attr("data-action","showSeconds"))),o.append(t("<td>").append(t("<a>").attr({href:"#",tabindex:"-1",title:i.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(t("<span>").addClass(i.icons.down))))),r||(e.append(t("<td>").addClass("separator")),n.append(t("<td>").append(t("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:i.tooltips.togglePeriod}))),o.append(t("<td>").addClass("separator"))),t("<div>").addClass("timepicker-picker").append(t("<table>").addClass("table-condensed").append([e,n,o]))},L=function(){var e=t("<div>").addClass("timepicker-hours").append(t("<table>").addClass("table-condensed")),n=t("<div>").addClass("timepicker-minutes").append(t("<table>").addClass("table-condensed")),i=t("<div>").addClass("timepicker-seconds").append(t("<table>").addClass("table-condensed")),o=[P()];return S("h")&&o.push(e),S("m")&&o.push(n),S("s")&&o.push(i),o},D=function(){var e=[];return i.showTodayButton&&e.push(t("<td>").append(t("<a>").attr({"data-action":"today",title:i.tooltips.today}).append(t("<span>").addClass(i.icons.today)))),!i.sideBySide&&k()&&E()&&e.push(t("<td>").append(t("<a>").attr({"data-action":"togglePicker",title:i.tooltips.selectTime}).append(t("<span>").addClass(i.icons.time)))),i.showClear&&e.push(t("<td>").append(t("<a>").attr({"data-action":"clear",title:i.tooltips.clear}).append(t("<span>").addClass(i.icons.clear)))),i.showClose&&e.push(t("<td>").append(t("<a>").attr({"data-action":"close",title:i.tooltips.close}).append(t("<span>").addClass(i.icons.close)))),t("<table>").addClass("table-condensed").append(t("<tbody>").append(t("<tr>").append(e)))},O=function(){var e=t("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=t("<div>
18").addClass("datepicker").append(M()),o=t("<div>").addClass("timepicker").append(L()),a=t("<ul>").addClass("list-unstyled"),s=t("<li>").addClass("picker-switch"+(i.collapse?" accordion-toggle":"")).append(D());return i.inline&&e.removeClass("dropdown-menu"),r&&e.addClass("usetwentyfour"),S("s")&&!r&&e.addClass("wider"),i.sideBySide&&k()&&E()?(e.addClass("timepicker-sbs"),"top"===i.toolbarPlacement&&e.append(s),e.append(t("<div>").addClass("row").append(n.addClass("col-md-6")).append(o.addClass("col-md-6"))),"bottom"===i.toolbarPlacement&&e.append(s),e):("top"===i.toolbarPlacement&&a.append(s),k()&&a.append(t("<li>").addClass(i.collapse&&E()?"collapse in":"").append(n)),"default"===i.toolbarPlacement&&a.append(s),E()&&a.append(t("<li>").addClass(i.collapse&&k()?"collapse":"").append(o)),"bottom"===i.toolbarPlacement&&a.append(s),e.append(a))},$=function(){var e,o={};return(e=n.is("input")||i.inline?n.data():n.find("input").data()).dateOptions&&e.dateOptions instanceof Object&&(o=t.extend(!0,o,e.dateOptions)),t.each(i,function(t){var n="date"+t.charAt(0).toUpperCase()+t.slice(1);void 0!==e[n]&&(o[t]=e[n])}),o},z=function(){var e,o=(p||n).position(),a=(p||n).offset(),s=i.widgetPositioning.vertical,r=i.widgetPositioning.horizontal;if(i.widgetParent)e=i.widgetParent.append(f);else if(n.is("input"))e=n.after(f).parent();else{if(i.inline)return void(e=n.append(f));e=n,n.children().first().after(f)}if("auto"===s&&(s=a.top+1.5*f.height()>=t(window).height()+t(window).scrollTop()&&f.height()+n.outerHeight()<a.top?"top":"bottom"),"auto"===r&&(r=e.width()<a.left+f.outerWidth()/2&&a.left+f.outerWidth()>t(window).width()?"right":"left"),"top"===s?f.addClass("top").removeClass("bottom"):f.addClass("bottom").removeClass("top"),"right"===r?f.addClass("pull-right"):f.removeClass("pull-right"),"static"===e.css("position")&&(e=e.parents().filter(function(){return"static"!==t(this).css("position")}).first()),0===e.length)throw new Error("datetimepicker component should be placed within a non-static positioned container");f.css({top:"top"===s?"auto":o.top+n.outerHeight(),bottom:"top"===s?e.outerHeight()-(e===n?0:o.top):"auto",left:"left"===r?e===n?0:o.left:"auto",right:"left"===r?"auto":e.outerWidth()-n.outerWidth()-(e===n?0:o.left)})},I=function(t){"dp.change"===t.type&&(t.date&&t.date.isSame(t.oldDate)||!t.date&&!t.oldDate)||n.trigger(t)},A=function(t){"y"===t&&(t="YYYY"),I({type:"dp.update",change:t,viewDate:a.clone()})},N=function(t){f&&(t&&(c=Math.max(m,Math.min(3,c+t))),f.find(".datepicker > div").hide().filter(".datepicker-"+g[c].clsName).show())},R=function(){var e=t("<tr>"),n=a.clone().startOf("w").startOf("d");for(!0===i.calendarWeeks&&e.append(t("<th>").addClass("cw").text("#"));n.isBefore(a.clone().endOf("w"));)e.append(t("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");f.find(".datepicker-days thead").append(e)},H=function(t){return!0===i.disabledDates[t.format("YYYY-MM-DD")]},B=function(t){return!0===i.enabledDates[t.format("YYYY-MM-DD")]},j=function(t){return!0===i.disabledHours[t.format("H")]},F=function(t){return!0===i.enabledHours[t.format("H")]},Y=function(e,n){if(!e.isValid())return!1;if(i.disabledDates&&"d"===n&&H(e))return!1;if(i.enabledDates&&"d"===n&&!B(e))return!1;if(i.minDate&&e.isBefore(i.minDate,n))return!1;if(i.maxDate&&e.isAfter(i.maxDate,n))return!1;if(i.daysOfWeekDisabled&&"d"===n&&-1!==i.daysOfWeekDisabled.indexOf(e.day()))return!1;if(i.disabledHours&&("h"===n||"m"===n||"s"===n)&&j(e))return!1;if(i.enabledHours&&("h"===n||"m"===n||"s"===n)&&!F(e))return!1;if(i.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var o=!1;if(t.each(i.disabledTimeIntervals,function(){if(e.isBetween(this[0],this[1]))return o=!0,!1}),o)return!1}return!0},W=function(){for(var e=[],n=a.clone().startOf("y").startOf("d");n.isSame(a,"y");)e.push(t("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");f.find(".datepicker-months td").empty().append(e)},Z=function(){var e=f.find(".datepicker-months"),n=e.find("th"),s=e.find("tbody").find("span");n.eq(0).find("span").attr("title",i.tooltips.prevYear),n.eq(1).attr("title",i.tooltips.selectYear),n.eq(2).find("span").attr("title",i.tooltips.nextYear),e.find(".disabled").removeClass("disabled"),Y(a.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(a.year()),Y(a.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),s.removeClass("active"),o.isSame(a,"y")&&!h&&s.eq(o.month()).addClass("active"),s.each(function(e){Y(a.clone().month(e),"M")||t(this).addClass("disabled")})},q=function(){var t=f.find(".datepicker-years"),e=t.find("th"),n=a.clone().subtract(5,"y"),s=a.clone().add(6,"y"),r="";for(e.eq(0).find("span").attr("title",i.tooltips.prevDecade),e.eq(1).attr("title",i.tooltips.selectDecade),e.eq(2).find("span").attr("title",i.tooltips.nextDecade),t.find(".disabled").removeClass("disabled"),i.minDate&&i.minDate.isAfter(n,"y")&&e.eq(0).addClass("disabled"),e.eq(1).text(n.year()+"-"+s.year()),i.maxDate&&i.maxDate.isBefore(s,"y")&&e.eq(2).addClass("disabled");!n.isAfter(s,"y");)r+='<span data-action="selectYear" class="year'+(n.isSame(o,"y")&&!h?" active":"")+(Y(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");t.find("td").html(r)},V=function(){var t,n=f.find(".datepicker-decades"),s=n.find("th"),r=e({y:a.year()-a.year()%100-1}),l=r.clone().add(100,"y"),d=r.clone(),c=!1,u=!1,h="";for(s.eq(0).find("span").attr("title",i.tooltips.prevCentury),s.eq(2).find("span").attr("title",i.tooltips.nextCentury),n.find(".disabled").removeClass("disabled"),(r.isSame(e({y:1900}
vendor: 13,578 bytes, line 18
18))||i.minDate&&i.minDate.isAfter(r,"y"))&&s.eq(0).addClass("disabled"),s.eq(1).text(r.year()+"-"+l.year()),(r.isSame(e({y:2e3}))||i.maxDate&&i.maxDate.isBefore(l,"y"))&&s.eq(2).addClass("disabled");!r.isAfter(l,"y");)t=r.year()+12,c=i.minDate&&i.minDate.isAfter(r,"y")&&i.minDate.year()<=t,u=i.maxDate&&i.maxDate.isAfter(r,"y")&&i.maxDate.year()<=t,h+='<span data-action="selectDecade" class="decade'+(o.isAfter(r)&&o.year()<=t?" active":"")+(Y(r,"y")||c||u?"":" disabled")+'" data-selection="'+(r.year()+6)+'">'+(r.year()+1)+" - "+(r.year()+12)+"</span>",r.add(12,"y");h+="<span></span><span></span><span></span>",n.find("td").html(h),s.eq(1).text(d.year()+1+"-"+r.year())},G=function(){var e,n,s,r=f.find(".datepicker-days"),l=r.find("th"),d=[],c=[];if(k()){for(l.eq(0).find("span").attr("title",i.tooltips.prevMonth),l.eq(1).attr("title",i.tooltips.selectMonth),l.eq(2).find("span").attr("title",i.tooltips.nextMonth),r.find(".disabled").removeClass("disabled"),l.eq(1).text(a.format(i.dayViewHeaderFormat)),Y(a.clone().subtract(1,"M"),"M")||l.eq(0).addClass("disabled"),Y(a.clone().add(1,"M"),"M")||l.eq(2).addClass("disabled"),e=a.clone().startOf("M").startOf("w").startOf("d"),s=0;s<42;s++)0===e.weekday()&&(n=t("<tr>"),i.calendarWeeks&&n.append('<td class="cw">'+e.week()+"</td>"),d.push(n)),c=["day"],e.isBefore(a,"M")&&c.push("old"),e.isAfter(a,"M")&&c.push("new"),e.isSame(o,"d")&&!h&&c.push("active"),Y(e,"d")||c.push("disabled"),e.isSame(C(),"d")&&c.push("today"),0!==e.day()&&6!==e.day()||c.push("weekend"),I({type:"dp.classify",date:e,classNames:c}),n.append('<td data-action="selectDay" data-day="'+e.format("L")+'" class="'+c.join(" ")+'">'+e.date()+"</td>"),e.add(1,"d");r.find("tbody").empty().append(d),Z(),q(),V()}},U=function(){var e=f.find(".timepicker-hours table"),n=a.clone().startOf("d"),i=[],o=t("<tr>");for(a.hour()>11&&!r&&n.hour(12);n.isSame(a,"d")&&(r||a.hour()<12&&n.hour()<12||a.hour()>11);)n.hour()%4==0&&(o=t("<tr>"),i.push(o)),o.append('<td data-action="selectHour" class="hour'+(Y(n,"h")?"":" disabled")+'">'+n.format(r?"HH":"hh")+"</td>"),n.add(1,"h");e.empty().append(i)},X=function(){for(var e=f.find(".timepicker-minutes table"),n=a.clone().startOf("h"),o=[],s=t("<tr>"),r=1===i.stepping?5:i.stepping;a.isSame(n,"h");)n.minute()%(4*r)==0&&(s=t("<tr>"),o.push(s)),s.append('<td data-action="selectMinute" class="minute'+(Y(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(r,"m");e.empty().append(o)},K=function(){for(var e=f.find(".timepicker-seconds table"),n=a.clone().startOf("m"),i=[],o=t("<tr>");a.isSame(n,"m");)n.second()%20==0&&(o=t("<tr>"),i.push(o)),o.append('<td data-action="selectSecond" class="second'+(Y(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");e.empty().append(i)},Q=function(){var t,e,n=f.find(".timepicker span[data-time-component]");r||(t=f.find(".timepicker [data-action=togglePeriod]"),e=o.clone().add(o.hours()>=12?-12:12,"h"),t.text(o.format("A")),Y(e,"h")?t.removeClass("disabled"):t.addClass("disabled")),n.filter("[data-time-component=hours]").text(o.format(r?"HH":"hh")),n.filter("[data-time-component=minutes]").text(o.format("mm")),n.filter("[data-time-component=seconds]").text(o.format("ss")),U(),X(),K()},J=function(){f&&(G(),Q())},tt=function(t){var e=h?null:o;if(!t)return h=!0,s.val(""),n.data("date",""),I({type:"dp.change",date:!1,oldDate:e}),void J();if(t=t.clone().locale(i.locale),T()&&t.tz(i.timeZone),1!==i.stepping)for(t.minutes(Math.round(t.minutes()/i.stepping)*i.stepping).seconds(0);i.minDate&&t.isBefore(i.minDate);)t.add(i.stepping,"minutes");Y(t)?(a=(o=t).clone(),s.val(o.format(l)),n.data("date",o.format(l)),h=!1,J(),I({type:"dp.change",date:o.clone(),oldDate:e})):(i.keepInvalid?I({type:"dp.change",date:t,oldDate:e}):s.val(h?"":o.format(l)),I({type:"dp.error",date:t,oldDate:e}))},et=function(){var e=!1;return f?(f.find(".collapse").each(function(){var n=t(this).data("collapse");return!n||!n.transitioning||(e=!0,!1)}),e||(p&&p.hasClass("btn")&&p.toggleClass("active"),f.hide(),t(window).off("resize",z),f.off("click","[data-action]"),f.off("mousedown",!1),f.remove(),f=!1,I({type:"dp.hide",date:o.clone()}),s.blur(),a=o.clone()),u):u},nt=function(){tt(null)},it=function(t){return void 0===i.parseInputDate?(!e.isMoment(t)||t instanceof Date)&&(t=C(t)):t=i.parseInputDate(t),t},ot={next:function(){var t=g[c].navFnc;a.add(g[c].navStep,t),G(),A(t)},previous:function(){var t=g[c].navFnc;a.subtract(g[c].navStep,t),G(),A(t)},pickerSwitch:function(){N(1)},selectMonth:function(e){var n=t(e.target).closest("tbody").find("span").index(t(e.target));a.month(n),c===m?(tt(o.clone().year(a.year()).month(a.month())),i.inline||et()):(N(-1),G()),A("M")},selectYear:function(e){var n=parseInt(t(e.target).text(),10)||0;a.year(n),c===m?(tt(o.clone().year(a.year())),i.inline||et()):(N(-1),G()),A("YYYY")},selectDecade:function(e){var n=parseInt(t(e.target).data("selection"),10)||0;a.year(n),c===m?(tt(o.clone().year(a.year())),i.inline||et()):(N(-1),G()),A("YYYY")},selectDay:function(e){var n=a.clone();t(e.target).is(".old")&&n.subtract(1,"M"),t(e.target).is(".new")&&n.add(1,"M"),tt(n.date(parseInt(t(e.target).text(),10))),E()||i.keepOpen||i.inline||et()},incrementHours:function(){var t=o.clone().add(1,"h");Y(t,"h")&&tt(t)},incrementMinutes:function(){var t=o.clone().add(i.stepping,"m");Y(t,"m")&&tt(t)},incrementSeconds:function(){var t=o.clone().add(1,"s");Y(t,"s")&&tt(t)},decrementHours:function(){var t=o.clone().subtract(1,"h");Y(t,"h")&&tt(t)},decrementMinutes:function(){var t=o.clone().subtract(i.stepping,"m");Y(t,"m")&&tt(t)},decrementSeconds:function(){var t=o.clone().subtract(1,"s");Y(t,"s")&&tt(t)},togglePeriod:function(){tt(o.clone().add(o.hours()>=12?-12:12,"h"))},togglePicker:function(e){var n,o=t(e.target),a=o.closest("ul"),s=a.find(".in"),r=a.find(".collapse:not(.in)");if(s&&s.length){if((n=s.data("collapse"))&&n.transitioning)return;s.collapse?(s.collapse("hide"),r.collapse("show")):(s.removeClass("in"),r.addClass("in")),o.is("span")?o.toggleClass(i.icons.time+" "+i.icons.date):o.find("span").toggleClass(i.icons.time+" "+i.icons.date)}},showPicker:function(){f.find(".timepicker > div:not(.timepicker-picker)").hide(),f.find(".timepicker .timepicker-picker").show()},showHours:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-hours").show()},showMinutes:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-seconds").show()},selectHour:function(e){var n=parseInt(t(e.target).text(),10);r||(o.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),tt(o.clone().hours(n)),ot.showPicker.call(u)},selectMinute:function(e){tt(o.clone().minutes(parseInt(t(e.target).text(),10))),ot.showPicker.call(u)},selectSecond:function(e){tt(o.clone().seconds(parseInt(t(e.target).text(),10))),ot.showPicker.call(u)},clear:nt,today:function(){var t=C();Y(t,"d")&&tt(t)},close:et},at=function(e){return t(e.currentTarget).is(".disabled")||ot[t(e.currentTarget).data("action")].apply(u,arguments),!1},st=function(){var e,n={year:function(t){return t.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(t){return t.date(1).hours(0).seconds(0).minutes(0)},day:function(t){return t.hours(0).seconds(0).minutes(0)},hour:function(t){return t.seconds(0).minutes(0)},minute:function(t){return t.seconds(0)}};return s.prop("disabled")||!i.ignoreReadonly&&s.prop("readonly")||f||(void 0!==s.val()&&0!==s.val().trim().length?tt(it(s.val().trim())):h&&i.useCurrent&&(i.inline||s.is("input")&&0===s.val().trim().length)&&(e=C(),"string"==typeof i.useCurrent&&(e=n[i.useCurrent](e)),tt(e)),f=O(),R(),W(),f.find(".timepicker-hours").hide(),f.find(".timepicker-minutes").hide(),f.find(".timepicker-seconds").hide(),J(),N(),t(window).on("resize",z),f.on("click","[data-action]",at),f.on("mousedown",!1),p&&p.hasClass("btn")&&p.toggleClass("active"),z(),f.show(),i.focusOnShow&&!s.is(":focus")&&s.focus(),I({type:"dp.show"})),u},rt=function(){return f?et():st()},lt=function(t){var e,n,o,a,s=null,r=[],l={},d=t.which,c="p";for(e in x[d]=c,x)x.hasOwnProperty(e)&&x[e]===c&&(r.push(e),parseInt(e,10)!==d&&(l[e]=!0));for(e in i.keyBinds)if(i.keyBinds.hasOwnProperty(e)&&"function"==typeof i.keyBinds[e]&&(o=e.split(" ")).length===r.length&&w[d]===o[o.length-1]){for(a=!0,n=o.length-2;n>=0;n--)if(!(w[o[n]]in l)){a=!1;break}if(a){s=i.keyBinds[e];break}}s&&(s.call(u,f),t.stopPropagation(),t.preventDefault())},dt=function(t){x[t.which]="r",t.stopPropagation(),t.preventDefault()},ct=function(e){var n=t(e.target).val().trim(),i=n?it(n):null;return tt(i),e.stopImmediatePropagation(),!1},ut=function(){s.on({change:ct,blur:i.debug?"":et,keydown:lt,keyup:dt,focus:i.allowInputToggle?st:""}),n.is("input")?s.on({focus:st}):p&&(p.on("click",rt),p.on("mousedown",!1))},ht=function(){s.off({change:ct,blur:blur,keydown:lt,keyup:dt,focus:i.allowInputToggle?et:""}),n.is("input")?s.off({focus:st}):p&&(p.off("click",rt),p.off("mousedown",!1))},pt=function(e){var n={};return t.each(e,function(){var t=it(this);t.isValid()&&(n[t.format("YYYY-MM-DD")]=!0)}),!!Object.keys(n).length&&n},ft=function(e){var n={};return t.each(e,function(){n[this]=!0}),!!Object.keys(n).length&&n},mt=function(){var t=i.format||"L LT";l=t.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return(o.localeData().longDateFormat(t)||t).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(t){return o.localeData().longDateFormat(t)||t})}),(d=i.extraFormats?i.extraFormats.slice():[]).indexOf(t)<0&&d.indexOf(l)<0&&d.push(l),r=l.toLowerCase().indexOf("a")<1&&l.replace(/\[.*?\]/g,"").indexOf("h")<1,S("y")&&(m=2),S("M")&&(m=1),S("d")&&(m=0),c=Math.max(m,c),h||tt(o)};if(u.destroy=function(){et(),ht(),n.removeData("DateTimePicker"),n.removeData("date")},u.toggle=rt,u.show=st,u.hide=et,u.disable=function(){return et(),p&&p.hasClass("btn")&&p.addClass("disabled"),s.prop("disabled",!0),u},u.enable=function(){return p&&p.hasClass("btn")&&p.removeClass("disabled"),s.prop("disabled",!1),u},u.ignoreReadonly=function(t){if(0===arguments.length)return i.ignoreReadonly;if("boolean"!=typeof t)throw new TypeError("ignoreReadonly () expects a boolean parameter");return i.ignoreReadonly=t,u},u.options=function(e){if(0===arguments.length)return t.extend(!0,{},i);if(!(e instanceof Object))throw new TypeError("options() options parameter should be an object");return t.extend(!0,i,e),t.each(i,function(t,e){if(void 0===u[t])throw new TypeError("option "+t+" is not recognized!");u[t](e)}),u},u.date=function(t){if(0===arguments.length)return h?null:o.clone();if(!(null===t||"string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return tt(null===t?null:it(t)),u},u.format=function(t){if(0===arguments.length)return i.format;if("string"!=typeof t&&("boolean"!=typeof t||!1!==t))throw new TypeError("format() expects a string or boolean:false parameter "+t);return i.format=t,l&&mt(),u},u.timeZone=function(t){if(0===arguments.length)return i.timeZone;if("string"!=typeof t)throw new TypeError("newZone() expects a string parameter");return i.timeZone=t,u},u.dayViewHeaderFormat=function(t){if(0===arguments.length)return i.dayViewHeaderFormat;if("string"!=typeof t)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return i.dayViewHeaderFormat=t,u},u.extraFormats=function(t){if(0===arguments.length)return i.extraFormats;if(!1!==t&&!(t instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return i.extraFormats=t,d&&mt(),u},u.disabledDates=function(e){if(0===arguments.length)return i.disabledDates?t.extend({},i.disabledDates):i.disabledDates;if(!e)return i.disabledDates=!1,J(),u;if(!(e instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return i.disabledDates=pt(e),i.enabledDates=!1,J(),u},u.enabledDates=function(e){if(0===arguments.length)return i.enabledDates?t.extend({},i.enabledDates):i.enabledDates;if(!e)return i.enabledDates=!1,J(),u;if(!(e instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return i.enabledDates=pt(e),i.disabledDates=!1,J(),u},u.daysOfWeekDisabled=function(t){if(0===arguments.length)return i.daysOfWeekDisabled.splice(0);if("boolean"==typeof t&&!t)return i.daysOfWeekDisabled=!1,J(),u;if(!(t instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(i.daysOfWeekDisabled=t.reduce(function(t,e){return(e=parseInt(e,10))>6||e<0||isNaN(e)||-1===t.indexOf(e)&&t.push(e),t},[]).sort(),i.useCurrent&&!i.keepInvalid){for(var e=0;!Y(o,"d");){if(o.add(1,"d"),31===e)throw"Tried 31 times to find a valid date";e++}tt(o)}return J(),u},u.maxDate=function(t){if(0===arguments.length)return i.maxDate?i.maxDate.clone():i.maxDate;if("boolean"==typeof t&&!1===t)return i.maxDate=!1,J(),u;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=C()));var e=it(t);if(!e.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+t);if(i.minDate&&e.isBefore(i.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+e.format(l));return i.maxDate=e,i.useCurrent&&!i.keepInvalid&&o.isAfter(t)&&tt(i.maxDate),a.isAfter(e)&&(a=e.clone().subtract(i.stepping,"m")),J(),u},u.minDate=function(t){if(0===arguments.length)return i.minDate?i.minDate.clone():i.minDate;if("boolean"==typeof t&&!1===t)return i.minDate=!1,J(),u;"string"==typeof t&&("now"!==t&&"moment"!==t||(t=C()));var e=it(t);
vendor: 6,039 bytes, lines 18-19
18if(!e.isValid())throw new TypeError("minDate() Could not parse date parameter: "+t);if(i.maxDate&&e.isAfter(i.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+e.format(l));return i.minDate=e,i.useCurrent&&!i.keepInvalid&&o.isBefore(t)&&tt(i.minDate),a.isBefore(e)&&(a=e.clone().add(i.stepping,"m")),J(),u},u.defaultDate=function(t){if(0===arguments.length)return i.defaultDate?i.defaultDate.clone():i.defaultDate;if(!t)return i.defaultDate=!1,u;"string"==typeof t&&(t="now"===t||"moment"===t?C():C(t));var e=it(t);if(!e.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+t);if(!Y(e))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return i.defaultDate=e,(i.defaultDate&&i.inline||""===s.val().trim())&&tt(i.defaultDate),u},u.locale=function(t){if(0===arguments.length)return i.locale;if(!e.localeData(t))throw new TypeError("locale() locale "+t+" is not loaded from moment locales!");return i.locale=t,o.locale(i.locale),a.locale(i.locale),l&&mt(),f&&(et(),st()),u},u.stepping=function(t){return 0===arguments.length?i.stepping:(t=parseInt(t,10),(isNaN(t)||t<1)&&(t=1),i.stepping=t,u)},u.useCurrent=function(t){var e=["year","month","day","hour","minute"];if(0===arguments.length)return i.useCurrent;if("boolean"!=typeof t&&"string"!=typeof t)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof t&&-1===e.indexOf(t.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+e.join(", "));return i.useCurrent=t,u},u.collapse=function(t){if(0===arguments.length)return i.collapse;if("boolean"!=typeof t)throw new TypeError("collapse() expects a boolean parameter");return i.collapse===t||(i.collapse=t,f&&(et(),st())),u},u.icons=function(e){if(0===arguments.length)return t.extend({},i.icons);if(!(e instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return t.extend(i.icons,e),f&&(et(),st()),u},u.tooltips=function(e){if(0===arguments.length)return t.extend({},i.tooltips);if(!(e instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return t.extend(i.tooltips,e),f&&(et(),st()),u},u.useStrict=function(t){if(0===arguments.length)return i.useStrict;if("boolean"!=typeof t)throw new TypeError("useStrict() expects a boolean parameter");return i.useStrict=t,u},u.sideBySide=function(t){if(0===arguments.length)return i.sideBySide;if("boolean"!=typeof t)throw new TypeError("sideBySide() expects a boolean parameter");return i.sideBySide=t,f&&(et(),st()),u},u.viewMode=function(t){if(0===arguments.length)return i.viewMode;if("string"!=typeof t)throw new TypeError("viewMode() expects a string parameter");if(-1===v.indexOf(t))throw new TypeError("viewMode() parameter must be one of ("+v.join(", ")+") value");return i.viewMode=t,c=Math.max(v.indexOf(t),m),N(),u},u.toolbarPlacement=function(t){if(0===arguments.length)return i.toolbarPlacement;if("string"!=typeof t)throw new TypeError("toolbarPlacement() expects a string parameter")
19;if(-1===_.indexOf(t))throw new TypeError("toolbarPlacement() parameter must be one of ("+_.join(", ")+") value");return i.toolbarPlacement=t,f&&(et(),st()),u},u.widgetPositioning=function(e){if(0===arguments.length)return t.extend({},i.widgetPositioning);if("[object Object]"!=={}.toString.call(e))throw new TypeError("widgetPositioning() expects an object variable");if(e.horizontal){if("string"!=typeof e.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(e.horizontal=e.horizontal.toLowerCase(),-1===b.indexOf(e.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+b.join(", ")+")");i.widgetPositioning.horizontal=e.horizontal}if(e.vertical){if("string"!=typeof e.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(e.vertical=e.vertical.toLowerCase(),-1===y.indexOf(e.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+y.join(", ")+")");i.widgetPositioning.vertical=e.vertical}return J(),u},u.calendarWeeks=function(t){if(0===arguments.length)return i.calendarWeeks;if("boolean"!=typeof t)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return i.calendarWeeks=t,J(),u},u.showTodayButton=function(t){if(0===arguments.length)return i.showTodayButton;if("boolean"!=typeof t)throw new TypeError("showTodayButton() expects a boolean parameter");return i.showTodayButton=t,f&&(et(),st()),u},u.showClear=function(t){if(0===arguments.length)return i.showClear;if("boolean"!=typeof t)throw new TypeError("showClear() expects a boolean parameter");return i.showClear=t,f&&(et(),st()),u},u.widgetParent=function(e){if(0===arguments.length)return i.widgetParent;if("string"==typeof e&&(e=t(e)),null!==e&&"string"!=typeof e&&!(e instanceof t))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return i.widgetParent=e,f&&(et(),st()),u},u.keepOpen=function(t){if(0===arguments.length)return i.keepOpen;if("boolean"!=typeof t)throw new TypeError("keepOpen() expects a boolean parameter");return i.keepOpen=t,u},u.focusOnShow=function(t){if(0===arguments.length)return i.focusOnShow;if("boolean"!=typeof t)throw new TypeError("focusOnShow() expects a boolean parameter");return i.focusOnShow=t,u},u.inline=function(t){if(0===arguments.length)return i.inline;if("boolean"!=typeof t)throw new TypeError("inline() expects a boolean parameter");return i.inline=t,u},u.clear=function(){return nt(),u},u.keyBinds=function(t){return 0===arguments.length?i.keyBinds:(i.keyBinds=t,u)},u.getMoment=function(t){return C(t)},u.debug=function(t){if("boolean"!=typeof t)throw new TypeError("debug() expects a boolean parameter");return i.debug=t,u},u.allowInputToggle=function(t){if(0===arguments.length)return i.allowInputToggle;if("boolean"!=typeof t)throw new TypeError("allowInputToggle() expects a boolean parameter");return i.allowInputToggle=t,u}
vendor: 4,778 bytes, line 19
19,u.showClose=function(t){if(0===arguments.length)return i.showClose;if("boolean"!=typeof t)throw new TypeError("showClose() expects a boolean parameter");return i.showClose=t,u},u.keepInvalid=function(t){if(0===arguments.length)return i.keepInvalid;if("boolean"!=typeof t)throw new TypeError("keepInvalid() expects a boolean parameter");return i.keepInvalid=t,u},u.datepickerInput=function(t){if(0===arguments.length)return i.datepickerInput;if("string"!=typeof t)throw new TypeError("datepickerInput() expects a string parameter");return i.datepickerInput=t,u},u.parseInputDate=function(t){if(0===arguments.length)return i.parseInputDate;if("function"!=typeof t)throw new TypeError("parseInputDate() sholud be as function");return i.parseInputDate=t,u},u.disabledTimeIntervals=function(e){if(0===arguments.length)return i.disabledTimeIntervals?t.extend({},i.disabledTimeIntervals):i.disabledTimeIntervals;if(!e)return i.disabledTimeIntervals=!1,J(),u;if(!(e instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return i.disabledTimeIntervals=e,J(),u},u.disabledHours=function(e){if(0===arguments.length)return i.disabledHours?t.extend({},i.disabledHours):i.disabledHours;if(!e)return i.disabledHours=!1,J(),u;if(!(e instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(i.disabledHours=ft(e),i.enabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!Y(o,"h");){if(o.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}tt(o)}return J(),u},u.enabledHours=function(e){if(0===arguments.length)return i.enabledHours?t.extend({},i.enabledHours):i.enabledHours;if(!e)return i.enabledHours=!1,J(),u;if(!(e instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(i.enabledHours=ft(e),i.disabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!Y(o,"h");){if(o.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}tt(o)}return J(),u},u.viewDate=function(t){if(0===arguments.length)return a.clone();if(!t)return a=o.clone(),u;if(!("string"==typeof t||e.isMoment(t)||t instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return a=it(t),A(),u},n.is("input"))s=n;else if(0===(s=n.find(i.datepickerInput)).length)s=n.find("input");else if(!s.is("input"))throw new Error('CSS class "'+i.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(p=0===n.find(".datepickerbutton").length?n.find(".input-group-addon"):n.find(".datepickerbutton")),!i.inline&&!s.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return o=C(),a=o.clone(),t.extend(!0,i,$()),u.options(i),mt(),ut(),s.prop("disabled")&&u.disable(),s.is("input")&&0!==s.val().trim().length?tt(it(s.val().trim())):i.defaultDate&&void 0===s.attr("placeholder")&&tt(i.defaultDate),i.inline&&st(),u};return t.fn.datetimepicker=function(e){e=e||{};var i,o=Array.prototype.slice.call(arguments,1),a=!0,s=["destroy","hide","show","toggle"];if("object"==typeof e)return this.each(function(){var i,o=t(this);o.data("DateTimePicker")||(i=t.extend(!0,{},t.fn.datetimepicker.defaults,e),o.data("DateTimePicker",n(o,i)))});if("string"==typeof e)return this.each(function(){var n=t(this).data("DateTimePicker");if(!n)throw new Error('bootstrap-datetimepicker("'+e+'") method was called on an element that is not using DateTimePicker');i=n[e].apply(n,o),a=i===n}),a||t.inArray(e,s)>-1?this:i;throw new TypeError("Invalid arguments for DateTimePicker: "+e)},t.fn.datetimepicker.defaults={timeZone:"",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:e.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Perio
19d",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(7,"d")):this.date(e.clone().add(this.stepping(),"m"))}},down:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(7,"d")):this.date(e.clone().subtract(this.stepping(),"m"))}else this.show()},"control up":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().subtract(1,"y")):this.date(e.clone().add(1,"h"))}},"control down":function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")?this.date(e.clone().add(1,"y")):this.date(e.clone().subtract(1,"h"))}},left:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"d"))}},right:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"d"))}},pageUp:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().subtract(1,"M"))}},pageDown:function(t){if(t){var e=this.date()||this.getMoment();t.find(".datepicker").is(":visible")&&this.date(e.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(t){t&&t.find(".timepicker").is(":visible")&&t.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1},t.fn.datetimepicker}),document.addEventListener("DOMContentLoaded",function(){if(document.body.classList.contains("pwa-enabled")&&"serviceWorker"in navigator&&(window.addEventListener("load",function(){navigator.serviceWorker.register("/service-worker.js").then(function(){}).catch(function(){})}),window.addEventListener("beforeinstallprompt",t=>{t.preventDefault();let e=t;const n=document.querySelectorAll(".install-pwa-btn"),i=document.querySelectorAll(".pwa-install-item");n.length&&i.length&&(i.forEach(t=>{t.style.display="block"}
19),n.forEach(t=>{t.addEventListener("click",async()=>{i.forEach(t=>{t.style.display="none"}),e.prompt();await e.userChoice;e=null})}))}),window.addEventListener("appinstalled",()=>{var t=document.getElementById("pwa-install-item");t&&(t.style.display="none")}),window.matchMedia("(display-mode: standalone)").matches)){var t=document.getElementById("pwa-install-item");t&&(t.style.display="none")}}),function(t){t.app_italiacori={initOnLoad:function(){t("[data-fancybox]").fancybox({protect:!0}),t("[data-rel=popover]").popover({html:!0,container:"body",content:function(){var e=t(this).data("ref");return e?t(e).html():null}}),moment.locale("it"),t(document).on("dp.change",'[data-provide="datepicker"]',function(){var e=t(this),n=e.data("DateTimePicker");if(n){var i=e.is('[data-provide="datetimepicker"]'),o=n.date(),a=o?i?o.format("YYYY-MM-DD HH:mm:ss Z"):o.format("YYYY-MM-DD"):"",s=t(e.data("ref"));if(s.length&&s.val(a).trigger("input").trigger("change"),s.is('[data-autosubmit="change"]')||e.is('[data-autosubmit="change"]')){var r=e.closest("form")[0];r&&(r.requestSubmit?r.requestSubmit():t(r).submit())}}}),t('[data-provide="datepicker"]').datetimepicker({format:"L",showClear:!0,useCurrent:!1}).next().on("click",function(){t(this).prev().focus()})}}}(jQuery),function(t){t(["jquery"],function(t){return function(){function e(t,e,n){return f({type:w.error,iconClass:m().iconClasses.error,message:t,optionsOverride:n,title:e})}function n(e,n){return e||(e=m()),(v=t("#"+e.containerId)).length||n&&(v=u(e)),v}function i(t,e,n){return f({type:w.info,iconClass:m().iconClasses.info,message:t,optionsOverride:n,title:e})}function o(t){y=t}function a(t,e,n){return f({type:w.success,iconClass:m().iconClasses.success,message:t,optionsOverride:n,title:e})}function s(t,e,n){return f({type:w.warning,iconClass:m().iconClasses.warning,message:t,optionsOverride:n,title:e})}function r(t){var e=m();v||n(e),c(t,e)||d(e)}function l(e){var i=m();return v||n(i),e&&0===t(":focus",e).length?void g(e):void(v.children().length&&v.remove())}function d(e){for(var n=v.children(),i=n.length-1;i>=0;i--)c(t(n[i]),e)}function c(e,n){return!(!e||0!==t(":focus",e).length)&&(e[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){g(e)}}),!0)}function u(e){return(v=t("<div/>").attr("id",e.containerId).addClass(e.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(t(e.target)),v}function h(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'<button type="button">&times;</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function p(t){y&&y(t)}function f(e){function i(e){return!t(":focus",c).length||e?(clearTimeout(w.intervalId),c[r.hideMethod]({duration:r.hideDuration,easing:r.hideEasing,complete:function(){g(c),r.onHidden&&"hidden"!==x.state&&r.onHidden(),x.state="hidden",x.endTime=new Date,p(x)}})):void 0}function o(){(r.timeOut>0||r.extendedTimeOut>0)&&(d=setTimeout(i,r.extendedTimeOut),w.maxHideTime=parseFloat(r.extendedTimeOut),w.hideEta=(new Date).getTime()+w.maxHideTime)}function a(){clearTimeout(d),w.hideEta=0,c.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function s(){var t=(w.hideEta-(new Date).getTime())/w.maxHideTime*100;f.width(t+"%")}var r=m(),l=e.iconClass||r.iconClass;if(void 0!==e.optionsOverride&&(r=t.extend(r,e.optionsOverride),l=e.optionsOverride.iconClass||l),r.preventDuplicates){if(e.message===b)return;b=e.message}_++,v=n(r,!0);var d=null,c=t("<div/>"),u=t("<div/>"),h=t("<div/>"),f=t("<div/>"),y=t(r.closeHtml),w={intervalId:null,hideEta:null,maxHideTime:null},x={toastId:_,state:"visible",startTime:new Date,options:r,map:e};return e.iconClass&&c.addClass(r.toastClass).addClass(l),e.title&&(u.append(e.title).addClass(r.titleClass),c.append(u)),e.message&&(h.append(e.message).addClass(r.messageClass),c.append(h)),r.closeButton&&(y.addClass("toast-close-button").attr("role","button"),c.prepend(y)),r.progressBar&&(f.addClass("toast-progress"),c.prepend(f)),c.hide(),r.newestOnTop?v.prepe
19nd(c):v.append(c),c[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(d=setTimeout(i,r.timeOut),w.maxHideTime=parseFloat(r.timeOut),w.hideEta=(new Date).getTime()+w.maxHideTime,r.progressBar&&(w.intervalId=setInterval(s,10))),c.hover(a,o),!r.onclick&&r.tapToDismiss&&c.click(i),r.closeButton&&y&&y.click(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),i(!0)}),r.onclick&&c.click(function(){r.onclick(),i()}),p(x),r.debug&&console&&console.log(x),c}function m(){return t.extend({},h(),x.options)}function g(t){v||(v=n()),t.is(":visible")||(t.remove(),t=null,0===v.children().length&&(v.remove(),b=void 0))}var v,y,b,_=0,w={error:"error",info:"info",success:"success",warning:"warning"},x={clear:r,remove:l,error:e,getContainer:n,info:i,options:{},subscribe:o,success:a,version:"2.1.0",warning:s};return x}()})}("function"==typeof define&&define.amd?define:function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):window.toastr=e(window.jQuery)}),document.addEventListener("DOMContentLoaded",function(){function t(t){t&&(o.src="https://www.youtube-nocookie.com/embed/"+t+"?rel=0&autoplay=1",i.modal("show"))}var e=document.querySelector(".videos_items-swiper");if(e&&!e.classList.contains("swiper-initialized"))new Swiper(e,{slidesPerView:"auto",lazy:{threshold:50,loadPrevNext:!0,loadPrevNextAmount:2},centeredSlides:!1,watchSlidesVisibility:!0,breakpoints:{320:{spaceBetween:30},768:{spaceBetween:30},1024:{spaceBetween:60}},freeMode:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},on:{init:function(){},slideChange:function(){}}});var n=$(".video_thumbs_wrapper"),i=$("#HomePageVideoModal"),o=document.getElementById("iframeYoutube");i.on("hidden.bs.modal",function(){o.src=""}),n.click(function(){t($(this).data("video_id"))})}),document.addEventListener("DOMContentLoaded",function(){new Swiper(".home_items-swiper",{slidesPerView:"auto",lazy:{threshold:50,loadPrevNext:!0,loadPrevNextAmount:2},centeredSlides:!1,watchSlidesVisibility:!0,freeMode:!0,spaceBetween:30,breakpoints:{1024:{spaceBetween:60}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})}),toastr.options={closeButton:!0,debug:!1,progressBar:!0,positionClass:"toast-top-center",showDuration:"400",hideDuration:"1000",timeOut:"7000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"};var scrollPosition=$(window).scrollTop();$(window).bind("scroll",function(){var t=$(window).scrollTop(),e=window.matchMedia("(max-width: 767px)"),n=$(".italiacori-navbar").outerHeight();($(".italiacori-navbar").hasClass("choir-navbar")&&e.matches||!$(".italiacori-navbar").hasClass("choir-navbar"))&&(t>scrollPosition&&$(window).scrollTop()>n&&!$(".italiacori-menu").hasClass("in")?$(".italiacori-navbar").fadeOut():$(".italiacori-navbar").fadeIn(),scrollPosition=t)}),$(document).on("click",".js-toggle-past-appointments",function(t){t.preventDefault(),t.stopPropagation(),$(".past-appointments").toggleClass("hidden"),$(".past-appointments").hasClass("hidden")?$(this).html("Visualizza passati"):$(this).html("Nascondi passati")}),$(document).on("click",".js-toggle-more-current-repertoire",function(t){t.preventDefault(),t.stopPropagation(),$(".more-current-repertoire").toggleClass("hidden"),$(".more-current-repertoire").hasClass("hidden")?$(this).html("Vedi tutti"):$(this).html("Nascondi")}),$(document).on("click",".js-toggle-chorister-details",function(t){t.preventDefault(),t.stopPropagation(),$(".chorister-details").toggleClass("hidden"),$(".chorister-details").hasClass("hidden")?$(this).html("Mostra dettagli"):$(this).html("Nascondi dettagli")}),$(document).on("click",".js-toggle-collaborator-details",function(t){t.preventDefault(),t.stopPropagation(),$(".collaborator-details").toggleClass("hidden"),$(".collaborator-details").hasClass("hidden")?$(this).html("Mostra dettagli"):$(this).html("Nascondi dettagli")}),$(document).on("click",".js-toggle-more-composer-compositions",function(t){t.preventDefault(),t.stopPropagation(),$(".more-composer-compositions").toggleClass("hidden"),$(".more-composer-compositions").hasClass("hidden")?$(this).html("Vedi tutti"):$(this).html("Nascondi")}),$(document).on("change","[data-autosubmit=change]",function(){$(this).closest("form").submit()}),$(document).ajaxSuccess($.app_italiacori.initOnLoad),$(function(){function t(){$(".choir-audio-player .player-box .fraudio-container").remove(),$(".choir-audio-player").hide(),e&&(e.removeClass("is-playing").find("i").removeClass("fa-pause").addClass("fa-play-circle"),e=null)}$(".appointments-map-switch").on("change",".switch input",function(){var t=$(".appointments-temporal-switch");$(this).prop("checked")?t.find("input").prop("checked",!1).attr("disabled","disabled"):t.find("input").attr("disabled",!1)}),$(".appointments-temporal-switch").on("change",".switch input",function(){var t=$(".appointments-map-switch");$(".q_date_eq").find('[data-provide="datetimepicker"], [data-provide="datepicker"]').each(function(){var t=$(this).data("DateTimePicker");t&&t.clear()}),$(this).prop("checked")?t.find("input").prop("checked",!1).attr("disabled","disabled"):t.find("input").attr("disabled",!1)}),$(".recording-box").each(function(){$(this).find(".recording-box--metadata").outerHeight()>300?$(this).addClass("collapsed-box"):$(this).find(".show-more-info-btn").remove()}),$(".recording-box").on("click",".show-more-info-btn",function(){$(this).closest(".recording-box").toggleClass("collapsed-box")}),$(".publication-box").each(function(){$(this).find(".publication-box--metadata").outerHeight()>300?$(this).addClass("collapsed-box"):$(this).find(".show-more-info-btn").remove()}),$(".publication-box").on("click",".show-more-info-btn",function(){$(this).closest(".publication-box").toggleClass("collapsed-box")}),$(".schedule-box").each(function(){$(this).outerHeight()>600?$(this).addClass("collapsed-box"):$(this).find(".show-more-info-btn").remove()}),$(".schedule-box").on("click",".show-more-info-btn",function(){$(this).closest(".schedule-box").toggleClass("collapsed-box")});let e=null;if($(document).on("click",".js-play-song",function(){const n=$(this),i=n.data("title"),o=n.data("authors"),a=n.data("demo")||n.data("link");if(n.hasClass("is-playing"))return void t();t();const s=`<audio class="fraudio" src="${a}" data-title="${i}" data-artist="${o}"></audio>`;$(".choir-audio-player .player-box").html(s),$(".choir-audio-player .player-box .fraudio").fraudio(),$(".fraudio-play").attr("data-target",n.data("id")),$(".fraudio-play").click(),$(".choir-audio-player").show(),n.addClass("is-playing").find("i").removeClass("fa-play-circle").addClass("fa-pause"),e=n}),$(".choir-audio-player").on("click",".hide-recording-song-button",function(){t()}),$(document).on("click",".tracklist__item",function(t){if(!($(t.target).closest(".
19js-play-song").length>0)){var e=$(this).find(".js-play-song");e.length>0&&e.trigger("click")}}),$(".italiacori-menu").css("top",$(".italiacori-navbar").outerHeight()),$(".italiacori-primary-navigation").on("click","a",function(){$(".menu-toggle").trigger("click")}),$(".choir-emotional").length>0){var n=$(".choir-emotional").data("src-horizontal"),i=$(".choir-emotional").data("src-vertical"),o=window.matchMedia("(max-width: 767px)");n.length>0&&o.matches?$(".choir-emotional").css("background-image","url('"+i+"')"):i.length>0&&!o.matches&&$(".choir-emotional").css("background-image","url('"+n+"')")}$.app_italiacori.initOnLoad()}),document.addEventListener("DOMContentLoaded",function(){var t;if("IntersectionObserver"in window){t=document.querySelectorAll(".lazy-bg");var e=new IntersectionObserver(function(t){t.forEach(function(t){if(t.isIntersecting){var n=t.target;n.classList.remove("lazy-bg"),e.unobserve(n)}})});t.forEach(function(t){e.observe(t)})}else{var n;function i(){n&&clearTimeout(n),n=setTimeout(function(){var e=window.pageYOffset;t.forEach(function(t){t.offsetTop<window.innerHeight+e&&(t.src=t.dataset.src,t.classList.remove("lazy-bg"))}),0==t.length&&(document.removeEventListener("scroll",i),window.removeEventListener("resize",i),window.removeEventListener("orientationChange",i))},20)}t=document.querySelectorAll(".lazy-bg"),document.addEventListener("scroll",i),window.addEventListener("resize",i),window.addEventListener("orientationChange",i)}});

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.