PageSourceSearch

https://www.palladiumpraha.cz/assets/frontend/js/app.min.1753860727.js

js palladiumpraha.cz collected 2026-09-24 10:20:41 UTC 530,840 bytes, 17 lines download raw bytes

1!function(e,t){function n(e){var t=e.length,n=ce.type(e);return!ce.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)))}function i(e){var t=ke[e]={};return ce.each(e.match(fe)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(ce.acceptData(e)){var o,a,s=ce.expando,l=e.nodeType,u=l?ce.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(r||u[c].data)||i!==t||"string"!=typeof n)return c||(c=l?e[s]=te.pop()||ce.guid++:s),u[c]||(u[c]=l?{}:{toJSON:ce.noop}),"object"!=typeof n&&"function"!=typeof n||(r?u[c]=ce.extend(u[c],n):u[c].data=ce.extend(u[c].data,n)),a=u[c],r||(a.data||(a.data={}),a=a.data),i!==t&&(a[ce.camelCase(n)]=i),"string"==typeof n?(o=a[n],null==o&&(o=a[ce.camelCase(n)])):o=a,o}}function o(e,t,n){if(ce.acceptData(e)){var i,r,o=e.nodeType,a=o?ce.cache:e,l=o?e[ce.expando]:ce.expando;if(a[l]){if(t&&(i=n?a[l]:a[l].data)){ce.isArray(t)?t=t.concat(ce.map(t,ce.camelCase)):t in i?t=[t]:(t=ce.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!s(i):!ce.isEmptyObject(i))return}(n||(delete a[l].data,s(a[l])))&&(o?ce.cleanData([e],!0):ce.support.deleteExpando||a!=a.window?delete a[l]:a[l]=null)}}}function a(e,n,i){if(i===t&&1===e.nodeType){var r="data-"+n.replace(De,"-$1").toLowerCase();if(i=e.getAttribute(r),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Ce.test(i)?ce.parseJSON(i):i)}catch(o){}ce.data(e,n,i)}else i=t}return i}function s(e){var t;for(t in e)if(("data"!==t||!ce.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function l(){return!0}function u(){return!1}function c(){try{return Z.activeElement}catch(e){}}function d(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function f(e,t,n){if(ce.isFunction(t))return ce.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ce.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(We.test(t))return ce.filter(t,e,n);t=ce.filter(t,e)}return ce.grep(e,function(e){return ce.inArray(e,t)>=0!==n})}function h(e){var t=Be.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function p(e,t){return ce.nodeName(e,"table")&&ce.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function m(e){return e.type=(null!==ce.find.attr(e,"type"))+"/"+e.type,e}function g(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function v(e,t){for(var n,i=0;null!=(n=e[i]);i++)ce._data(n,"globalEval",!t||ce._data(t[i],"globalEval"))}function y(e,t){if(1===t.nodeType&&ce.hasData(e)){var n,i,r,o=ce._data(e),a=ce._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;i<r;i++)ce.event.add(t,n,s[n][i])}a.data&&(a.data=ce.extend({},a.data))}}function w(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ce.support.noCloneEvent&&t[ce.expando]){r=ce._data(t);for(i in r.events)ce.removeEvent(t,i,r.handle);t.removeAttribute(ce.expando)}"script"===n&&t.text!==e.text?(m(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ce.support.html5Clone&&e.innerHTML&&!ce.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function b(e,n){var i,r,o=0,a=typeof e.getElementsByTagName!==X?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==X?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],i=e.childNodes||e;null!=(r=i[o]);o++)!n||ce.nodeName(r,n)?a.push(r):ce.merge(a,b(r,n));return n===t||n&&ce.nodeName(e,n)?ce.merge([e],a):a}function x(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function S(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=Tt.length;r--;)if(t=Tt[r]+n,t in e)return t;return i}function _(e,t){return e=t||e,"none"===ce.css(e,"display")||!ce.contains(e.ownerDocument,e)}function T(e,t){for(var n,i,r,o=[],a=0,s=e.length;a<s;a++)i=e[a],i.style&&(o[a]=ce._data(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&_(i)&&(o[a]=ce._data(i,"olddisplay",M(i.nodeName)))):o[a]||(r=_(i),(n&&"none"!==n||!r)&&ce._data(i,"olddisplay",r?n:ce.css(i,"dis
1play"))));for(a=0;a<s;a++)i=e[a],i.style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function k(e,t,n){var i=vt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function C(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=ce.css(e,n+_t[o],!0,r)),i?("content"===n&&(a-=ce.css(e,"padding"+_t[o],!0,r)),"margin"!==n&&(a-=ce.css(e,"border"+_t[o]+"Width",!0,r))):(a+=ce.css(e,"padding"+_t[o],!0,r),"padding"!==n&&(a+=ce.css(e,"border"+_t[o]+"Width",!0,r)));return a}function D(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=ct(e),a=ce.support.boxSizing&&"border-box"===ce.css(e,"boxSizing",!1,o);if(r<=0||null==r){if(r=dt(e,t,o),(r<0||null==r)&&(r=e.style[t]),yt.test(r))return r;i=a&&(ce.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+C(e,t,n||(a?"border":"content"),i,o)+"px"}function M(e){var t=Z,n=bt[e];return n||(n=E(e,t),"none"!==n&&n||(ut=(ut||ce("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=E(e,t),ut.detach()),bt[e]=n),n}function E(e,t){var n=ce(t.createElement(e)).appendTo(t.body),i=ce.css(n[0],"display");return n.remove(),i}function A(e,t,n,i){var r;if(ce.isArray(t))ce.each(t,function(t,r){n||Ct.test(e)?i(e,r):A(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==ce.type(t))i(e,t);else for(r in t)A(e+"["+r+"]",t[r],n,i)}function N(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(fe)||[];if(ce.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function O(e,t,n,i){function r(s){var l;return o[s]=!0,ce.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=e===zt;return r(t.dataTypes[0])||!o["*"]&&r("*")}function L(e,n){var i,r,o=ce.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((o[r]?e:i||(i={}))[r]=n[r]);return i&&ce.extend(!0,e,i),e}function I(e,n,i){for(var r,o,a,s,l=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in i)a=u[0];else{for(s in i){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}r||(r=s)}a=a||r}if(a)return a!==u[0]&&u.unshift(a),i[a]}function P(e,t,n,i){var r,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[r]:u[r]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function Y(){try{return new e.XMLHttpRequest}catch(t){}}function F(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function R(){return setTimeout(function(){Qt=t}),Qt=ce.now()}function $(e,t,n){for(var i,r=(on[t]||[]).concat(on["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,t,e))return i}function H(e,t,n){var i,r,o=0,a=rn.length,s=ce.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Qt||R(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),o<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ce.extend({},t),opts:ce.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Qt||R(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ce.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(j(c,u.opts.specialEasing);o<a;o++)if(i=rn[o].call(u,e,c,u.opts))return i;return ce.map(c,$,u),ce.isFunction(u.opts.start)&&u.opts.start.call(e,u),ce.fx.timer(ce.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function j(e,t){var n,i,r,o,a;for(n in e)if(i=ce.camelCase(n),r=t[i],o=e[n],ce.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),a=ce.cssHooks[i],a&&"expand"in a){o=a.expand(o),delete e[i];
vendor: 5,151 bytes, line 1
1for(n in o)n in e||(e[n]=o[n],t[n]=r)}else t[i]=r}function W(e,t,n){var i,r,o,a,s,l,u=this,c={},d=e.style,f=e.nodeType&&_(e),h=ce._data(e,"fxshow");n.queue||(s=ce._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,ce.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===ce.css(e,"display")&&"none"===ce.css(e,"float")&&(ce.support.inlineBlockNeedsLayout&&"inline"!==M(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",ce.support.shrinkWrapBlocks||u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(r=t[i],en.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(f?"hide":"show"))continue;c[i]=h&&h[i]||ce.style(e,i)}if(!ce.isEmptyObject(c)){h?"hidden"in h&&(f=h.hidden):h=ce._data(e,"fxshow",{}),o&&(h.hidden=!f),f?ce(e).show():u.done(function(){ce(e).hide()}),u.done(function(){var t;ce._removeData(e,"fxshow");for(t in c)ce.style(e,t,c[t])});for(i in c)a=$(f?h[i]:0,i,u),i in h||(h[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function z(e,t,n,i,r){return new z.prototype.init(e,t,n,i,r)}function V(e,t){var n,i={height:e},r=0;for(t=t?1:0;r<4;r+=2-t)n=_t[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function q(e){return ce.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var B,U,X=typeof t,G=e.location,Z=e.document,K=Z.documentElement,Q=e.jQuery,J=e.$,ee={},te=[],ne="1.10.2",ie=te.concat,re=te.push,oe=te.slice,ae=te.indexOf,se=ee.toString,le=ee.hasOwnProperty,ue=ne.trim,ce=function(e,t){return new ce.fn.init(e,t,U)},de=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=/\S+/g,he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,me=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ge=/^[\],:{}\s]*$/,ve=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,we=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,xe=/-([\da-z])/gi,Se=function(e,t){return t.toUpperCase()},_e=function(e){(Z.addEventListener||"load"===e.type||"complete"===Z.readyState)&&(Te(),ce.ready())},Te=function(){Z.addEventListener?(Z.removeEventListener("DOMContentLoaded",_e,!1),e.removeEventListener("load",_e,!1)):(Z.detachEvent("onreadystatechange",_e),e.detachEvent("onload",_e))};ce.fn=ce.prototype={jquery:ne,constructor:ce,init:function(e,n,i){var r,o;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:pe.exec(e),!r||!r[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(r[1]){if(n=n instanceof ce?n[0]:n,ce.merge(this,ce.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:Z,!0)),me.test(r[1])&&ce.isPlainObject(n))for(r in n)ce.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}if(o=Z.getElementById(r[2]),o&&o.parentNode){if(o.id!==r[2])return i.find(e);this.length=1,this[0]=o}return this.context=Z,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ce.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ce.makeArray(e,this))},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ce.each(this,e,t)},ready:function(e){return ce.ready.promise().done(e),this},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},map:function(e){return this.pushStack(ce.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:re,sort:[].sort,splice:[].splice},ce.fn.init.prototype=ce.fn,ce.extend=ce.fn.extend=function(){var e,n,i,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||ce.isFunction(s)||(s={}),u===l&&(s=this,--l);l<u;l++)if(null!=(o=arguments[l]))for(r in o)e=s[r],i=o[r],s!==i&&(c&&i&&(ce.isPlainObject(i)||(n=ce.isArray(i)))?(n?(n=!1,a=e&&ce.isArray(e)?e:[]):a=e&&ce.isPlainObject(e)?e:{},s[r]=ce.extend(c,a,i)):i!==t&&(s[r]=i));return s},ce.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===ce&&(e.$=J),t&&e.jQuery===ce&&(e.jQuery=Q),ce},isReady:!1,readyWait:1,holdReady:function(e){e?ce.readyWait++:ce.ready(!0)},ready:function(e){if(e===!0?!--ce.readyWait:!ce.isReady){if(!Z.body)return setTimeout(ce.ready);ce.isReady=!0,e!==!0&&--ce.readyWait>0||(B.resolveWith(Z,[ce]),ce.fn.trigger&&ce(Z).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===ce.type(e)},isArray:Array.isArray||function(e){return"array"===ce.type(e)},isWindow:function(e){return null!=e&&e==e.window}
1,isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==ce.type(e)||e.nodeType||ce.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}if(ce.support.ownLast)for(n in e)return le.call(e,n);for(n in e);return n===t||le.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||Z;var i=me.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=ce.buildFragment([e],t,r),r&&ce(r).remove(),ce.merge([],i.childNodes))},parseJSON:function(t){return e.JSON&&e.JSON.parse?e.JSON.parse(t):null===t?t:"string"==typeof t&&(t=ce.trim(t),t&&ge.test(t.replace(ye,"@").replace(we,"]").replace(ve,"")))?new Function("return "+t)():void ce.error("Invalid JSON: "+t)},parseXML:function(n){var i,r;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(r=new DOMParser,i=r.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(o){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ce.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&ce.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,Se)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var r,o=0,a=e.length,s=n(e);if(i){if(s)for(;o<a&&(r=t.apply(e[o],i),r!==!1);o++);else for(o in e)if(r=t.apply(e[o],i),r===!1)break}else if(s)for(;o<a&&(r=t.call(e[o],o,e[o]),r!==!1);o++);else for(o in e)if(r=t.call(e[o],o,e[o]),r===!1)break;return e},trim:ue&&!ue.call("\ufeff ")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(he,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ce.merge(i,"string"==typeof e?[e]:e):re.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(ae)return ae.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=n.length,r=e.length,o=0;if("number"==typeof i)for(;o<i;o++)e[r++]=n[o];else for(;n[o]!==t;)e[r++]=n[o++];return e.length=r,e},grep:function(e,t,n){var i,r=[],o=0,a=e.length;for(n=!!n;o<a;o++)i=!!t(e[o],o),n!==i&&r.push(e[o]);return r},map:function(e,t,i){var r,o=0,a=e.length,s=n(e),l=[];if(s)for(;o<a;o++)r=t(e[o],o,i),null!=r&&(l[l.length]=r);else for(o in e)r=t(e[o],o,i),null!=r&&(l[l.length]=r);return ie.apply([],l)},guid:1,proxy:function(e,n){var i,r,o;return"string"==typeof n&&(o=e[n],n=e,e=o),ce.isFunction(e)?(i=oe.call(arguments,2),r=function(){return e.apply(n||this,i.concat(oe.call(arguments)))},r.guid=e.guid=e.guid||ce.guid++,r):t},access:function(e,n,i,r,o,a,s){var l=0,u=e.length,c=null==i;if("object"===ce.type(i)){o=!0;for(l in i)ce.access(e,n,l,i[l],!0,a,s)}else if(r!==t&&(o=!0,ce.isFunction(r)||(s=!0),c&&(s?(n.call(e,r),n=null):(c=n,n=function(e,t,n){return c.call(ce(e),n)})),n))for(;l<u;l++)n(e[l],i,s?r:r.call(e[l],l,n(e[l],i)));return o?e:c?n.call(e):u?n(e[0],i):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];r=n.apply(e,i||[]);for(o in t)e.style[o]=a[o];return r}}),ce.ready.promise=function(t){if(!B)if(B=ce.Deferred(),"complete"===Z.readyState)setTimeout(ce.ready);else if(Z.addEventListener)Z.addEventListener("DOMContentLoaded",_e,!1),e.addEventListener("load",_e,!1);else{Z.attachEvent("onreadystatechange",_e),e.attachEvent("onload",_e);var n=!1;try{n=null==e.frameElement&&Z.documentElement}catch(i){}n&&n.doScroll&&!function r(){if(!ce.isReady){try{n.doScroll("left")}catch(e){return setTimeout(r,50)}Te(),ce.ready()}}()}return B.promise(t)},ce.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),U=ce(Z),function(e,t){function n(e,t,n,i){var r,o,a,s,l,u,c,d,p,m;if((t?t.ownerDocument||t:H)!==O&&N(t),t=t||O,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(I&&!i){if(r=we.exec(e))if(a=r[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&R(t,o)&&o.id===a)return n.push(o),n}else{if(r[2])return ee.apply(n,t.getElementsByTagName(e)),n;if((a=r[3])&&_.getElementsByClassName&&t.getElementsByClassName)return ee.apply(n,t.getElementsByClassName(a)),n}if(_.qsa&&(!P||!P.test(e))){if(d=c=$,p=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=f(e),(c=t.getAttribute("id"))?d=c.replace(Se,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",l=u.length;l--;)u[l]=d+h(u[l]);p=he.test(e)&&t.parentNode||t,m=u.join(",")}if(m)try{return ee.apply(n,p.querySelectorAll(m)),n}catch(g){}finally{c||t.removeAttribute("id")}}}return x(e.replace(ue,"$1"),t,n,i)}function i(){function e(n,i){return t.push(n+=" ")>k.cacheLength&&delete e[t.shift()],e[n]=i}var t=[];return e}function r(e){return e[$]=!0,e}function o(e){var t=O.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),i=e.length;i--;)k.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||G)-(~e.sourceIndex||G);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function l(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function d(){}function f(e,t){var i,r,o,a,s,l,u,c=V[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=k.preFilter;s;){i&&!(r=de.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=fe.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(ue," ")}),s=s.slice(i.length));for(a in k.filter)!(r=ve[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return t?s.length:s?n.error(e):V(e,l).slice(0)}function h(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=W++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,a){var s,l,u,c=j+" "+o;if(a){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[$]||(t[$]={}),(l=u[i])&&l[0]===c){if((s=l[1])===!0||s===T)return s===!0}else if(l=u[i]=[c],l[1]=e(t,n,a)||T,l[1]===!0)return!0}}function m(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function g(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,i,r)||(a.push(o),u&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[$]&&(i=v(i)),o&&!o[$]&&(o=v(o,a)),r(function(r,a,s,l){var u,c,d,f=[],h=[],p=a.length,m=r||b(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?m:g(m,f,e,s,l),y=n?o||(r?e:p||i)?[]:a:v;if(n&&n(v,y,s,l),i)for(u=g(y,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[h[c]]=!(v[h[c]]=d));if(r){if(o||e){if(o){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(v[c]=d);o(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=o?ne.call(r,d):f[c])>-1&&(r[u]=!(a[u]=d))}}else y=g(y===a?y.splice(p,y.length):y),o?o(null,a,y,l):ee.apply(a,y)})}function y(e){for(var t,n,i,r=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,l=p(function(e){return e===t},a,!0),u=p(function(e){return ne.call(t,e)>-1},a,!0),c=[function(e,n,i){return!o&&(i||n!==E)||((t=n).nodeType?l(e,n,i):u(e,n,i)
1)}];s<r;s++)if(n=k.relative[e[s].type])c=[p(m(c),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[$]){for(i=++s;i<r&&!k.relative[e[i].type];i++);return v(s>1&&m(c),s>1&&h(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,s<i&&y(e.slice(s,i)),i<r&&y(e=e.slice(i)),i<r&&h(e))}c.push(n)}return m(c)}function w(e,t){var i=0,o=t.length>0,a=e.length>0,s=function(r,s,l,u,c){var d,f,h,p=[],m=0,v="0",y=r&&[],w=null!=c,b=E,x=r||a&&k.find.TAG("*",c&&s.parentNode||s),S=j+=null==b?1:Math.random()||.1;for(w&&(E=s!==O&&s,T=i);null!=(d=x[v]);v++){if(a&&d){for(f=0;h=e[f++];)if(h(d,s,l)){u.push(d);break}w&&(j=S,T=++i)}o&&((d=!h&&d)&&m--,r&&y.push(d))}if(m+=v,o&&v!==m){for(f=0;h=t[f++];)h(y,p,s,l);if(r){if(m>0)for(;v--;)y[v]||p[v]||(p[v]=Q.call(u));p=g(p)}ee.apply(u,p),w&&!r&&p.length>0&&m+t.length>1&&n.uniqueSort(u)}return w&&(j=S,E=b),y};return o?r(s):s}function b(e,t,i){for(var r=0,o=t.length;r<o;r++)n(e,t[r],i);return i}function x(e,t,n,i){var r,o,a,s,l,u=f(e);if(!i&&1===u.length){if(o=u[0]=u[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&_.getById&&9===t.nodeType&&I&&k.relative[o[1].type]){if(t=(k.find.ID(a.matches[0].replace(_e,Te),t)||[])[0],!t)return n;e=e.slice(o.shift().value.length)}for(r=ve.needsContext.test(e)?0:o.length;r--&&(a=o[r],!k.relative[s=a.type]);)if((l=k.find[s])&&(i=l(a.matches[0].replace(_e,Te),he.test(o[0].type)&&t.parentNode||t))){if(o.splice(r,1),e=i.length&&h(o),!e)return ee.apply(n,i),n;break}}return M(e,u)(i,t,!I,n,he.test(e)),n}var S,_,T,k,C,D,M,E,A,N,O,L,I,P,Y,F,R,$="sizzle"+-new Date,H=e.document,j=0,W=0,z=i(),V=i(),q=i(),B=!1,U=function(e,t){return e===t?(B=!0,0):0},X=typeof t,G=1<<31,Z={}.hasOwnProperty,K=[],Q=K.pop,J=K.push,ee=K.push,te=K.slice,ne=K.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},ie="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",oe="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ae=oe.replace("w","w#"),se="\\["+re+"*("+oe+")"+re+"*(?:([*^$|!~]?=)"+re+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ae+")|)|)"+re+"*\\]",le=":("+oe+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+se.replace(3,8)+")*)|.*)\\)|)",ue=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),de=new RegExp("^"+re+"*,"+re+"*"),fe=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),he=new RegExp(re+"*[+~]"),pe=new RegExp("="+re+"*([^\\]'\"]*)"+re+"*\\]","g"),me=new RegExp(le),ge=new RegExp("^"+ae+"$"),ve={ID:new RegExp("^#("+oe+")"),CLASS:new RegExp("^\\.("+oe+")"),TAG:new RegExp("^("+oe.replace("w","w*")+")"),ATTR:new RegExp("^"+se),PSEUDO:new RegExp("^"+le),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ie+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},ye=/^[^{]+\{\s*\[native \w/,we=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/^(?:input|select|textarea|button)$/i,xe=/^h\d$/i,Se=/'|\\/g,_e=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),Te=function(e,t,n){var i="0x"+t-65536;return i!==i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{ee.apply(K=te.call(H.childNodes),H.childNodes),K[H.childNodes.length].nodeType}catch(ke){ee={apply:K.length?function(e,t){J.apply(e,te.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}D=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},_=n.support={},N=n.setDocument=function(e){var t=e?e.ownerDocument||e:H,n=t.defaultView;return t!==O&&9===t.nodeType&&t.documentElement?(O=t,L=t.documentElement,I=!D(t),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){N()}),_.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=o(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=o(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),_.getById=o(function(e){return L.appendChild(e).id=$,!t.getElementsByName||!t.getElementsByName($).length}),_.getById?(k.find.ID=function(e,t){if(typeof t.getElementById!==X&&I){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},k.filter.ID=function(e){var t=e.replace(_e,Te);return function(e){return e.getAttribute("id")===t}}):(delete k.find.ID,k.filter.ID=function(e){var t=e.replace(_e,Te);return function(e){var n=typeof e.getAttributeNode!==X&&e.getAttributeNode("id");return n&&n.value===t}}),k.find.TAG=_.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==X)return t.getElementsByTagName(e)}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);
1if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},k.find.CLASS=_.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==X&&I)return t.getElementsByClassName(e)},Y=[],P=[],(_.qsa=ye.test(t.querySelectorAll))&&(o(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||P.push("\\["+re+"*(?:value|"+ie+")"),e.querySelectorAll(":checked").length||P.push(":checked")}),o(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&P.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(_.matchesSelector=ye.test(F=L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(e){_.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),Y.push("!=",le)}),P=P.length&&new RegExp(P.join("|")),Y=Y.length&&new RegExp(Y.join("|")),R=ye.test(L.contains)||L.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=L.compareDocumentPosition?function(e,n){if(e===n)return B=!0,0;var i=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);return i?1&i||!_.sortDetached&&n.compareDocumentPosition(e)===i?e===t||R(H,e)?-1:n===t||R(H,n)?1:A?ne.call(A,e)-ne.call(A,n):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var i,r=0,o=e.parentNode,a=n.parentNode,l=[e],u=[n];if(e===n)return B=!0,0;if(!o||!a)return e===t?-1:n===t?1:o?-1:a?1:A?ne.call(A,e)-ne.call(A,n):0;if(o===a)return s(e,n);for(i=e;i=i.parentNode;)l.unshift(i);for(i=n;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},t):O},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==O&&N(e),t=t.replace(pe,"='$1']"),_.matchesSelector&&I&&(!Y||!Y.test(t))&&(!P||!P.test(t)))try{var i=F.call(e,t);if(i||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return n(t,O,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==O&&N(e),R(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==O&&N(e);var i=k.attrHandle[n.toLowerCase()],r=i&&Z.call(k.attrHandle,n.toLowerCase())?i(e,n,!I):t;return r===t?_.attributes||!I?e.getAttribute(n):(r=e.getAttributeNode(n))&&r.specified?r.value:null:r},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],i=0,r=0;if(B=!_.detectDuplicates,A=!_.sortStable&&e.slice(0),e.sort(U),B){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},C=n.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=C(t);return n},k=n.selectors={cacheLength:50,createPseudo:r,match:ve,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(_e,Te),e[3]=(e[4]||e[5]||"").replace(_e,Te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var n,i=!e[5]&&e[2];return ve.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:i&&me.test(i)&&(n=f(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(e[0]=e[0].slice(0,n),e[2]=i.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(_e,Te).toLowerCase();return"*"===e?function(){return!0}
1:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==X&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(r){var o=n.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===i:"!="===t?o!==i:"^="===t?i&&0===o.indexOf(i):"*="===t?i&&o.indexOf(i)>-1:"$="===t?i&&o.slice(-i.length)===i:"~="===t?(" "+o+" ").indexOf(i)>-1:"|="===t&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){
2return!!e.parentNode}:function(t,n,l){var u,c,d,f,h,p,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&y){for(c=g[$]||(g[$]={}),u=c[e]||[],h=u[0]===j&&u[1],f=u[0]===j&&u[2],d=h&&g.childNodes[h];d=++h&&d&&d[m]||(f=h=0)||p.pop();)if(1===d.nodeType&&++f&&d===t){c[e]=[j,h,f];break}}else if(y&&(u=(t[$]||(t[$]={}))[e])&&u[0]===j)f=u[1];else for(;(d=++h&&d&&d[m]||(f=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++f||(y&&((d[$]||(d[$]={}))[e]=[j,f]),d!==t)););return f-=r,f===i||f%i===0&&f/i>=0}}},PSEUDO:function(e,t){var i,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return o[$]?o(t):o.length>1?(i=[e,e,"",t],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,n){for(var i,r=o(e,t),a=r.length;a--;)i=ne.call(e,r[a]),e[i]=!(n[i]=r[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=M(e.replace(ue,"$1"));return i[$]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(t){return n(e,t).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||
2C(t)).indexOf(e)>-1}}),lang:r(function(e){return ge.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(_e,Te).toLowerCase(),function(t){var n;do if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return xe.test(e.nodeName)},input:function(e){return be.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:c(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},k.pseudos.nth=k.pseudos.eq;for(S in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[S]=l(S);for(S in{submit:!0,reset:!0})k.pseudos[S]=u(S);d.prototype=k.filters=k.pseudos,k.setFilters=new d,M=n.compile=function(e,t){var n,i=[],r=[],o=q[e+" "];if(!o){for(t||(t=f(e)),n=t.length;n--;)o=y(t[n]),o[$]?i.push(o):r.push(o);o=q(e,w(r,i))}return o},_.sortStable=$.split("").sort(U).join("")===$,_.detectDuplicates=B,N(),_.sortDetached=o(function(e){return 1&e.compareDocumentPosition(O.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||a(ie,function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&i.specified?i.value:e[t]===!0?t.toLowerCase():null}),ce.find=n,ce.expr=n.selectors,ce.expr[":"]=ce.expr.pseudos,ce.unique=n.uniqueSort,ce.text=n.getText,ce.isXMLDoc=n.isXML,ce.contains=n.contains}(e);var ke={};ce.Callbacks=function(e){e="string"==typeof e?ke[e]||i(e):ce.extend({},e);var n,r,o,a,s,l,u=[],c=!e.once&&[],d=function(t){for(r=e.memory&&t,o=!0,s=l||0,l=0,a=u.length,n=!0;u&&s<a;s++)if(u[s].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(c?c.length&&d(c.shift()):r?u=[]:f.disable())},f={add:function(){if(u){var t=u.length;!function i(t){ce.each(t,function(t,n){var r=ce.type(n);"function"===r?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})}(arguments),n?a=u.length:r&&(l=t,d(r))}return this},remove:function(){return u&&ce.each(arguments,function(e,t){for(var i;(i=ce.inArray(t,u,i))>-1;)u.splice(i,1),n&&(i<=a&&a--,i<=s&&s--)}),this},has:function(e){return e?ce.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=r=t,this},disabled:function(){return!u},lock:function(){return c=t,r||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||o&&!c||(t=t||[],t=[e,t.slice?t.slice():t],n?c.push(t):d(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var t=[["resolve","done",ce.Callbacks("once memory"),"resolved"],["reject","fail",ce.Callbacks("once memory"),"rejected"],["notify","progress",ce.Callbacks("memory")]],n="pe
2nding",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ce.Deferred(function(n){ce.each(t,function(t,o){var a=o[0],s=ce.isFunction(e[t])&&e[t];r[o[1]](function(){var e=s&&s.apply(this,arguments);e&&ce.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ce.extend(e,i):i}},r={};return i.pipe=i.then,ce.each(t,function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=oe.call(arguments),a=o.length,s=1!==a||e&&ce.isFunction(e.promise)?a:0,l=1===s?e:ce.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?oe.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(t=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&ce.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,t)):--s;return s||l.resolveWith(i,o),l.promise()}}),ce.support=function(t){var n,i,r,o,a,s,l,u,c,d=Z.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],i=d.getElementsByTagName("a")[0],!i||!i.style||!n.length)return t;o=Z.createElement("select"),s=o.appendChild(Z.createElement("option")),r=d.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(i.getAttribute("style")),t.hrefNormalized="/a"===i.getAttribute("href"),t.opacity=/^0.5/.test(i.style.opacity),t.cssFloat=!!i.style.cssFloat,t.checkOn=!!r.value,t.optSelected=s.selected,t.enctype=!!Z.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==Z.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,r.checked=!0,t.noCloneChecked=r.cloneNode(!0).checked,o.disabled=!0,t.optDisabled=!s.disabled;try{delete d.test}catch(f){t.deleteExpando=!1}r=Z.createElement("input"),r.setAttribute("value",""),t.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),t.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),a=Z.createDocumentFragment(),a.appendChild(r),t.appendChecked=r.checked,t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(c in{submit:!0,change:!0,focusin:!0})d.setAttribute(l="on"+c,"t"),t[c+"Bubbles"]=l in e||d.attributes[l].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(c in ce(t))break;return t.ownLast="0"!==c,ce(function(){var n,i,r,o="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",a=Z.getElementsByTagName("body")[0];a&&(n=Z.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=d.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=u&&0===r[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",ce.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,i=d.appendChild(Z.createElement("div")),i.style.cssText=d.style.cssText=o,i.style.marginRight=i.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight)),typeof d.style.zoom!==X&&(d.innerHTML="",d.style.cssText=o+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(a.style.zoom=1)),a.removeChild(n),n=d=r=i=null)}),n=o=a=s=i=r=null,t}({});var Ce=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,De=/([A-Z])/g;ce.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"}
2,hasData:function(e){return e=e.nodeType?ce.cache[e[ce.expando]]:e[ce.expando],!!e&&!s(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return o(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return o(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&ce.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),ce.fn.extend({data:function(e,n){var i,r,o=null,s=0,l=this[0];if(e===t){if(this.length&&(o=ce.data(l),1===l.nodeType&&!ce._data(l,"parsedAttrs"))){for(i=l.attributes;s<i.length;s++)r=i[s].name,0===r.indexOf("data-")&&(r=ce.camelCase(r.slice(5)),a(l,r,o[r]));ce._data(l,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ce.data(this,e)}):arguments.length>1?this.each(function(){ce.data(this,e,n)}):l?a(l,e,ce.data(l,e)):null},removeData:function(e){return this.each(function(){ce.removeData(this,e)})}}),ce.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ce._data(e,t),n&&(!i||ce.isArray(n)?i=ce._data(e,t,ce.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),i=n.length,r=n.shift(),o=ce._queueHooks(e,t),a=function(){ce.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ce._data(e,n)||ce._data(e,n,{empty:ce.Callbacks("once memory").add(function(){ce._removeData(e,t+"queue"),ce._removeData(e,n)})})}}),ce.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),arguments.length<i?ce.queue(this[0],e):n===t?this:this.each(function(){var t=ce.queue(this,e,n);ce._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},delay:function(e,t){return e=ce.fx?ce.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,o=ce.Deferred(),a=this,s=this.length,l=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)i=ce._data(a[s],e+"queueHooks"),i&&i.empty&&(r++,i.empty.add(l));return l(),o.promise(n)}});var Me,Ee,Ae=/[\t\r\n\f]/g,Ne=/\r/g,Oe=/^(?:input|select|textarea|button|object)$/i,Le=/^(?:a|area)$/i,Ie=/^(?:checked|selected)$/i,Pe=ce.support.getSetAttribute,Ye=ce.support.input;ce.fn.extend({attr:function(e,t){return ce.access(this,ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})},prop:function(e,t){return ce.access(this,ce.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ce.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,i,r,o,a=0,s=this.length,l="string"==typeof e&&e;if(ce.isFunction(e))return this.each(function(t){ce(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(fe)||[];a<s;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ae," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");n.className=ce.trim(i)}return this},removeClass:function(e){var t,n,i,r,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ce.isFunction(e))return this.each(function(t){ce(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(fe)||[];a<s;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Ae," "):"")){for(o=0;r=t[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=e?ce.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ce.isFunction(e)?this.each(function(n){ce(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,r=ce(this),o=e.match(fe)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else n!==X&&"boolean"!==n||(this.className&&ce._data(this,"__className__",this.className),this.className=this.className||e===!1?"":ce._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ae," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,i,r,o=this[0];{if(arguments.length)return r=ce.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ce(this).val()):e,null==o?o="":"number"==typeof o?o+="":ce.isArray(o)&&(o=ce.map(o,function(e){return null==e?"":e+""})),i=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()],i&&"set"in i&&i.set(this,o,"value")!==t||(this.value=o))});if(o)return i=ce.valHooks[o.type]||ce.valHooks[o.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(Ne,""):null==n?"":n)}}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?
2s:o?r:0;l<s;l++)if(n=i[l],(n.selected||l===r)&&(ce.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ce.nodeName(n.parentNode,"optgroup"))){if(t=ce(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=ce.makeArray(t),a=r.length;a--;)i=r[a],(i.selected=ce.inArray(ce(i).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,i){var r,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===X?ce.prop(e,n,i):(1===a&&ce.isXMLDoc(e)||(n=n.toLowerCase(),r=ce.attrHooks[n]||(ce.expr.match.bool.test(n)?Ee:Me)),i===t?r&&"get"in r&&null!==(o=r.get(e,n))?o:(o=ce.find.attr(e,n),null==o?t:o):null!==i?r&&"set"in r&&(o=r.set(e,i,n))!==t?o:(e.setAttribute(n,i+""),i):void ce.removeAttr(e,n))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[r++];)i=ce.propFix[n]||n,ce.expr.match.bool.test(n)?Ye&&Pe||!Ie.test(n)?e[i]=!1:e[ce.camelCase("default-"+n)]=e[i]=!1:ce.attr(e,n,""),e.removeAttribute(Pe?n:i)},attrHooks:{type:{set:function(e,t){if(!ce.support.radioValue&&"radio"===t&&ce.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,i){var r,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!ce.isXMLDoc(e),a&&(n=ce.propFix[n]||n,o=ce.propHooks[n]),i!==t?o&&"set"in o&&(r=o.set(e,i,n))!==t?r:e[n]=i:o&&"get"in o&&null!==(r=o.get(e,n))?r:e[n]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):Oe.test(e.nodeName)||Le.test(e.nodeName)&&e.href?0:-1}}}}),Ee={set:function(e,t,n){return t===!1?ce.removeAttr(e,n):Ye&&Pe||!Ie.test(n)?e.setAttribute(!Pe&&ce.propFix[n]||n,n):e[ce.camelCase("default-"+n)]=e[n]=!0,n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,n){var i=ce.expr.attrHandle[n]||ce.find.attr;ce.expr.attrHandle[n]=Ye&&Pe||!Ie.test(n)?function(e,n,r){var o=ce.expr.attrHandle[n],a=r?t:(ce.expr.attrHandle[n]=t)!=i(e,n,r)?n.toLowerCase():null;return ce.expr.attrHandle[n]=o,a}:function(e,n,i){return i?t:e[ce.camelCase("default-"+n)]?n.toLowerCase():null}}),Ye&&Pe||(ce.attrHooks.value={set:function(e,t,n){return ce.nodeName(e,"input")?void(e.defaultValue=t):Me&&Me.set(e,t,n)}}),Pe||(Me={set:function(e,n,i){var r=e.getAttributeNode(i);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(i)),r.value=n+="","value"===i||n===e.getAttribute(i)?n:t}},ce.expr.attrHandle.id=ce.expr.attrHandle.name=ce.expr.attrHandle.coords=function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&""!==r.value?r.value:null},ce.valHooks.button={get:function(e,n){var i=e.getAttributeNode(n);return i&&i.specified?i.value:t},set:Me.set},ce.attrHooks.contenteditable={set:function(e,t,n){Me.set(e,""!==t&&t,n)}},ce.each(["width","height"],function(e,t){ce.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),ce.support.hrefNormalized||ce.each(["href","src"],function(e,t){ce.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ce.support.style||(ce.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),ce.support.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.support.enctype||(ce.propFix.enctype="encoding"),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(ce.isArray(t))return e.checked=ce.inArray(ce(e).val(),t)>=0}},ce.support.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Fe=/^(?:input|select|textarea)$/i,Re=/^key/,$e=/^(?:mouse|contextmenu)|click/,He=/^(?:focusinfocus|focusoutblur)$/,je=/^([^.]*)(?:\.(.+)|)$/;ce.event={global:{},add:function(e,n,i,r,o){var a,s,l,u,c,d,f,h,p,m,g,v=ce._data(e);if(v){for(i.handler&&(u=i,i=u.handler,o=u.selector),i.guid||(i.guid=ce.guid++),(s=v.events)||(s=v.events={}),(d=v.handle)||(d=v.handle=function(e){return typeof ce===X||e&&ce.event.triggered===e.type?t:ce.event.dispatch.apply(d.elem,arguments)},d.elem=e),n=(n||"").match(fe)||[""],l=n.length;l--;)a=je.exec(n[l])||[],p=g=a[1],m=(a[2]||"").split(".").sort(),p&&(c=ce.event.special[p]||{},p=(o?c.delegateType:c.bindType)||p,c=ce.event.special[p]||{},f=ce.extend({type:p,origType:g,data:r,handler:i,guid:i.guid,selector:o,needsContext:o&&ce.expr.match.needsContext.test(o),namespace:m.join(".")},u),(h=s[p])||(h=s[p]=[],h.delegateCount=0,c.setup&&c.setup.call(e,r,m,d)!==!1||(e.addEventListener?e.addEventListener(p,d,!1):e.attachEvent&&e.attachEvent("on"+p,d))),c.add&&(c.add.call(e,f),f.handler.guid||(f.handler.guid=i.guid)),o?h.splice(h.delegateCount++,0,f):h.push(f),ce.event.global[p]=!0);e=null}},remove:function(e,t,n,i,r){var o,a,s,l,u,c,d,f,h,p,m,g=ce.hasData(e)&&ce._data(e);if(g&&(c=g.events)){for(t=(t||"").match(fe)||[""],u=t.length;u--;)if(s=je.exec(t[u])||[],h=m=s[1],p=(s[2]||"").split(".").sort(),h){for(d=ce.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,f=c[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;o--;)a=f[o],!r&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,d.remove&&d.remove.call(e,a));l&&!f.length&&(d.teardown&&d.teardown.call(e,p,g.handle)!==!1||ce.removeEvent(e,h,g.handle),delete c[h])}else for(h in c)ce.event.remove(e,h+t[u],n,i,!0);ce.isEmptyObject(c)&&(delete g.handle,ce._removeData(e,"events"))}},trigger:function(n,i,r,o){var a,s,l,u,c,d,f,h=[r||Z],p=le.call(n,"type")?n.type:n,m=le.call(n,"namespace")?n.namespace.split("."):[];if(l=d=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!He.test(p+ce.event.triggered)&&(p.indexOf(".")>=0&&(m=p.split("."),p=m.shift(),m.sort()),s=p.indexOf(":")<0&&"on"+p,n=n[ce.expando]?n:new ce.Event(p,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=r),i=null==i?[n]:ce.makeArray(i,[n]),c=ce.event.special[p]||{}
2,o||!c.trigger||c.trigger.apply(r,i)!==!1)){if(!o&&!c.noBubble&&!ce.isWindow(r)){for(u=c.delegateType||p,He.test(u+p)||(l=l.parentNode);l;l=l.parentNode)h.push(l),d=l;d===(r.ownerDocument||Z)&&h.push(d.defaultView||d.parentWindow||e)}for(f=0;(l=h[f++])&&!n.isPropagationStopped();)n.type=f>1?u:c.bindType||p,a=(ce._data(l,"events")||{})[n.type]&&ce._data(l,"handle"),a&&a.apply(l,i),a=s&&l[s],a&&ce.acceptData(l)&&a.apply&&a.apply(l,i)===!1&&n.preventDefault();if(n.type=p,!o&&!n.isDefaultPrevented()&&(!c._default||c._default.apply(h.pop(),i)===!1)&&ce.acceptData(r)&&s&&r[p]&&!ce.isWindow(r)){d=r[s],d&&(r[s]=null),ce.event.triggered=p;try{r[p]()}catch(g){}ce.event.triggered=t,d&&(r[s]=d)}return n.result}},dispatch:function(e){e=ce.event.fix(e);var n,i,r,o,a,s=[],l=oe.call(arguments),u=(ce._data(this,"events")||{})[e.type]||[],c=ce.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(s=ce.event.handlers.call(this,e,u),n=0;(o=s[n++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,a=0;(r=o.handlers[a++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,i=((ce.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l),i!==t&&(e.result=i)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var i,r,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;a<l;a++)r=n[a],i=r.selector+" ",o[i]===t&&(o[i]=r.needsContext?ce(i,this).index(u)>=0:ce.find(i,this,null,[u]).length),o[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return l<n.length&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[ce.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=$e.test(r)?this.mouseHooks:Re.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new ce.Event(o),t=i.length;t--;)n=i[t],e[n]=o[n];return e.target||(e.target=o.srcElement||Z),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},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(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,r,o,a=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||Z,o=r.documentElement,i=r.body,e.pageX=n.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||a===t||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==c()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===c()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ce.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return ce.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?ce.event.trigger(r,null,t):ce.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},ce.removeEvent=Z.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===X&&(e[i]=null),e.detachEvent(i,n))},ce.Event=function(e,t){return this instanceof ce.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?l:u):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||ce.now(),void(this[ce.expando]=!0)):new ce.Event(e,t)},ce.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=l,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=l,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}}
2,ce.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||ce.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),ce.support.submitBubbles||(ce.event.special.submit={setup:function(){return!ce.nodeName(this,"form")&&void ce.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=ce.nodeName(n,"input")||ce.nodeName(n,"button")?n.form:t;i&&!ce._data(i,"submitBubbles")&&(ce.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),ce._data(i,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ce.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!ce.nodeName(this,"form")&&void ce.event.remove(this,"._submit")}}),ce.support.changeBubbles||(ce.event.special.change={setup:function(){return Fe.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(ce.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ce.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ce.event.simulate("change",this,e,!0)})),!1):void ce.event.add(this,"beforeactivate._change",function(e){var t=e.target;Fe.test(t.nodeName)&&!ce._data(t,"changeBubbles")&&(ce.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ce.event.simulate("change",this.parentNode,e,!0)}),ce._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return ce.event.remove(this,"._change"),!Fe.test(this.nodeName)}}),ce.support.focusinBubbles||ce.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){ce.event.simulate(t,e.target,ce.event.fix(e),!0)};ce.event.special[t]={setup:function(){0===n++&&Z.addEventListener(e,i,!0)},teardown:function(){0===--n&&Z.removeEventListener(e,i,!0)}}}),ce.fn.extend({on:function(e,n,i,r,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=t);for(a in e)this.on(a,n,i,e[a],o);return this}if(null==i&&null==r?(r=n,i=n=t):null==r&&("string"==typeof n?(r=i,i=t):(r=i,i=n,n=t)),r===!1)r=u;else if(!r)return this;return 1===o&&(s=r,r=function(e){return ce().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=ce.guid++)),this.each(function(){ce.event.add(this,e,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return n!==!1&&"function"!=typeof n||(i=n,n=t),i===!1&&(i=u),this.each(function(){ce.event.remove(this,e,i,n)})},trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var We=/^.[^:#\[\.,]*$/,ze=/^(?:parents|prev(?:Until|All))/,Ve=ce.expr.match.needsContext,qe={children:!0,contents:!0,next:!0,prev:!0};ce.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(t=0;t<r;t++)ce.find(e,i[t],n);return n=this.pushStack(r>1?ce.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=ce(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(ce.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(f(this,e||[],!0))},filter:function(e){return this.pushStack(f(this,e||[],!1))},is:function(e){return!!f(this,"string"==typeof e&&Ve.test(e)?ce(e):e||[],!1).length},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=Ve.test(e)||"string"!=typeof e?ce(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ce.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?ce.unique(o):o)},index:function(e){return e?"string"==typeof e?ce.inArray(this[0],ce(e)):ce.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?ce(e,t):ce.makeArray(e&&e.nodeType?[e]:e),i=ce.merge(this.get(),n);return this.pushStack(ce.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ce.dir(e,"parentNode")},parentsUntil:function(e,t,n){
3return ce.dir(e,"parentNode",n)},next:function(e){return d(e,"nextSibling")},prev:function(e){return d(e,"previousSibling")},nextAll:function(e){return ce.dir(e,"nextSibling")},prevAll:function(e){return ce.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ce.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ce.dir(e,"previousSibling",n)},siblings:function(e){return ce.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ce.sibling(e.firstChild)},contents:function(e){return ce.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ce.merge([],e.childNodes)}},function(e,t){ce.fn[e]=function(n,i){var r=ce.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ce.filter(i,r)),this.length>1&&(qe[e]||(r=ce.unique(r)),ze.test(e)&&(r=r.reverse())),this.pushStack(r)}}),ce.extend({filter:function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ce.find.matchesSelector(i,e)?[i]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,i){for(var r=[],o=e[n];o&&9!==o.nodeType&&(i===t||1!==o.nodeType||!ce(o).is(i));)1===o.nodeType&&r.push(o),o=o[n];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Be="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ue=/ jQuery\d+="(?:null|\d+)"/g,Xe=new RegExp("<(?:"+Be+")[\\s/>]","i"),Ge=/^\s+/,Ze=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ke=/<([\w:]+)/,Qe=/<tbody/i,Je=/<|&#?\w+;
3/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^$|\/(?:java|ecma)script/i,rt=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,at={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ce.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=h(Z),lt=st.appendChild(Z.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,ce.fn.extend({text:function(e){return ce.access(this,function(e){return e===t?ce.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Z).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=p(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=p(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?ce.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||ce.cleanData(b(n)),n.parentNode&&(t&&ce.contains(n.ownerDocument,n)&&v(b(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ce.cleanData(b(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ce.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return ce.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Ue,""):t;if("string"==typeof e&&!et.test(e)&&(ce.support.htmlSerialize||!Xe.test(e))&&(ce.support.leadingWhitespace||!Ge.test(e))&&!at[(Ke.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ze,"<$1></$2>");try{for(;i<r;i++)n=this[i]||{},1===n.nodeType&&(ce.cleanData(b(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=ce.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var i=e[t++],r=e[t++];r&&(i&&i.parentNode!==r&&(i=this.nextSibling),ce(this).remove(),r.insertBefore(n,i))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=ie.apply([],e);var i,r,o,a,s,l,u=0,c=this.length,d=this,f=c-1,h=e[0],p=ce.isFunction(h);if(p||!(c<=1||"string"!=typeof h||ce.support.checkClone)&&nt.test(h))return this.each(function(i){var r=d.eq(i);p&&(e[0]=h.call(this,i,r.html())),r.domManip(e,t,n)});if(c&&(l=ce.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(a=ce.map(b(l,"script"),m),o=a.length;u<c;u++)r=l,u!==f&&(r=ce.clone(r,!0,!0),o&&ce.merge(a,b(r,"script"))),t.call(this[u],r,u);if(o)for(s=a[a.length-1].ownerDocument,ce.map(a,g),u=0;u<o;u++)r=a[u],it.test(r.type||"")&&!ce._data(r,"globalEval")&&ce.contains(s,r)&&(r.src?ce._evalUrl(r.src):ce.globalEval((r.text||r.textContent||r.innerHTML||"").replace(ot,"")));l=i=null}return this}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ce.fn[e]=function(e){for(var n,i=0,r=[],o=ce(e),a=o.length-1;i<=a;i++)n=i===a?this:this.clone(!0),ce(o[i])[t](n),re.apply(r,n.get());return this.pushStack(r)}}),ce.extend({clone:function(e,t,n){var i,r,o,a,s,l=ce.contains(e.ownerDocument,e);if(ce.support.html5Clone||ce.isXMLDoc(e)||!Xe.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(lt.innerHTML=e.outerHTML,lt.removeChild(o=lt.firstChild)),!(ce.support.noCloneEvent&&ce.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(i=b(o),s=b(e),a=0;null!=(r=s[a]);++a)i[a]&&w(r,i[a]);if(t)if(n)for(s=s||b(e),i=i||b(o),a=0;null!=(r=s[a]);a++)y(r,i[a]);else y(e,o);return i=b(o,"script"),i.length>0&&v(i,!l&&b(e,"script")),i=s=r=null,o},buildFragment:function(e,t,n,i){for(var r,o,a,s,l,u,c,d=e.length,f=h(t),p=[],m=0;m<d;m++)if(o=e[m],o||0===o)if("object"===ce.type(o))ce.merge(p,o.nodeType?[o]:o);else if(Je.test(o)){for(s=s||f.appendChild(t.createElement("div")),l=(Ke.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+o.replace(Ze,"<$1></$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!ce.support.leadingWhitespace&&Ge.test(o)&&p.push(t.createTextNode(Ge.exec(o)[0])),!ce.support.tbody)for(o="table"!==l||Qe.test(o)?"<table>"!==c[1]||Qe.test(o)?0:s:s.firstChild,r=o&&o.childNodes.length;r--;)ce.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(ce.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else p.push(t.createTextNode(o));for(s&&f.removeChild(s),ce.support.appendChecked||ce.grep(b(p,"input"),x),m=0;o=p[m++];)if((!i||ce.inArray(o,i)===-1)&&(a=ce.contains(o.ownerDocument,o),s=b(f.appendChild(o),"script"),a&&v(s),n))for(r=0;o=s[r++];)it.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(e,t){for(var n,i,r,o,a=0,s=ce.expando,l=ce.cache,u=ce.support.deleteExpando,c=ce.event.special;null!=(n=e[a]);a++)if((t||ce.acceptData(n))&&(r=n[s],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?ce.event.remove(n,i):ce.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==X?n.removeAttribute(s):n[s]=null,te.push(r))}},_evalUrl:function(e){return ce.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),ce.fn.extend({wrapAll:function(e){if(ce.isFunction(e))return this.each(function(t){ce(this).wrapAll(e.call(this,t))});if(this[0]){var t=ce(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ce.isFunction(e)?this.each(function(t){ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ce.isFunction(e);return this.each(function(n){ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ce.nodeName(this,"body")||ce(this).replaceWith(this.childNodes)}).end()}});
vendor: 6,055 bytes, line 3
3var ut,ct,dt,ft=/alpha\([^)]*\)/i,ht=/opacity\s*=\s*([^)]*)/,pt=/^(top|right|bottom|left)$/,mt=/^(none|table(?!-c[ea]).+)/,gt=/^margin/,vt=new RegExp("^("+de+")(.*)$","i"),yt=new RegExp("^("+de+")(?!px)[a-z%]+$","i"),wt=new RegExp("^([+-])=("+de+")","i"),bt={BODY:"block"},xt={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},_t=["Top","Right","Bottom","Left"],Tt=["Webkit","O","Moz","ms"];ce.fn.extend({css:function(e,n){return ce.access(this,function(e,n,i){var r,o,a={},s=0;if(ce.isArray(n)){for(o=ct(e),r=n.length;s<r;s++)a[n[s]]=ce.css(e,n[s],!1,o);return a}return i!==t?ce.style(e,n,i):ce.css(e,n)},e,n,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){_(this)?ce(this).show():ce(this).hide()})}}),ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=dt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ce.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=ce.camelCase(n),u=e.style;if(n=ce.cssProps[l]||(ce.cssProps[l]=S(u,l)),s=ce.cssHooks[n]||ce.cssHooks[l],i===t)return s&&"get"in s&&(o=s.get(e,!1,r))!==t?o:u[n];if(a=typeof i,"string"===a&&(o=wt.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(ce.css(e,n)),a="number"),!(null==i||"number"===a&&isNaN(i)||("number"!==a||ce.cssNumber[l]||(i+="px"),ce.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(i=s.set(e,i,r))===t)))try{u[n]=i}catch(c){}}},css:function(e,n,i,r){var o,a,s,l=ce.camelCase(n);return n=ce.cssProps[l]||(ce.cssProps[l]=S(e.style,l)),s=ce.cssHooks[n]||ce.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,i)),a===t&&(a=dt(e,n,r)),"normal"===a&&n in St&&(a=St[n]),""===i||i?(o=parseFloat(a),i===!0||ce.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(ct=function(t){return e.getComputedStyle(t,null)},dt=function(e,n,i){var r,o,a,s=i||ct(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||ce.contains(e.ownerDocument,e)||(l=ce.style(e,n)),yt.test(l)&&gt.test(n)&&(r=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=r,u.minWidth=o,u.maxWidth=a)),l}):Z.documentElement.currentStyle&&(ct=function(e){return e.currentStyle},dt=function(e,n,i){var r,o,a,s=i||ct(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),yt.test(l)&&!pt.test(n)&&(r=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=r,a&&(o.left=a)),""===l?"auto":l}),ce.each(["height","width"],function(e,t){ce.cssHooks[t]={get:function(e,n,i){if(n)return 0===e.offsetWidth&&mt.test(ce.css(e,"display"))?ce.swap(e,xt,function(){return D(e,t,i)}):D(e,t,i)},set:function(e,n,i){var r=i&&ct(e);return k(e,n,i?C(e,t,i,ce.support.boxSizing&&"border-box"===ce.css(e,"boxSizing",!1,r),r):0)}}}),ce.support.opacity||(ce.cssHooks.opacity={get:function(e,t){return ht.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=ce.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ce.trim(o.replace(ft,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=ft.test(o)?o.replace(ft,r):o+" "+r)}}),ce(function(){ce.support.reliableMarginRight||(ce.cssHooks.marginRight={get:function(e,t){if(t)return ce.swap(e,{display:"inline-block"},dt,[e,"marginRight"])}}),!ce.support.pixelPosition&&ce.fn.position&&ce.each(["top","left"],function(e,t){ce.cssHooks[t]={get:function(e,n){if(n)return n=dt(e,t),yt.test(n)?ce(e).position()[t]+"px":n}}})}),ce.expr&&ce.expr.filters&&(ce.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!ce.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||ce.css(e,"display"))},ce.expr.filters.visible=function(e){return!ce.expr.filters.hidden(e)}),ce.each({margin:"",padding:"",border:"Width"},function(e,t){ce.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+_t[i]+t]=o[i]||o[i-2]||o[0];return r}},gt.test(e)||(ce.cssHooks[e+t].set=k)});var kt=/%20/g,Ct=/\[\]$/,Dt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Et.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:ce.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}}),ce.param=function(e,n){var i,r=[],o=function(e,t){t=ce.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=ce.ajaxSettings&&ce.ajaxSettings.traditional),ce.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){o(this.name,this.value)});else for(i in e)A(i,e[i],n,o);return r.join("&").replace(kt,"+")},ce.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ce.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});
vendor: 4,442 bytes, line 3
3var At,Nt,Ot=ce.now(),Lt=/\?/,It=/#.*$/,Pt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ft=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Rt=/^(?:GET|HEAD)$/,$t=/^\/\//,Ht=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,jt=ce.fn.load,Wt={},zt={},Vt="*/".concat("*");try{Nt=G.href}catch(qt){Nt=Z.createElement("a"),Nt.href="",Nt=Nt.href}At=Ht.exec(Nt.toLowerCase())||[],ce.fn.load=function(e,n,i){if("string"!=typeof e&&jt)return jt.apply(this,arguments);var r,o,a,s=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),ce.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&ce.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).complete(i&&function(e,t){s.each(i,o||[e.responseText,t,e])}),this},ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt,type:"GET",isLocal:Ft.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,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":ce.parseJSON,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?L(L(e,ce.ajaxSettings),t):L(ce.ajaxSettings,e)},ajaxPrefilter:N(Wt),ajaxTransport:N(zt),ajax:function(e,n){function i(e,n,i,r){var o,d,y,w,x,_=n;2!==b&&(b=2,l&&clearTimeout(l),c=t,s=r||"",S.readyState=e>0?4:0,o=e>=200&&e<300||304===e,i&&(w=I(f,S,i)),w=P(f,w,S,o),o?(f.ifModified&&(x=S.getResponseHeader("Last-Modified"),x&&(ce.lastModified[a]=x),x=S.getResponseHeader("etag"),x&&(ce.etag[a]=x)),204===e||"HEAD"===f.type?_="nocontent":304===e?_="notmodified":(_=w.state,d=w.data,y=w.error,o=!y)):(y=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(n||_)+"",o?m.resolveWith(h,[d,_,S]):m.rejectWith(h,[S,_,y]),S.statusCode(v),v=t,u&&p.trigger(o?"ajaxSuccess":"ajaxError",[S,f,o?d:y]),g.fireWith(h,[S,_]),u&&(p.trigger("ajaxComplete",[S,f]),--ce.active||ce.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var r,o,a,s,l,u,c,d,f=ce.ajaxSetup({},n),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?ce(h):ce.event,m=ce.Deferred(),g=ce.Callbacks("once memory"),v=f.statusCode||{},y={},w={},b=0,x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!d)for(d={};t=Yt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=w[n]=w[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]];else S.always(e[S.status]);return this},abort:function(e){var t=e||x;return c&&c.abort(t),i(0,t),this}};if(m.promise(S).complete=g.add,S.success=S.done,S.error=S.fail,f.url=((e||f.url||Nt)+"").replace(It,"").replace($t,At[1]+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=ce.trim(f.dataType||"*").toLowerCase().match(fe)||[""],null==f.crossDomain&&(r=Ht.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=ce.param(f.data,f.traditional)),O(Wt,f,n,S),2===b)return S;u=f.global,u&&0===ce.active++&&ce.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Rt.test(f.type),a=f.url,f.hasContent||(f.data&&(a=f.url+=(Lt.test(a)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=Pt.test(a)?a.replace(Pt,"$1_="+Ot++):a+(Lt.test(a)?"&":"?")+"_="+Ot++)),f.ifModified&&(ce.lastModified[a]&&S.setRequestHeader("If-Modified-Since",ce.lastModified[a]),ce.etag[a]&&S.setRequestHeader("If-None-Match",ce.etag[a])),(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Vt+"; q=0.01":""):f.accepts["*"]);for(o in f.headers)S.setRequestHeader(o,f.headers[o]);
vendor: 3,787 bytes, line 3
3if(f.beforeSend&&(f.beforeSend.call(h,S,f)===!1||2===b))return S.abort();x="abort";for(o in{success:1,error:1,complete:1})S[o](f[o]);if(c=O(zt,f,n,S)){S.readyState=1,u&&p.trigger("ajaxSend",[S,f]),f.async&&f.timeout>0&&(l=setTimeout(function(){S.abort("timeout")},f.timeout));try{b=1,c.send(y,i)}catch(_){if(!(b<2))throw _;i(-1,_)}}else i(-1,"No Transport");return S},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,n){return ce.get(e,t,n,"script")}}),ce.each(["get","post"],function(e,n){ce[n]=function(e,i,r,o){return ce.isFunction(i)&&(o=o||r,r=i,i=t),ce.ajax({url:e,type:n,dataType:o,data:i,success:r})}}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ce.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=Z.head||ce("head")[0]||Z.documentElement;return{send:function(t,r){n=Z.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Bt=[],Ut=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||ce.expando+"_"+Ot++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(n,i,r){var o,a,s,l=n.jsonp!==!1&&(Ut.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(n.data)&&"data");if(l||"jsonp"===n.dataTypes[0])return o=n.jsonpCallback=ce.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Ut,"$1"+o):n.jsonp!==!1&&(n.url+=(Lt.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||ce.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},r.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=i.jsonpCallback,Bt.push(o)),s&&ce.isFunction(a)&&a(s[0]),s=a=t}),"script"});var Xt,Gt,Zt=0,Kt=e.ActiveXObject&&function(){var e;for(e in Xt)Xt[e](t,!0)};ce.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Y()||F()}:Y,Gt=ce.ajaxSettings.xhr(),ce.support.cors=!!Gt&&"withCredentials"in Gt,Gt=ce.support.ajax=!!Gt,Gt&&ce.ajaxTransport(function(n){if(!n.crossDomain||ce.support.cors){var i;return{send:function(r,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(u){}l.send(n.hasContent&&n.data||null),i=function(e,r){var s,u,c,d;try{if(i&&(r||4===l.readyState))if(i=t,a&&(l.onreadystatechange=ce.noop,Kt&&delete Xt[a]),r)4!==l.readyState&&l.abort();else{d={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(d.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(h){r||o(-1,h)}d&&o(s,c,d,u)},n.async?4===l.readyState?setTimeout(i):(a=++Zt,Kt&&(Xt||(Xt={},ce(e).unload(Kt)),Xt[a]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(t,!0)}}}});var Qt,Jt,en=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([+-])=|)("+de+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[W],on={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r
vendor: 3,941 bytes, line 3
3=tn.exec(t),o=r&&r[3]||(ce.cssNumber[e]?"":"px"),a=(ce.cssNumber[e]||"px"!==o&&+i)&&tn.exec(ce.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do s=s||".5",a/=s,ce.style(n.elem,e,a+o);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};ce.Animation=ce.extend(H,{tweener:function(e,t){ce.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;i<r;i++)n=e[i],on[n]=on[n]||[],on[n].unshift(t)},prefilter:function(e,t){t?rn.unshift(e):rn.push(e)}}),ce.Tween=z,z.prototype={constructor:z,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=z.propHooks[this.prop];return e&&e.get?e.get(this):z.propHooks._default.get(this)},run:function(e){var t,n=z.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ce.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ce.cssProps[e.prop]]||ce.cssHooks[e.prop])?ce.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.each(["toggle","show","hide"],function(e,t){var n=ce.fn[t];ce.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,i,r)}}),ce.fn.extend({fadeTo:function(e,t,n,i){return this.filter(_).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ce.isEmptyObject(e),o=ce.speed(t,n,i),a=function(){var t=H(this,ce.extend({},e),o);(r||ce._data(this,"finish"))&&t.stop(!0)};return a.finish=a,r||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=ce.timers,a=ce._data(this);if(n)a[n]&&a[n].stop&&r(a[n]);else for(n in a)a[n]&&a[n].stop&&nn.test(n)&&r(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(i),t=!1,o.splice(n,1));!t&&i||ce.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ce._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=ce.timers,a=i?i.length:0;for(n.finish=!0,ce.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ce.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ce.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ce.speed=function(e,t,n){var i=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||ce.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ce.isFunction(t)&&t};return i.duration=ce.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ce.fx.speeds?ce.fx.speeds[i.duration]:ce.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){ce.isFunction(i.old)&&i.old.call(this),i.queue&&ce.dequeue(this,i.queue)},i},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ce.timers=[],ce.fx=z.prototype.init,ce.fx.tick=function(){var e,n=ce.timers,i=0;
3for(Qt=ce.now();i<n.length;i++)e=n[i],e()||n[i]!==e||n.splice(i--,1);n.length||ce.fx.stop(),Qt=t},ce.fx.timer=function(e){e()&&ce.timers.push(e)&&ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){Jt||(Jt=setInterval(ce.fx.tick,ce.fx.interval))},ce.fx.stop=function(){clearInterval(Jt),Jt=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fx.step={},ce.expr&&ce.expr.filters&&(ce.expr.filters.animated=function(e){return ce.grep(ce.timers,function(t){return e===t.elem}).length}),ce.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){ce.offset.setOffset(this,e,t)});var n,i,r={top:0,left:0},o=this[0],a=o&&o.ownerDocument;if(a)return n=a.documentElement,ce.contains(n,o)?(typeof o.getBoundingClientRect!==X&&(r=o.getBoundingClientRect()),i=q(a),{top:r.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:r.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):r},ce.offset={setOffset:function(e,t,n){var i=ce.css(e,"position");"static"===i&&(e.style.position="relative");var r,o,a=ce(e),s=a.offset(),l=ce.css(e,"top"),u=ce.css(e,"left"),c=("absolute"===i||"fixed"===i)&&ce.inArray("auto",[l,u])>-1,d={},f={};c?(f=a.position(),r=f.top,o=f.left):(r=parseFloat(l)||0,o=parseFloat(u)||0),ce.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+r),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):a.css(d)}},ce.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===ce.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ce.nodeName(e[0],"html")||(n=e.offset()),n.top+=ce.css(e[0],"borderTopWidth",!0),n.left+=ce.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ce.css(i,"marginTop",!0),left:t.left-n.left-ce.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||K;e&&!ce.nodeName(e,"html")&&"static"===ce.css(e,"position");)e=e.offsetParent;return e||K})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);ce.fn[e]=function(r){return ce.access(this,function(e,r,o){var a=q(e);return o===t?a?n in a?a[n]:a.document.documentElement[r]:e[r]:void(a?a.scrollTo(i?ce(a).scrollLeft():o,i?o:ce(a).scrollTop()):e[r]=o)},e,r,arguments.length,null)}}),ce.each({Height:"height",Width:"width"},function(e,n){ce.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){ce.fn[r]=function(r,o){var a=arguments.length&&(i||"boolean"!=typeof r),s=i||(r===!0||o===!0?"margin":"border");return ce.access(this,function(n,i,r){var o;return ce.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):r===t?ce.css(n,i,s):ce.style(n,i,r,s)},n,a?r:t,a,null)}})}),ce.fn.size=function(){return this.length},ce.fn.andSelf=ce.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ce:(e.jQuery=e.$=ce,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce}))}(window),function(e){"use strict";for(var t,n,i={},r=function(){},o="memory".split(","),a="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");t=o.pop();)e[t]=e[t]||i;for(;n=a.pop();)e[n]=e[n]||r}(this.console=this.console||{}),window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,i=0,r=[],o=function(t){clearTimeout(i),i=setTimeout(function(){for(var t=0,n=r.length;t<n;t++){var i=r[t].mql,o=r[t].listeners||[],a=e(i.media).matches;if(a!==i.matches){i.matches=a;for(var s=0,l=o.length;s<l;s++)o[s].call(window,i)}}},30)};window.matchMedia=function(i){var a=e(i),s=[],l=0;return a.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",o,!0)),0===l&&(l=r.push({mql:a,listeners:s})),s.push(e))},a.removeListener=function(e){for(var t=0,n=s.length;t<n;t++)s[t]===e&&s.splice(t,1)},a}}(),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.enquire=e()}}(function(){return function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return r(n?n:e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);
4return r}({1:[function(e,t,n){function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var r=e(3),o=e(4).each;i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;
4o(t,function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},t.exports=i},{3:3,4:4}],2:[function(e,t,n){function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var r=e(1),o=e(4),a=o.each,s=o.isFunction,l=o.isArray;i.prototype={constructor:i,register:function(e,t,n){var i=this.queries,o=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,o)),s(t)&&(t={match:t}),l(t)||(t=[t]),a(t,function(t){s(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},t.exports=i},{1:1,4:4}],3:[function(e,t,n){function i(e){this.options=e,!e.deferSetup&&this.setup()}i.prototype={constructor:i,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},t.exports=i},{}],4:[function(e,t,n){function i(e,t){var n,i=0,r=e.length;for(i;i<r&&(n=t(e[i],i),n!==!1);i++);}function r(e){return"[object Array]"===Object.prototype.toString.apply(e)}function o(e){return"function"==typeof e}t.exports={isFunction:o,isArray:r,each:i}},{}],5:[function(e,t,n){var i=e(2);t.exports=new i},{2:2}]},{},[5])(5)}),function(e,t){"use strict";"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.returnExports=t()}(this,function(){function e(e){var t=+e;return t!==t?t=0:0!==t&&t!==1/0&&t!==-(1/0)&&(t=(t>0||-1)*Math.floor(Math.abs(t))),t}function t(e){var t=typeof e;return null===e||"undefined"===t||"boolean"===t||"number"===t||"string"===t}function n(e){var n,i,r;if(t(e))return e;if(i=e.valueOf,p(i)&&(n=i.call(e),t(n)))return n;if(r=e.toString,p(r)&&(n=r.call(e),t(n)))return n;throw new TypeError}var i=Array.prototype,r=Object.prototype,o=Function.prototype,a=String.prototype,s=Number.prototype,l=i.slice,u=i.splice,c=i.push,d=i.unshift,f=o.call,h=r.toString,p=function(e){return"[object Function]"===h.call(e)},m=function(e){return"[object RegExp]"===h.call(e)},g=function(e){return"[object Array]"===h.call(e)},v=function(e){return"[object String]"===h.call(e)},y=function(e){var t=h.call(e),n="[object Arguments]"===t;return n||(n=!g(e)&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&p(e.callee)),n},w=function(e){var t,n=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}();return t=n?function(e,t,n,i){!i&&t in e||Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,i){!i&&t in e||(e[t]=n)},function(n,i,r){for(var o in i)e.call(i,o)&&t(n,o,i[o],r)}}(r.hasOwnProperty),b={ToObject:function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)},ToUint32:function(e){return e>>>0}},x=function(){};w(o,{bind:function(e){var t=this;if(!p(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,i=l.call(arguments,1),r=function(){if(this instanceof n){var r=t.apply(this,i.concat(l.call(arguments)));return Object(r)===r?r:this}return t.apply(e,i.concat(l.call(arguments)))},o=Math.max(0,t.length-i.length),a=[],s=0;s<o;s++)a.push("$"+s);return n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this, arguments); }")(r),t.prototype&&(x.prototype=t.prototype,n.prototype=new x,x.prototype=null),n}});var S=f.bind(r.hasOwnProperty),_=function(){var e=[1,2],t=e.splice();return 2===e.length&&g(t)&&0===t.length}();w(i,{splice:function(e,t){return 0===arguments.length?[]:u.apply(this,arguments)}},!_);var T=function(){var e={};return i.splice.call(e,0,0,1),1===e.length}();w(i,{splice:function(t,n){if(0===arguments.length)return[];var i=arguments;return this.length=Math.max(e(this.length),0),arguments.length>0&&"number"!=typeof n&&(i=l.call(arguments),i.length<2?i.push(this.length-t):i[1]=e(n)),u.a
4pply(this,i)}},!T);var k=1!==[].unshift(0);w(i,{unshift:function(){return d.apply(this,arguments),this.length}},k),w(Array,{isArray:g});var C=Object("a"),D="a"!==C[0]||!(0 in C),M=function(e){var t=!0,n=!0;return e&&(e.call("foo",function(e,n,i){"object"!=typeof i&&(t=!1)}),e.call([1],function(){"use strict";n="string"==typeof this},"x")),!!e&&t&&n};w(i,{forEach:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=arguments[1],r=-1,o=n.length>>>0;if(!p(e))throw new TypeError;for(;++r<o;)r in n&&e.call(i,n[r],r,t)}},!M(i.forEach)),w(i,{map:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=n.length>>>0,r=Array(i),o=arguments[1];if(!p(e))throw new TypeError(e+" is not a function");for(var a=0;a<i;a++)a in n&&(r[a]=e.call(o,n[a],a,t));return r}},!M(i.map)),w(i,{filter:function(e){var t,n=b.ToObject(this),i=D&&v(this)?this.split(""):n,r=i.length>>>0,o=[],a=arguments[1];if(!p(e))throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)s in i&&(t=i[s],e.call(a,t,s,n)&&o.push(t));return o}},!M(i.filter)),w(i,{every:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if(!p(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&!e.call(r,n[o],o,t))return!1;return!0}},!M(i.every)),w(i,{some:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=n.length>>>0,r=arguments[1];if(!p(e))throw new TypeError(e+" is not a function");for(var o=0;o<i;o++)if(o in n&&e.call(r,n[o],o,t))return!0;return!1}},!M(i.some));var E=!1;i.reduce&&(E="object"==typeof i.reduce.call("es5",function(e,t,n,i){return i})),w(i,{reduce:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=n.length>>>0;if(!p(e))throw new TypeError(e+" is not a function");if(!i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=e.call(void 0,r,n[o],o,t));return r}},!E);var A=!1;i.reduceRight&&(A="object"==typeof i.reduceRight.call("es5",function(e,t,n,i){return i})),w(i,{reduceRight:function(e){var t=b.ToObject(this),n=D&&v(this)?this.split(""):t,i=n.length>>>0;if(!p(e))throw new TypeError(e+" is not a function");if(!i&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var r,o=i-1;if(arguments.length>=2)r=arguments[1];else for(;;){if(o in n){r=n[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(o<0)return r;do o in n&&(r=e.call(void 0,r,n[o],o,t));while(o--);return r}},!A);var N=Array.prototype.indexOf&&[0,1].indexOf(1,2)!==-1;w(i,{indexOf:function(t){var n=D&&v(this)?this.split(""):b.ToObject(this),i=n.length>>>0;if(!i)return-1;var r=0;for(arguments.length>1&&(r=e(arguments[1])),r=r>=0?r:Math.max(0,i+r);r<i;r++)if(r in n&&n[r]===t)return r;return-1}},N);var O=Array.prototype.lastIndexOf&&[0,1].lastIndexOf(0,-3)!==-1;w(i,{lastIndexOf:function(t){var n=D&&v(this)?this.split(""):b.ToObject(this),i=n.length>>>0;if(!i)return-1;var r=i-1;for(arguments.length>1&&(r=Math.min(r,e(arguments[1]))),r=r>=0?r:i-Math.abs(r);r>=0;r--)if(r in n&&t===n[r])return r;return-1}},O);var L=!{toString:null}.propertyIsEnumerable("toString"),I=function(){}.propertyIsEnumerable("prototype"),P=!S("x","0"),Y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],F=Y.length;w(Object,{keys:function(e){var t=p(e),n=y(e),i=null!==e&&"object"==typeof e,r=i&&v(e);if(!i&&!t&&!n)throw new TypeError("Object.keys called on a non-object");var o=[],a=I&&t;if(r&&P||n)for(var s=0;s<e.length;++s)o.push(String(s));if(!n)for(var l in e)a&&"prototype"===l||!S(e,l)||o.push(String(l));if(L)for(var u=e.constructor,c=u&&u.prototype===e,d=0;d<F;d++){var f=Y[d];c&&"constructor"===f||!S(e,f)||o.push(f)}return o}});var R=Object.keys&&function(){return 2===Object.keys(arguments).length}(1,2),$=Object.keys;w(Object,{keys:function(e){return $(y(e)?i.slice.call(e):e)}},!R);var H=-621987552e5,j="-000001",W=Date.prototype.toISOString&&new Date(H).toISOString().indexOf(j)===-1;w(Date.prototype,{toISOString:function(){var e,t,n,i,r;if(!isFinite(this))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(i=this.getUTCFullYear(),r=this.getUTCMonth(),i+=Math.floor(r/12),r=(r%12+12)%12,e=[r+1,this.getUTCDate(),this.getUTCHours(),this.getUTCMinutes(),this.getUTCSeconds()],i=(i<0?"-":i>9999?"+":"")+("00000"+Math.abs(i)).slice(0<=i&&i<=9999?-4:-6),t=e.length;t--;)n=e[t],n<10&&(e[t]="0"+n);return i+"-"+e.slice(0,2).join("-")+"T"+e.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}},W);var z=!1;try{z=Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&new Date(H).toJSON().indexOf(j)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(V){}
4z||(Date.prototype.toJSON=function(e){var t,i=Object(this),r=n(i);if("number"==typeof r&&!isFinite(r))return null;if(t=i.toISOString,"function"!=typeof t)throw new TypeError("toISOString property is not callable");return t.call(i)});var q=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),B=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z")),U=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));Date.parse&&!U&&!B&&q||(Date=function(e){function t(n,i,r,o,a,s,l){var u=arguments.length;if(this instanceof e){var c=1===u&&String(n)===n?new e(t.parse(n)):u>=7?new e(n,i,r,o,a,s,l):u>=6?new e(n,i,r,o,a,s):u>=5?new e(n,i,r,o,a):u>=4?new e(n,i,r,o):u>=3?new e(n,i,r):u>=2?new e(n,i):u>=1?new e(n):new e;return c.constructor=t,c}return e.apply(this,arguments)}function n(e,t){var n=t>1?1:0;return o[t]+Math.floor((e-1969+n)/4)-Math.floor((e-1901+n)/100)+Math.floor((e-1601+n)/400)+365*(e-1970)}function i(t){return Number(new e(1970,0,1,0,0,0,t))}var r=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),o=[0,31,59,90,120,151,181,212,243,273,304,334,365];for(var a in e)t[a]=e[a];return t.now=e.now,t.UTC=e.UTC,t.prototype=e.prototype,t.prototype.constructor=t,t.parse=function(t){var o=r.exec(t);if(o){var a,s=Number(o[1]),l=Number(o[2]||1)-1,u=Number(o[3]||1)-1,c=Number(o[4]||0),d=Number(o[5]||0),f=Number(o[6]||0),h=Math.floor(1e3*Number(o[7]||0)),p=Boolean(o[4]&&!o[8]),m="-"===o[9]?1:-1,g=Number(o[10]||0),v=Number(o[11]||0);return c<(d>0||f>0||h>0?24:25)&&d<60&&f<60&&h<1e3&&l>-1&&l<12&&g<24&&v<60&&u>-1&&u<n(s,l+1)-n(s,l)&&(a=60*(24*(n(s,l)+u)+c+g*m),a=1e3*(60*(a+d+v*m)+f)+h,p&&(a=i(a)),-864e13<=a&&a<=864e13)?a:NaN}return e.parse.apply(this,arguments)},t}(Date)),Date.now||(Date.now=function(){return(new Date).getTime()});var X=s.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),G={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1;++n<G.size;)t+=e*G.data[n],G.data[n]=t%G.base,t=Math.floor(t/G.base)},divide:function(e){for(var t=G.size,n=0;--t>=0;)n+=G.data[t],G.data[t]=Math.floor(n/e),n=n%e*G.base},numToString:function(){for(var e=G.size,t="";--e>=0;)if(""!==t||0===e||0!==G.data[e]){var n=String(G.data[e]);""===t?t=n:t+="0000000".slice(0,7-n.length)+n}return t},pow:function se(e,t,n){return 0===t?n:t%2===1?se(e,t-1,n*e):se(e*e,t/2,n)},log:function(e){for(var t=0;e>=4096;)t+=12,e/=4096;for(;e>=2;)t+=1,e/=2;return t}};w(s,{toFixed:function(e){var t,n,i,r,o,a,s,l;if(t=Number(e),t=t!==t?0:Math.floor(t),t<0||t>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=Number(this),n!==n)return"NaN";if(n<=-1e21||n>=1e21)return String(n);if(i="",n<0&&(i="-",n=-n),r="0",n>1e-21)if(o=G.log(n*G.pow(2,69,1))-69,a=o<0?n*G.pow(2,-o,1):n/G.pow(2,o,1),a*=4503599627370496,o=52-o,o>0){for(G.multiply(0,a),s=t;s>=7;)G.multiply(1e7,0),s-=7;for(G.multiply(G.pow(10,s,1),0),s=o-1;s>=23;)G.divide(1<<23),s-=23;G.divide(1<<s),G.multiply(1,1),G.divide(2),r=G.numToString()}else G.multiply(0,a),G.multiply(1<<-o,0),r=G.numToString()+"0.00000000000000000000".slice(2,2+t);return t>0?(l=r.length,r=l<=t?i+"0.0000000000000000000".slice(0,t-l+2)+r:i+r.slice(0,l-t)+"."+r.slice(l-t)):r=i+r,r}},X);var Z=a.split;2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?!function(){var e="undefined"==typeof/()??/.exec("")[1];a.split=function(t,n){var i=this;if("undefined"==typeof t&&0===n)return[];if("[object RegExp]"!==h.call(t))return Z.call(this,t,n);var r,o,a,s,l=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.extended?"x":"")+(t.sticky?"y":""),d=0;for(t=new RegExp(t.source,u+"g"),i+="",e||(r=new RegExp("^"+t.source+"$(?!\\s)",u)),n="undefined"==typeof n?-1>>>0:b.ToUint32(n),o=t.exec(i);o&&(a=o.index+o[0].length,!(a>d&&(l.push(i.slice(d,o.index)),!e&&o.length>1&&o[0].replace(r,function(){for(var e=1;e<arguments.length-2;e++)"undefined"==typeof arguments[e]&&(o[e]=void 0)}),o.length>1&&o.index<i.length&&c.apply(l,o.slice(1)),s=o[0].length,d=a,l.length>=n)));)t.lastIndex===o.index&&t.lastIndex++,o=t.exec(i);return d===i.length?!s&&t.test("")||l.push(""):l.push(i.slice(d)),l.length>n?l.slice(0,n):l}}():"0".split(void 0,0).length&&(a.split=function(e,t){return"undefined"==typeof e&&0===t?[]:Z.call(this,e,t)});var K=a.replace,Q=function(){var e=[];return"x".replace(/x(.)?/g,function(t,n){e.push(n)}),1===e.length&&"undefined"==typeof e[0]}();Q||(a.replace=function(e,t){var n=p(t),i=m(e)&&/\)[*?]/.test(e.source);if(n&&i){var r=function(n){var i=arguments.length,r=e.lastIndex;e.lastIndex=0;var o=e.exec(n)||[];return e.lastIndex=r,o.push(arguments[i-2],arguments[i-1]),t.apply(this,o)};return K.call(this,e,r)}return K.call(this,e,t)});var J=a.substr,ee="".substr&&"b"!=="0b".substr(-1);w(a,{substr:function(e,t){return J.call(this,e<0&&(e=this.length+e)<0?0:e,t)}},ee);var te="\t\n\x0B\f\r   ᠎              \u2028\u2029\ufeff",ne="​",ie="["+te+"]",re=new RegExp("^"+ie+ie+"*"),oe=new RegExp(ie+ie+"*$"),ae=a.trim&&(te.trim()||!ne.trim());w(a,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(re,"").replace(oe,"")}},ae),8===parseInt(te+"08")&&22===parseInt(te+"0x16")||(parseInt=function(e){var t=/^0[xX]/;return function(n,i){return n=String(n).trim(),Number(i)||(i=t.test(n)?16:10),e(n,i)}}(parseInt))}),function(){"use strict";function e(t,i){function r(e,t){return function(){return e.apply(t,arguments)}}var o;if(i=i||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=i.touchBoundary||10,this.layer=t,this.tapDelay=i.tapDelay||200,this.tapTimeout=i.tapTimeout||700,!e.notNeeded(t)){for(var a=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],s=this,l=0,u=a.length;l<u;l++)s[a[l]]=r(s[a[l]],s);n&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,i){var r=Node.prototype.removeEventListener;"click"===e?r.call(t,e,n.hijacked||n,i):r.call(t,e,n,i)},t.addEventListener=function(e,n,i){var r=Node.prototype.addEventListener;"click"===e?r.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),i):r.call(t,e,n,i)}),"function"==typeof t.onclick&&(o=t.onclick,t.addEventListener("click",function(e){o(e)},!1),t.onclick=null)}}var t=navigator.userAgent.indexOf("Windows Phone")>=0,n=navigator.userAgent.indexOf("Android")>0&&!t,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!t,r=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),o=i&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(i&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!n;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,i;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),i=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return n&&"select"===e.tagName.toLowerCase()?"mousedown":"click"}
4,e.prototype.focus=function(e){var t;i&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,o;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],i){if(o=window.getSelection(),o.rangeCount&&!o.isCollapsed)return!0;if(!r){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},e.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n},e.prototype.onTouchMove=function(e){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0)},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,a,s,l,u,c=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,a=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,o&&(u=e.changedTouches[0],c=document.elementFromPoint(u.pageX-window.pageXOffset,u.pageY-window.pageYOffset)||c,c.fastClickScrollParent=this.targetElement.fastClickScrollParent),s=c.tagName.toLowerCase(),"label"===s){if(t=this.findControl(c)){if(this.focus(c),n)return!1;c=t}}else if(this.needsFocus(c))return e.timeStamp-a>100||i&&window.top!==window&&"input"===s?(this.targetElement=null,!1):(this.focus(c),this.sendClick(c,e),i&&"select"===s||(this.targetElement=null,e.preventDefault()),!1);return!(!i||r||(l=c.fastClickScrollParent,!l||l.fastClickLastScrollTop===l.scrollTop))||(this.needsClick(c)||(e.preventDefault(),this.sendClick(c,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return!this.targetElement||(!!e.forwardedTouchEvent||(!e.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1))))},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail||(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;n&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,i,r,o;if("undefined"==typeof window.ontouchstart)return!0;if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n)return!0;if(t=document.querySelector("meta[name=viewport]")){if(t.content.indexOf("user-scalable=no")!==-1)return!0;if(i>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),r[1]>=10&&r[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(t.content.indexOf("user-scalable=no")!==-1)return!0;
4if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction||(o=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],!!(o>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))||("none"===e.style.touchAction||"manipulation"===e.style.touchAction))},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return e}):"undefined"!=typeof module&&module.exports?(module.exports=e.attach,module.exports.FastClick=e):window.FastClick=e}(),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,r){return jQuery.easing[jQuery.easing.def](e,t,n,i,r)},easeInQuad:function(e,t,n,i,r){return i*(t/=r)*t+n},easeOutQuad:function(e,t,n,i,r){return-i*(t/=r)*(t-2)+n},easeInOutQuad:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,r){return i*(t/=r)*t*t+n},easeOutCubic:function(e,t,n,i,r){return i*((t=t/r-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,r){return i*(t/=r)*t*t*t+n},easeOutQuart:function(e,t,n,i,r){return-i*((t=t/r-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,r){return i*(t/=r)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,r){return i*((t=t/r-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,r){return(t/=r/2)<1?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,r){return-i*Math.cos(t/r*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,r){return i*Math.sin(t/r*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,r){return-i/2*(Math.cos(Math.PI*t/r)-1)+n},easeInExpo:function(e,t,n,i,r){return 0==t?n:i*Math.pow(2,10*(t/r-1))+n},easeOutExpo:function(e,t,n,i,r){return t==r?n+i:i*(-Math.pow(2,-10*t/r)+1)+n},easeInOutExpo:function(e,t,n,i,r){return 0==t?n:t==r?n+i:(t/=r/2)<1?i/2*Math.pow(2,10*(t-1))+n:i/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,i,r){return-i*(Math.sqrt(1-(t/=r)*t)-1)+n},easeOutCirc:function(e,t,n,i,r){return i*Math.sqrt(1-(t=t/r-1)*t)+n},easeInOutCirc:function(e,t,n,i,r){return(t/=r/2)<1?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(1==(t/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return-(s*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a))+n},easeOutElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(1==(t/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*t)*Math.sin((t*r-o)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(e,t,n,i,r){var o=1.70158,a=0,s=i;if(0==t)return n;if(2==(t/=r/2))return n+i;if(a||(a=r*(.3*1.5)),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return t<1?-.5*(s*Math.pow(2,10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a))+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*r-o)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(e,t,n,i,r,o){return void 0==o&&(o=1.70158),i*(t/=r)*t*((o+1)*t-o)+n},easeOutBack:function(e,t,n,i,r,o){return void 0==o&&(o=1.70158),i*((t=t/r-1)*t*((o+1)*t+o)+1)+n},easeInOutBack:function(e,t,n,i,r,o){return void 0==o&&(o=1.70158),(t/=r/2)<1?i/2*(t*t*(((o*=1.525)+1)*t-o))+n:i/2*((t-=2)*t*(((o*=1.525)+1)*t+o)+2)+n},easeInBounce:function(e,t,n,i,r){return i-jQuery.easing.easeOutBounce(e,r-t,0,i,r)+n},easeOutBounce:function(e,t,n,i,r){return(t/=r)<1/2.75?i*(7.5625*t*t)+n:t<2/2.75?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,i,r){return t<r/2?.5*jQuery.easing.easeInBounce(e,2*t,0,i,r)+n:.5*jQuery.easing.easeOutBounce(e,2*t-r,0,i,r)+.5*i+n}}),window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(e,t,n){"use strict";function i(t){"object"==typeof module&&"object"==typeof module.exports?module.exports=t:"function"==typeof define&&define.amd&&define("picturefill",function(){return t}),"object"==typeof e&&(e.picturefill=t)}function r(e){var t,n,i,r,o,l=e||{};t=l.elements||a.getAllElements();for(var u=0,c=t.length;u<c;u++)if(n=t[u],i=n.parentNode,r=void 0,o=void 0,"IMG"===n.nodeName.toUpperCase()&&(n[a.ns]||(n[a.ns]={}),l.reevaluate||!n[a.ns].evaluated)){if(i&&"PICTURE"===i.nodeName.toUpperCase()){if(a.removeVideoShim(i),r=a.getMatch(n,i),r===!1)continue}else r=void 0;(i&&"PICTURE"===i.nodeName.toUpperCase()||!a.sizesSupported&&n.srcset&&s.test(n.srcset))&&a.dodgeSrcset(n),r?(o=a.processSourceSet(r),a.applyBestCandidate(o,n)):(o=a.processSourceSet(n),(void 0===n.srcset||n[a.ns].srcset)&&a.applyBestCandidate(o,n)),n[a.ns].evaluated=!0}}function o(){function n(){clearTimeout(i),i=setTimeout(s,60)}a.initTypeDetects(),r();
4var i,o=setInterval(function(){if(r(),/^loaded|^i|^c/.test(t.readyState))return void clearInterval(o)},250),s=function(){r({reevaluate:!0})};e.addEventListener?e.addEventListener("resize",n,!1):e.attachEvent&&e.attachEvent("onresize",n)}if(e.HTMLPictureElement)return void i(function(){});t.createElement("picture");var a=e.picturefill||{},s=/\s+\+?\d+(e\d+)?w/;a.ns="picturefill",function(){a.srcsetSupported="srcset"in n,a.sizesSupported="sizes"in n,a.curSrcSupported="currentSrc"in n}(),a.trim=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},a.makeUrl=function(){var e=t.createElement("a");return function(t){return e.href=t,e.href}}(),a.restrictsMixedContent=function(){return"https:"===e.location.protocol},a.matchesMedia=function(t){return e.matchMedia&&e.matchMedia(t).matches},a.getDpr=function(){return e.devicePixelRatio||1},a.getWidthFromLength=function(e){var n;if(!e||e.indexOf("%")>-1!=!1||!(parseFloat(e)>0||e.indexOf("calc(")>-1))return!1;e=e.replace("vw","%"),a.lengthEl||(a.lengthEl=t.createElement("div"),a.lengthEl.style.cssText="border:0;display:block;font-size:1em;
4left:0;margin:0;padding:0;position:absolute;visibility:hidden",a.lengthEl.className="helper-from-picturefill-js"),a.lengthEl.style.width="0px";try{a.lengthEl.style.width=e}catch(i){}return t.body.appendChild(a.lengthEl),n=a.lengthEl.offsetWidth,n<=0&&(n=!1),t.body.removeChild(a.lengthEl),n},a.detectTypeSupport=function(t,n){var i=new e.Image;return i.onerror=function(){a.types[t]=!1,r()},i.onload=function(){a.types[t]=1===i.width,r()},i.src=n,"pending"},a.types=a.types||{},a.initTypeDetects=function(){a.types["image/jpeg"]=!0,a.types["image/gif"]=!0,a.types["image/png"]=!0,a.types["image/svg+xml"]=t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),a.types["image/webp"]=a.detectTypeSupport("image/webp","data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=")},a.verifyTypeSupport=function(e){var t=e.getAttribute("type");if(null===t||""===t)return!0;var n=a.types[t];return"string"==typeof n&&"pending"!==n?(a.types[t]=a.detectTypeSupport(t,n),"pending"):"function"==typeof n?(n(),"pending"):n},a.parseSize=function(e){var t=/(\([^)]+\))?\s*(.+)/g.exec(e);return{media:t&&t[1],length:t&&t[2]}},a.findWidthFromSourceSize=function(n){for(var i,r=a.trim(n).split(/\s*,\s*/),o=0,s=r.length;o<s;o++){var l=r[o],u=a.parseSize(l),c=u.length,d=u.media;if(c&&(!d||a.matchesMedia(d))&&(i=a.getWidthFromLength(c)))break}return i||Math.max(e.innerWidth||0,t.documentElement.clientWidth)},a.parseSrcset=function(e){for(var t=[];""!==e;){e=e.replace(/^\s+/g,"");var n,i=e.search(/\s/g),r=null;if(i!==-1){n=e.slice(0,i);var o=n.slice(-1);if(","!==o&&""!==n||(n=n.replace(/,+$/,""),r=""),e=e.slice(i+1),null===r){var a=e.indexOf(",");a!==-1?(r=e.slice(0,a),e=e.slice(a+1)):(r=e,e="")}}else n=e,e="";(n||r)&&t.push({url:n,descriptor:r})}return t},a.parseDescriptor=function(e,t){var n,i=t||"100vw",r=e&&e.replace(/(^\s+|\s+$)/g,""),o=a.findWidthFromSourceSize(i);if(r)for(var s=r.split(" "),l=s.length-1;l>=0;l--){var u=s[l],c=u&&u.slice(u.length-1);if("h"!==c&&"w"!==c||a.sizesSupported){if("x"===c){var d=u&&parseFloat(u,10);n=d&&!isNaN(d)?d:1}}else n=parseFloat(parseInt(u,10)/o)}return n||1},a.getCandidatesFromSourceSet=function(e,t){for(var n=a.parseSrcset(e),i=[],r=0,o=n.length;r<o;r++){var s=n[r];i.push({url:s.url,resolution:a.parseDescriptor(s.descriptor,t)})}return i},a.dodgeSrcset=function(e){e.srcset&&(e[a.ns].srcset=e.srcset,e.srcset="",e.setAttribute("data-pfsrcset",e[a.ns].srcset))},a.processSourceSet=function(e){var t=e.getAttribute("srcset"),n=e.getAttribute("sizes"),i=[];return"IMG"===e.nodeName.toUpperCase()&&e[a.ns]&&e[a.ns].srcset&&(t=e[a.ns].srcset),t&&(i=a.getCandidatesFromSourceSet(t,n)),i},a.backfaceVisibilityFix=function(e){var t=e.style||{},n="webkitBackfaceVisibility"in t,i=t.zoom;n&&(t.zoom=".999",
5n=e.offsetWidth,t.zoom=i)},a.setIntrinsicSize=function(){var n={},i=function(e,t,n){t&&e.setAttribute("width",parseInt(t/n,10))};return function(r,o){var s;r[a.ns]&&!e.pfStopIntrinsicSize&&(void 0===r[a.ns].dims&&(r[a.ns].dims=r.getAttribute("width")||r.getAttribute("height")),r[a.ns].dims||(o.url in n?i(r,n[o.url],o.resolution):(s=t.createElement("img"),s.onload=function(){if(n[o.url]=s.width,!n[o.url])try{t.body.appendChild(s),n[o.url]=s.width||s.offsetWidth,t.body.removeChild(s)}catch(e){}r.src===o.url&&i(r,n[o.url],o.resolution),r=null,s.onload=null,s=null},s.src=o.url)))}}(),a.applyBestCandidate=function(e,t){var n,i,r;e.sort(a.ascendingSort),i=e.length,r=e[i-1];for(var o=0;o<i;o++)if(n=e[o],n.resolution>=a.getDpr()){r=n;break}r&&(r.url=a.makeUrl(r.url),t.src!==r.url&&(a.restrictsMixedContent()&&"http:"===r.url.substr(0,"http:".length).toLowerCase()?void 0!==window.console&&console.warn("Blocked mixed content image "+r.url):(t.src=r.url,a.curSrcSupported||(t.currentSrc=t.src),a.backfaceVisibilityFix(t))),a.setIntrinsicSize(t,r))},a.ascendingSort=function(e,t){return e.resolution-t.resolution},a.removeVideoShim=function(e){var t=e.getElementsByTagName("video");if(t.length){for(var n=t[0],i=n.getElementsByTagName("source");i.length;)e.insertBefore(i[0],n);n.parentNode.removeChild(n)}},a.getAllElements=function(){for(var e=[],n=t.getElementsByTagName("img"),i=0,r=n.length;i<r;i++){var o=n[i];("PICTURE"===o.parentNode.nodeName.toUpperCase()||null!==o.getAttribute("srcset")||o[a.ns]&&null!==o[a.ns].srcset)&&e.push(o)}return e},a.getMatch=function(e,t){for(var n,i=t.childNodes,r=0,o=i.length;r<o;r++){var s=i[r];if(1===s.nodeType){if(s===e)return n;
5if("SOURCE"===s.nodeName.toUpperCase()){null!==s.getAttribute("src")&&void 0!==typeof console&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`.");var l=s.getAttribute("media");if(s.getAttribute("srcset")&&(!l||a.matchesMedia(l))){var u=a.verifyTypeSupport(s);if(u===!0){n=s;break}if("pending"===u)return!1}}}}return n},o(),r._=a,i(r)}(window,window.document,new window.Image),function(e){function t(e){var t=e.length,i=n.type(e);return"function"!==i&&!n.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e))}if(!e.jQuery){var n=function(e,t){return new n.fn.init(e,t)};n.isWindow=function(e){return null!=e&&e==e.window},n.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[a.call(e)]||"object":typeof e},n.isArray=Array.isArray||function(e){return"array"===n.type(e)},n.isPlainObject=function(e){var t;if(!e||"object"!==n.type(e)||e.nodeType||n.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}for(t in e);return void 0===t||o.call(e,t)},n.each=function(e,n,i){var r,o=0,a=e.length,s=t(e);if(i){if(s)for(;o<a&&(r=n.apply(e[o],i),r!==!1);o++);else for(o in e)if(r=n.apply(e[o],i),r===!1)break}else if(s)for(;o<a&&(r=n.call(e[o],o,e[o]),r!==!1);o++);else for(o in e)if(r=n.call(e[o],o,e[o]),r===!1)break;return e},n.data=function(e,t,r){if(void 0===r){var o=e[n.expando],a=o&&i[o];if(void 0===t)return a;
vendor: 33,381 bytes, lines 5-6
5if(a&&t in a)return a[t]}else if(void 0!==t){var o=e[n.expando]||(e[n.expando]=++n.uuid);return i[o]=i[o]||{},i[o][t]=r,r}},n.removeData=function(e,t){var r=e[n.expando],o=r&&i[r];o&&n.each(t,function(e,t){delete o[t]})},n.extend=function(){var e,t,i,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(o=arguments[l]))for(r in o)e=s[r],i=o[r],s!==i&&(c&&i&&(n.isPlainObject(i)||(t=n.isArray(i)))?(t?(t=!1,a=e&&n.isArray(e)?e:[]):a=e&&n.isPlainObject(e)?e:{},s[r]=n.extend(c,a,i)):void 0!==i&&(s[r]=i));return s},n.queue=function(e,i,r){function o(e,n){var i=n||[];return null!=e&&(t(Object(e))?!function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!==n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e}(i,"string"==typeof e?[e]:e):[].push.call(i,e)),i}if(e){i=(i||"fx")+"queue";var a=n.data(e,i);return r?(!a||n.isArray(r)?a=n.data(e,i,o(r)):a.push(r),a):a||[]}},n.dequeue=function(e,t){n.each(e.nodeType?[e]:e,function(e,i){t=t||"fx";var r=n.queue(i,t),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===t&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,t)}))})},n.fn=n.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),i=this.offset(),r=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:n(e).offset();return i.top-=parseFloat(t.style.marginTop)||0,i.left-=parseFloat(t.style.marginLeft)||0,e.style&&(r.top+=parseFloat(e.style.borderTopWidth)||0,r.left+=parseFloat(e.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}};var i={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var r={},o=r.hasOwnProperty,a=r.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;l<s.length;l++)r["[object "+s[l]+"]"]=s[l].toLowerCase();n.fn.init.prototype=n.fn,e.Velocity={Utilities:n}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,t,n,i){function r(e){for(var t=-1,n=e?e.length:0,i=[];++t<n;){var r=e[t];r&&i.push(r)}return i}function o(e){return m.isWrapped(e)?e=[].slice.call(e):m.isNode(e)&&(e=[e]),e}function a(e){var t=f.data(e,"velocity");return null===t?i:t}function s(e){return function(t){return Math.round(t*e)*(1/e)}}function l(e,n,i,r){function o(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,n){return((o(t,n)*e+a(t,n))*e+s(t))*e}function u(e,t,n){return 3*o(t,n)*e*e+2*a(t,n)*e+s(t)}function c(t,n){for(var r=0;r<m;++r){var o=u(n,e,i);if(0===o)return n;var a=l(n,e,i)-t;n-=a/o}return n}function d(){for(var t=0;t<w;++t)_[t]=l(t*b,e,i)}function f(t,n,r){var o,a,s=0;do a=n+(r-n)/2,o=l(a,e,i)-t,o>0?r=a:n=a;while(Math.abs(o)>v&&++s<y);return a}function h(t){for(var n=0,r=1,o=w-1;r!=o&&_[r]<=t;++r)n+=b;--r;var a=(t-_[r])/(_[r+1]-_[r]),s=n+a*b,l=u(s,e,i);return l>=g?c(t,s):0==l?s:f(t,n,n+b)}function p(){T=!0,e==n&&i==r||d()}var m=4,g=.001,v=1e-7,y=10,w=11,b=1/(w-1),x="Float32Array"in t;if(4!==arguments.length)return!1;for(var S=0;S<4;++S)if("number"!=typeof arguments[S]||isNaN(arguments[S])||!isFinite(arguments[S]))return!1;e=Math.min(e,1),i=Math.min(i,1),e=Math.max(e,0),i=Math.max(i,0);var _=x?new Float32Array(w):new Array(w),T=!1,k=function(t){return T||p(),e===n&&i===r?t:0===t?0:1===t?1:l(h(t),n,r)};k.getControlPoints=function(){return[{x:e,y:n},{x:i,y:r}]};var C="generateBezier("+[e,n,i,r]+")";return k.toString=function(){return C},k}function u(e,t){var n=e;return m.isString(e)?w.Easings[e]||(n=!1):n=m.isArray(e)&&1===e.length?s.apply(null,e):m.isArray(e)&&2===e.length?b.apply(null,e.concat([t])):!(!m.isArray(e)||4!==e.length)&&l.apply(null,e),n===!1&&(n=w.Easings[w.defaults.easing]?w.defaults.easing:y),n}function c(e){if(e){var t=(new Date).getTime(),n=w.State.calls.length;n>1e4&&(w.State.calls=r(w.State.calls));for(var o=0;o<n;o++)if(w.State.calls[o]){var s=w.State.calls[o],l=s[0],u=s[2],h=s[3],p=!!h,g=null;h||(h=w.State.calls[o][3]=t-16);for(var v=Math.min((t-h)/u.duration,1),y=0,b=l.length;y<b;y++){var S=l[y],T=S.element;if(a(T)){var k=!1;if(u.display!==i&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var C=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];f.each(C,function(e,t){x.setPropertyValue(T,"display",t)})}x.setPropertyValue(T,"display",u.display)}u.visibility!==i&&"hidden"!==u.visibility&&x.setPropertyValue(T,"visibility",u.visibility);for(var D in S)if("element"!==D){var M,E=S[D],A=m.isString(E.easing)?w.Easings[E.easing]:E.easing;if(1===v)M=E.endValue;else{var N=E.endValue-E.startValue;if(M=E.startValue+N*A(v,u,N),!p&&M===E.currentValue)continue}if(E.currentValue=M,"tween"===D)g=M;else{if(x.Hooks.registered[D]){var O=x.Hooks.getRoot(D),L=a(T).rootPropertyValueCache[O];L&&(E.rootPropertyValue=L)}var I=x.setPropertyValue(T,D,E.currentValue+(0===parseFloat(M)?"":E.unitType),E.rootPropertyValue,E.scrollData);x.Hooks.registered[D]&&(x.Normalizations.registered[O]?a(T).rootPropertyValueCache[O]=x.Normalizations.registered[O]("extract",null,I[1]):a(T).rootPropertyValueCache[O]=I[1]),"transform"===I[0]&&(k=!0)}}u.mobileHA&&a(T).transformCache.translate3d===i&&(a(T).transformCache.translate3d="(0px, 0px, 0px)",k=!0),k&&x.flushTransformCache(T)}}u.display!==i&&"none"!==u.display&&(w.State.calls[o][2].display=!1),u.visibility!==i&&"hidden"!==u.visibility&&(w.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],v,Math.max(0,h+u.duration-t),h,g),1===v&&d(o)}}w.State.isTicking&&_(c)}function d(e,t){if(!w.State.calls[e])return!1;for(var n=w.State.calls[e][0],r=w.State.calls[e][1],o=w.State.calls[e][2],s=w.State.calls[e][4],l=!1,u=0,c=n.length;u<c;u++){var d=n[u].element;if(t||o.loop||("none"===o.display&&x.setPropertyValue(d,"display",o.display),"hidden"===o.visibility&&x.setPropertyValue(d,"visibility",o.visibility)),o.loop!==!0&&(f.queue(d)[1]===i||!/\.velocityQueueEntryFlag/i.test(f.queue(d)[1]))&&a(d)){a(d).isAnimating=!1,a(d).rootPropertyValueCache={};var h=!1;f.each(x.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,r=a(d).transformCache[t];a(d).transformCache[t]!==i&&new RegExp("^\\("+n+"[^.]").test(r)&&(h=!0,delete a(d).transformCache[t])}),o.mobileHA&&(h=!0,delete a(d).transformCache.translate3d),h&&x.flushTransformCache(d),x.Values.removeClass(d,"velocity-animating")}if(!t&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(r,r)}catch(p){setTimeout(function(){throw p},1)}s&&o.loop!==!0&&s(r),a(d)&&o.loop===!0&&!t&&(f.each(a(d).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),w(d,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&f.dequeue(d,o.queue)}w.State.calls[e]=!1;for(var m=0,g=w.State.calls.length;m<g;m++)if(w.State.calls[m]!==!1){l=!0;break}l===!1&&(w.State.isTicking=!1,delete w.State.calls,w.State.calls=[])}var f,h=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return i}(),p=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-e)),e=i+n,setTimeout(function(){t(i+n)},n)}}(),m={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==i&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},g=!1;if(e.fn&&e.fn.jquery?(f=e,g=!0):f=t.Velocity.Utilities,h<=8&&!g)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(h<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var v=400,y="swing",w={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:v,easing:y,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){f.data(e,"velocity",{isSVG:m.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};t.pageYOffset!==i?(w.State.scrollAnchor=t,w.State.scrollPropertyLeft="pageXOffset",w.State.scrollPropertyTop="pageYOffset"):(w.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,w.State.scrollPropertyLeft="scrollLeft",w.State.scrollPropertyTop="scrollTop");var b=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,i){var r={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:r.v,dv:e(r)}}function n(n,i){var r={dx:n.v,dv:e(n)},o=t(n,.5*i,r),a=t(n,.5*i,o),s=t(n,i,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function i(e,t,r){var o,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,d=1e-4,f=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,r=r||null,l.tension=e,l.friction=t,o=null!==r,o?(c=i(e,t),a=c/r*f):a=f;;)if(s=n(s||l,a),u.push(1+s.x),c+=16,!(Math.abs(s.x)>d&&Math.abs(s.v)>d))break;return o?function(e){return u[e*(u.length-1)|0]}:c}}();w.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){w.Easings[t[0]]=l.apply(null,t[1])});var x=w.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<x.Lists.colors.length;e++){var t="color"===x.Lists.colors[e]?"0 0 0 1":"255 255 255 1";x.Hooks.templates[x.Lists.colors[e]]=["Red Green Blue Alpha",t]}var n,i,r;if(h)for(n in x.Hooks.templates){i=x.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(x.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),x.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in x.Hooks.templates){i=x.Hooks.templates[n],r=i[0].split(" ");for(var e in r){var a=n+r[e],s=e;x.Hooks.registered[a]=[n,s]}}},getRoot:function(e){var t=x.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return x.RegEx.valueUnwrap.test(t)&&(t=t.match(x.RegEx.valueUnwrap)[1]),x.Values.isCSSNullValue(t)&&(t=x.Hooks.templates[e][1]),t},extractValue:function(e,t){var n=x.Hooks.registered[e];if(n){var i=n[0],r=n[1];return t=x.Hooks.cleanRootPropertyValue(i,t),t.toString().match(x.RegEx.valueSplit)[r]}return t},injectValue:function(e,t,n){var i=x.Hooks.registered[e];if(i){var r,o,a=i[0],s=i[1];return n=x.Hooks.cleanRootPropertyValue(a,n),r=n.toString().match(x.RegEx.valueSplit),r[s]=t,o=r.join(" ")}return n}},Normalizations:{registered:{clip:function(e,t,n){switch(e){case"name":return"clip";case"extract":var i;return x.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(x.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(e,t,n){switch(e){case"name":return w.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(e,t,n){if(h<=8)switch(e){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){h<=9||w.State.isGingerbread||(x.Lists.transformsBase=x.Lists.transformsBase.concat(x.Lists.transforms3D));for(var e=0;e<x.Lists.transformsBase.length;e++)!function(){var t=x.Lists.transformsBase[e];x.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return"transform";case"extract":return a(n)===i||a(n).transformCache[t]===i?/^scale/i.test(t)?1:0:a(n).transformCache[t].replace(/[()]/g,"");case"inject":var o=!1;switch(t.substr(0,t.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":w.State.isAndroid&&a(n).transformCache[t]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(a(n).transformCache[t]="("+r+")"),a(n).transformCache[t]}}}();for(var e=0;e<x.Lists.colors.length;e++)!function(){var t=x.Lists.colors[e];x.Normalizations.registered[t]=function(e,n,r){switch(e){case"name":return t;case"extract":var o;if(x.RegEx.wrappedValueAlreadyExtracted.test(r))o=r;else{var a,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(r)?a=s[r]!==i?s[r]:s.black:x.RegEx.isHex.test(r)?a="rgb("+x.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(a=s.black),o=(a||r).toString().match(x.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return h<=8||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return h<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(h<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(h||w.State.isAndroid&&!w.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(w.State.prefixMatches[e])return[w.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,i=t.length;n<i;n++){var r;if(r=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),m.isString(w.State.prefixElement.style[r]))return w.State.prefixMatches[e]=r,[r,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(n,function(e,t,n,i){return t+t+n+n+i+i}),t=i.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,n,r,o){function s(e,n){function r(){u&&x.setPropertyValue(e,"display","none")}var l=0;if(h<=8)l=f.css(e,n);else{var u=!1;if(/^(width|height)$/.test(n)&&0===x.getPropertyValue(e,"display")&&(u=!0,x.setPropertyValue(e,"display",x.Values.getDisplayType(e))),!o){if("height"===n&&"border-box"!==x.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var c=e.offsetHeight-(parseFloat(x.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(x.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(x.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(x.getPropertyValue(e,"paddingBottom"))||0);return r(),c}if("width"===n&&"border-box"!==x.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var d=e.offsetWidth-(parseFloat(x.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(x.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(x.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(x.getPropertyValue(e,"paddingRight"))||0);return r(),d}}var p;p=a(e)===i?t.getComputedStyle(e,null):a(e).computedStyle?a(e).computedStyle:a(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),l=9===h&&"filter"===n?p.getPropertyValue(n):p[n],""!==l&&null!==l||(l=e.style[n]),r()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(n)){var m=s(e,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(n))&&(l=f(e).position()[n]+"px")}return l}var l;if(x.Hooks.registered[n]){var u=n,c=x.Hooks.getRoot(u);r===i&&(r=x.getPropertyValue(e,x.Names.prefixCheck(c)[0])),x.Normalizations.registered[c]&&(r=x.Normalizations.registered[c]("extract",e,r)),l=x.Hooks.extractValue(u,r)}else if(x.Normalizations.registered[n]){var d,p;d=x.Normalizations.registered[n]("name",e),"transform"!==d&&(p=s(e,x.Names.prefixCheck(d)[0]),x.Values.isCSSNullValue(p)&&x.Hooks.templates[n]&&(p=x.Hooks.templates[n][1])),l=x.Normalizations.registered[n]("extract",e,p)}if(!/^[\d-]/.test(l))if(a(e)&&a(e).isSVG&&x.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=e.getBBox()[n]}catch(m){l=0}else l=e.getAttribute(n);else l=s(e,x.Names.prefixCheck(n)[0]);return x.Values.isCSSNullValue(l)&&(l=0),w.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(e,n,i,r,o){var s=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?t.scrollTo(i,o.alternateValue):t.scrollTo(o.alternateValue,i);else if(x.Normalizations.registered[n]&&"transform"===x.Normalizations.registered[n]("name",e))x.Normalizations.registered[n]("inject",e,i),s="transform",i=a(e).transformCache[n];else{if(x.Hooks.registered[n]){var l=n,u=x.Hooks.getRoot(n);r=r||x.getPropertyValue(e,u),i=x.Hooks.injectValue(l,i,r),n=u}if(x.Normalizations.registered[n]&&(i=x.Normalizations.registered[n]("inject",e,i),n=x.Normalizations.registered[n]("name",e)),s=x.Names.prefixCheck(n)[0],h<=8)try{e.style[s]=i}catch(c){w.debug&&console.log("Browser does not support ["+i+"] for ["+s+"]")}else a(e)&&a(e).isSVG&&x.Names.SVGAttribute(n)?e.setAttribute(n,i):e.style[s]=i;w.debug>=2&&console.log("Set "+n+" ("+s+"): "+i)}return[s,i]},flushTransformCache:function(e){function t(t){return parseFloat(x.getPropertyValue(e,t))}var n="";if((h||w.State.isAndroid&&!w.State.isChrome)&&a(e).isSVG){var i={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};f.each(a(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),i[e]&&(n+=e+"("+i[e].join(" ")+") ",delete i[e])})}else{var r,o;f.each(a(e).transformCache,function(t){return r=a(e).transformCache[t],"transformPerspective"===t?(o=r,!0):(9===h&&"rotateZ"===t&&(t="rotate"),void(n+=t+r+" "))}),o&&(n="perspective"+o+" "+n)}x.setPropertyValue(e,"transform",n)}};x.Hooks.register(),x.Normalizations.register(),w.hook=function(e,t,n){var r=i;return e=o(e),f.each(e,function(e,o){if(a(o)===i&&w.init(o),n===i)r===i&&(r=w.CSS.getPropertyValue(o,t));else{var s=w.CSS.setPropertyValue(o,t,n);"transform"===s[0]&&w.CSS.flushTransformCache(o),r=s}}),r};var S=function(){function e(){return s?D.promise||null:l}function r(){function e(e){function d(e,t){var n=i,r=i,a=i;return m.isArray(e)?(n=e[0],!m.isArray(e[1])&&/^[\d-]/.test(e[1])||m.isFunction(e[1])||x.RegEx.isHex.test(e[1])?a=e[1]:(m.isString(e[1])&&!x.RegEx.isHex.test(e[1])||m.isArray(e[1]))&&(r=t?e[1]:u(e[1],s.duration),e[2]!==i&&(a=e[2]))):n=e,t||(r=r||s.easing),m.isFunction(n)&&(n=n.call(o,T,_)),m.isFunction(a)&&(a=a.call(o,T,_)),[n||0,r,a]}function h(e,t){var n,i;return i=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=x.Values.getUnitType(e)),[i,n]}function v(){var e={myParent:o.parentNode||n.body,position:x.getPropertyValue(o,"position"),fontSize:x.getPropertyValue(o,"fontSize")},i=e.position===I.lastPosition&&e.myParent===I.lastParent,r=e.fontSize===I.lastFontSize;I.lastParent=e.myParent,I.lastPosition=e.position,I.lastFontSize=e.fontSize;var s=100,l={};if(r&&i)l.emToPx=I.lastEmToPx,l.percentToPxWidth=I.lastPercentToPxWidth,l.percentToPxHeight=I.lastPercentToPxHeight;else{var u=a(o).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");w.init(u),e.myParent.appendChild(u),f.each(["overflow","overflowX","overflowY"],function(e,t){w.CSS.setPropertyValue(u,t,"hidden")}),w.CSS.setPropertyValue(u,"position",e.position),w.CSS.setPropertyValue(u,"fontSize",e.fontSize),w.CSS.setPropertyValue(u,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){w.CSS.setPropertyValue(u,t,s+"%")}),w.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(x.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(x.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=I.lastEmToPx=(parseFloat(x.getPropertyValue(u,"paddingLeft"))||1)/s,e.myParent.removeChild(u)}return null===I.remToPx&&(I.remToPx=parseFloat(x.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(t.innerWidth)/100,I.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=I.remToPx,l.vwToPx=I.vwToPx,l.vhToPx=I.vhToPx,w.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),o),l}if(s.begin&&0===T)try{s.begin.call(p,p)}catch(b){setTimeout(function(){throw b},1)}if("scroll"===M){var S,k,C,E=/^x$/i.test(s.axis)?"Left":"Top",A=parseFloat(s.offset)||0;s.container?m.isWrapped(s.container)||m.isNode(s.container)?(s.container=s.container[0]||s.container,S=s.container["scroll"+E],C=S+f(o).position()[E.toLowerCase()]+A):s.container=null:(S=w.State.scrollAnchor[w.State["scrollProperty"+E]],k=w.State.scrollAnchor[w.State["scrollProperty"+("Left"===E?"Top":"Left")]],C=f(o).offset()[E.toLowerCase()]+A),l={scroll:{rootPropertyValue:!1,startValue:S,currentValue:S,endValue:C,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:E,alternateValue:k}},element:o},w.debug&&console.log("tweensContainer (scroll): ",l.scroll,o)}else if("reverse"===M){if(!a(o).tweensContainer)return void f.dequeue(o,s.queue);"none"===a(o).opts.display&&(a(o).opts.display="auto"),"hidden"===a(o).opts.visibility&&(a(o).opts.visibility="visible"),a(o).opts.loop=!1,a(o).opts.begin=null,a(o).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=f.extend({},a(o).opts,s);var N=f.extend(!0,{},a(o).tweensContainer);for(var O in N)if("element"!==O){var L=N[O].startValue;N[O].startValue=N[O].currentValue=N[O].endValue,N[O].endValue=L,m.isEmptyObject(y)||(N[O].easing=s.easing),w.debug&&console.log("reverse tweensContainer ("+O+"): "+JSON.stringify(N[O]),o)}l=N}else if("start"===M){var N;a(o).tweensContainer&&a(o).isAnimating===!0&&(N=a(o).tweensContainer),f.each(g,function(e,t){if(RegExp("^"+x.Lists.colors.join("$|^")+"$").test(e)){var n=d(t,!0),r=n[0],o=n[1],a=n[2];if(x.RegEx.isHex.test(r)){for(var s=["Red","Green","Blue"],l=x.Values.hexToRgb(r),u=a?x.Values.hexToRgb(a):i,c=0;c<s.length;c++){var f=[l[c]];o&&f.push(o),u!==i&&f.push(u[c]),g[e+s[c]]=f}delete g[e]}}});for(var Y in g){var F=d(g[Y]),R=F[0],$=F[1],H=F[2];Y=x.Names.camelCase(Y);var j=x.Hooks.getRoot(Y),W=!1;if(a(o).isSVG||"tween"===j||x.Names.prefixCheck(j)[1]!==!1||x.Normalizations.registered[j]!==i){(s.display!==i&&null!==s.display&&"none"!==s.display||s.visibility!==i&&"hidden"!==s.visibility)&&/opacity|filter/.test(Y)&&!H&&0!==R&&(H=0),s._cacheValues&&N&&N[Y]?(H===i&&(H=N[Y].endValue+N[Y].unitType),W=a(o).rootPropertyValueCache[j]):x.Hooks.registered[Y]?H===i?(W=x.getPropertyValue(o,j),H=x.getPropertyValue(o,Y,W)):W=x.Hooks.templates[j][1]:H===i&&(H=x.getPropertyValue(o,Y));var z,V,q,B=!1;if(z=h(Y,H),H=z[0],q=z[1],z=h(Y,R),R=z[0].replace(/^([+-\/*])=/,function(e,t){return B=t,""}),V=z[1],H=parseFloat(H)||0,R=parseFloat(R)||0,"%"===V&&(/^(fontSize|lineHeight)$/.test(Y)?(R/=100,V="em"):/^scale/.test(Y)?(R/=100,V=""):/(Red|Green|Blue)$/i.test(Y)&&(R=R/100*255,V="")),/[\/*]/.test(B))V=q;else if(q!==V&&0!==H)if(0===R)V=q;else{r=r||v();var U=/margin|padding|left|right|width|text|word|letter/i.test(Y)||/X$/.test(Y)||"x"===Y?"x":"y";switch(q){case"%":H*="x"===U?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:H*=r[q+"ToPx"]}switch(V){case"%":H*=1/("x"===U?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:H*=1/r[V+"ToPx"]}}switch(B){case"+":R=H+R;break;case"-":R=H-R;break;case"*":R=H*R;break;case"/":R=H/R}l[Y]={rootPropertyValue:W,startValue:H,currentValue:H,endValue:R,unitType:V,easing:$},w.debug&&console.log("tweensContainer ("+Y+"): "+JSON.stringify(l[Y]),o)}else w.debug&&console.log("Skipping ["+j+"] due to a lack of browser support.")}l.element=o}l.element&&(x.Values.addClass(o,"velocity-animating"),P.push(l),""===s.queue&&(a(o).tweensContainer=l,a(o).opts=s),a(o).isAnimating=!0,T===_-1?(w.State.calls.push([P,p,s,null,D.resolver]),w.State.isTicking===!1&&(w.State.isTicking=!0,c())):T++)}var r,o=this,s=f.extend({},w.defaults,y),l={};switch(a(o)===i&&w.init(o),parseFloat(s.delay)&&s.queue!==!1&&f.queue(o,s.queue,function(e){w.velocityQueueEntryFlag=!0,a(o).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:e}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=v;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}w.mock!==!1&&(w.mock===!0?s.duration=s.delay=1:(s.duration*=parseFloat(w.mock)||1,s.delay*=parseFloat(w.mock)||1)),s.easing=u(s.easing,s.duration),s.begin&&!m.isFunction(s.begin)&&(s.begin=null),s.progress&&!m.isFunction(s.progress)&&(s.progress=null),s.complete&&!m.isFunction(s.complete)&&(s.complete=null),
6s.display!==i&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=w.CSS.Values.getDisplayType(o))),s.visibility!==i&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&w.State.isMobile&&!w.State.isGingerbread,s.queue===!1?s.delay?setTimeout(e,s.delay):e():f.queue(o,s.queue,function(t,n){return n===!0?(D.promise&&D.resolver(p),!0):(w.velocityQueueEntryFlag=!0,void e(t))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===f.queue(o)[0]||f.dequeue(o)}var s,l,h,p,g,y,b=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(s=!1,h=0,p=this,l=this):(s=!0,h=1,p=b?arguments[0].elements||arguments[0].e:arguments[0]),p=o(p)){b?(g=arguments[0].properties||arguments[0].p,y=arguments[0].options||arguments[0].o):(g=arguments[h],y=arguments[h+1]);var _=p.length,T=0;if(!/^(stop|finish|finishAll)$/i.test(g)&&!f.isPlainObject(y)){var k=h+1;y={};for(var C=k;C<arguments.length;C++)m.isArray(arguments[C])||!/^(fast|normal|slow)$/i.test(arguments[C])&&!/^\d/.test(arguments[C])?m.isString(arguments[C])||m.isArray(arguments[C])?y.easing=arguments[C]:m.isFunction(arguments[C])&&(y.complete=arguments[C]):y.duration=arguments[C]}var D={promise:null,resolver:null,rejecter:null};s&&w.Promise&&(D.promise=new w.Promise(function(e,t){D.resolver=e,D.rejecter=t}));var M;switch(g){case"scroll":M="scroll";break;case"reverse":M="reverse";break;case"finish":case"finishAll":case"stop":f.each(p,function(e,t){a(t)&&a(t).delayTimer&&(clearTimeout(a(t).delayTimer.setTimeout),a(t).delayTimer.next&&a(t).delayTimer.next(),delete a(t).delayTimer),"finishAll"!==g||y!==!0&&!m.isString(y)||(f.each(f.queue(t,m.isString(y)?y:""),function(e,t){m.isFunction(t)&&t()}),f.queue(t,m.isString(y)?y:"",[]))});var E=[];return f.each(w.State.calls,function(e,t){t&&f.each(t[1],function(n,r){var o=y===i?"":y;return o!==!0&&t[2].queue!==o&&(y!==i||t[2].queue!==!1)||void f.each(p,function(n,i){i===r&&((y===!0||m.isString(y))&&(f.each(f.queue(i,m.isString(y)?y:""),function(e,t){m.isFunction(t)&&t(null,!0)}),f.queue(i,m.isString(y)?y:"",[])),"stop"===g?(a(i)&&a(i).tweensContainer&&o!==!1&&f.each(a(i).tweensContainer,function(e,t){t.endValue=t.currentValue}),E.push(e)):"finish"!==g&&"finishAll"!==g||(t[2].duration=1))})})}),"stop"===g&&(f.each(E,function(e,t){d(t,!0)}),D.promise&&D.resolver(p)),e();default:if(!f.isPlainObject(g)||m.isEmptyObject(g)){if(m.isString(g)&&w.Redirects[g]){var A=f.extend({},y),N=A.duration,O=A.delay||0;return A.backwards===!0&&(p=f.extend(!0,[],p).reverse()),f.each(p,function(e,t){parseFloat(A.stagger)?A.delay=O+parseFloat(A.stagger)*e:m.isFunction(A.stagger)&&(A.delay=O+A.stagger.call(t,e,_)),A.drag&&(A.duration=parseFloat(N)||(/^(callout|transition)/.test(g)?1e3:v),A.duration=Math.max(A.duration*(A.backwards?1-e/_:(e+1)/_),.75*A.duration,200)),w.Redirects[g].call(t,t,A||{},e,_,p,D.promise?D:i)}),e()}var L="Velocity: First argument ("+g+") was not a property map, a known action, or a registered redirect. Aborting.";return D.promise?D.rejecter(new Error(L)):console.log(L),e()}M="start"}var I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},P=[];f.each(p,function(e,t){m.isNode(t)&&r.call(t)});var Y,A=f.extend({},w.defaults,y);if(A.loop=parseInt(A.loop),Y=2*A.loop-1,A.loop)for(var F=0;F<Y;F++){var R={delay:A.delay,progress:A.progress};F===Y-1&&(R.display=A.display,R.visibility=A.visibility,R.complete=A.complete),S(p,"reverse",R)}return e()}};w=f.extend(S,w),w.animate=S;var _=t.requestAnimationFrame||p;return w.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(_=function(e){return setTimeout(function(){e(!0)},16)},c()):_=t.requestAnimationFrame||p}),e.Velocity=w,e!==t&&(e.fn.velocity=S,e.fn.velocity.defaults=w.defaults),f.each(["Down","Up"],function(e,t){w.Redirects["slide"+t]=function(e,n,r,o,a,s){var l=f.extend({},n),u=l.begin,c=l.complete,d={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},h={};l.display===i&&(l.display="Down"===t?"inline"===w.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(a,a);for(var n in d){h[n]=e.style[n];var i=w.CSS.getPropertyValue(e,n);d[n]="Down"===t?[i,0]:[0,i]}h.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in h)e.style[t]=h[t];
6c&&c.call(a,a),s&&s.resolver(a)},w(e,d,l)}}),f.each(["In","Out"],function(e,t){w.Redirects["fade"+t]=function(e,n,r,o,a,s){var l=f.extend({},n),u={opacity:"In"===t?1:0},c=l.complete;r!==o-1?l.complete=l.begin=null:l.complete=function(){c&&c.call(a,a),s&&s.resolver(a)},l.display===i&&(l.display="In"===t?"auto":"none"),w(this,u,l)}}),w}(window.jQuery||window.Zepto||window,window,document)}),function(e){"function"==typeof require&&"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(["velocity"],e):e()}(function(){return function(e,t,n,i){function r(e,t){var n=[];return!(!e||!t)&&(a.each([e,t],function(e,t){var i=[];a.each(t,function(e,t){for(;t.toString().length<5;)t="0"+t;i.push(t)}),n.push(i.join(""))}),parseFloat(n[0])>parseFloat(n[1]))}if(!e.Velocity||!e.Velocity.Utilities)return void(t.console&&console.log("Velocity UI Pack: Velocity must be loaded first. Aborting."));var o=e.Velocity,a=o.Utilities,s=o.version,l={major:1,minor:1,patch:0};if(r(l,s)){var u="Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity.";throw alert(u),new Error(u)}o.RegisterEffect=o.RegisterUI=function(e,t){function n(e,t,n,i){var r,s=0;a.each(e.nodeType?[e]:e,function(e,t){i&&(n+=e*i),r=t.parentNode,a.each(["height","paddingTop","paddingBottom","marginTop","marginBottom"],function(e,n){s+=parseFloat(o.CSS.getPropertyValue(t,n))})}),o.animate(r,{height:("In"===t?"+":"-")+"="+s},{queue:!1,easing:"ease-in-out",duration:n*("In"===t?.6:1)})}return o.Redirects[e]=function(r,s,l,u,c,d){function f(){s.display!==i&&"none"!==s.display||!/Out$/.test(e)||a.each(c.nodeType?[c]:c,function(e,t){o.CSS.setPropertyValue(t,"display","none")}),s.complete&&s.complete.call(c,c),d&&d.resolver(c||r)}var h=l===u-1;"function"==typeof t.defaultDuration?t.defaultDuration=t.defaultDuration.call(c,c):t.defaultDuration=parseFloat(t.defaultDuration);for(var p=0;p<t.calls.length;p++){var m=t.calls[p],g=m[0],v=s.duration||t.defaultDuration||1e3,y=m[1],w=m[2]||{},b={};if(b.duration=v*(y||1),b.queue=s.queue||"",b.easing=w.easing||"ease",b.delay=parseFloat(w.delay)||0,b._cacheValues=w._cacheValues||!0,0===p){if(b.delay+=parseFloat(s.delay)||0,0===l&&(b.begin=function(){s.begin&&s.begin.call(c,c);var t=e.match(/(In|Out)$/);t&&"In"===t[0]&&g.opacity!==i&&a.each(c.nodeType?[c]:c,function(e,t){o.CSS.setPropertyValue(t,"opacity",0)}),s.animateParentHeight&&t&&n(c,t[0],v+b.delay,s.stagger)}),null!==s.display)if(s.display!==i&&"none"!==s.display)b.display=s.display;else if(/In$/.test(e)){var x=o.CSS.Values.getDisplayType(r);b.display="inline"===x?"inline-block":x}s.visibility&&"hidden"!==s.visibility&&(b.visibility=s.visibility)}p===t.calls.length-1&&(b.complete=function(){if(t.reset){for(var e in t.reset){var n=t.reset[e];o.CSS.Hooks.registered[e]!==i||"string"!=typeof n&&"number"!=typeof n||(t.reset[e]=[t.reset[e],t.reset[e]])}var a={duration:0,queue:!1};h&&(a.complete=f),o.animate(r,t.reset,a)}else h&&f()},"hidden"===s.visibility&&(b.visibility=s.visibility)),o.animate(r,g,b)}},o},o.RegisterEffect.packagedEffects={"callout.bounce":{defaultDuration:550,calls:[[{translateY:-30},.25],[{translateY:0},.125],[{translateY:-15},.125],[{translateY:0},.25]]},"callout.shake":{defaultDuration:800,calls:[[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:11},.125],[{translateX:-11},.125],[{translateX:0},.125]]},"callout.flash":{defaultDuration:1100,calls:[[{opacity:[0,"easeInOutQuad",1]},.25],[{opacity:[1,"easeInOutQuad"]},.25],[{opacity:[0,"easeInOutQuad"]},.25],[{opacity:[1,"easeInOutQuad"]},.25]]},"callout.pulse":{defaultDuration:825,calls:[[{scaleX:1.1,scaleY:1.1},.5,{easing:"easeInExpo"}],[{scaleX:1,scaleY:1},.5]]},"callout.swing":{defaultDuration:950,calls:[[{rotateZ:15},.2],[{rotateZ:-10},.2],[{rotateZ:5},.2],[{rotateZ:-5},.2],[{rotateZ:0},.2]]},"callout.tada":{defaultDuration:1e3,calls:[[{scaleX:.9,scaleY:.9,rotateZ:-3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:3},.1],[{scaleX:1.1,scaleY:1.1,rotateZ:-3},.1],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],["reverse",.125],[{scaleX:1,scaleY:1,rotateZ:0},.2]]},"transition.fadeIn":{defaultDuration:500,calls:[[{opacity:[1,0]}]]},"transition.fadeOut":{defaultDuration:500,calls:[[{opacity:[0,1]}]]},"transition.flipXIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateY:[0,-55]}]],reset:{transformPerspective:0}},"transition.flipXOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateY:55}]],reset:{transformPerspective:0,rotateY:0}},"transition.flipYIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],rotateX:[0,-45]}]],reset:{transformPerspective:0}},"transition.flipYOut":{defaultDuration:800,calls:[[{opacity:[0,1],transformPerspective:[800,800],rotateX:25}]],reset:{transformPerspective:0,rotateX:0}},"transition.flipBounceXIn":{defaultDuration:900,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateY:[-10,90]},.5],[{opacity:.8,rotateY:10},.25],[{opacity:1,rotateY:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceXOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateY:-10},.5],[{opacity:0,rotateY:90},.5]],reset:{transformPerspective:0,rotateY:0}},"transition.flipBounceYIn":{defaultDuration:850,calls:[[{opacity:[.725,0],transformPerspective:[400,400],rotateX:[-10,90]},.5],[{opacity:.8,rotateX:10},.25],[{opacity:1,rotateX:0},.25]],reset:{transformPerspective:0}},"transition.flipBounceYOut":{defaultDuration:800,calls:[[{opacity:[.9,1],transformPerspective:[400,400],rotateX:-15},.5],[{opacity:0,rotateX:90},.5]],reset:{transformPerspective:0,rotateX:0}},"transition.swoopIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["100%","50%"],transformOriginY:["100%","100%"],scaleX:[1,0],scaleY:[1,0],translateX:[0,-700],translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%"}},"transition.swoopOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformOriginX:["50%","100%"],transformOriginY:["100%","100%"],scaleX:0,scaleY:0,translateX:-700,translateZ:0}]],reset:{transformOriginX:"50%",transformOriginY:"50%",scaleX:1,scaleY:1,translateX:0}},"transition.whirlIn":{defaultDuration:850,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,0],scaleY:[1,0],rotateY:[0,160]},1,{easing:"easeInOutSine"}]]},"transition.whirlOut":{defaultDuration:750,calls:[[{opacity:[0,"easeInOutQuint",1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:0,scaleY:0,rotateY:160},1,{easing:"swing"}]],reset:{scaleX:1,scaleY:1,rotateY:0}},"transition.shrinkIn":{defaultDuration:750,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,1.5],scaleY:[1,1.5],translateZ:0}]]},"transition.shrinkOut":{defaultDuration:600,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:1.3,scaleY:1.3,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.expandIn":{defaultDuration:700,calls:[[{opacity:[1,0],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:[1,.625],scaleY:[1,.625],translateZ:0}]]},"transition.expandOut":{defaultDuration:700,calls:[[{opacity:[0,1],transformOriginX:["50%","50%"],transformOriginY:["50%","50%"],scaleX:.5,scaleY:.5,translateZ:0}]],reset:{scaleX:1,scaleY:1}},"transition.bounceIn":{defaultDuration:800,calls:[[{opacity:[1,0],scaleX:[1.05,.3],scaleY:[1.05,.3]},.4],[{scaleX:.9,scaleY:.9,translateZ:0},.2],[{scaleX:1,scaleY:1},.5]]},"transition.bounceOut":{defaultDuration:800,calls:[[{scaleX:.95,scaleY:.95},.35],[{scaleX:1.1,scaleY:1.1,translateZ:0},.35],[{opacity:[0,1],scaleX:.3,scaleY:.3},.3]],reset:{scaleX:1,scaleY:1}},"transition.bounceUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[-30,1e3]},.6,{easing:"easeOutCirc"}],[{translateY:10},.2],[{translateY:0},.2]]},"transition.bounceUpOut":{defaultDuration:1e3,calls:[[{translateY:20},.2],[{opacity:[0,"easeInCirc",1],translateY:-1e3},.8]],reset:{translateY:0}},"transition.bounceDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateY:[30,-1e3]},.6,{easing:"easeOutCirc"}],[{translateY:-10},.2],[{translateY:0},.2]]},"transition.bounceDownOut":{defaultDuration:1e3,calls:[[{translateY:-20},.2],[{opacity:[0,"easeInCirc",1],translateY:1e3},.8]],reset:{translateY:0}},"transition.bounceLeftIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[30,-1250]},.6,{easing:"easeOutCirc"}],[{translateX:-10},.2],[{translateX:0},.2]]},"transition.bounceLeftOut":{defaultDuration:750,calls:[[{translateX:30},.2],[{opacity:[0,"easeInCirc",1],translateX:-1250},.8]],reset:{translateX:0}},"transition.bounceRightIn":{defaultDuration:750,calls:[[{opacity:[1,0],translateX:[-30,1250]},.6,{easing:"easeOutCirc"}],[{translateX:10},.2],[{translateX:0},.2]]},"transition.bounceRightOut":{defaultDuration:750,calls:[[{translateX:-30},.2],[{opacity:[0,"easeInCirc",1],translateX:1250},.8]],reset:{translateX:0}}
6,"transition.slideUpIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,20],translateZ:0}]]},"transition.slideUpOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:-20,translateZ:0}]],reset:{translateY:0}},"transition.slideDownIn":{defaultDuration:900,calls:[[{opacity:[1,0],translateY:[0,-20],translateZ:0}]]},"transition.slideDownOut":{defaultDuration:900,calls:[[{opacity:[0,1],translateY:20,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,-20],translateZ:0}]]},"transition.slideLeftOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:-20,translateZ:0}]],reset:{translateX:0}},"transition.slideRightIn":{defaultDuration:1e3,calls:[[{opacity:[1,0],translateX:[0,20],translateZ:0}]]},"transition.slideRightOut":{defaultDuration:1050,calls:[[{opacity:[0,1],translateX:20,translateZ:0}]],reset:{translateX:0}},"transition.slideUpBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,75],translateZ:0}]]},"transition.slideUpBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:-75,translateZ:0}]],reset:{translateY:0}},"transition.slideDownBigIn":{defaultDuration:850,calls:[[{opacity:[1,0],translateY:[0,-75],translateZ:0}]]},"transition.slideDownBigOut":{defaultDuration:800,calls:[[{opacity:[0,1],translateY:75,translateZ:0}]],reset:{translateY:0}},"transition.slideLeftBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,-75],translateZ:0}]]},"transition.slideLeftBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:-75,translateZ:0}]],reset:{translateX:0}},"transition.slideRightBigIn":{defaultDuration:800,calls:[[{opacity:[1,0],translateX:[0,75],translateZ:0}]]},"transition.slideRightBigOut":{defaultDuration:750,calls:[[{opacity:[0,1],translateX:75,translateZ:0}]],reset:{translateX:0}},"transition.perspectiveUpIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveUpOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:["100%","100%"],rotateX:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveDownIn":{defaultDuration:800,calls:[[{opacity:[1,0],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveDownOut":{defaultDuration:850,calls:[[{opacity:[0,1],transformPerspective:[800,800],transformOriginX:[0,0],transformOriginY:[0,0],rotateX:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateX:0}},"transition.perspectiveLeftIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:[0,-180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveLeftOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:[0,0],transformOriginY:[0,0],rotateY:-180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}},"transition.perspectiveRightIn":{defaultDuration:950,calls:[[{opacity:[1,0],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:[0,180]}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%"}},"transition.perspectiveRightOut":{defaultDuration:950,calls:[[{opacity:[0,1],transformPerspective:[2e3,2e3],transformOriginX:["100%","100%"],transformOriginY:[0,0],rotateY:180}]],reset:{transformPerspective:0,transformOriginX:"50%",transformOriginY:"50%",rotateY:0}}};for(var c in o.RegisterEffect.packagedEffects)o.RegisterEffect(c,o.RegisterEffect.packagedEffects[c]);o.RunSequence=function(e){var t=a.extend(!0,[],e);t.length>1&&(a.each(t.reverse(),function(e,n){var i=t[e+1];if(i){var r=n.o||n.options,s=i.o||i.options,l=r&&r.sequenceQueue===!1?"begin":"complete",u=s&&s[l],c={};c[l]=function(){var e=i.e||i.elements,t=e.nodeType?[e]:e;u&&u.call(t,t),o(n)},i.o?i.o=a.extend({},s,c):i.options=a.extend({},s,c)}}),t.reverse()),o(t[0])}}(window.jQuery||window.Zepto||window,window,document)}),function(){"use strict";function e(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");
vendor: 4,248 bytes, line 6
6this.key="waypoint-"+t,this.options=e.Adapter.extend({},e.defaults,i),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,t+=1}var t=0,n={};e.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},e.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(e){var t=[];for(var i in n)t.push(n[i]);for(var r=0,o=t.length;r<o;r++)t[r][e]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){e.invokeAll("enable")},e.refreshAll=function(){e.Context.refreshAll()},e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(e){window.setTimeout(e,1e3/60)}function t(e){this.element=e,this.Adapter=r.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,i[e.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},r=window.Waypoint,o=window.onload;t.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},t.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical);e&&t&&(this.adapter.off(".waypoints"),delete i[this.key])},t.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,r.requestAnimationFrame(e))})},t.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",function(){t.didScroll&&!r.isTouch||(t.didScroll=!0,r.requestAnimationFrame(e))})},t.prototype.handleResize=function(){r.Context.refreshAll()},t.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in t){var i=t[n],r=i.newScroll>i.oldScroll,o=r?i.forward:i.backward;for(var a in this.waypoints[n]){var s=this.waypoints[n][a],l=i.oldScroll<s.triggerPoint,u=i.newScroll>=s.triggerPoint,c=l&&u,d=!l&&!u;(c||d)&&(s.queueTrigger(o),e[s.group.id]=s.group)}}for(var f in e)e[f].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.innerHeight=function(){return this.element==this.element.window?r.viewportHeight():this.adapter.innerHeight()},t.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},t.prototype.innerWidth=function(){return this.element==this.element.window?r.viewportWidth():this.adapter.innerWidth()},t.prototype.destroy=function(){var e=[];
6for(var t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var i=0,r=e.length;i<r;i++)e[i].destroy()},t.prototype.refresh=function(){var e,t=this.element==this.element.window,n=this.adapter.offset(),i={};this.handleScroll(),e={horizontal:{contextOffset:t?0:n.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:n.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in e){var o=e[r];for(var a in this.waypoints[r]){var s,l,u,c,d,f=this.waypoints[r][a],h=f.options.offset,p=f.triggerPoint,m=0,g=null==p;f.element!==f.element.window&&(m=f.adapter.offset()[o.offsetProp]),"function"==typeof h?h=h.apply(f):"string"==typeof h&&(h=parseFloat(h),f.options.offset.indexOf("%")>-1&&(h=Math.ceil(o.contextDimension*h/100))),s=o.contextScroll-o.contextOffset,f.triggerPoint=m+s-h,l=p<o.oldScroll,u=f.triggerPoint>=o.oldScroll,c=l&&u,d=!l&&!u,!g&&c?(f.queueTrigger(o.backward),i[f.group.id]=f.group):!g&&d?(f.queueTrigger(o.forward),i[f.group.id]=f.group):g&&o.oldScroll>=f.triggerPoint&&(f.queueTrigger(o.forward),i[f.group.id]=f.group)}}for(var v in i)i[v].flushTriggers();return this},t.findOrCreateByElement=function(e){return t.findByElement(e)||new t(e)},t.refreshAll=function(){for(var e in i)i[e].refresh()},t.findByElement=function(e){return i[e.waypointContextKey]},window.onload=function(){o&&o(),t.refreshAll()},r.requestAnimationFrame=function(t){var n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e;n.call(window,t)},r.Context=t}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},r=window.Waypoint;n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],r="up"===n||"left"===n;i.sort(r?t:e);for(var o=0,a=i.length;o<a;o+=1){var s=i[o];(s.options.continuous||o===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints),i=n===this.waypoints.length-1;return i?null:this.waypoints[n+1]},n.prototype.previous=function(t){this.waypoints.sort(e);var n=r.Adapter.inArray(t,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){var t=r.Adapter.inArray(e,this.waypoints);t>-1&&this.waypoints.splice(t,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return i[e.axis][e.name]||new n(e)},r.Group=n}(),function(){"use strict";function e(e){this.$element=t(e)}var t=window.jQuery,n=window.Waypoint;t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,n){e.prototype[n]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,e)}}),t.each(["extend","inArray","isEmptyObject"],function(n,i){e[i]=t[i]}),n.adapters.push({name:"jquery",Adapter:e}),n.Adapter=e}(),function(){"use strict";function e(e){return function(){var n=[],i=arguments[0];return e.isFunction(arguments[0])&&(i=e.extend({},arguments[1]),i.handler=arguments[0]),this.each(function(){var r=e.extend({},i,{element:this});"string"==typeof r.context&&(r.context=e(this).closest(r.context)[0]),n.push(new t(r))}),n}}var t=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}(),function(e,t,n){if("function"!=typeof t)return console.error("nette.ajax.js: jQuery is missing, load it please");var i=function(){var e={self:this,initialized:!1,contexts:{},on:{init:{},load:{},prepare:{},before:{},start:{},success:{},complete:{},error:{}},fire:function(){var i=!0,r=Array.prototype.slice.call(arguments),o=r.shift(),a="string"==typeof o?o:o.name,s="object"==typeof o?o.off||{}:{};return r.push(e.self),t.each(e.on[a],function(o,a){if(a===n||t.inArray(o,s)!==-1)return!0;var l=a.apply(e.contexts[o],r);return i=l===n||l}),i},requestHandler:function(t){var n=e.self.ajax({},this,t);if(n&&n._returnFalse)return!1},ext:function(i,r,o){for(;!o;)o="ext_"+Math.random(),e.contexts[o]&&(o=n);t.each(i,function(t,n){e.on[t][o]=n}),e.contexts[o]=t.extend(r?r:{},{name:function(){return o},ext:function(t,n){var i=e.contexts[t];if(!i&&n)throw"Extension '"+this.name()+"' depends on disabled extension '"+t+"'.";return i}})}};this.ext=function(i,r,o){if("object"==typeof i)e.ext(i,r);else{if(r===n)return e.contexts[i];if(r){if("string"==typeof i&&e.contexts[i]!==n)throw"Cannot override already registered nette-ajax extension '"+i+"'.";e.ext(r,o,i)}else t.each(["init","load","prepare","before","start","success","complete","error"],function(t,r){e.on[r][i]=n}),e.contexts[i]=n}return this},this.init=function(t,i){if(e.initialized)throw"Cannot initialize nette-ajax twice.";if("function"==typeof t)this.ext("init",null),this.ext("init",{load:t},i);else if("object"==typeof t)this.ext("init",null),this.ext("init",t,i);else if(t!==n)throw"Argument of init() can be function or function-hash only.";return e.initialized=!0,e.fire("init"),this.load(),this},this.load=function(){return e.fire("load",e.requestHandler),this},this.ajax=function(i,r,o){if(!i.nette&&r&&o){var a,s=t(r),l=i.nette={e:o,ui:r,el:s,isForm:s.is("form"),isSubmit:s.is("input[type=submit]")||s.is("button[type=submit]"),isImage:s.is("input[type=image]"),form:null};if(l.isSubmit||l.isImage?l.form=l.el.closest("form"):l.isForm&&(l.form=l.el),i.url||(i.url=l.form?l.form.attr("action"):r.href),i.type||(i.type=l.form?l.form.attr("method"):"get"),s.is("[data-ajax-off]")){var u=s.attr("data-ajax-off");0===u.indexOf("[")?i.off=s.data("ajaxOff"):u.indexOf(",")!==-1?i.off=u.split(","):u.indexOf(" ")!==-1?i.off=u.split(" "):i.off=u,"string"==typeof i.off&&(i.off=[i.off]),i.off=t.grep(t.each(i.off,function(e){return t.trim(e)}),function(e){return e.length})}}return e.fire({name:"prepare",off:i.off||{}},i),i.prepare&&i.prepare(i),a=i.beforeSend,i.beforeSend=function(t,i){var r=e.fire({name:"before",off:i.off||{}},t,i);return(r||r===n)&&a&&(r=a(t,i)),r},this.handleXHR(t.ajax(i),i)},this.handleXHR=function(t,n){return n=n||{},!t||"undefined"!=typeof t.statusText&&"canceled"===t.statusText||(t.done(function(t,i,r){e.fire({name:"success",off:n.off||{}},t,i,r,n)}).fail(function(t,i,r){e.fire({name:"error",off:n.off||{}},t,i,r,n)}).always(function(t,i){e.fire({name:"complete",off:n.off||{}},t,i,n)}),e.fire({name:"start",off:n.off||{}},t,n),n.start&&n.start(t,n)),t}};t.nette=new(t.extend(i,t.nette?t.nette:{})),t.fn.netteAjax=function(e,n){return t.nette.ajax(n||{},this[0],e)},t.fn.netteAjaxOff=function(){return this.off(".nette")},t.nette.ext("validation",{before:function(e,i){if(!i.nette)return!0;var r=i.nette,o=r.e,a=t.extend({keys:!0,url:!0,form:!0},i.validate||function(){if(r.el.is("[data-ajax-validate]")){var e=r.el.data("ajaxValidate");return e===!1?{keys:!1,url:!1,form:!1}:"object"==typeof e?e:void 0}}()||{}),s=!1;if(r.el.attr("data-ajax-pass")!==n&&(s=r.el.data("ajaxPass"),s="bool"!=typeof s||s),a.keys){var l=o.button||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey;if(r.form){if(l&&r.isSubmit)return this.explicitNoAjax=!0,!1;if(r.isForm&&this.explicitNoAjax)return this.explicitNoAjax=!1,!1}else if(l)return!1}if(a.form&&r.form&&(!r.isSubmit&&!r.isImage||r.el.attr("formnovalidate")===n)){var u=this.ie();if(r.form.get(0).onsubmit&&r.form.get(0).onsubmit("undefined"!=typeof u&&u<9?n:o)===!1)return o.stopImmediatePropagation(),o.preventDefault(),!1}return(!a.url||!/:|^#/.test(r.form?i.url:r.el.attr("href")))&&(s||(o.stopPropagation(),o.preventDefault(),e._returnFalse=!0),!0)}},{explicitNoAjax:!1,ie:function(e){for(var t=3,n=document.createElement("div"),i=n.getElementsByTagName("i");n.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->",i[0];);return t>4?t:e}}),t.nette.ext("forms",{init:function(){var t;e.Nette&&(t=this.ext("snippets"))&&t.after(function(t){t.find("form").each(function(){e.Nette.initForm(this)})})},prepare:function(n){var i=n.nette;if(i&&i.form){var r=i.e,o=n.data||{},a={};if(i.isSubmit)a[i.el.attr("name")]=i.el.val()||"";else if(i.isImage){var s=i.el.offset(),l=i.el.attr("name"),u=[Math.max(0,r.pageX-s.left),Math.max(0,r.pageY-s.top)];l.indexOf("[",0)!==-1?a[l]=u:(a[l+".x"]=u[0],a[l+".y"]=u[1])}if("post"===i.form.attr("method").toLowerCase()&&"FormData"in e){var c=new FormData(i.form[0]);for(var d in a)c.append(d,a[d]);if("string"!=typeof o)for(var d in o)c.append(d,o[d]);n.data=c,n.processData=!1,n.contentType=!1}else"string"!=typeof o&&(o=t.param(o)),a=t.param(a),n.data=i.form.serialize()+(a?"&"+a:"")+"&"+o}}}),t.nette.ext("snippets",{success:function(e){e.snippets&&this.updateSnippets(e.snippets)}},{beforeQueue:t.Callbacks(),afterQueue:t.Callbacks(),completeQueue:t.Callbacks(),before:function(e){
7this.beforeQueue.add(e)},after:function(e){this.afterQueue.add(e)},complete:function(e){this.completeQueue.add(e)},updateSnippets:function(e,n){var i=this,r=[];for(var o in e){var a=this.getElement(o);a.get(0)&&r.push(a.get(0)),this.updateSnippet(a,e[o],n)}t(r).promise().done(function(){i.completeQueue.fire()})},updateSnippet:function(e,t,n){e.is("title")?document.title=t:(this.beforeQueue.fire(e),this.applySnippet(e,t,n),this.afterQueue.fire(e))},getElement:function(e){return t("#"+this.escapeSelector(e))},applySnippet:function(e,t,n){!n&&e.is("[data-ajax-append]")?e.append(t):!n&&e.is("[data-ajax-prepend]")?e.prepe
7nd(t):e.html(t)},escapeSelector:function(e){return e.replace(/[\!"#\$%&'\(\)\*\+,\.\/:;<=>\?@\[\\\]\^`\{\|\}~]/g,"\\$&")}}),t.nette.ext("redirect",{success:function(t){if(t.redirect)return e.location.href=t.redirect,!1}}),t.nette.ext("state",{success:function(e){e.state&&(this.state=e.state)}},{state:null}),t.nette.ext("unique",{start:function(e){this.xhr&&this.xhr.abort(),this.xhr=e},complete:function(){this.xhr=null}},{xhr:null}),t.nette.ext("abort",{init:function(){t("body").keydown(t.proxy(function(e){this.xhr&&"27"===e.keyCode.toString()&&!(e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)&&this.xhr.abort()},this))},start:function(e){this.xhr=e},complete:function(){this.xhr=null}},{xhr:null}),t.nette.ext("load",{success:function(){t.nette.load()}}),t.nette.ext("init",{load:function(e){t(this.linkSelector).off("click.nette",e).on("click.nette",e),t(this.formSelector).off("submit.nette",e).on("submit.nette",e).off("click.nette",":image",e).on("click.nette",":image",e).off("click.nette",":submit",e).on("click.nette",":submit",e),t(this.buttonSelector).closest("form").off("click.nette",this.buttonSelector,e).on("click.nette",this.buttonSelector,e)}},{linkSelector:"a.ajax",formSelector:"form.ajax",buttonSelector:'input.ajax[type="submit"], button.ajax[type="submit"], input.ajax[type="image"]'})}(window,window.jQuery),function(e){var t=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(e){return!e||/^\s*$/.test(e)},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isArray:e.isArray,isFunction:e.isFunction,isObject:e.isPlainObject,isUndefined:function(e){return"undefined"==typeof e},toStr:function(e){return t.isUndefined(e)||null===e?"":e+""},bind:e.proxy,each:function(t,n){function i(e,t){return n(t,e)}e.each(t,i)},map:e.map,filter:e.grep,every:function(t,n){var i=!0;return t?(e.each(t,function(e,r){if(!(i=n.call(null,r,e,t)))return!1}),!!i):i},some:function(t,n){var i=!1;return t?(e.each(t,function(e,r){if(i=n.call(null,r,e,t))return!1}),!!i):i},mixin:e.extend,getUniqueId:function(){var e=0;return function(){return e++}}(),templatify:function(t){function n(){return String(t)}return e.isFunction(t)?t:n},defer:function(e){setTimeout(e,0)},debounce:function(e,t,n){var i,r;return function(){var o,a,s=this,l=arguments;return o=function(){i=null,n||(r=e.apply(s,l))},a=n&&!i,clearTimeout(i),i=setTimeout(o,t),a&&(r=e.apply(s,l)),r}},throttle:function(e,t){var n,i,r,o,a,s;return a=0,s=function(){a=new Date,r=null,o=e.apply(n,i)},function(){var l=new Date,u=t-(l-a);return n=this,i=arguments,u<=0?(clearTimeout(r),r=null,a=l,o=e.apply(n,i)):r||(r=setTimeout(s,u)),o}},noop:function(){}}}(),n="0.10.5",i=function(){"use strict";function e(e){return e=t.toStr(e),e?e.split(/\s+/):[]}function n(e){return e=t.toStr(e),e?e.split(/\W+/):[]}function i(e){return function(){var n=[].slice.call(arguments,0);return function(i){var r=[];return t.each(n,function(n){r=r.concat(e(t.toStr(i[n])))}),r}}}return{nonword:n,whitespace:e,obj:{nonword:i(n),whitespace:i(e)}}}(),r=function(){"use strict";function n(n){this.maxSize=t.isNumber(n)?n:100,this.reset(),this.maxSize<=0&&(this.set=this.get=e.noop)}function i(){this.head=this.tail=null}function r(e,t){this.key=e,this.val=t,this.prev=this.next=null}return t.mixin(n.prototype,{set:function(e,t){var n,i=this.list.tail;this.size>=this.maxSize&&(this.list.remove(i),delete this.hash[i.key]),(n=this.hash[e])?(n.val=t,this.list.moveToFront(n)):(n=new r(e,t),this.list.add(n),this.hash[e]=n,this.size++)},get:function(e){var t=this.hash[e];if(t)return this.list.moveToFront(t),t.val},reset:function(){this.size=0,this.hash={},this.list=new i}}),t.mixin(i.prototype,{add:function(e){this.head&&(e.next=this.head,this.head.prev=e),this.head=e,this.tail=this.tail||e},remove:function(e){e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev},moveToFront:function(e){this.remove(e),this.add(e)}}),n}(),o=function(){"use strict";function e(e){this.prefix=["__",e,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+t.escapeRegExChars(this.prefix))}function n(){return(new Date).getTime()}function i(e){return JSON.stringify(t.isUndefined(e)?null:e)}function r(e){return JSON.parse(e)}var o,a;try{o=window.localStorage,o.setItem("~~~","!"),o.removeItem("~~~")}catch(s){o=null}return a=o&&window.JSON?{_prefix:function(e){return this.prefix+e},_ttlKey:function(e){return this._prefix(e)+this.ttlKey},get:function(e){return this.isExpired(e)&&this.remove(e),r(o.getItem(this._prefix(e)))},set:function(e,r,a){return t.isNumber(a)?o.setItem(this._ttlKey(e),i(n()+a)):o.removeItem(this._ttlKey(e)),o.setItem(this._prefix(e),i(r))},remove:function(e){return o.removeItem(this._ttlKey(e)),o.removeItem(this._prefix(e)),this},clear:function(){var e,t,n=[],i=o.length;for(e=0;e<i;e++)(t=o.key(e)).match(this.keyMatcher)&&n.push(t.replace(this.keyMatcher,""));for(e=n.length;e--;)this.remove(n[e]);return this},isExpired:function(e){var i=r(o.getItem(this._ttlKey(e)));return!!(t.isNumber(i)&&n()>i)}}:{get:t.noop,set:t.noop,remove:t.noop,clear:t.noop,isExpired:t.noop},t.mixin(e.prototype,a),e}(),a=function(){"use strict";function n(t){t=t||{},this.cancelled=!1,this.lastUrl=null,this._send=t.transport?i(t.transport):e.ajax,this._get=t.rateLimiter?t.rateLimiter(this._get):this._get,this._cache=t.cache===!1?new r(0):l}function i(n){return function(i,r){function o(e){t.defer(function(){s.resolve(e)})}function a(e){t.defer(function(){s.reject(e)})}var s=e.Deferred();return n(i,r,o,a),s}}var o=0,a={},s=6,l=new r(10);
7return n.setMaxPendingRequests=function(e){s=e},n.resetCache=function(){l.reset()},t.mixin(n.prototype,{_get:function(e,t,n){function i(t){n&&n(null,t),c._cache.set(e,t)}function r(){n&&n(!0)}function l(){o--,delete a[e],c.onDeckRequestArgs&&(c._get.apply(c,c.onDeckRequestArgs),c.onDeckRequestArgs=null)}var u,c=this;this.cancelled||e!==this.lastUrl||((u=a[e])?u.done(i).fail(r):o<s?(o++,a[e]=this._send(e,t).done(i).fail(r).always(l)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(e,n,i){var r;return t.isFunction(n)&&(i=n,n={}),this.cancelled=!1,this.lastUrl=e,(r=this._cache.get(e))?t.defer(function(){i&&i(null,r)}):this._get(e,n,i),!!r},cancel:function(){this.cancelled=!0}}),n}(),s=function(){"use strict";function n(t){t=t||{},t.datumTokenizer&&t.queryTokenizer||e.error("datumTokenizer and queryTokenizer are both required"),this.datumTokenizer=t.datumTokenizer,this.queryTokenizer=t.queryTokenizer,this.reset()}function i(e){return e=t.filter(e,function(e){return!!e}),e=t.map(e,function(e){return e.toLowerCase()})}function r(){return{ids:[],children:{}}}function o(e){for(var t={},n=[],i=0,r=e.length;i<r;i++)t[e[i]]||(t[e[i]]=!0,n.push(e[i]));return n}function a(e,t){function n(e,t){return e-t}var i=0,r=0,o=[];e=e.sort(n),t=t.sort(n);for(var a=e.length,s=t.length;i<a&&r<s;)e[i]<t[r]?i++:e[i]>t[r]?r++:(o.push(e[i]),i++,r++);return o}return t.mixin(n.prototype,{bootstrap:function(e){this.datums=e.datums,this.trie=e.trie},add:function(e){var n=this;e=t.isArray(e)?e:[e],t.each(e,function(e){var o,a;o=n.datums.push(e)-1,a=i(n.datumTokenizer(e)),t.each(a,function(e){var t,i,a;for(t=n.trie,i=e.split("");a=i.shift();)t=t.children[a]||(t.children[a]=r()),t.ids.push(o)})})},get:function(e){var n,r,s=this;return n=i(this.queryTokenizer(e)),t.each(n,function(e){var t,n,i,o;if(r&&0===r.length)return!1;for(t=s.trie,n=e.split("");t&&(i=n.shift());)t=t.children[i];return t&&0===n.length?(o=t.ids.slice(0),void(r=r?a(r,o):o)):(r=[],!1)}),r?t.map(o(r),function(e){return s.datums[e]}):[]},reset:function(){this.datums=[],this.trie=r()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),n}(),l=function(){"use strict";function i(e){return e.local||null}function r(i){var r,o;return o={url:null,thumbprint:"",ttl:864e5,filter:null,ajax:{}},(r=i.prefetch||null)&&(r=t.isString(r)?{url:r}:r,r=t.mixin(o,r),r.thumbprint=n+r.thumbprint,r.ajax.type=r.ajax.type||"GET",r.ajax.dataType=r.ajax.dataType||"json",!r.url&&e.error("prefetch requires url to be set")),r}function o(n){function i(e){return function(n){return t.debounce(n,e)}}function r(e){return function(n){return t.throttle(n,e)}}var o,a;return a={url:null,cache:!0,wildcard:"%QUERY",replace:null,rateLimitBy:"debounce",rateLimitWait:300,send:null,filter:null,ajax:{}},(o=n.remote||null)&&(o=t.isString(o)?{url:o}:o,o=t.mixin(a,o),o.rateLimiter=/^throttle$/i.test(o.rateLimitBy)?r(o.rateLimitWait):i(o.rateLimitWait),o.ajax.type=o.ajax.type||"GET",o.ajax.dataType=o.ajax.dataType||"json",delete o.rateLimitBy,delete o.rateLimitWait,!o.url&&e.error("remote requires url to be set")),o}return{local:i,prefetch:r,remote:o}}();!function(n){"use strict";function r(t){t&&(t.local||t.prefetch||t.remote)||e.error("one of local, prefetch, or remote is required"),this.limit=t.limit||5,this.sorter=u(t.sorter),this.dupDetector=t.dupDetector||c,this.local=l.local(t),this.prefetch=l.prefetch(t),this.remote=l.remote(t),this.cacheKey=this.prefetch?this.prefetch.cacheKey||this.prefetch.url:null,this.index=new s({datumTokenizer:t.datumTokenizer,queryTokenizer:t.queryTokenizer}),this.storage=this.cacheKey?new o(this.cacheKey):null}function u(e){function n(t){return t.sort(e)}function i(e){return e}return t.isFunction(e)?n:i}function c(){return!1}var d,f;return d=n.Bloodhound,f={data:"data",protocol:"protocol",thumbprint:"thumbprint"},n.Bloodhound=r,r.noConflict=function(){return n.Bloodhound=d,r},r.tokenizers=i,t.mixin(r.prototype,{_loadPrefetch:function(t){function n(e){o.clear(),o.add(t.filter?t.filter(e):e),o._saveToStorage(o.index.serialize(),t.thumbprint,t.ttl)}var i,r,o=this;return(i=this._readFromStorage(t.thumbprint))?(this.index.bootstrap(i),r=e.Deferred().resolve()):r=e.ajax(t.url,t.ajax).done(n),r},_getFromRemote:function(e,t){function n(e,n){t(e?[]:o.remote.filter?o.remote.filter(n):n)}var i,r,o=this;if(this.transport)return e=e||"",r=encodeURIComponent(e),i=this.remote.replace?this.remote.replace(this.remote.url,e):this.remote.url.replace(this.remote.wildcard,r),this.transport.get(i,this.remote.ajax,n)},_cancelLastRemoteRequest:function(){this.transport&&this.transport.cancel()},_saveToStorage:function(e,t,n){this.storage&&(this.storage.set(f.data,e,
7n),this.storage.set(f.protocol,location.protocol,n),this.storage.set(f.thumbprint,t,n))},_readFromStorage:function(e){var t,n={};return this.storage&&(n.data=this.storage.get(f.data),n.protocol=this.storage.get(f.protocol),n.thumbprint=this.storage.get(f.thumbprint)),t=n.thumbprint!==e||n.protocol!==location.protocol,n.data&&!t?n.data:null},_initialize:function(){function n(){r.add(t.isFunction(o)?o():o)}var i,r=this,o=this.local;return i=this.prefetch?this._loadPrefetch(this.prefetch):e.Deferred().resolve(),o&&i.done(n),this.transport=this.remote?new a(this.remote):null,this.initPromise=i.promise()},initialize:function(e){return!this.initPromise||e?this._initialize():this.initPromise},add:function(e){this.index.add(e)},get:function(e,n){function i(e){var i=o.slice(0);t.each(e,function(e){var n;return n=t.some(i,function(t){return r.dupDetector(e,t)}),!n&&i.push(e),i.length<r.limit}),n&&n(r.sorter(i))}var r=this,o=[],a=!1;o=this.index.get(e),o=this.sorter(o).slice(0,this.limit),o.length<this.limit?a=this._getFromRemote(e,i):this._cancelLastRemoteRequest(),a||(o.length>0||!this.transport)&&n&&n(o)},clear:function(){this.index.reset()},clearPrefetchCache:function(){this.storage&&this.storage.clear()},clearRemoteCache:function(){this.transport&&a.resetCache()}
7,ttAdapter:function(){return t.bind(this.get,this)}}),r}(this);var u=function(){return{wrapper:'<span class="twitter-typeahead"></span>',dropdown:'<span class="tt-dropdown-menu"></span>',dataset:'<div class="tt-dataset-%CLASS%"></div>',suggestions:'<span class="tt-suggestions"></span>',suggestion:'<div class="tt-suggestion"></div>'}}(),c=function(){"use strict";var e={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},dropdown:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},suggestions:{display:"block"},suggestion:{whiteSpace:"nowrap",cursor:"pointer"},suggestionChild:{whiteSpace:"normal"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return t.isMsie()&&t.mixin(e.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),t.isMsie()&&t.isMsie()<=7&&t.mixin(e.input,{marginTop:"-1px"}),e}(),d=function(){"use strict";function n(t){t&&t.el||e.error("EventBus initialized without el"),this.$el=e(t.el)}var i="typeahead:";return t.mixin(n.prototype,{trigger:function(e){var t=[].slice.call(arguments,1);this.$el.trigger(i+e,t)}}),n}(),f=function(){"use strict";function e(e,t,n,i){var r;if(!n)return this;for(t=t.split(l),n=i?s(n,i):n,this._callbacks=this._callbacks||{};r=t.shift();)this._callbacks[r]=this._callbacks[r]||{sync:[],async:[]},this._callbacks[r][e].push(n);return this}function t(t,n,i){return e.call(this,"async",t,n,i)}function n(t,n,i){return e.call(this,"sync",t,n,i)}function i(e){var t;if(!this._callbacks)return this;for(e=e.split(l);t=e.shift();)delete this._callbacks[t];return this}function r(e){var t,n,i,r,a;if(!this._callbacks)return this;for(e=e.split(l),i=[].slice.call(arguments,1);(t=e.shift())&&(n=this._callbacks[t]);)r=o(n.sync,this,[t].concat(i)),a=o(n.async,this,[t].concat(i)),r()&&u(a);return this}function o(e,t,n){function i(){for(var i,r=0,o=e.length;!i&&r<o;r+=1)i=e[r].apply(t,n)===!1;return!i}return i}function a(){var e;return e=window.setImmediate?function(e){setImmediate(function(){e()})}:function(e){setTimeout(function(){e()},0)}}function s(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}var l=/\s+/,u=a();return{onSync:n,onAsync:t,off:i,trigger:r}}(),h=function(e){"use strict";function n(e,n,i){for(var r,o=[],a=0,s=e.length;a<s;a++)o.push(t.escapeRegExChars(e[a]));return r=i?"\\b("+o.join("|")+")\\b":"("+o.join("|")+")",n?new RegExp(r):new RegExp(r,"i")}var i={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(r){function o(t){var n,i,o;return(n=s.exec(t.data))&&(o=e.createElement(r.tagName),r.className&&(o.className=r.className),i=t.splitText(n.index),i.splitText(n[0].length),o.appendChild(i.cloneNode(!0)),t.parentNode.replaceChild(o,i)),!!n}function a(e,t){for(var n,i=3,r=0;r<e.childNodes.length;r++)n=e.childNodes[r],n.nodeType===i?r+=t(n)?1:0:a(n,t)}var s;r=t.mixin({},i,r),r.node&&r.pattern&&(r.pattern=t.isArray(r.pattern)?r.pattern:[r.pattern],s=n(r.pattern,r.caseSensitive,r.wordsOnly),a(r.node,o))}}(window.document),p=function(){"use strict";function n(n){var r,o,s,l,u=this;n=n||{},n.input||e.error("input is missing"),r=t.bind(this._onBlur,this),o=t.bind(this._onFocus,this),s=t.bind(this._onKeydown,this),l=t.bind(this._onInput,this),this.$hint=e(n.hint),this.$input=e(n.input).on("blur.tt",r).on("focus.tt",o).on("keydown.tt",s),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=t.noop),t.isMsie()?this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(e){a[e.which||e.keyCode]||t.defer(t.bind(u._onInput,u,e))}):this.$input.on("input.tt",l),this.query=this.$input.val(),this.$overflowHelper=i(this.$input)}function i(t){return e('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:t.css("font-family"),fontSize:t.css("font-size"),fontStyle:t.css("font-style"),fontVariant:t.css("font-variant"),fontWeight:t.css("font-weight"),wordSpacing:t.css("word-spacing"),letterSpacing:t.css("letter-spacing"),textIndent:t.css("text-indent"),textRendering:t.css("text-rendering"),textTransform:t.css("text-transform")}).insertAfter(t)}function r(e,t){return n.normalizeQuery(e)===n.normalizeQuery(t)}function o(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}var a;return a={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},n.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},t.mixin(n.prototype,f,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=a[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!o(t);break;case"up":case"down":n=!o(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;switch(e){case"tab":n=!o(t);break;default:n=!0}
7return n},_checkInputValue:function(){var e,t,n;e=this.getInputValue(),t=r(e,this.query),n=!!t&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){this.$input.val(e),t?this.clearHint():this._checkInputValue()},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n,i;e=this.getInputValue(),t=this.getHint(),n=e!==t&&0===t.indexOf(e),i=""!==e&&n&&!this.hasOverflow(),!i&&this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,n,i;return e=this.$input.val().length,n=this.$input[0].selectionStart,t.isNumber(n)?n===e:!document.selection||(i=document.selection.createRange(),i.moveStart("character",-e),e===i.text.length)},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$hint=this.$input=this.$overflowHelper=null}}),n}(),m=function(){"use strict";function n(n){n=n||{},n.templates=n.templates||{},n.source||e.error("missing source"),n.name&&!o(n.name)&&e.error("invalid dataset name: "+n.name),this.query=null,this.highlight=!!n.highlight,this.name=n.name||t.getUniqueId(),this.source=n.source,this.displayFn=i(n.display||n.displayKey),this.templates=r(n.templates,this.displayFn),this.$el=e(u.dataset.replace("%CLASS%",this.name))}function i(e){function n(t){return t[e]}return e=e||"value",t.isFunction(e)?e:n}function r(e,n){function i(e){return"<p>"+n(e)+"</p>"}return{empty:e.empty&&t.templatify(e.empty),header:e.header&&t.templatify(e.header),footer:e.footer&&t.templatify(e.footer),suggestion:e.suggestion||i}}function o(e){return/^[_a-zA-Z0-9-]+$/.test(e)}var a="ttDataset",s="ttValue",l="ttDatum";return n.extractDatasetName=function(t){return e(t).data(a)},n.extractValue=function(t){return e(t).data(s)},n.extractDatum=function(t){return e(t).data(l)},t.mixin(n.prototype,f,{_render:function(n,i){function r(){return m.templates.empty({query:n,isEmpty:!0})}function o(){function r(t){var n;return n=e(u.suggestion).append(m.templates.suggestion(t)).data(a,m.name).data(s,m.displayFn(t)).data(l,t),n.children().each(function(){e(this).css(c.suggestionChild)}),n}var o,d;return o=e(u.suggestions).css(c.suggestions),d=t.map(i,r),o.append.apply(o,d),m.highlight&&h({className:"tt-highlight",node:o[0],pattern:n}),o}function d(){return m.templates.header({query:n,isEmpty:!p})}function f(){return m.templates.footer({query:n,isEmpty:!p})}if(this.$el){var p,m=this;this.$el.empty(),p=i&&i.length,!p&&this.templates.empty?this.$el.html(r()).prepend(m.templates.header?d():null).append(m.templates.footer?f():null):p&&this.$el.html(o()).prepend(m.templates.header?d():null).append(m.templates.footer?f():null),this.trigger("rendered")}},getRoot:function(){return this.$el},update:function(e){function t(t){n.canceled||e!==n.query||n._render(e,t)}var n=this;this.query=e,this.canceled=!1,this.source(e,t)},cancel:function(){this.canceled=!0},clear:function(){this.cancel(),this.$el.empty(),this.trigger("rendered")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=null}}),n}(),g=function(){"use strict";function n(n){var r,o,a,s=this;n=n||{},n.menu||e.error("menu is required"),this.isOpen=!1,this.isEmpty=!0,this.datasets=t.map(n.datasets,i),r=t.bind(this._onSuggestionClick,this),o=t.bind(this._onSuggestionMouseEnter,this),a=t.bind(this._onSuggestionMouseLeave,this),this.$menu=e(n.menu).on("click.tt",".tt-suggestion",r).on("mouseenter.tt",".tt-suggestion",o).on("mouseleave.tt",".tt-suggestion",a),t.each(this.datasets,function(e){s.$menu.append(e.getRoot()),e.onSync("rendered",s._onRendered,s)})}function i(e){return new m(e)}return t.mixin(n.prototype,f,{_onSuggestionClick:function(t){this.trigger("suggestionClicked",e(t.currentTarget))}
7,_onSuggestionMouseEnter:function(t){this._removeCursor(),this._setCursor(e(t.currentTarget),!0)},_onSuggestionMouseLeave:function(){this._removeCursor()},_onRendered:function(){function e(e){return e.isEmpty()}this.isEmpty=t.every(this.datasets,e),this.isEmpty?this._hide():this.isOpen&&this._show(),this.trigger("datasetRendered")},_hide:function(){this.$menu.hide()},_show:function(){this.$menu.css("display","block")},_getSuggestions:function(){return this.$menu.find(".tt-suggestion")},_getCursor:function(){return this.$menu.find(".tt-cursor").first()},_setCursor:function(e,t){e.first().addClass("tt-cursor"),!t&&this.trigger("cursorMoved")},_removeCursor:function(){this._getCursor().removeClass("tt-cursor")},_moveCursor:function(e){var t,n,i,r;if(this.isOpen){if(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),i=t.index(n)+e,i=(i+1)%(t.length+1)-1,i===-1)return void this.trigger("cursorRemoved");i<-1&&(i=t.length-1),this._setCursor(r=t.eq(i)),this._ensureVisible(r)}},_ensureVisible:function(e){var t,n,i,r;t=e.position().top,n=t+e.outerHeight(!0),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("paddingTop"),10)+parseInt(this.$menu.css("paddingBottom"),10),t<0?this.$menu.scrollTop(i+t):r<n&&this.$menu.scrollTop(i+(n-r))},close:function(){this.isOpen&&(this.isOpen=!1,this._removeCursor(),this._hide(),this.trigger("closed"))},open:function(){this.isOpen||(this.isOpen=!0,!this.isEmpty&&this._show(),this.trigger("opened"))},setLanguageDirection:function(e){this.$menu.css("ltr"===e?c.ltr:c.rtl)},moveCursorUp:function(){this._moveCursor(-1)},moveCursorDown:function(){this._moveCursor(1)},getDatumForSuggestion:function(e){var t=null;return e.length&&(t={raw:m.extractDatum(e),value:m.extractValue(e),datasetName:m.extractDatasetName(e)}),t},getDatumForCursor:function(){return this.getDatumForSuggestion(this._getCursor().first())},getDatumForTopSuggestion:function(){return this.getDatumForSuggestion(this._getSuggestions().first())},update:function(e){function n(t){t.update(e)}t.each(this.datasets,n)},empty:function(){function e(e){e.clear()}t.each(this.datasets,e),this.isEmpty=!0},isVisible:function(){return this.isOpen&&!this.isEmpty}
7,destroy:function(){function e(e){e.destroy()}this.$menu.off(".tt"),this.$menu=null,t.each(this.datasets,e)}}),n}(),v=function(){"use strict";function n(n){var r,o,a;n=n||{},n.input||e.error("missing input"),this.isActivated=!1,this.autoselect=!!n.autoselect,this.minLength=t.isNumber(n.minLength)?n.minLength:1,this.$node=i(n.input,n.withHint),r=this.$node.find(".tt-dropdown-menu"),o=this.$node.find(".tt-input"),a=this.$node.find(".tt-hint"),o.on("blur.tt",function(e){var n,i,a;n=document.activeElement,i=r.is(n),a=r.has(n).length>0,t.isMsie()&&(i||a)&&(e.preventDefault(),e.stopImmediatePropagation(),t.defer(function(){o.focus()}))}),r.on("mousedown.tt",function(e){e.preventDefault()}),this.eventBus=n.eventBus||new d({el:o}),this.dropdown=new g({menu:r,datasets:n.datasets}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new p({input:o,hint:a}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._setLanguageDirection()}function i(t,n){var i,o,s,l;i=e(t),o=e(u.wrapper).css(c.wrapper),s=e(u.dropdown).css(c.dropdown),l=i.clone().css(c.hint).css(r(i)),l.val("").removeData().addClass("tt-hint").removeAttr("id name placeholder required").prop("readonly",!0).attr({autocomplete:"off",spellcheck:"false",tabindex:-1}),i.data(a,{dir:i.attr("dir"),autocomplete:i.attr("autocomplete"),spellcheck:i.attr("spellcheck"),style:i.attr("style")}),i.addClass("tt-input").attr({autocomplete:"off",spellcheck:!1}).css(n?c.input:c.inputWithNoHint);try{!i.attr("dir")&&i.attr("dir","auto")}catch(d){}return i.wrap(o).parent().prepend(n?l:null).append(s)}function r(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}function o(e){var n=e.find(".tt-input");t.each(n.data(a),function(e,i){t.isUndefined(e)?n.removeAttr(i):n.attr(i,e)}),n.detach().removeData(a).removeClass("tt-input").insertAfter(e),e.remove()}var a="ttAttrs";return t.mixin(n.prototype,{_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n)},_onCursorMoved:function(){var e=this.dropdown.getDatumForCursor();this.input.setInputValue(e.value,!0),this.eventBus.trigger("cursorchanged",e.raw,e.datasetName)},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint()},_onDatasetRendered:function(){this._updateHint()},_onOpened:function(){this._updateHint(),this.eventBus.trigger("opened")},_onClosed:function(){this.input.clearHint(),this.eventBus.trigger("closed")},_onFocused:function(){this.isActivated=!0,this.dropdown.open()},_onBlurred:function(){this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()},_onEnterKeyed:function(e,t){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion(),n?(this._select(n),t.preventDefault()):this.autoselect&&i&&(this._select(i),t.preventDefault())},_onTabKeyed:function(e,t){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n),t.preventDefault()):this._autocomplete(!0)},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e;this.dir!==(e=this.input.getLanguageDirection())&&(this.dir=e,this.$n
7ode.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,n,i,r,o,a;e=this.dropdown.getDatumForTopSuggestion(),e&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(n=this.input.getInputValue(),i=p.normalizeQuery(n),r=t.escapeRegExChars(i),o=new RegExp("^(?:"+r+")(.+$)","i"),a=o.exec(e.value),a?this.input.setHint(n+a[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&(r=this.dropdown.getDatumForTopSuggestion(),r&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e){this.input.setQuery(e.value),this.input.setInputValue(e.value,!0),this._setLanguageDirection(),this.eventBus.trigger("selected",e.raw,e.datasetName),this.dropdown.close(),t.defer(t.bind(this.dropdown.empty,this.dropdown))},open:function(){this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=t.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),o(this.$node),this.$node=null}}),n}();!function(){"use strict";var n,i,r;n=e.fn.typeahead,i="ttTypeahead",r={initialize:function(n,r){function o(){var o,a,s=e(this);t.each(r,function(e){e.highlight=!!n.highlight}),a=new v({input:s,eventBus:o=new d({el:s}),withHint:!!t.isUndefined(n.hint)||!!n.hint,minLength:n.minLength,autoselect:n.autoselect,datasets:r}),s.data(i,a)}return r=t.isArray(r)?r:[].slice.call(arguments,1),n=n||{},this.each(o)},open:function(){function t(){var t,n=e(this);(t=n.data(i))&&t.open()}return this.each(t)},close:function(){function t(){var t,n=e(this);(t=n.data(i))&&t.close()}return this.each(t)},val:function(t){function n(){var n,r=e(this);(n=r.data(i))&&n.setVal(t)}function r(e){var t,n;return(t=e.data(i))&&(n=t.getVal()),n}return arguments.length?this.each(n):r(this.first())},destroy:function(){function t(){var t,n=e(this);(t=n.data(i))&&(t.destroy(),n.removeData(i))}return this.each(t)}},e.fn.typeahead=function(t){var n;return r[t]&&"initialize"!==t?(n=this.filter(function(){return!!e(this).data(i)}),r[t].apply(n,[].slice.call(arguments,1))):r.initialize.apply(this,arguments)},e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this}}()}(window.jQuery),function(e,t){if("function"==typeof define&&define.amd)define(function(){return t(e)});else if("object"==typeof module&&"object"==typeof module.exports)module.exports=t(e);else{var n=!e.Nette||!e.Nette.noInit;e.Nette=t(e),n&&e.Nette.initOnLoad()}}("undefined"!=typeof window?window:this,function(window){"use strict";var Nette={version:"2.3"};return Nette.addEvent=function(e,t,n){var i=e["on"+t];e["on"+t]=function(){return("function"!=typeof i||i.apply(e,arguments)!==!1)&&n.apply(e,arguments)}},Nette.getValue=function(e){var t;if(e){if(e.tagName){
8if("radio"===e.type){var n=e.form.elements;for(t=0;t<n.length;t++)if(n[t].name===e.name&&n[t].checked)return n[t].value;return null}if("file"===e.type)return e.files||e.value;if("select"===e.tagName.toLowerCase()){var i=e.selectedIndex,r=e.options,o=[];if("select-one"===e.type)return i<0?null:r[i].value;for(t=0;t<r.length;t++)r[t].selected&&o.push(r[t].value);return o}if(e.name&&e.name.match(/\[\]$/)){var n=e.form.elements[e.name].tagName?[e]:e.form.elements[e.name],o=[];for(t=0;t<n.length;t++)("checkbox"!==n[t].type||n[t].checked)&&o.push(n[t].value);return o}return"checkbox"===e.type?e.checked:"textarea"===e.tagName.toLowerCase()?e.value.replace("\r",""):e.value.replace("\r","").replace(/^\s+|\s+$/g,"")}return e[0]?Nette.getValue(e[0]):null}return null},Nette.getEffectiveValue=function(e){var t=Nette.getValue(e);return e.getAttribute&&t===e.getAttribute("data-nette-empty-value")&&(t=""),t},Nette.validateControl=function(e,t,n,i,r){e=e.tagName?e:e[0],t=t||Nette.parseJSON(e.getAttribute("data-nette-rules")),i=void 0===i?{value:Nette.getEffectiveValue(e)}:i;for(var o=0,a=t.length;o<a;o++){var s=t[o],l=s.op.match(/(~)?([^?]+)/),u=s.control?e.form.elements.namedItem(s.control):e;if(s.neg=l[1],s.op=l[2],s.condition=!!s.rules,u)if("optional"!==s.op){if(!r||s.condition||":filled"===s.op){u=u.tagName?u:u[0];var c=e===u?i:{value:Nette.getEffectiveValue(u)},d=Nette.validateRule(u,s.op,s.arg,c);if(null!==d)if(s.neg&&(d=!d),s.condition&&d){if(!Nette.validateControl(e,s.rules,n,i,":blank"!==s.op&&r))return!1}else if(!s.condition&&!d){if(Nette.isDisabled(u))continue;if(!n){var f=Nette.isArray(s.arg)?s.arg:[s.arg],h=s.msg.replace(/%(value|\d+)/g,function(t,n){return Nette.getValue("value"===n?u:e.form.elements.namedItem(f[n].control))});Nette.addError(u,h)}return!1}}}else r=!Nette.validateRule(e,":filled",null,i)}return!("number"===e.type&&!e.validity.valid)||(n||Nette.addError(e,"Please enter a valid value."),!1)},Nette.validateForm=function(e){var t=e.form||e,n=!1;if(t["nette-submittedBy"]&&null!==t["nette-submittedBy"].getAttribute("formnovalidate")){var i=Nette.parseJSON(t["nette-submittedBy"].getAttribute("data-nette-validation-scope"));if(!i.length)return!0;n=new RegExp("^("+i.join("-|")+"-)")}var r,o,a={};for(r=0;r<t.elements.length;r++)if(o=t.elements[r],!o.tagName||o.tagName.toLowerCase()in{input:1,select:1,textarea:1,button:1}){if("radio"===o.type){if(a[o.name])continue;a[o.name]=!0}if(!(n&&!o.name.replace(/]\[|\[|]|$/g,"-").match(n)||Nette.isDisabled(o)||Nette.validateControl(o)))return!1}return!0},Nette.isDisabled=function(e){if("radio"===e.type){for(var t=0,n=e.form.elements;t<n.length;t++)if(n[t].name===e.name&&!n[t].disabled)return!1;return!0}return e.disabled},Nette.addError=function(e,t){t&&alert(t),e.focus&&e.focus()},Nette.expandRuleArgument=function(e,t){return t&&t.control&&(t=Nette.getEffectiveValue(e.elements.namedItem(t.control))),t},Nette.validateRule=function(e,t,n,i){i=void 0===i?{value:Nette.getEffectiveValue(e)}:i,":"===t.charAt(0)&&(t=t.substr(1)),t=t.replace("::","_"),t=t.replace(/\\/g,"");for(var r=Nette.isArray(n)?n.slice(0):[n],o=0,a=r.length;o<a;o++)r[o]=Nette.expandRuleArgument(e.form,r[o]);return Nette.validators[t]?Nette.validators[t](e,Nette.isArray(n)?r:r[0],i.value,i):null},Nette.validators={filled:function(e,t,n){return!("number"!==e.type||!e.validity.badInput)||""!==n&&n!==!1&&null!==n&&(!Nette.isArray(n)||
8!!n.length)&&(!window.FileList||!(n instanceof window.FileList)||n.length)},blank:function(e,t,n){return!Nette.validators.filled(e,t,n)},valid:function(e,t,n){return Nette.validateControl(e,null,!0)},equal:function(e,t,n){function i(e){return"number"==typeof e||"string"==typeof e?""+e:e===!0?"1":""}if(void 0===t)return null;n=Nette.isArray(n)?n:[n],t=Nette.isArray(t)?t:[t];e:for(var r=0,o=n.length;r<o;r++){for(var a=0,s=t.length;a<s;a++)if(i(n[r])===i(t[a]))continue e;return!1}return!0},notEqual:function(e,t,n){return void 0===t?null:!Nette.validators.equal(e,t,n)},minLength:function(e,t,n){if("number"===e.type){if(e.validity.tooShort)return!1;if(e.validity.badInput)return null}return n.length>=t},maxLength:function(e,t,n){if("number"===e.type){if(e.validity.tooLong)return!1;if(e.validity.badInput)return null}return n.length<=t},length:function(e,t,n){if("number"===e.type){if(e.validity.tooShort||e.validity.tooLong)return!1;if(e.validity.badInput)return null}return t=Nette.isArray(t)?t:[t,t],(null===t[0]||n.length>=t[0])&&(null===t[1]||n.length<=t[1])},email:function(e,t,n){return/^("([ !#-[\]-~]|\\[ -~])+"|[-a-z0-9!#$%&'*+\/=?^_`{|}~]+(\.[-a-z0-9!#$%&'*+\/=?^_`{|}~]+)*)@([0-9a-z\u00C0-\u02FF\u0370-\u1EFF]([-0-9a-z\u00C0-\u02FF\u0370-\u1EFF]{0,61}[0-9a-z\u00C0-\u02FF\u0370-\u1EFF])?\.)+[a-z\u00C0-\u02FF\u0370-\u1EFF]([-0-9a-z\u00C0-\u02FF\u0370-\u1EFF]{0,17}[a-z\u00C0-\u02FF\u0370-\u1EFF])?$/i.test(n)},url:function(e,t,n,i){return/^[a-z\d+.-]+:/.test(n)||(n="http://"+n),!!/^https?:\/\/((([-_0-9a-z\u00C0-\u02FF\u0370-\u1EFF]+\.)*[0-9a-z\u00C0-\u02FF\u0370-\u1EFF]([-0-9a-z\u00C0-\u02FF\u0370-\u1EFF]{0,61}[0-9a-z\u00C0-\u02FF\u0370-\u1EFF])?\.)?[a-z\u00C0-\u02FF\u0370-\u1EFF]([-0-9a-z\u00C0-\u02FF\u0370-\u1EFF]{0,17}[a-z\u00C0-\u02FF\u0370-\u1EFF])?|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|\[[0-9a-f:]{3,39}\])(:\d{1,5})?(\/\S*)?$/i.test(n)&&(i.value=n,!0)},regexp:function(e,t,n){var i="string"==typeof t&&t.match(/^\/(.*)\/([imu]*)$/);try{return i&&new RegExp(i[1],i[2].replace("u","")).test(n)}catch(r){}},pattern:function(e,t,n){try{return"string"==typeof t?new RegExp("^(?:"+t+")$").test(n):null}catch(i){}},integer:function(e,t,n){return("number"!==e.type||!e.validity.badInput)&&/^-?[0-9]+$/.test(n)},"float":function(e,t,n,i){return("number"!==e.type||!e.validity.badInput)&&(n=n.replace(" ","").replace(",","."),!!/^-?[0-9]*[.,]?[0-9]+$/.test(n)&&(i.value=n,!0))},min:function(e,t,n){if("number"===e.type){if(e.validity.rangeUnderflow)return!1;if(e.validity.badInput)return null}return null===t||parseFloat(n)>=t},max:function(e,t,n){if("number"===e.type){if(e.validity.rangeOverflow)return!1;if(e.validity.badInput)return null}return null===t||parseFloat(n)<=t},range:function(e,t,n){if("number"===e.type){if(e.validity.rangeUnderflow||e.validity.rangeOverflow)return!1;if(e.validity.badInput)return null}return Nette.isArray(t)?(null===t[0]||parseFloat(n)>=t[0])&&(null===t[1]||parseFloat(n)<=t[1]):null},submitted:function(e,t,n){return e.form["nette-submittedBy"]===e},fileSize:function(e,t,n){if(window.FileList)for(var i=0;i<n.length;i++)if(n[i].size>t)return!1;return!0},image:function(e,t,n){if(window.FileList&&n instanceof window.FileList)for(var i=0;i<n.length;i++){var r=n[i].type;if(r&&"image/gif"!==r&&"image/png"!==r&&"image/jpeg"!==r)return!1}return!0}},Nette.toggleForm=function(e,t){var n;for(Nette.toggles={},n=0;n<e.elements.length;n++)e.elements[n].tagName.toLowerCase()in{input:1,select:1,textarea:1,button:1}&&Nette.toggleControl(e.elements[n],null,null,!t);for(n in Nette.toggles)Nette.toggle(n,Nette.toggles[n],t)},Nette.toggleControl=function(e,t,n,i,r){t=t||Nette.parseJSON(e.getAttribute("data-nette-rules")),r=void 0===r?{value:Nette.getEffectiveValue(e)}:r;for(var o,a=!1,s=[],l=function(){Nette.toggleForm(e.form,e)},u=0,c=t.length;u<c;u++){var d=t[u],f=d.op.match(/(~)?([^?]+)/),h=d.control?e.form.elements.namedItem(d.control):e;if(h){if(o=n,n!==!1){d.neg=f[1],d.op=f[2];var p=e===h?r:{value:Nette.getEffectiveValue(h)};if(o=Nette.validateRule(h,d.op,d.arg,p),null===o)continue;d.neg&&(o=!o),d.rules||(n=o)}if(d.rules&&Nette.toggleControl(e,d.rules,o,i,r)||d.toggle){if(a=!0,i)for(var m=!document.addEventListener,g=h.tagName?h.name:h[0].name,v=h.tagName?h.form.elements:h,y=0;y<v.length;
8y++)v[y].name!==g||Nette.inArray(s,v[y])||(Nette.addEvent(v[y],m&&v[y].type in{checkbox:1,radio:1}?"click":"change",l),s.push(v[y]));for(var w in d.toggle||[])Object.prototype.hasOwnProperty.call(d.toggle,w)&&(Nette.toggles[w]=Nette.toggles[w]||(d.toggle[w]?o:!o))}}}return a},Nette.parseJSON=function(s){return s=s||"[]","{op"===s.substr(0,3)?eval("["+s+"]"):window.JSON&&window.JSON.parse?JSON.parse(s):eval(s)},Nette.toggle=function(e,t,n){var i=document.getElementById(e);i&&(i.style.display=t?"":"none")},Nette.initForm=function(e){e.noValidate="novalidate",Nette.addEvent(e,"submit",function(t){if(!Nette.validateForm(e))return t&&t.stopPropagation?t.stopPropagation():window.event&&(event.cancelBubble=!0),!1}),Nette.addEvent(e,"click",function(t){t=t||event;var n=t.target||t.srcElement;e["nette-submittedBy"]=n.type in{submit:1,image:1}?n:null}),Nette.toggleForm(e)},Nette.initOnLoad=function(){Nette.addEvent(window,"load",function(){for(var e=0;e<document.forms.length;e++)for(var t=document.forms[e],n=0;n<t.elements.length;n++)if(t.elements[n].getAttribute("data-nette-rules")){Nette.initForm(t);break}})},Nette.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},Nette.inArray=function(e,t){if([].indexOf)return e.indexOf(t)>-1;for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},Nette.webalize=function(e){e=e.toLowerCase();var t,n,i="";for(t=0;t<e.length;t++)n=Nette.webalizeTable[e.charAt(t)],i+=n?n:e.charAt(t);return i.replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")},Nette.webalizeTable={"á":"a","ä":"a","č":"c","ď":"d","é":"e","ě":"e","í":"i","ľ":"l","ň":"n","ó":"o","ô":"o","ř":"r","š":"s","ť":"t","ú":"u","ů":"u","ý":"y","ž":"z"},Nette}),function(e,t){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var e=new Date;return n(e.getFullYear(),e.getMonth(),e.getDate())}function r(e){return function(){return this[e].apply(this,arguments)}}function o(t,n){function i(e,t){return t.toLowerCase()}var r,o=e(t).data(),a={},s=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var l in o)n.test(l)&&(r=l.replace(s,i),a[r]=o[l]);return a}function a(t){var n={};if(p[t]||(t=t.split("-")[0],p[t])){var i=p[t];return e.each(h,function(e,t){t in i&&(n[t]=i[t])}),n}}var s=e(window),l=function(){var t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,i=this.length;n<i;n++)if(this[n].valueOf()===t)return n;return-1},remove:function(e){this.splice(e,1)},replace:function(t){t&&(e.isArray(t)||(t=[t]),this.clear(),this.push.apply(this,t))},clear:function(){this.length=0},copy:function(){var e=new l;return e.replace(this),e}};return function(){var n=[];return n.push.apply(n,arguments),e.extend(n,t),n}}(),u=function(t,n){this.dates=new l,this.viewDate=i(),this.focusDate=null,this._process_options(n),this.element=e(t),this.isInline=!1,this.isInput=this.element.is("input"),this.component=!!this.element.is(".date")&&this.element.find(".add-on, .input-group-addon, .btn"),this.hasInput=this.component&&this.element.find("input").length,this.component&&0===this.component.length&&(this.component=!1),this.picker=e(m.template),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("tfoot th.today, tfoot th.clear").attr("colspan",function(e,t){return parseInt(t)+1}),this._allow_update=!1,this.setStartDate(this._o.startDate),this.setEndDate(this._o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()};u.prototype={constructor:u,_process_options:function(t){this._o=e.extend({},this._o,t);var n=this.o=e.extend({},this._o),i=n.language;switch(p[i]||(i=i.split("-")[0],p[i]||(i=f.language)),n.language=i,n.startView){case 2:case"decade":n.startView=2;break;case 1:case"year":n.startView=1;break;default:n.startView=0}switch(n.minViewMode){case 1:case"months":n.minViewMode=1;break;case 2:case"years":n.minViewMode=2;break;default:n.minViewMode=0}n.startView=Math.max(n.startView,n.minViewMode),n.multidate!==!0&&(n.multidate=Number(n.multidate)||!1,n.multidate!==!1?n.multidate=Math.max(0,n.multidate):n.multidate=1),n.multidateSeparator=String(n.multidateSeparator),n.weekStart%=7,n.weekEnd=(n.weekStart+6)%7;var r=m.parseFormat(n.format);n.startDate!==-(1/0)&&(n.startDate?n.startDate instanceof Date?n.startDate=this._local_to_utc(this._zero_time(n.startDate)):n.startDate=m.parseDate(n.startDate,r,n.language):n.startDate=-(1/0)),n.endDate!==1/0&&(n.endDate?n.endDate instanceof Date?n.endDate=this._local_to_utc(this._zero_time(n.endDate)):n.endDate=m.parseDate(n.endDate,r,n.language):n.endDate=1/0),n.daysOfWeekDisabled=n.daysOfWeekDisabled||[],e.isArray(n.daysOfWeekDisabled)||(n.daysOfWeekDisabled=n.daysOfWeekDisabled.split(/[,\s]*/)),n.daysOfWeekDisabled=e.map(n.daysOfWeekDisabled,function(e){return parseInt(e,10)});var o=String(n.orientation).toLowerCase().split(/\s+/g),a=n.orientation.toLowerCase();if(o=e.grep(o,function(e){return/^auto|left|right|top|bottom$/.test(e)}),n.orientation={x:"auto",y:"auto"},a&&"auto"!==a)if(1===o.length)switch(o[0]){case"top":case"bottom":n.orientation.y=o[0];break;case"left":case"right":n.orientation.x=o[0]}else a=e.grep(o,function(e){return/^left|right$/.test(e)}),n.orientation.x=a[0]||"auto",a=e.grep(o,function(e){return/^top|bottom$/.test(e)}),n.orientation.y=a[0]||"auto";else;},_events:[],_secondaryEvents:[],_applyEvents:function(e){for(var n,i,r,o=0;o<e.length;o++)n=e[o][0],2===e[o].length?(i=t,r=e[o][1]):3===e[o].length&&(i=e[o][1],r=e[o][2]),n.on(r,i)},_unapplyEvents:function(e){for(var n,i,r,o=0;o<e.length;o++)n=e[o][0],2===e[o].length?(r=t,i=e[o][1]):3===e[o].length&&(r=e[o][1],i=e[o][2]),n.off(i,r)},_buildEvents:function(){this.isInput?this._events=[[this.element,{focus:e.proxy(this.show,this),keyup:e.proxy(function(t){e.inArray(t.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:e.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:e.proxy(this.show,this),keyup:e.proxy(function(t){e.inArray(t.keyCode,[27,37,39,38,40,32,13,9])===-1&&this.update()},this),keydown:e.proxy(this.keydown,this)}],[this.component,{click:e.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:e.proxy(this.show,this)}]],this._events.push([this.element,"*",{blur:e.proxy(function(e){this._focused_from=e.target},this)}],[this.element,{blur:e.proxy(function(e){this._focused_from=e.target},this)}]),this._secondaryEvents=[[this.picker,{click:e.proxy(this.click,this)}],[e(window),{resize:e.proxy(this.place,this)}],[e(document),{"mousedown touchstart":e.proxy(function(e){this.element.is(e.target)||this.element.find(e.target).length||this.picker.is(e.target)||this.picker.find(e.target).length||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,n){var i=n||this.dates.get(-1),r=this._utc_to_local(i);this.element.trigger({type:t,date:r,dates:e.map(this.dates,this._utc_to_local),format:e.proxy(function(e,t){0===arguments.length?(e=this.dates.length-1,t=this.o.format):"string"==typeof e&&(t=e,e=this.dates.length-1),t=t||this.o.format;var n=this.dates.get(e);return m.formatDate(n,t,this.o.language)},this)})},show:function(){this.isInline||this.picker.appendTo("body"),this.picker.show(),this.place(),this._attachSecondaryEvents(),this._trigger("show")},hide:function(){this.isInline||this.picker.is(":visible")&&(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"))},remove:function(){this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date},_utc_to_local:function(e){return e&&new Date(e.getTime()+6e4*e.getTimezoneOffset())},_local_to_utc:function(e){return e&&new Date(e.getTime()-6e4*e.getTimezoneOffset())},_zero_time:function(e){return e&&new Date(e.getFullYear(),e.getMonth(),e.getDate())},_zero_utc_time:function(e){return e&&new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))},getDates:function(){return e.map(this.dates,this._utc_to_local)},getUTCDates:function(){return e.map(this.dates,function(e){return new Date(e)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){return new Date(this.dates.get(-1))},setDates:function(){var t=e.isArray(arguments[0])?arguments[0]:arguments;this.update.apply(this,t),this._trigger("changeDate"),this.setValue()},setUTCDates:function(){var t=e.isArray(arguments[0])?arguments[0]:arguments;this.update.apply(this,e.map(t,this._utc_to_local)),this._trigger("changeDate"),this.setValue()},setDate:r("setDates"),setUTCDate:r("setUTCDates"),setValue:function(){var e=this.getFormattedDate();this.isInput?this.element.val(e).change():this.component&&this.element.find("input").val(e).change()},getFormattedDate:function(n){n===t&&(n=this.o.format);var i=this.o.language;return e.map(this.dates,function(e){return m.formatDate(e,n,i)}).join(this.o.multidateSeparator)},setStartDate:function(e){this._process_options({startDate:e}),this.update(),this.updateNavArrows()},setEndDate:function(e){this._process_options({endDate:e}),this.update(),this.updateNavArrows()},setDaysOfWeekDisabled:function(e){this._process_options({daysOfWeekDisabled:e}),this.update(),this.updateNavArrows()},place:function(){if(!this.isInline){var t=this.picker.outerWidth(),n=this.picker.outerHeight(),i=10,r=s.width(),o=s.height(),a=s.scrollTop(),l=[];this.element.parents().each(function(){var t=e(this).css("z-index");"auto"!==t&&0!==t&&l.push(parseInt(t))});var u=Math.max.apply(Math,l)+10,c=this.component?this.component.parent().offset():this.element.offset(),d=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),f=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),h=c.left,p=c.top;this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(h-=t-f)):(this.picker.addClass("datepicker-orient-left"),c.left<0?h-=c.left-i:c.left+t>r&&(h=r-t-i));var m,g,v=this.o.orientation.y;"auto"===v&&(m=-a+c.top-n,g=a+o-(c.top+d+n),v=Math.max(m,g)===g?"top":"bottom"),this.picker.addClass("datepicker-orient-"+v),"top"===v?p+=d:p-=n+parseInt(this.picker.css("padding-top")),this.picker.css({top:p,left:h,zIndex:u})}},_allow_update:!0,update:function(){if(this._allow_update){var t=this.dates.copy(),n=[],i=!1;arguments.length?(e.each(arguments,e.proxy(function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy(function(e){return m.parseDate(e,this.o.format,this.o.language)},this)),n=e.grep(n,e.proxy(function(e){return e<this.o.startDate||e>this.o.endDate||!e},this),!0),this.dates.replace(n),this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate&&(this.viewDate=new Date(this.o.endDate)),i?this.setValue():n.length&&String(t)!==String(this.dates)&&this._trigger("changeDate"),!this.dates.length&&t.length&&this._trigger("clearDate"),this.fill()}},fillDow:function(){var e=this.o.weekStart,t="<tr>";if(this.o.calendarWeeks){var n='<th class="cw">&nbsp;</th>';t+=n,this.picker.find(".datepicker-days thead tr:first-child").prepend(n)}for(;e<this.o.weekStart+7;)t+='<th class="dow">'+p[this.o.language].daysMin[e++%7]+"</th>";t+="</tr>",this.picker.find(".datepicker-days thead").append(t)},fillMonths:function(){for(var e="",t=0;t<12;)e+='<span class="month">'+p[this.o.language].monthsShort[t++]+"</span>";this.picker.find(".datepicker-months td").html(e)},setRange:function(t){t&&t.length?this.range=e.map(t,function(e){return e.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var n=[],i=this.viewDate.getUTCFullYear(),r=this.viewDate.getUTCMonth(),o=new Date;return t.getUTCFullYear()<i||t.getUTCFullYear()===i&&t.getUTCMonth()<r?n.push("old"):(t.getUTCFullYear()>i||t.getUTCFullYear()===i&&t.getUTCMonth()>r)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&t.getUTCFullYear()===o.getFullYear()&&t.getUTCMonth()===o.getMonth()&&t.getUTCDate()===o.getDate()&&n.push("today"),this.dates.contains(t)!==-1&&n.push("active"),(t.valueOf()<this.o.startDate||t.valueOf()>this.o.endDate||e.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled)!==-1)&&n.push("disabled"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&n.push("range"),e.inArray(t.valueOf(),this.range)!==-1&&n.push("selected")),n},fill:function(){var i,r=new Date(this.viewDate),o=r.getUTCFullYear(),a=r.getUTCMonth(),s=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),l=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),u=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,c=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,d=p[this.o.language].today||p.en.today||"",f=p[this.o.language].clear||p.en.clear||"";if(!isNaN(o)&&!isNaN(a)){this.picker.find(".datepicker-days thead th.datepicker-switch").text(p[this.o.language].months[a]+" "+o),this.picker.find("tfoot th.today").text(d).toggle(this.o.todayBtn!==!1),this.picker.find("tfoot th.clear").text(f).toggle(this.o.clearBtn!==!1),this.updateNavArrows(),this.fillMonths();var h=n(o,a-1,28),g=m.getDaysInMonth(h.getUTCFullYear(),h.getUTCMonth());h.setUTCDate(g),h.setUTCDate(g-(h.getUTCDay()-this.o.weekStart+7)%7);var v=new Date(h);v.setUTCDate(v.getUTCDate()+42),v=v.valueOf();for(var y,w=[];h.valueOf()<v;){if(h.getUTCDay()===this.o.weekStart&&(w.push("<tr>"),this.o.calendarWeeks)){var b=new Date(+h+(this.o.weekStart-h.getUTCDay()-7)%7*864e5),x=new Date(Number(b)+(11-b.getUTCDay())%7*864e5),S=new Date(Number(S=n(x.getUTCFullYear(),0,1))+(11-S.getUTCDay())%7*864e5),_=(x-S)/864e5/7+1;w.push('<td class="cw">'+_+"</td>")}if(y=this.getClassNames(h),y.push("day"),this.o.beforeShowDay!==e.noop){var T=this.o.beforeShowDay(this._utc_to_local(h));T===t?T={}:"boolean"==typeof T?T={enabled:T}:"string"==typeof T&&(T={classes:T}),T.enabled===!1&&y.push("disabled"),T.classes&&(y=y.concat(T.classes.split(/\s+/))),T.tooltip&&(i=T.tooltip)}y=e.unique(y),w.push('<td class="'+y.join(" ")+'"'+(i?' title="'+i+'"':"")+">"+h.getUTCDate()+"</td>"),i=null,h.getUTCDay()===this.o.weekEnd&&w.push("</tr>"),h.setUTCDate(h.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(w.join(""));var k=this.picker.find(".datepicker-months").find("th:eq(1)").text(o).end().find("span").removeClass("active");e.each(this.dates,function(e,t){t.getUTCFullYear()===o&&k.eq(t.getUTCMonth()).addClass("active")}),(o<s||o>u)&&k.addClass("disabled"),o===s&&k.slice(0,l).addClass("disabled"),o===u&&k.slice(c+1).addClass("disabled"),w="",o=10*parseInt(o/10,10);
8var C=this.picker.find(".datepicker-years").find("th:eq(1)").text(o+"-"+(o+9)).end().find("td");o-=1;for(var D,M=e.map(this.dates,function(e){return e.getUTCFullYear()}),E=-1;E<11;E++)D=["year"],E===-1?D.push("old"):10===E&&D.push("new"),e.inArray(o,M)!==-1&&D.push("active"),(o<s||o>u)&&D.push("disabled"),w+='<span class="'+D.join(" ")+'">'+o+"</span>",o+=1;C.html(w)}},updateNavArrows:function(){if(this._allow_update){var e=new Date(this.viewDate),t=e.getUTCFullYear(),n=e.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-(1/0)&&t<=this.o.startDate.getUTCFullYear()&&n<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&t>=this.o.endDate.getUTCFullYear()&&n>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.o.startDate!==-(1/0)&&t<=this.o.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&t>=this.o.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(t){t.preventDefault();var i,r,o,a=e(t.target).closest("span, td, th");if(1===a.length)switch(a[0].nodeName.toLowerCase()){case"th":switch(a[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":var s=m.modes[this.viewMode].navStep*("prev"===a[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,s),this._trigger("changeMonth",this.viewDate);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,s),1===this.viewMode&&this._trigger("changeYear",this.viewDate)}this.fill();break;case"today":var l=new Date;l=n(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0),this.showMode(-2);var u="linked"===this.o.todayBtn?null:"view";this._setDate(l,u);break;case"clear":var c;this.isInput?c=this.element:this.component&&(c=this.element.find("input")),c&&c.val("").change(),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()}break;case"span":a.is(".disabled")||(this.viewDate.setUTCDate(1),a.is(".month")?(o=1,r=a.parent().find("span").index(a),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(r),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode&&this._setDate(n(i,r,o))):(o=1,r=0,i=parseInt(a.text(),10)||0,this.viewDate.setUTCFullYear(i),this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(n(i,r,o))),this.showMode(-1),this.fill());break;case"td":a.is(".day")&&!a.is(".disabled")&&(o=parseInt(a.text(),10)||1,i=this.viewDate.getUTCFullYear(),r=this.viewDate.getUTCMonth(),a.is(".old")?0===r?(r=11,i-=1):r-=1:a.is(".new")&&(11===r?(r=0,i+=1):r+=1),this._setDate(n(i,r,o)))}this.picker.is(":visible")&&this._focused_from&&e(this._focused_from).focus(),delete this._focused_from},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),1===this.o.multidate&&0===t||(t!==-1?this.dates.remove(t):this.dates.push(e)),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),t&&"view"!==t||(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),this._trigger("changeDate");var n;this.isInput?n=this.element:this.component&&(n=this.element.find("input")),n&&n.change(),!this.o.autoclose||t&&"date"!==t||this.hide()},moveMonth:function(e,n){if(!e)return t;if(!n)return e;var i,r,o=new Date(e.valueOf()),a=o.getUTCDate(),s=o.getUTCMonth(),l=Math.abs(n);if(n=n>0?1:-1,1===l)r=n===-1?function(){return o.getUTCMonth()===s}:function(){return o.getUTCMonth()!==i},i=s+n,o.setUTCMonth(i),(i<0||i>11)&&(i=(i+12)%12);else{for(var u=0;u<l;u++)o=this.moveMonth(o,n);i=o.getUTCMonth(),o.setUTCDate(a),r=function(){return i!==o.getUTCMonth()}}for(;r();)o.setUTCDate(--a),o.setUTCMonth(i);return o},moveYear:function(e,t){return this.moveMonth(e,12*t)},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":not(:visible)"))return void(27===e.ke
8yCode&&this.show());var t,n,r,o=!1,a=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault();break;case 37:case 39:if(!this.o.keyboardNavigation)break;t=37===e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),t),r=this.moveYear(a,t),this._trigger("changeYear",this.viewDate)):e.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),t),r=this.moveMonth(a,t),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+t),r=new Date(a),r.setUTCDate(a.getUTCDate()+t)),this.dateWithinRange(n)&&(this.focusDate=this.viewDate=r,this.setValue(),this.fill(),e.preventDefault());break;case 38:case 40:if(!this.o.keyboardNavigation)break;t=38===e.keyCode?-1:1,e.ctrlKey?(n=this.moveYear(this.dates.get(-1)||i(),t),r=this.moveYear(a,t),this._trigger("changeYear",this.viewDate)):e.shiftKey?(n=this.moveMonth(this.dates.get(-1)||i(),t),r=this.moveMonth(a,t),this._trigger("changeMonth",this.viewDate)):(n=new Date(this.dates.get(-1)||i()),n.setUTCDate(n.getUTCDate()+7*t),r=new Date(a),r.setUTCDate(a.getUTCDate()+7*t)),this.dateWithinRange(n)&&(this.focusDate=this.viewDate=r,this.setValue(),this.fill(),e.preventDefault());break;case 32:break;case 13:a=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(a),o=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}if(o){this.dates.length?this._trigger("changeDate"):this._trigger("clearDate");var s;this.isInput?s=this.element:this.component&&(s=this.element.find("input")),s&&s.change()}},showMode:function(e){e&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+e))),this.picker.find(">div").hide().filter(".datepicker-"+m.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}};var c=function(t,n){this.element=e(t),this.inputs=e.map(n.inputs,function(e){return e.jquery?e[0]:e}),delete n.inputs,e(this.inputs).datepicker(n).bind("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,function(t){return e(t).data("datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=e.map(this.pickers,function(e){return e.getUTCDate()}),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,function(e){return e.valueOf()});
8e.each(this.pickers,function(e,n){n.setRange(t)})},dateUpdated:function(t){if(!this.updating){this.updating=!0;var n=e(t.target).data("datepicker"),i=n.getUTCDate(),r=e.inArray(t.target,this.inputs),o=this.inputs.length;if(r!==-1){if(e.each(this.pickers,function(e,t){t.getUTCDate()||t.setUTCDate(i)}),i<this.dates[r])for(;r>=0&&i<this.dates[r];)this.pickers[r--].setUTCDate(i);else if(i>this.dates[r])for(;r<o&&i>this.dates[r];)this.pickers[r++].setUTCDate(i);this.updateDates(),delete this.updating}}},remove:function(){e.map(this.pickers,function(e){e.remove()}),delete this.element.data().datepicker}};var d=e.fn.datepicker;e.fn.datepicker=function(n){var i=Array.apply(null,arguments);i.shift();var r;return this.each(function(){var s=e(this),l=s.data("datepicker"),d="object"==typeof n&&n;if(!l){var h=o(this,"date"),p=e.extend({},f,h,d),m=a(p.language),g=e.extend({},f,m,h,d);if(s.is(".input-daterange")||g.inputs){var v={inputs:g.inputs||s.find("input").toArray()};s.data("datepicker",l=new c(this,e.extend(g,v)))}else s.data("datepicker",l=new u(this,g))}if("string"==typeof n&&"function"==typeof l[n]&&(r=l[n].apply(l,i),r!==t))return!1}),r!==t?r:this};var f=e.fn.datepicker.defaults={autoclose:!1,beforeShowDay:e.noop,calendarWeeks:!1,clearBtn:!1,daysOfWeekDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0},h=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=u;
9var p=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"}},m={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(e){return e%4===0&&e%100!==0||e%400===0},getDaysInMonth:function(e,t){return[31,m.isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(e){var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(i,r,o){function a(){var e=this.slice(0,f[c].length),t=f[c].slice(0,e.length);return e===t}if(!i)return t;if(i instanceof Date)return i;"string"==typeof r&&(r=m.parseFormat(r));var s,l,c,d=/([\-+]\d+)([dmwy])/,f=i.match(/([\-+]\d+)([dmwy])/g);if(/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(i)){for(i=new Date,c=0;c<f.length;c++)switch(s=d.exec(f[c]),l=parseInt(s[1]),s[2]){case"d":i.setUTCDate(i.getUTCDate()+l);break;case"m":i=u.prototype.moveMonth.call(u.prototype,i,l);break;case"w":i.setUTCDate(i.getUTCDate()+7*l);break;case"y":i=u.prototype.moveYear.call(u.prototype,i,l)}return n(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),0,0,0)}f=i&&i.match(this.nonpunctuation)||[],i=new Date;var h,g,v={},y=["yyyy","yy","M","MM","m","mm","d","dd"],w={yyyy:function(e,t){return e.setUTCFullYear(t)},yy:function(e,t){return e.setUTCFullYear(2e3+t)},m:function(e,t){if(isNaN(e))return e;for(t-=1;t<0;)t+=12;for(t%=12,e.setUTCMonth(t);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}};w.M=w.MM=w.mm=w.m,w.dd=w.d,i=n(i.getFullYear(),i.getMonth(),i.getDate(),0,0,0);var b=r.parts.slice();if(f.length!==b.length&&(b=e(b).filter(function(t,n){return e.inArray(n,y)!==-1}).toArray()),f.length===b.length){var x;for(c=0,x=b.length;c<x;c++){if(h=parseInt(f[c],10),s=b[c],isNaN(h))switch(s){case"MM":g=e(p[o].months).filter(a),h=e.inArray(g[0],p[o].months)+1;break;case"M":g=e(p[o].monthsShort).filter(a),h=e.inArray(g[0],p[o].monthsShort)+1}v[s]=h}var S,_;for(c=0;c<y.length;c++)_=y[c],_ in v&&!isNaN(v[_])&&(S=new Date(i),w[_](S,v[_]),isNaN(S)||(i=S))}return i},formatDate:function(t,n,i){if(!t)return"";"string"==typeof n&&(n=m.parseFormat(n));var r={d:t.getUTCDate(),D:p[i].daysShort[t.getUTCDay()],DD:p[i].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:p[i].monthsShort[t.getUTCMonth()],MM:p[i].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m,t=[];for(var o=e.extend([],n.separators),a=0,s=n.parts.length;a<=s;a++)o.length&&t.push(o.shift()),t.push(r[n.parts[a]]);return t.join("")},headTemplate:'<thead><tr><th class="prev">&laquo;</th><th colspan="5" class="datepicker-switch"></th><th class="next">&raquo;</th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};m.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+m.headTemplate+"<tbody></tbody>"+m.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+"</table></div></div>",e.fn.datepicker.DPGlobal=m,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=d,this},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),n.datepicker("show"))}),e(function(){e('[data-provide="datepicker-inline"]').datepicker()})}(window.jQuery),function(e){e.fn.datepicker.dates["en-GB"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
9ay","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",weekStart:1,format:"dd/mm/yyyy"}}(jQuery),function(e){e.fn.datepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota","Neděle"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob","Ned"],daysMin:["Ne","Po","Út","St","Čt","Pá","So","Ne"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",clear:"Vymazat",weekStart:1,format:"d.m.yyyy"}}(jQuery),function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return r(n?n:e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(e,t,n){"use strict";function i(e){e.fn.perfectScrollbar=function(e){return this.each(function(){if("object"==typeof e||"undefined"==typeof e){var t=e;o.get(this)||r.initialize(this,t)}else{var n=e;"update"===n?r.update(this):"destroy"===n&&r.destroy(this)}})}}var r=e("../main"),o=e("../plugin/instances");if("function"==typeof define&&define.amd)define(["jquery"],i);else{var a=window.jQuery?window.jQuery:window.$;"undefined"!=typeof a&&i(a)}t.exports=i},{"../main":7,"../plugin/instances":18}],2:[function(e,t,n){"use strict";function i(e,t){var n=e.className.split(" ");n.indexOf(t)<0&&n.push(t),e.className=n.join(" ")}function r(e,t){var n=e.className.split(" "),i=n.indexOf(t);i>=0&&n.splice(i,1),e.className=n.join(" ")}n.add=function(e,t){e.classList?e.classList.add(t):i(e,t)},n.remove=function(e,t){e.classList?e.classList.remove(t):r(e,t)},n.list=function(e){return e.classList?Array.prototype.slice.apply(e.classList):e.className.split(" ")}},{}],3:[function(e,t,n){"use strict";function i(e,t){return window.getComputedStyle(e)[t]}function r(e,t,n){return"number"==typeof n&&(n=n.toString()+"px"),e.style[t]=n,e}function o(e,t){for(var n in t){var i=t[n];"number"==typeof i&&(i=i.toString()+"px"),e.style[n]=i}return e}var a={};a.e=function(e,t){var n=document.createElement(e);return n.className=t,n},a.appendTo=function(e,t){return t.appendChild(e),e},a.css=function(e,t,n){return"object"==typeof t?o(e,t):"undefined"==typeof n?i(e,t):r(e,t,n)},a.matches=function(e,t){return"undefined"!=typeof e.matches?e.matches(t):"undefined"!=typeof e.matchesSelector?e.matchesSelector(t):"undefined"!=typeof e.webkitMatchesSelector?e.webkitMatchesSelector(t):"undefined"!=typeof e.mozMatchesSelector?e.mozMatchesSelector(t):"undefined"!=typeof e.msMatchesSelector?e.msMatchesSelector(t):void 0},a.remove=function(e){"undefined"!=typeof e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)},a.queryChildren=function(e,t){return Array.prototype.filter.call(e.childNodes,function(e){return a.matches(e,t)})},t.exports=a},{}],4:[function(e,t,n){"use strict";var i=function(e){this.element=e,this.events={}};i.prototype.bind=function(e,t){"undefined"==typeof this.events[e]&&(this.events[e]=[]),this.events[e].push(t),this.element.addEventListener(e,t,!1)},i.prototype.unbind=function(e,t){var n="undefined"!=typeof t;this.events[e]=this.events[e].filter(function(i){return!(!n||i===t)||(this.element.removeEventListener(e,i,!1),!1)},this)},i.prototype.unbindAll=function(){for(var e in this.events)this.unbind(e)};var r=function(){this.eventElements=[]};r.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return"undefined"==typeof t&&(t=new i(e),this.eventElements.push(t)),t},r.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},r.prototype.unbind=function(e,t,n){this.eventElement(e).unbind(t,n)},r.prototype.unbindAll=function(){for(var e=0;e<this.eventElements.length;e++)this.eventElements[e].unbindAll()},r.prototype.once=function(e,t,n){var i=this.eventElement(e),r=function(e){i.unbind(t,r),n(e)};i.bind(t,r)},t.exports=r},{}],5:[function(e,t,n){"use strict";
9t.exports=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}()},{}],6:[function(e,t,n){"use strict";var i=e("./class"),r=e("./dom"),o=n.toInt=function(e){return parseInt(e,10)||0},a=n.clone=function(e){if(e){if(e.constructor===Array)return e.map(a);if("object"==typeof e){var t={};for(var n in e)t[n]=a(e[n]);return t}return e}return null};n.extend=function(e,t){var n=a(e);for(var i in t)n[i]=a(t[i]);return n},n.isEditable=function(e){return r.matches(e,"input,[contenteditable]")||r.matches(e,"select,[contenteditable]")||r.matches(e,"textarea,[contenteditable]")||r.matches(e,"button,[contenteditable]")},n.removePsClasses=function(e){for(var t=i.list(e),n=0;n<t.length;n++){var r=t[n];0===r.indexOf("ps-")&&i.remove(e,r)}},n.outerWidth=function(e){return o(r.css(e,"width"))+o(r.css(e,"paddingLeft"))+o(r.css(e,"paddingRight"))+o(r.css(e,"borderLeftWidth"))+o(r.css(e,"borderRightWidth"))},n.startScrolling=function(e,t){i.add(e,"ps-in-scrolling"),"undefined"!=typeof t?i.add(e,"ps-"+t):(i.add(e,"ps-x"),i.add(e,"ps-y"))},n.stopScrolling=function(e,t){i.remove(e,"ps-in-scrolling"),"undefined"!=typeof t?i.remove(e,"ps-"+t):(i.remove(e,"ps-x"),i.remove(e,"ps-y"))},n.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(e,t,n){"use strict";var i=e("./plugin/destroy"),r=e("./plugin/initialize"),o=e("./plugin/update");t.exports={initialize:r,update:o,destroy:i}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":21}],8:[function(e,t,n){"use strict";t.exports={handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}},{}],9:[function(e,t,n){"use strict";var i=e("../lib/helper"),r=e("../lib/dom"),o=e("./instances");t.exports=function(e){var t=o.get(e);t&&(t.event.unbindAll(),r.remove(t.scrollbarX),r.remove(t.scrollbarY),r.remove(t.scrollbarXRail),r.remove(t.scrollbarYRail),i.removePsClasses(e),o.remove(e))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(e,t,n){"use strict";function i(e,t){function n(e){return e.getBoundingClientRect()}var i=function(e){e.stopPropagation()};t.event.bind(t.scrollbarY,"click",i),t.event.bind(t.scrollbarYRail,"click",function(i){var r=i.pageY-window.pageYOffset-n(t.scrollbarYRail).top,s=r>t.scrollbarYTop?1:-1;a(e,"top",e.scrollTop+s*t.containerHeight),o(e),i.stopPropagation()}),t.event.bind(t.scrollbarX,"click",i),t.event.bind(t.scrollbarXRail,"click",function(i){var r=i.pageX-window.pageXOffset-n(t.scrollbarXRail).left,s=r>t.scrollbarXLeft?1:-1;a(e,"left",e.scrollLeft+s*t.containerWidth),o(e),i.stopPropagation()})}var r=e("../instances"),o=e("../update-geometry"),a=e("../update-scroll");t.exports=function(e){var t=r.get(e);i(e,t)}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(e,t,n){"use strict";function i(e,t){function n(n){var r=i+n*t.railXRatio,a=Math.max(0,t.scrollbarXRail.getBoundingClientRect().left)+t.railXRatio*(t.railXWidth-t.scrollbarXWidth);r<0?t.scrollbarXLeft=0:r>a?t.scrollbarXLeft=a:t.scrollbarXLeft=r;var s=o.toInt(t.scrollbarXLeft*(t.contentWidth-t.containerWidth)/(t.containerWidth-t.railXRatio*t.scrollbarXWidth))-t.negativeScrollAdjustment;u(e,"left",s)}var i=null,r=null,s=function(t){n(t.pageX-r),l(e),t.stopPropagation(),t.preventDefault()},c=function(){o.stopScrolling(e,"x"),t.event.unbind(t.ownerDocument,"mousemove",s)};t.event.bind(t.scrollbarX,"mousedown",function(n){r=n.pageX,i=o.toInt(a.css(t.scrollbarX,"left"))*t.railXRatio,o.startScrolling(e,"x"),t.event.bind(t.ownerDocument,"mousemove",s),t.event.once(t.ownerDocument,"mouseup",c),n.stopPropagation(),n.preventDefault()})}function r(e,t){function n(n){var r=i+n*t.railYRatio,a=Math.max(0,t.scrollbarYRail.getBoundingClientRect().top)+t.railYRatio*(t.railYHeight-t.scrollbarYHeight);r<0?t.scrollbarYTop=0:r>a?t.scrollbarYTop=a:t.scrollbarYTop=r;var s=o.toInt(t.scrollbarYTop*(t.contentHeight-t.containerHeight)/(t.containerHeight-t.railYRatio*t.scrollbarYHeight));u(e,"top",s)}var i=null,r=null,s=function(t){n(t.pageY-r),l(e),t.stopPropagation(),t.preventDefault()},c=function(){o.stopScrolling(e,"y"),t.event.unbind(t.ownerDocument,"mousemove",s)};t.event.bind(t.scrollbarY,"mousedown",function(n){r=n.pageY,i=o.toInt(a.css(t.scrollbarY,"top"))*t.railYRatio,o.startScrolling(e,"y"),t.event.bind(t.ownerDocument,"mousemove",s),t.event.once(t.ownerDocument,"mouseup",c),n.stopPropagation(),n.preventDefault()})}var o=e("../../lib/helper"),a=e("../../lib/dom"),s=e("../instances"),l=e("../update-geometry"),u=e("../update-scroll");t.exports=function(e){var t=s.get(e);i(e,t),r(e,t)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],12:[function(e,t,n){"use strict";function i(e,t){function n(n,i){var r=e.scrollTop;if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&i>0||r>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===o&&n<0||o>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}var i=!1;t.event.bind(e,"mouseenter",function(){i=!0}),t.event.bind(e,"mouseleave",function(){i=!1});var a=!1;t.event.bind(t.ownerDocument,"keydown",function(u){if(!(u.isDefaultPrevented&&u.isDefaultPrevented()||u.defaultPrevented)){var c=o.matches(t.scrollbarX,":focus")||o.matches(t.scrollbarY,":focus");if(i||c){var d=document.activeElement?document.activeElement:t.ownerDocument.activeElement;
9if(d){if("IFRAME"===d.tagName)d=d.contentDocument.activeElement;else for(;d.shadowRoot;)d=d.shadowRoot.activeElement;if(r.isEditable(d))return}var f=0,h=0;switch(u.which){case 37:f=u.metaKey?-t.contentWidth:u.altKey?-t.containerWidth:-30;break;case 38:h=u.metaKey?t.contentHeight:u.altKey?t.containerHeight:30;break;case 39:f=u.metaKey?t.contentWidth:u.altKey?t.containerWidth:30;break;case 40:h=u.metaKey?-t.contentHeight:u.altKey?-t.containerHeight:-30;break;case 33:h=90;break;case 32:h=u.shiftKey?90:-90;break;case 34:h=-90;break;case 35:h=u.ctrlKey?-t.contentHeight:-t.containerHeight;break;case 36:h=u.ctrlKey?e.scrollTop:t.containerHeight;break;default:return}l(e,"top",e.scrollTop-h),l(e,"left",e.scrollLeft+f),s(e),a=n(f,h),a&&u.preventDefault()}}})}var r=e("../../lib/helper"),o=e("../../lib/dom"),a=e("../instances"),s=e("../update-geometry"),l=e("../update-scroll");t.exports=function(e){var t=a.get(e);i(e,t)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(e,t,n){"use strict";function i(e,t){function n(n,i){var r=e.scrollTop;if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&i>0||r>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===o&&n<0||o>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}function i(e){var t=e.deltaX,n=-1*e.deltaY;return"undefined"!=typeof t&&"undefined"!=typeof n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!==t&&n!==n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}function r(t,n){var i=e.querySelector("textarea:hover, select[multiple]:hover, .ps-child:hover");if(i){if(!window.getComputedStyle(i).overflow.match(/(scroll|auto)/))return!1;var r=i.scrollHeight-i.clientHeight;if(r>0&&!(0===i.scrollTop&&n>0||i.scrollTop===r&&n<0))return!0;var o=i.scrollLeft-i.clientWidth;if(o>0&&!(0===i.scrollLeft&&t<0||i.scrollLeft===o&&t>0))return!0}return!1}function s(s){var u=i(s),c=u[0],d=u[1];r(c,d)||(l=!1,t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(d?a(e,"top",e.scrollTop-d*t.settings.wheelSpeed):a(e,"top",e.scrollTop+c*t.settings.wheelSpeed),l=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(c?a(e,"left",e.scrollLeft+c*t.settings.wheelSpeed):a(e,"left",e.scrollLeft-d*t.settings.wheelSpeed),l=!0):(a(e,"top",e.scrollTop-d*t.settings.wheelSpeed),a(e,"left",e.scrollLeft+c*t.settings.wheelSpeed)),o(e),l=l||n(c,d),l&&(s.stopPropagation(),s.preventDefault()))}var l=!1;"undefined"!=typeof window.onwheel?t.event.bind(e,"wheel",s):"undefined"!=typeof window.onmousewheel&&t.event.bind(e,"mousewheel",s)}var r=e("../instances"),o=e("../update-geometry"),a=e("../update-scroll");t.exports=function(e){var t=r.get(e);i(e,t)}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(e,t,n){"use strict";function i(e,t){t.event.bind(e,"scroll",function(){o(e)})}var r=e("../instances"),o=e("../update-geometry");t.exports=function(e){var t=r.get(e);i(e,t)}},{"../instances":18,"../update-geometry":19}],15:[function(e,t,n){"use strict";function i(e,t){function n(){var e=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===e.toString().length?null:e.getRangeAt(0).commonAncestorContainer}function i(){u||(u=setInterval(function(){return o.get(e)?(s(e,"top",e.scrollTop+c.top),s(e,"left",e.scrollLeft+c.left),void a(e)):void clearInterval(u)},50))}function l(){u&&(clearInterval(u),u=null),r.stopScrolling(e)}var u=null,c={top:0,left:0},d=!1;t.event.bind(t.ownerDocument,"selectionchange",function(){e.contains(n())?d=!0:(d=!1,l())}),t.event.bind(window,"mouseup",function(){d&&(d=!1,l())}),t.event.bind(window,"keyup",function(){d&&(d=!1,l())}),t.event.bind(window,"mousemove",function(t){if(d){var n={x:t.pageX,y:t.pageY},o={left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,top:e.offsetTop,bottom:e.offsetTop+e.offsetHeight};n.x<o.left+3?(c.left=-5,r.startScrolling(e,"x")):n.x>
9o.right-3?(c.left=5,r.startScrolling(e,"x")):c.left=0,n.y<o.top+3?(o.top+3-n.y<5?c.top=-5:c.top=-20,r.startScrolling(e,"y")):n.y>o.bottom-3?(n.y-o.bottom+3<5?c.top=5:c.top=20,r.startScrolling(e,"y")):c.top=0,0===c.top&&0===c.left?l():i()}})}var r=e("../../lib/helper"),o=e("../instances"),a=e("../update-geometry"),s=e("../update-scroll");t.exports=function(e){var t=o.get(e);i(e,t)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(e,t,n){"use strict";function i(e,t,n,i){function r(n,i){var r=e.scrollTop,o=e.scrollLeft,a=Math.abs(n),s=Math.abs(i);if(s>a){if(i<0&&r===t.contentHeight-t.containerHeight||i>0&&0===r)return!t.settings.swipePropagation}else if(a>s&&(n<0&&o===t.contentWidth-t.containerWidth||n>0&&0===o))return!t.settings.swipePropagation;return!0}function l(t,n){s(e,"top",e.scrollTop-n),s(e,"left",e.scrollLeft-t),a(e)}function u(){b=!0}function c(){b=!1}function d(e){return e.targetTouches?e.targetTouches[0]:e}function f(e){return!(!e.targetTouches||1!==e.targetTouches.length)||!(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE)}function h(e){if(f(e)){x=!0;var t=d(e);g.pageX=t.pageX,g.pageY=t.pageY,v=(new Date).getTime(),null!==w&&clearInterval(w),e.stopPropagation()}}function p(e){if(!x&&t.settings.swipePropagation&&h(e),!b&&x&&f(e)){var n=d(e),i={pageX:n.pageX,pageY:n.pageY},o=i.pageX-g.pageX,a=i.pageY-g.pageY;l(o,a),g=i;var s=(new Date).getTime(),u=s-v;u>0&&(y.x=o/u,y.y=a/u,v=s),r(o,a)&&(e.stopPropagation(),e.preventDefault())}}function m(){!b&&x&&(x=!1,clearInterval(w),w=setInterval(function(){return o.get(e)&&(y.x||y.y)?Math.abs(y.x)<.01&&Math.abs(y.y)<.01?void clearInterval(w):(l(30*y.x,30*y.y),y.x*=.8,void(y.y*=.8)):void clearInterval(w)},10))}var g={},v=0,y={},w=null,b=!1,x=!1;n&&(t.event.bind(window,"touchstart",u),t.event.bind(window,"touchend",c),t.event.bind(e,"touchstart",h),t.event.bind(e,"touchmove",p),t.event.bind(e,"touchend",m)),i&&(window.PointerEvent?(t.event.bind(window,"pointerdown",u),t.event.bind(window,"pointerup",c),t.event.bind(e,"pointerdown",h),t.event.bind(e,"pointermove",p),t.event.bind(e,"pointerup",m)):window.MSPointerEvent&&(t.event.bind(window,"MSPointerDown",u),t.event.bind(window,"MSPointerUp",c),t.event.bind(e,"MSPointerDown",h),t.event.bind(e,"MSPointerMove",p),t.event.bind(e,"MSPointerUp",m)))}var r=e("../../lib/helper"),o=e("../instances"),a=e("../update-geometry"),s=e("../update-scroll");t.exports=function(e){if(r.env.supportsTouch||r.env.supportsIePointer){var t=o.get(e);i(e,t,r.env.supportsTouch,r.env.supportsIePointer)}}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(e,t,n){"use strict";var i=e("../lib/helper"),r=e("../lib/class"),o=e("./instances"),a=e("./update-geometry"),s={"click-rail":e("./handler/click-rail"),"drag-scrollbar":e("./handler/drag-scrollbar"),keyboard:e("./handler/keyboard"),wheel:e("./handler/mouse-wheel"),touch:e("./handler/touch"),selection:e("./handler/selection")},l=e("./handler/native-scroll");t.exports=function(e,t){t="object"==typeof t?t:{},r.add(e,"ps-container");var n=o.add(e);n.settings=i.extend(n.settings,t),r.add(e,"ps-theme-"+n.settings.theme),n.settings.handlers.forEach(function(t){s[t](e)}),l(e),a(e)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(e,t,n){"use strict";function i(e){function t(){l.add(e,"ps-focus")}function n(){l.remove(e,"ps-focus")}var i=this;i.settings=s.clone(u),i.containerWidth=null,i.containerHeight=null,i.contentWidth=null,i.contentHeight=null,i.isRtl="rtl"===c.css(e,"direction"),i.isNegativeScroll=function(){var t=e.scrollLeft,n=null;return e.scrollLeft=-1,n=e.scrollLeft<0,e.scrollLeft=t,n}(),i.negativeScrollAdjustment=i.isNegativeScroll?e.scrollWidth-e.clientWidth:0,i.event=new d,i.ownerDocument=e.ownerDocument||document,i.scrollbarXRail=c.appendTo(c.e("div","ps-scrollbar-x-rail"),e),i.scrollbarX=c.appendTo(c.e("div","ps-scrollbar-x"),i.scrollbarXRail),i.scrollbarX.setAttribute("tabindex",0),i.event.bind(i.scrollbarX,"focus",t),i.event.bind(i.scrollbarX,"blur",n),i.scrollbarXActive=null,i.scrollbarXWidth=null,i.scrollbarXLeft=null,i.scrollbarXBottom=s.toInt(c.css(i.scrollbarXRail,"bottom")),i.isScrollbarXUsingBottom=i.scrollbarXBottom===i.scrollbarXBottom,i.scrollbarXTop=i.isScrollbarXUsingBottom?null:s.toInt(c.css(i.scrollbarXRail,"top")),i.railBorderXWidth=s.toInt(c.css(i.scrollbarXRail,"borderLeftWidth"))+s.toInt(c.css(i.scrollbarXRail,"borderRightWidth")),c.css(i.scrollbarXRail,"display","block"),i.railXMarginWidth=s.toInt(c.css(i.scrollbarXRail,"marginLeft"))+s.toInt(c.css(i.scrollbarXRail,"marginRight")),c.css(i.scrollbarXRail,"display",""),i.railXWidth=null,i.railXRatio=null,i.scrollbarYRail=c.appendTo(c.e("div","ps-scrollbar-y-rail"),e),i.scrollbarY=c.appendTo(c.e("div","ps-scrollbar-y"),i.scrollbarYRail),i.scrollbarY.setAttribute("tabindex",0),i.event.bind(i.scrollbarY,"focus",t),i.event.bind(i.scrollbarY,"blur",n),i.scrollbarYActive=null,i.scrollbarYHeight=null,i.scrollbarYTop=null,i.scrollbarYRight=s.toInt(c.css(i.scrollbarYRail,"right")),i.isScrollbarYUsingRight=i.scrollbarYRight===i.scrollbarYRight,i.scrollbarYLeft=i.isScrollbarYUsingRight?null:s.toInt(c.css(i.scrollbarYRail,"left")),i.scrollbarYOuterWidth=i.isRtl?s.outerWidth(i.scrollbarY):null,i.railBorderYWidth=s.toInt(c.css(i.scrollbarYRail,"borderTopWidth"))+s.toInt(c.css(i.scrollbarYRail,"borderBottomWidth")),c.css(i.scrollbarYRail,"display","block"),i.railYMarginHeight=s.toInt(c.css(i.scrollbarYRail,"marginTop"))+s.toInt(c.css(i.scrollbarYRail,"marginBottom")),c.css(i.scrollbarYRail,"display",""),i.railYHeight=null,i.railYRatio=null}function r(e){return e.getAttribute("data-ps-id")}function o(e,t){e.setAttribute("data-ps-id",t)}function a(e){e.removeAttribute("data-ps-id")}var s=e("../lib/helper"),l=e("../lib/class"),u=e("./default-setting"),c=e("../lib/dom"),d=e("../lib/event-manager"),f=e("../lib/guid"),h={};n.add=function(e){var t=f();return o(e,t),h[t]=new i(e),h[t]},n.remove=function(e){delete h[r(e)],a(e)},n.get=function(e){return h[r(e)]}}
9,{"../lib/class":2,"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(e,t,n){"use strict";function i(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function r(e,t){var n={width:t.railXWidth};t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-e.scrollTop:n.top=t.scrollbarXTop+e.scrollTop,s.css(t.scrollbarXRail,n);var i={top:e.scrollTop,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?i.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth:i.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?i.left=t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:i.left=t.scrollbarYLeft+e.scrollLeft,s.css(t.scrollbarYRail,i),s.css(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),s.css(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}var o=e("../lib/helper"),a=e("../lib/class"),s=e("../lib/dom"),l=e("./instances"),u=e("./update-scroll");t.exports=function(e){var t=l.get(e);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight;var n;e.contains(t.scrollbarXRail)||(n=s.queryChildren(e,".ps-scrollbar-x-rail"),n.length>0&&n.forEach(function(e){s.remove(e)}),s.appendTo(t.scrollbarXRail,e)),e.contains(t.scrollbarYRail)||(n=s.queryChildren(e,".ps-scrollbar-y-rail"),n.length>0&&n.forEach(function(e){s.remove(e)}),s.appendTo(t.scrollbarYRail,e)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=i(t,o.toInt(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=o.toInt((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=i(t,o.toInt(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=o.toInt(e.scrollTop*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),r(e,t),t.scrollbarXActive?a.add(e,"ps-active-x"):(a.remove(e,"ps-active-x"),t.scrollbarXWidth=0,t.scrollbarXLeft=0,u(e,"left",0)),t.scrollbarYActive?a.add(e,"ps-active-y"):(a.remove(e,"ps-active-y"),t.scrollbarYHeight=0,t.scrollbarYTop=0,u(e,"top",0))}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(e,t,n){"use strict";var i,r,o=e("./instances"),a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t};t.exports=function(e,t,n){if("undefined"==typeof e)throw"You must provide an element to the update-scroll function";if("undefined"==typeof t)throw"You must provide an axis to the update-scroll function";if("undefined"==typeof n)throw"You must provide a value to the update-scroll function";"top"===t&&n<=0&&(e.scrollTop=n=0,e.dispatchEvent(a("ps-y-reach-start"))),"left"===t&&n<=0&&(e.scrollLeft=n=0,e.dispatchEvent(a("ps-x-reach-start")));var s=o.get(e);"top"===t&&n>=s.contentHeight-s.containerHeight&&(n=s.contentHeight-s.containerHeight,n-e.scrollTop<=1?n=e.scrollTop:e.scrollTop=n,e.dispatchEvent(a("ps-y-reach-end"))),"left"===t&&n>=s.contentWidth-s.containerWidth&&(n=s.contentWidth-s.containerWidth,n-e.scrollLeft<=1?n=e.scrollLeft:e.scrollLeft=n,e.dispatchEvent(a("ps-x-reach-end"))),i||(i=e.scrollTop),r||(r=e.scrollLeft),"top"===t&&n<i&&e.dispatchEvent(a("ps-scroll-up")),"top"===t&&n>i&&e.dispatchEvent(a("ps-scroll-down")),"left"===t&&n<r&&e.dispatchEvent(a("ps-scroll-left")),"left"===t&&n>r&&e.dispatchEvent(a("ps-scroll-right")),"top"===t&&(e.scrollTop=i=n,e.dispatchEvent(a("ps-scroll-y"))),"left"===t&&(e.scrollLeft=r=n,e.dispatchEvent(a("ps-scroll-x")))}},{"./instances":18}],21:[function(e,t,n){"use strict";var i=e("../lib/helper"),r=e("../lib/dom"),o=e("./instances"),a=e("./update-geometry"),s=e("./update-scroll");t.exports=function(e){var t=o.get(e);t&&(t.negativeScrollAdjustment=t.isNegativeScroll?e.scrollWidth-e.clientWidth:0,r.css(t.scrollbarXRail,"display","block"),r.css(t.scrollbarYRail,"display","block"),t.railXMarginWidth=i.toInt(r.css(t.scrollbarXRail,"marginLeft"))+i.toInt(r.css(t.scrollbarXRail,"marginRight")),t.railYMarginHeight=i.toInt(r.css(t.scrollbarYRail,"marginTop"))+i.toInt(r.css(t.scrollbarYRail,"marginBottom")),r.css(t.scrollbarXRail,"display","none"),r.css(t.scrollbarYRail,"display","none"),a(e),s(e,"top",e.scrollTop),s(e,"left",e.scrollLeft),r.css(t.scrollbarXRail,"display",""),r.css(t.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-geometry":19,"./update-scroll":20}]},{},[1]),function(e){"use strict";var t="kinetic-active";window.requestAnimationFrame||(window.requestAnimationFrame=function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)}}()),e.support=e.support||{},e.extend(e.support,{touch:"ontouchend"in document});var n=function(){return!1},i=function(t,n){return this.settings=n,this.el=t,this.$el=e(t),this._initElements(),this};i.DATA_KEY="kinetic",i.DEFAULTS={cursor:"move",decelerate:!0,triggerHardware:!1,threshold:0,y:!0,x:!0,slowdown:.9,maxvelocity:40,throttleFPS:60,movingClass:{up:"kinetic-moving-up",down:"kinetic-moving-down",left:"kinetic-moving-left",right:"kinetic-moving-right"},deceleratingClass:{up:"kinetic-decelerating-up",down:"kinetic-decelerating-down",left:"kinetic-decelerating-left",right:"kinetic-decelerating-right"}},i.prototype.start=function(t){this.settings=e.extend(this.settings,t),this.velocity=t.velocity||this.velocity,this.velocityY=t.velocityY||this.velocityY,this.settings.decelerate=!1,this._move()},i.prototype.end=function(){this.settings.decelerate=!0},i.prototype.stop=function(){this.velocity=0,this.velocityY=0,this.settings.decelerate=!0,e.isFunction(this.settings.stopped)&&this.settings.stopped.call(this)},i.prototype.detach=function(){this._detachListeners(),
10this.$el.removeClass(t).css("cursor","")},i.prototype.attach=function(){this.$el.hasClass(t)||(this._attachListeners(this.$el),this.$el.addClass(t).css("cursor",this.settings.cursor))},i.prototype._initElements=function(){this.$el.addClass(t),e.extend(this,{xpos:null,prevXPos:!1,ypos:null,prevYPos:!1,mouseDown:!1,throttleTimeout:1e3/this.settings.throttleFPS,lastMove:null,elementFocused:null}),this.velocity=0,this.velocityY=0,e(document).mouseup(e.proxy(this._resetMouse,this)).click(e.proxy(this._resetMouse,this)),this._initEvents(),this.$el.css("cursor",this.settings.cursor),this.settings.triggerHardware&&this.$el.css({"-webkit-transform":"translate3d(0,
100,0)","-webkit-perspective":"1000","-webkit-backface-visibility":"hidden"})},i.prototype._initEvents=function(){var t=this;this.settings.events={touchStart:function(e){var n;t._useTarget(e.target,e)&&(n=e.originalEvent.touches[0],t.threshold=t._threshold(e.target,e),t._start(n.clientX,n.clientY),e.stopPropagation())},touchMove:function(e){var n;t.mouseDown&&(n=e.originalEvent.touches[0],t._inputmove(n.clientX,n.clientY),e.preventDefault&&e.preventDefault())},inputDown:function(e){t._useTarget(e.target,e)&&(t.threshold=t._threshold(e.target,e),t._start(e.clientX,e.clientY),t.elementFocused=e.target,"IMG"===e.target.nodeName&&e.preventDefault(),e.stopPropagation())},inputEnd:function(e){t._useTarget(e.target,e)&&(t._end(),t.elementFocused=null,e.preventDefault&&e.preventDefault())},inputMove:function(e){t.mouseDown&&(t._inputmove(e.clientX,e.clientY),e.preventDefault&&e.preventDefault())},scroll:function(n){e.isFunction(t.settings.moved)&&t.settings.moved.call(t,t.settings),n.preventDefault&&n.preventDefault()},inputClick:function(e){if(Math.abs(t.velocity)>0)return e.preventDefault(),!1},dragStart:function(e){if(t._useTarget(e.target,e)&&t.elementFocused)return!1}},this._attachListeners(this.$el,this.settings)},i.prototype._inputmove=function(t,n){var i=this.$el;this.el;if((!this.lastMove||new Date>new Date(this.lastMove.getTime()+this.throttleTimeout))&&(this.lastMove=new Date,this.mouseDown&&(this.xpos||this.ypos))){var r=t-this.xpos,o=n-this.ypos;if(this.threshold>0){var a=Math.sqrt(r*r+o*o);if(this.threshold>a)return;this.threshold=0}this.elementFocused&&(e(this.elementFocused).blur(),this.elementFocused=null,i.focus()),this.settings.decelerate=!1,this.velocity=this.velocityY=0;var s=this.scrollLeft(),l=this.scrollTop();this.scrollLeft(this.settings.x?s-r:s),this.scrollTop(this.settings.y?l-o:l),this.prevXPos=this.xpos,this.prevYPos=this.ypos,this.xpos=t,this.ypos=n,this._calculateVelocities(),this._setMoveClasses(this.settings.movingClass),e.isFunction(this.settings.moved)&&this.settings.moved.call(this,this.settings)}},i.prototype._calculateVelocities=function(){this.velocity=this._capVelocity(this.prevXPos-this.xpos,this.settings.maxvelocity),this.velocityY=this._capVelocity(this.prevYPos-this.ypos,this.settings.maxvelocity)},i.prototype._end=function(){this.xpos&&this.prevXPos&&this.settings.decelerate===!1&&(this.settings.decelerate=!0,this._calculateVelocities(),this.xpos=this.prevXPos=this.mouseDown=!1,this._move())},i.prototype._useTarget=function(t,n){return!e.isFunction(this.settings.filterTarget)||this.settings.filterTarget.call(this,t,n)!==!1},i.prototype._threshold=function(t,n){return e.isFunction(this.settings.threshold)?this.settings.threshold.call(this,t,n):this.settings.threshold},i.prototype._start=function(e,t){this.mouseDown=!0,this.velocity=this.prevXPos=0,this.velocityY=this.prevYPos=0,this.xpos=e,this.ypos=t},i.prototype._resetMouse=function(){this.xpos=!1,this.ypos=!1,this.mouseDown=!1},i.prototype._decelerateVelocity=function(e,t){return 0===Math.floor(Math.abs(e))?0:e*t},i.prototype._capVelocity=function(e,t){var n=e;return e>0?e>t&&(n=t):e<0-t&&(n=0-t),n},i.prototype._setMoveClasses=function(e){var t=this.settings,n=this.$el;n.removeClass(t.movingClass.up).removeClass(t.movingClass.down).removeClass(t.movingClass.left).removeClass(t.movingClass.right).removeClass(t.deceleratingClass.up).removeClass(t.deceleratingClass.down).removeClass(t.deceleratingClass.left).removeClass(t.deceleratingClass.right),this.velocity>0&&n.addClass(e.right),this.velocity<0&&n.addClass(e.left),this.velocityY>0&&n.addClass(e.down),this.velocityY<0&&n.addClass(e.up)},i.prototype._move=function(){var t=(this.$el,this.el),n=this,i=n.settings;i.x&&t.scrollWidth>0?(this.scrollLeft(this.scrollLeft()+this.velocity),Math.abs(this.velocity)>0&&(this.velocity=i.decelerate?n._decelerateVelocity(this.velocity,i.slowdown):this.velocity)):this.velocity=0,i.y&&t.scrollHeight>0?(this.scrollTop(this.scrollTop()+this.velocityY),Math.abs(this.velocityY)>0&&(this.velocityY=i.decelerate?n._decelerateVelocity(this.velocityY,i.slowdown):this.velocityY)):this.velocityY=0,n._setMoveClasses(i.deceleratingClass),e.isFunction(i.moved)&&i.moved.call(this,i),Math.abs(this.velocity)>0||Math.abs(this.velocityY)>0?this.moving||(this.moving=!0,window.requestAnimationFrame(function(){n.moving=!1,n._move()})):n.stop()},i.prototype._getScroller=function(){var t=this.$el;return(this.$el.is("body")||this.$el.is("html"))&&(t=e(window)),t},i.prototype.scrollLeft=function(e){var t=this._getScroller();return"number"!=typeof e?t.scrollLeft():(t.scrollLeft(e),void(this.settings.scrollLeft=e))},i.prototype.scrollTop=function(e){var t=this._getScroller();return"number"!=typeof e?t.scrollTop():(t.scrollTop(e),void(this.settings.scrollTop=e))},i.prototype._attachListeners=function(){var t=this.$el,i=this.settings;
10e.support.touch&&t.bind("touchstart",i.events.touchStart).bind("touchend",i.events.inputEnd).bind("touchmove",i.events.touchMove),t.mousedown(i.events.inputDown).mouseup(i.events.inputEnd).mousemove(i.events.inputMove),t.click(i.events.inputClick).scroll(i.events.scroll).bind("selectstart",n).bind("dragstart",i.events.dragStart)},i.prototype._detachListeners=function(){var t=this.$el,i=this.settings;e.support.touch&&t.unbind("touchstart",i.events.touchStart).unbind("touchend",i.events.inputEnd).unbind("touchmove",i.events.touchMove),t.unbind("mousedown",i.events.inputDown).unbind("mouseup",i.events.inputEnd).unbind("mousemove",i.events.inputMove),t.unbind("click",i.events.inputClick).unbind("scroll",i.events.scroll).unbind("selectstart",n).unbind("dragstart",i.events.dragStart)},e.Kinetic=i,e.fn.kinetic=function(t,n){return this.each(function(){var r=e(this),o=r.data(i.DATA_KEY),a=e.extend({},i.DEFAULTS,r.data(),"object"==typeof t&&t);o||r.data(i.DATA_KEY,o=new i(this,a)),"string"==typeof t&&o[t](n)})}}(window.jQuery||window.Zepto),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Qi.apply(null,arguments)}function t(e){Qi=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(r(e,t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function c(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return Tt(e,t,n,i,!0).utc()}function f(){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 h(e){return null==e._pf&&(e._pf=f()),e._pf}function p(e){var t=null,n=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=h(e),n=Ji.call(t.parsedDateParts,function(e){return null!=e}),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function m(e){var t=d(NaN);return null!=e?c(h(t),e):h(t).userInvalidated=!0,t}function g(e,t){var n,i,r,o=er.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)i=er[n],r=t[i],a(r)||(e[i]=r);return e}function v(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),tr===!1&&(tr=!0,e.updateOffset(this),tr=!1)}function y(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function w(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function b(t,n){var i=!0;return c(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){var o,a,s,l=[],u=arguments.length;for(a=0;a<u;a++){if(o="","object"==typeof arguments[a]){o+="\n["+a+"] ";for(s in arguments[0])r(arguments[0],s)&&(o+=s+": "+arguments[0][s]+", ");o=o.slice(0,-2)}else o=arguments[a];l.push(o)}w(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)},n)}function x(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),nr[t]||(w(n),nr[t]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)r(e,n)&&(t=e[n],S(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,o=c({},e);for(n in t)r(t,n)&&(i(e[n])&&i(t[n])?(o[n]={},c(o[n],e[n]),c(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)r(e,n)&&!r(t,n)&&i(e[n])&&(o[n]=c({},o[n]));return o}function k(e){null!=e&&this.set(e)}
10function C(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return S(i)?i.call(t,n):i}function D(e,t,n){var i=""+Math.abs(e),r=t-i.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function M(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(ur[e]=r),t&&(ur[t[0]]=function(){return D(r.apply(this,arguments),t[1],t[2])}),n&&(ur[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function E(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function A(e){var t,n,i=e.match(ar);for(t=0,n=i.length;t<n;t++)ur[i[t]]?i[t]=ur[i[t]]:i[t]=E(i[t]);return function(t){var r,o="";for(r=0;r<n;r++)o+=S(i[r])?i[r].call(t,e):i[r];return o}}function N(e,t){return e.isValid()?(t=O(t,e.localeData()),lr[t]=lr[t]||A(t),lr[t](e)):e.localeData().invalidDate()}function O(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(sr.lastIndex=0;i>=0&&sr.test(e);)e=e.replace(sr,n),sr.lastIndex=0,i-=1;return e}function L(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ar).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}function I(){return this._invalidDate}function P(e){return this._ordinal.replace("%d",e)}function Y(e,t,n,i){var r=this._relativeTime[n];return S(r)?r(e,t,n,i):r.replace(/%d/i,e)}function F(e,t){var n=this._relativeTime[e>0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function R(e){return"string"==typeof e?mr[e]||mr[e.toLowerCase()]:void 0}function $(e){var t,n,i={};for(n in e)r(e,n)&&(t=R(n),t&&(i[t]=e[n]));return i}function H(e){var t,n=[];for(t in e)r(e,t)&&n.push({unit:t,priority:gr[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function j(e,t,n){rr[e]=S(t)?t:function(e,i){return e&&n?n:t}}function W(e,t){return r(rr,e)?rr[e](t._strict,t._locale):new RegExp(z(e))}function z(e){return V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function U(e,t){var n,i,r=t;
10for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=B(e)}),i=e.length,n=0;n<i;n++)Yr[e[n]]=r}function X(e,t){U(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function G(e,t,n){null!=t&&r(Yr,e)&&Yr[e](t,n._a,n,e)}function Z(e){return e%4===0&&e%100!==0||e%400===0}function K(e){return Z(e)?366:365}function Q(){return Z(this.year())}function J(t,n){return function(i){return null!=i?(te(this,t,i),e.updateOffset(this,n),this):ee(this,t)}}function ee(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function te(e,t,n){var i,r,o,a,s;if(e.isValid()&&!isNaN(n)){switch(i=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(r?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(r?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(r?i.setUTCHours(n):i.setHours(n));case"Date":return void(r?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=e.date(),s=29!==s||1!==a||Z(o)?s:28,void(r?i.setUTCFullYear(o,a,s):i.setFullYear(o,a,s))}}function ne(e){return e=R(e),S(this[e])?this[e]():this}function ie(e,t){if("object"==typeof e){e=$(e);var n,i=H(e),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(e=R(e),S(this[e]))return this[e](t);return this}function re(e,t){return(e%t+t)%t}function oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=re(t,12);return e+=(t-n)/12,1===n?Z(e)?29:28:31-n%7%2}function ae(e,t){return e?n(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Zr).test(t)?"format":"standalone"][e.month()]:n(this._months)?this._months:this._months.standalone}function se(e,t){return e?n(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Zr.test(t)?"format":"standalone"][e.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function le(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(r=Br.call(this._shortMonthsParse,a),r!==-1?r:null):(r=Br.call(this._longMonthsParse,a),r!==-1?r:null):"MMM"===t?(r=Br.call(this._shortMonthsParse,a),r!==-1?r:(r=Br.call(this._longMonthsParse,a),r!==-1?r:null)):(r=Br.call(this._longMonthsParse,a),r!==-1?r:(r=Br.call(this._shortMonthsParse,a),r!==-1?r:null))}function ue(e,t,n){var i,r,o;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ce(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=B(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,oe(e.year(),n)),void(e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i)),e}function de(t){return null!=t?(ce(this,t),e.updateOffset(this,!0),this):ee(this,"Month")}function fe(){return oe(this.year(),this.month())}function he(e){return this._monthsParseExact?(r(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Kr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pe(e){return this._monthsParseExact?(r(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Qr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,i,r,o=[],a=[],s=[];for(t=0;t<12;t++)n=d([2e3,t]),i=V(this.monthsShort(n,"")),r=V(this.months(n,"")),o.push(i),a.push(r),s.push(r),s.push(i);o.sort(e),a.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ge(e,t,n,i,r,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}function ve(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ye(e,t,n){var i=7+t-n,r=(7+ve(e,0,i).getUTCDay()-t)%7;return-r+i-1}function we(e,t,n,i,r){var o,a,s=(7+n-i)%7,l=ye(e,i,r),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=K(o)+u):u>K(e)?(o=e+1,a=u-K(e)):(o=e,a=u),{year:o,dayOfYear:a}}function be(e,t,n){var i,r,o=ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(r=e.year()-1,i=a+xe(r,t,n)):a>xe(e.year(),t,n)?(i=a-xe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function xe(e,t,n){var i=ye(e,t,n),r=ye(e+1,t,n);return(K(e)-i+r)/7}function Se(e){return be(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Te(){return this._week.doy}function ke(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ce(e){var t=be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ee(e,t){return e.slice(t,7).concat(e.slice(0,t))}function Ae(e,t){var i=n(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ee(i,this._week.dow):e?i[e.day()]:i}function Ne(e){return e===!0?Ee(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Oe(e){return e===!0?Ee(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Le(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(r=Br.call(this._weekdaysParse,a),r!==-1?r:null):"ddd"===t?(r=Br.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=Br.call(this._minWeekdaysParse,a),r!==-1?r:null):"dddd"===t?(r=Br.call(this._weekdaysParse,a),r!==-1?r:(r=Br.call(this._shortWeekdaysParse,a),r!==-1?r:(r=Br.call(this._minWeekdaysParse,a),r!==-1?r:null))):"ddd"===t?(r=Br.call(this._shortWeekdaysParse,a),r!==-1?r:(r=Br.call(this._weekdaysParse,a),r!==-1?r:(r=Br.call(this._minWeekdaysParse,a),r!==-1?r:null))):(r=Br.call(this._minWeekdaysParse,a),r!==-1?r:(r=Br.call(this._weekdaysParse,a),r!==-1?r:(r=Br.call(this._shortWeekdaysParse,a),r!==-1?r:null)))}function Ie(e,t,n){var i,r,o;
10if(this._weekdaysParseExact)return Le.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function Pe(e){if(!this.isValid())return null!=e?this:NaN;var t=ee(this,"Day");return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function Ye(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Fe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Re(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=io),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $e(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ro),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function He(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oo),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function je(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),i=V(this.weekdaysMin(n,"")),r=V(this.weekdaysShort(n,"")),o=V(this.weekdays(n,"")),a.push(i),s.push(r),l.push(o),u.push(i),u.push(r),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function We(){return this.hours()%12||12}function ze(){return this.hours()||24}function Ve(e,t){M(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Be(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ue(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Ge(e){return e?e.toLowerCase().replace("_","-"):e}function Ze(e){for(var t,n,i,r,o=0;o<e.length;){for(r=Ge(e[o]).split("-"),t=r.length,n=Ge(e[o+1]),n=n?n.split("-"):null;t>0;){if(i=Qe(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&Xe(r,n)>=t-1)break;t--}o++}return ao}function Ke(e){return!(!e||!e.match("^[^/\\\\]*$"))}function Qe(e){var t,n=null;if(void 0===co[e]&&"undefined"!=typeof module&&module&&module.exports&&Ke(e))try{n=ao._abbr,t=require,t("./locale/"+e),Je(n)}catch(i){co[e]=null}return co[e]}function Je(e,t){var n;return e&&(n=a(t)?nt(e):et(e,t),n?ao=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ao._abbr}function et(e,t){if(null!==t){var n,i=uo;if(t.abbr=e,null!=co[e])x("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=co[e]._config;else if(null!=t.parentLocale)if(null!=co[t.parentLocale])i=co[t.parentLocale]._config;else{if(n=Qe(t.parentLocale),null==n)return fo[t.parentLocale]||(fo[t.parentLocale]=[]),fo[t.parentLocale].push({name:e,config:t}),null;i=n._config}return co[e]=new k(T(i,t)),fo[e]&&fo[e].forEach(function(e){et(e.name,e.config)}),Je(e),co[e]}return delete co[e],null}function tt(e,t){if(null!=t){var n,i,r=uo;null!=co[e]&&null!=co[e].parentLocale?co[e].set(T(co[e]._config,t)):(i=Qe(e),null!=i&&(r=i._config),t=T(r,t),null==i&&(t.abbr=e),n=new k(t),n.parentLocale=co[e],co[e]=n),Je(e)}else null!=co[e]&&(null!=co[e].parentLocale?(co[e]=co[e].parentLocale,e===Je()&&Je(e)):null!=co[e]&&delete co[e]);return co[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ao;if(!n(e)){if(t=Qe(e))return t;e=[e]}return Ze(e)}function it(){return ir(co)}function rt(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[Rr]<0||n[Rr]>11?Rr:n[$r]<1||n[$r]>oe(n[Fr],n[Rr])?$r:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[jr]||0!==n[Wr]||0!==n[zr])?Hr:n[jr]<0||n[jr]>59?jr:n[Wr]<0||n[Wr]>59?Wr:n[zr]<0||n[zr]>999?zr:-1,h(e)._overflowDayOfYear&&(t<Fr||t>$r)&&(t=$r),h(e)._overflowWeeks&&t===-1&&(t=Vr),h(e)._overflowWeekday&&t===-1&&(t=qr),h(e).overflow=t),e}function ot(e){var t,n,i,r,o,a,s=e._i,l=ho.exec(s)||po.exec(s),u=go.length,c=vo.length;if(l){for(h(e).iso=!0,t=0,n=u;t<n;t++)if(go[t][1].exec(l[1])){r=go[t][0],i=go[t][2]!==!1;break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(vo[t][1].exec(l[3])){o=(l[2]||" ")+vo[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!mo.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),vt(e)}else e._isValid=!1}function at(e,t,n,i,r,o){var a=[st(e),Gr.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}function st(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function lt(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ut(e,t,n){if(e){var i=to.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(i!==r)return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ct(e,t,n){if(e)return bo[e];if(t)return 0;var i=parseInt(n,10),r=i%100,o=(i-r)/100;return 60*o+r}function dt(e){var t,n=wo.exec(lt(e._i));if(n){if(t=at(n[4],n[3],n[2],n[5],n[6],n[7]),!ut(n[1],t,e))return;e._a=t,e._tzm=ct(n[8],n[9],n[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function ft(t){var n=yo.exec(t._i);return null!==n?void(t._d=new Date((+n[1]))):(ot(t),void(t._isValid===!1&&(delete t._isValid,dt(t),t._isValid===!1&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))))}function ht(e,t,n){return null!=e?e:null!=t?t:n}function pt(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function mt(e){var t,n,i,r,o,a=[];if(!e._d){for(i=pt(e),e._w&&null==e._a[$r]&&null==e._a[Rr]&&gt(e),null!=e._dayOfYear&&(o=ht(e._a[Fr],i[Fr]),(e._dayOfYear>K(o)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=ve(o,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[$r]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[jr]&&0===e._a[Wr]&&0===e._a[zr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?ve:ge).apply(null,a),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}function gt(e){var t,n,i,r,o,a,s,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=ht(t.GG,e._a[Fr],be(kt(),1,4).year),i=ht(t.W,1),r
10=ht(t.E,1),(r<1||r>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=be(kt(),o,a),n=ht(t.gg,e._a[Fr],u.year),i=ht(t.w,u.week),null!=t.d?(r=t.d,(r<0||r>6)&&(l=!0)):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),i<1||i>xe(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=we(n,i,r,o,a),e._a[Fr]=s.year,e._dayOfYear=s.dayOfYear)}function vt(t){if(t._f===e.ISO_8601)return void ot(t);if(t._f===e.RFC_2822)return void dt(t);t._a=[],h(t).empty=!0;var n,i,r,o,a,s,l,u=""+t._i,c=u.length,d=0;for(r=O(t._f,t._locale).match(ar)||[],l=r.length,n=0;n<l;n++)o=r[n],i=(u.match(W(o,t))||[])[0],i&&(a=u.substr(0,u.indexOf(i)),a.length>0&&h(t).unusedInput.push(a),u=u.slice(u.indexOf(i)+i.length),d+=i.length),ur[o]?(i?h(t).empty=!1:h(t).unusedTokens.push(o),G(o,i,t)):t._strict&&!i&&h(t).unusedTokens.push(o);h(t).charsLeftOver=c-d,u.length>0&&h(t).unusedInput.push(u),t._a[Hr]<=12&&h(t).bigHour===!0&&t._a[Hr]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[Hr]=yt(t._locale,t._a[Hr],t._meridiem),s=h(t).era,null!==s&&(t._a[Fr]=t._locale.erasConvertYear(s,t._a[Fr])),mt(t),rt(t)}function yt(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function wt(e){var t,n,i,r,o,a,s=!1,l=e._f.length;if(0===l)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)o=0,a=!1,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],vt(t),p(t)&&(a=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a&&(s=!0));c(e,n||t)}function bt(e){if(!e._d){var t=$(e._i),n=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),mt(e)}}function xt(e){var t=new v(rt(St(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function St(e){var t=e._i,i=e._f;return e._locale=e._locale||nt(e._l),null===t||void 0===i&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new v(rt(t)):(l(t)?e._d=t:n(i)?wt(e):i?vt(e):_t(e),p(e)||(e._d=null),e))}function _t(t){var r=t._i;a(r)?t._d=new Date(e.now()):l(r)?t._d=new Date(r.valueOf()):"string"==typeof r?ft(t):n(r)?(t._a=u(r.slice(0),function(e){return parseInt(e,10)}),mt(t)):i(r)?bt(t):s(r)?t._d=new Date(r):e.createFromInputFallback(t)}function Tt(e,t,r,a,s){var l={};return t!==!0&&t!==!1||(a=t,t=void 0),r!==!0&&r!==!1||(a=r,r=void 0),(i(e)&&o(e)||n(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=r,l._i=e,l._f=t,l._strict=a,xt(l)}function kt(e,t,n,i){return Tt(e,t,n,i,!1)}function Ct(e,t){var i,r;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return kt();for(i=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](i)||(i=t[r]);return i}function Dt(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)}function Mt(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)}function Et(e){var t,n,i=!1,o=To.length;for(t in e)if(r(e,t)&&(Br.call(To,t)===-1||null!=e[t]&&isNaN(e[t])))return!1;
11for(n=0;n<o;++n)if(e[To[n]]){if(i)return!1;parseFloat(e[To[n]])!==B(e[To[n]])&&(i=!0)}return!0}function At(){return this._isValid}function Nt(){return Kt(NaN)}function Ot(e){var t=$(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=Et(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=nt(),this._bubble()}function Lt(e){return e instanceof Ot}function It(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Pt(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&B(e[i])!==B(t[i]))&&a++;return a+o}function Yt(e,t){M(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+D(~~(e/60),2)+t+D(~~e%60,2)})}function Ft(e,t){var n,i,r,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],i=(n+"").match(ko)||["-",0,0],r=+(60*i[1])+B(i[2]),0===r?0:"+"===i[0]?r:-r)}function Rt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(y(t)||l(t)?t.valueOf():kt(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):kt(t).local()}function $t(e){return-Math.round(e._d.getTimezoneOffset())}function Ht(t,n,i){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(t=Ft(Nr,t),null===t)return this}else Math.abs(t)<16&&!i&&(t=60*t);return!this._isUTC&&n&&(r=$t(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!n||this._changeInProgress?nn(this,Kt(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:$t(this)}function jt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Wt(e){return this.utcOffset(0,e)}function zt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($t(this),"m")),this}function Vt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ft(Ar,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function qt(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Bt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ut(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),t=St(t),t._a?(e=t._isUTC?d(t._a):kt(t._a),this._isDSTShifted=this.isValid()&&Pt(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Xt(){return!!this.isValid()&&!this._isUTC}function Gt(){return!!this.isValid()&&this._isUTC}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Kt(e,t){var n,i,o,a=e,l=null;return Lt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(l=Co.exec(e))?(n="-"===l[1]?-1:1,a={y:0,d:B(l[$r])*n,h:B(l[Hr])*n,m:B(l[jr])*n,s:B(l[Wr])*n,ms:B(It(1e3*l[zr]))*n}):(l=Do.exec(e))?(n="-"===l[1]?-1:1,a={y:Qt(l[2],n),M:Qt(l[3],n),w:Qt(l[4],n),d:Qt(l[5],n),h:Qt(l[6],n),m:Qt(l[7],n),s:Qt(l[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=en(kt(a.from),kt(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),i=new Ot(a),Lt(e)&&r(e,"_locale")&&(i._locale=e._locale),Lt(e)&&r(e,"_isValid")&&(i._isValid=e._isValid),i}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=Rt(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,i){var r,o;return null===i||isNaN(+i)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),r=Kt(n,i),nn(this,r,e),this}}
11function nn(t,n,i,r){var o=n._milliseconds,a=It(n._days),s=It(n._months);t.isValid()&&(r=null==r||r,s&&ce(t,ee(t,"Month")+s*i),a&&te(t,"Date",ee(t,"Date")+a*i),o&&t._d.setTime(t._d.valueOf()+o*i),r&&e.updateOffset(t,a||s))}function rn(e){return"string"==typeof e||e instanceof String}function on(e){return y(e)||l(e)||rn(e)||s(e)||sn(e)||an(e)||null===e||void 0===e}function an(e){var t,n,a=i(e)&&!o(e),s=!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"],u=l.length;for(t=0;t<u;t+=1)n=l[t],s=s||r(e,n);return a&&s}function sn(e){var t=n(e),i=!1;return t&&(i=0===e.filter(function(t){return!s(t)&&rn(e)}).length),t&&i}function ln(e){var t,n,a=i(e)&&!o(e),s=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)n=l[t],s=s||r(e,n);return a&&s}function un(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function cn(t,n){1===arguments.length&&(arguments[0]?on(arguments[0])?(t=arguments[0],n=void 0):ln(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var i=t||kt(),r=Rt(i,this).startOf("day"),o=e.calendarFormat(this,r)||"sameElse",a=n&&(S(n[o])?n[o].call(this,i):n[o]);return this.format(a||this.localeData().calendar(o,this,kt(i)))}function dn(){return new v(this)}function fn(e,t){var n=y(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function hn(e,t){var n=y(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function pn(e,t,n,i){var r=y(e)?e:kt(e),o=y(t)?t:kt(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function mn(e,t){var n,i=y(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&(t=R(t)||"millisecond","millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function gn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function vn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function yn(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(i=Rt(e,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=R(t)){case"year":o=wn(this,i)/12;break;case"month":o=wn(this,i);break;case"quarter":o=wn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:q(o)}function wn(e,t){if(e.date()<t.date())return-wn(t,e);var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(r,"months");return t-o<0?(n=e.clone().add(r-1,"months"),i=(t-o)/(o-n)):(n=e.clone().add(r+1,"months"),i=(t-o)/(n-o)),-(r+i)||0}function bn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xn(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Sn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=o+'[")]',this.format(e+t+n+i)}function _n(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=N(this,t);return this.localeData().postformat(n)}function Tn(e,t){return this.isValid()&&(y(e)&&e.isValid()||kt(e).isValid())?Kt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function kn(e){return this.from(kt(),e)}function Cn(e,t){return this.isValid()&&(y(e)&&e.isValid()||kt(e).isValid())?Kt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dn(e){return this.to(kt(),e)}function Mn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function En(){return this._locale}function An(e,t){return(e%t+t)%t}function Nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Io:new Date(e,t,n).valueOf()}function On(e,t,n){return e<100&&e>
vendor: 6,283 bytes, line 11
11=0?Date.UTC(e+400,t,n)-Io:Date.UTC(e,t,n)}function Ln(t){var n,i;if(t=R(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?On:Nn,t){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-=An(n+(this._isUTC?0:this.utcOffset()*Oo),Lo);break;case"minute":n=this._d.valueOf(),n-=An(n,Oo);break;case"second":n=this._d.valueOf(),n-=An(n,No)}return this._d.setTime(n),e.updateOffset(this,!0),this}function In(t){var n,i;if(t=R(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?On:Nn,t){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+=Lo-An(n+(this._isUTC?0:this.utcOffset()*Oo),Lo)-1;break;case"minute":n=this._d.valueOf(),n+=Oo-An(n,Oo)-1;break;case"second":n=this._d.valueOf(),n+=No-An(n,No)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function Pn(){return this._d.valueOf()-6e4*(this._offset||0)}function Yn(){return Math.floor(this.valueOf()/1e3)}function Fn(){return new Date(this.valueOf())}function Rn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function $n(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Hn(){return this.isValid()?this.toISOString():null}function jn(){return p(this)}function Wn(){return c({},h(this))}function zn(){return h(this).overflow}function Vn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function qn(t,n){var i,r,o,a=this._eras||nt("en")._eras;for(i=0,r=a.length;i<r;++i){switch(typeof a[i].since){case"string":o=e(a[i].since).startOf("day"),a[i].since=o.valueOf()}switch(typeof a[i].until){case"undefined":a[i].until=+(1/0);break;case"string":o=e(a[i].until).startOf("day").valueOf(),a[i].until=o.valueOf()}}return a}function Bn(e,t,n){var i,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([o,a,s].indexOf(e)>=0)return l[i]}function Un(t,n){var i=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*i}function Xn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Gn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Zn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Kn(){var t,n,i,r,o=this.localeData().eras();for(t=0,n=o.length;t<n;++t)if(i=o[t].since<=o[t].until?1:-1,r=this.clone().startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-e(o[t].since).year())*i+o[t].offset;return this.year()}function Qn(e){return r(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex}function Jn(e){return r(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex}function ei(e){return r(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex}function ti(e,t){return t.erasAbbrRegex(e)}function ni(e,t){return t.erasNameRegex(e)}function ii(e,t){return t.erasNarrowRegex(e)}function ri(e,t){return t._eraYearOrdinalRegex||Mr}function oi(){var e,t,n,i,r,o=[],a=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)n=V(u[e].name),i=V(u[e].abbr),r=V(u[e].narrow),a.push(n),o.push(i),s.push(r),l.push(n),l.push(i),l.push(r);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function ai(e,t){M(0,[e,e.length],0,t)}function si(e){return hi.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function li(e){return hi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ui(){return xe(this.year(),1,4)}function ci(){return xe(this.isoWeekYear(),1,4)}function di(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function fi(){var e=this.localeData()._week;return xe(this.weekYear(),e.dow,e.doy)}function hi(e,t,n,i,r){var o;return null==e?be(this,i,r).year:(o=xe(e,i,r),t>o&&(t=o),pi.call(this,e,t,n,i,r))}function pi(e,t,n,i,r){var o=we(e,t,n,i,r),a=ve(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function mi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function gi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vi(e,t){t[zr]=B(1e3*("0."+e))}function yi(){return this._isUTC?"UTC":""}function wi(){return this._isUTC?"Coordinated Universal Time":""}function bi(e){return kt(1e3*e)}function xi(){return kt.apply(null,arguments).parseZone()}function Si(e){return e}function _i(e,t,n,i){var r=nt(),o=d().set(i,t);return r[n](o,e)}
11function Ti(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return _i(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_i(e,i,n,"month");return r}function ki(e,t,n,i){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var r,o=nt(),a=e?o._week.dow:0,l=[];if(null!=n)return _i(t,(n+a)%7,i,"day");for(r=0;r<7;r++)l[r]=_i(t,(r+a)%7,i,"day");return l}function Ci(e,t){return Ti(e,t,"months")}function Di(e,t){return Ti(e,t,"monthsShort")}function Mi(e,t,n){return ki(e,t,n,"weekdays")}function Ei(e,t,n){return ki(e,t,n,"weekdaysShort")}function Ai(e,t,n){return ki(e,t,n,"weekdaysMin")}function Ni(){var e=this._data;return this._milliseconds=Wo(this._milliseconds),this._days=Wo(this._days),this._months=Wo(this._months),e.milliseconds=Wo(e.milliseconds),e.seconds=Wo(e.seconds),e.minutes=Wo(e.minutes),e.hours=Wo(e.hours),e.months=Wo(e.months),e.years=Wo(e.years),this}function Oi(e,t,n,i){var r=Kt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Li(e,t){return Oi(this,e,t,1)}function Ii(e,t){return Oi(this,e,t,-1)}function Pi(e){return e<0?Math.floor(e):Math.ceil(e)}function Yi(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Pi(Ri(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=q(o/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,a+=q(n/24),r=q(Fi(a)),s+=r,a-=Pi(Ri(r)),i=q(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function Fi(e){return 4800*e/146097}function Ri(e){return 146097*e/4800}function $i(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if(e=R(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Fi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ri(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Hi(e){return function(){return this.as(e)}}function ji(){return Kt(this)}function Wi(e){return e=R(e),this.isValid()?this[e+"s"]():NaN}function zi(e){return function(){return this.isValid()?this._data[e]:NaN}}function Vi(){return q(this.days()/7)}function qi(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Bi(e,t,n,i){var r=Kt(e).abs(),o=aa(r.as("s")),a=aa(r.as("m")),s=aa(r.as("h")),l=aa(r.as("d")),u=aa(r.as("M")),c=aa(r.as("w")),d=aa(r.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||c<=1&&["w"]||c<n.w&&["ww",c]),f=f||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d],f[2]=t,f[3]=+e>0,f[4]=i,qi.apply(null,f)}function Ui(e){return void 0===e?aa:"function"==typeof e&&(aa=e,!0)}function Xi(e,t){return void 0!==sa[e]&&(void 0===t?sa[e]:(sa[e]=t,"s"===e&&(sa.ss=t-1),!0))}function Gi(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=sa;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},sa,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),i=Bi(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}function Zi(e){return(e>0)-(e<0)||+e}function Ki(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,s,l=la(this._milliseconds)/1e3,u=la(this._days),c=la(this._months),d=this.asSeconds();return d?(e=q(l/60),t=q(e/60),l%=60,e%=60,n=q(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=Zi(this._months)!==Zi(d)?"-":"",a=Zi(this._days)!==Zi(d)?"-":"",s=Zi(this._milliseconds)!==Zi(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var Qi,Ji;Ji=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var er=e.momentProperties=[],tr=!1,nr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var ir;ir=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)r(e,t)&&n.push(t);return n};var rr,or={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},ar=/(\[[^\[]*\])|(\\)?([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}
11|x|X|zz?|ZZ?|.)/g,sr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,lr={},ur={},cr={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"},dr="Invalid date",fr="%d",hr=/\d{1,2}/,pr={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"},mr={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"},gr={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},vr=/\d/,yr=/\d\d/,wr=/\d{3}/,br=/\d{4}/,xr=/[+-]?\d{6}/,Sr=/\d\d?/,_r=/\d\d\d\d?/,Tr=/\d\d\d\d\d\d?/,kr=/\d{1,3}/,Cr=/\d{1,4}/,Dr=/[+-]?\d{1,6}/,Mr=/\d+/,Er=/[+-]?\d+/,Ar=/Z|[+-]\d\d:?\d\d/gi,Nr=/Z|[+-]\d\d(?::?\d\d)?/gi,Or=/[+-]?\d+(\.\d{1,3})?/,Lr=/[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,Ir=/^[1-9]\d?/,Pr=/^([1-9]\d|\d)/;rr={};var Yr={},Fr=0,Rr=1,$r=2,Hr=3,jr=4,Wr=5,zr=6,Vr=7,qr=8;M("Y",0,0,function(){var e=this.year();return e<=9999?D(e,4):"+"+e}),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"),j("Y",Er),j("YY",Sr,yr),j("YYYY",Cr,br),j("YYYYY",Dr,xr),j("YYYYYY",Dr,xr),U(["YYYYY","YYYYYY"],Fr),U("YYYY",function(t,n){n[Fr]=2===t.length?e.parseTwoDigitYear(t):B(t)}),U("YY",function(t,n){n[Fr]=e.parseTwoDigitYear(t)}),U("Y",function(e,t){t[Fr]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return B(e)+(B(e)>68?1900:2e3)};var Br,Ur=J("FullYear",!0);Br=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},M("M",["MM",2],"Mo",function(){return this.month()+1}),M("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),M("MMMM",0,0,function(e){return this.localeData().months(this,e)}),j("M",Sr,Ir),j("MM",Sr,yr),j("MMM",function(e,t){return t.monthsShortRegex(e)}),j("MMMM",function(e,t){return t.monthsRegex(e)}),U(["M","MM"],function(e,t){t[Rr]=B(e)-1}),U(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Rr]=r:h(n).invalidMonth=e});var Xr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Gr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Zr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kr=Lr,Qr=Lr;M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),j("w",Sr,Ir),j("ww",Sr,yr),j("W",Sr,Ir),j("WW",Sr,yr),X(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=B(e)});var Jr={dow:0,doy:6};M("d",0,"do","day"),M("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),M("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),M("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),j("d",Sr),j("e",Sr),j("E",Sr),j("dd",function(e,t){return t.weekdaysMinRegex(e)}),j("ddd",function(e,t){return t.weekdaysShortRegex(e)}),j("dddd",function(e,t){return t.weekdaysRegex(e)}),X(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:h(n).invalidWeekday=e}),X(["d","e","E"],function(e,t,n,i){t[i]=B(e)});var eo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),to="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),no="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),io=Lr,ro=Lr,oo=Lr;M("H",["HH",2],0,"hour"),M("h",["hh",2],0,We),M("k",["kk",2],0,ze),M("hmm",0,0,function(){return""+We.a
11pply(this)+D(this.minutes(),2)}),M("hmmss",0,0,function(){return""+We.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)}),M("Hmm",0,0,function(){return""+this.hours()+D(this.minutes(),2)}),M("Hmmss",0,0,function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),j("a",qe),j("A",qe),j("H",Sr,Pr),j("h",Sr,Ir),j("k",Sr,Ir),j("HH",Sr,yr),j("hh",Sr,yr),j("kk",Sr,yr),j("hmm",_r),j("hmmss",Tr),j("Hmm",_r),j("Hmmss",Tr),U(["H","HH"],Hr),U(["k","kk"],function(e,t,n){var i=B(e);t[Hr]=24===i?0:i}),U(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),U(["h","hh"],function(e,t,n){t[Hr]=B(e),h(n).bigHour=!0}),U("hmm",function(e,t,n){var i=e.length-2;t[Hr]=B(e.substr(0,i)),t[jr]=B(e.substr(i)),h(n).bigHour=!0}),U("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Hr]=B(e.substr(0,i)),t[jr]=B(e.substr(i,2)),t[Wr]=B(e.substr(r)),h(n).bigHour=!0}),U("Hmm",function(e,t,n){var i=e.length-2;t[Hr]=B(e.substr(0,i)),t[jr]=B(e.substr(i))}),U("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Hr]=B(e.substr(0,i)),t[jr]=B(e.substr(i,2)),t[Wr]=B(e.substr(r))});var ao,so=/[ap]\.?m?\.?/i,lo=J("Hours",!0),uo={calendar:or,longDateFormat:cr,invalidDate:dr,ordinal:fr,dayOfMonthOrdinalParse:hr,relativeTime:pr,months:Xr,monthsShort:Gr,week:Jr,weekdays:eo,weekdaysMin:no,weekdaysShort:to,meridiemParse:so},co={},fo={},ho=/^\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)?)?$/,po=/^\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)?)?$/,mo=/Z|[+-]\d\d(?::?\d\d)?/,go=[["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]],vo=[["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/]],yo=/^\/?Date\((-?\d+)/i,wo=/^(?:(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}))$/,bo={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=b("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var xo=b("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),So=b("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),_o=function(){return Date.now?Date.now():+new Date},To=["year","quarter","month","week","day","hour","minute","second","millisecond"];Yt("Z",":"),Yt("ZZ",""),j("Z",Nr),j("ZZ",Nr),U(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ft(Nr,e)});var ko=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Co=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Do=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Kt.fn=Ot.prototype,Kt.invalid=Nt;var Mo=tn(1,"add"),Eo=tn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ao=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),No=1e3,Oo=60*No,Lo=60*Oo,Io=3506328*Lo;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"),j("N",ti),j("NN",ti),j("NNN",ti),j("NNNN",ni),j("NNNNN",ii),U(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?h(n).era=r:h(n).invalidEra=e}),j("y",Mr),j("yy",Mr),j("yyy",Mr),j("yyyy",Mr),j("yo",ri),U(["y","yy","yyy","yyyy"],Fr),U(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Fr]=n._locale.eraYearOrdinalParse(e,r):t[Fr]=parseInt(e,10)}),M(0,["gg",2],0,function(){return this.weekYear()%100}),M(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ai("gggg","weekYear"),ai("ggggg","weekYear"),ai("GGGG","isoWeekYear"),ai("GGGGG","isoWeekYear"),j("G",Er),j("g",Er),j("GG",Sr,yr),j("gg",Sr,yr),j("GGGG",Cr,br),j("gggg",Cr,br),j("GGGGG",Dr,xr),j("ggggg",Dr,xr),X(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=B(e)}),X(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),M("Q",0,"Qo","quarter"),j("Q",vr),U("Q",function(e,t){t[Rr]=3*(B(e)-1)}),M("D",["DD",2],"Do","date"),j("D",Sr,Ir),j("DD",Sr,yr),j("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),U(["D","DD"],$r),U("Do",function(e,t){t[$r]=B(e.match(Sr)[0])});var Po=J("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),j("DDD",kr),j("DDDD",wr),U(["DDD","DDDD"],function(e,t,n){n._dayOfYear=B(e)}),M("m",["mm",2],0,"minute"),j("m",Sr,Pr),j("mm",Sr,yr),U(["m","mm"],jr);var Yo=J("Minutes",!1);M("s",["ss",2],0,"second"),j("s",Sr,Pr),j("ss",Sr,yr),U(["s","ss"],Wr);var Fo=J("Seconds",!1);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()}),j("S",kr,vr),j("SS",kr,yr),j("SSS",kr,wr);var Ro,$o;for(Ro="SSSS";Ro.length<=9;Ro+="S")j(Ro,Mr);for(Ro="S";Ro.length<=9;Ro+="S")U(Ro,vi);$o=J("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var Ho=v.prototype;Ho.add=Mo,Ho.calendar=cn,Ho.clone=dn,Ho.diff=yn,Ho.endOf=In,Ho.format=_n,Ho.from=Tn,Ho.fromNow=kn,Ho.to=Cn,Ho.toNow=Dn,Ho.get=ne,Ho.invalidAt=zn,Ho.isAfter=fn,Ho.isBefore=hn,Ho.isBetween=pn,Ho.isSame=mn,Ho.isSameOrAfter=gn,Ho.isSameOrBefore=vn,Ho.isValid=jn,Ho.lang=Ao,Ho.locale=Mn,Ho.localeData=En,Ho.max=So,Ho.min=xo,Ho.parsingFlags=Wn,Ho.set=ie,Ho.startOf=Ln,Ho.subtract=Eo,Ho.toArray=Rn,Ho.toObject=$n,Ho.toDate=Fn,Ho.toISOString=xn,Ho.inspect=Sn,"undefined"!=typeof Symbol&&null!=Symbol["for"]&&(Ho[Symbol["for"]("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ho.toJSON=Hn,Ho.toString=bn,Ho.unix=Yn,Ho.valueOf=Pn,Ho.creationData=Vn,Ho.eraName=Xn,Ho.eraNarrow=Gn,Ho.eraAbbr=Zn,Ho.eraYear=Kn,Ho.year=Ur,Ho.isLeapYear=Q,Ho.weekYear=si,Ho.isoWeekYear=li,Ho.quarter=Ho.quarters=mi,Ho.month=de,Ho.daysInMonth=fe,Ho.week=Ho.weeks=ke,Ho.isoWeek=Ho.isoWeeks=Ce,
12Ho.weeksInYear=di,Ho.weeksInWeekYear=fi,Ho.isoWeeksInYear=ui,Ho.isoWeeksInISOWeekYear=ci,Ho.date=Po,Ho.day=Ho.days=Pe,Ho.weekday=Ye,Ho.isoWeekday=Fe,Ho.dayOfYear=gi,Ho.hour=Ho.hours=lo,Ho.minute=Ho.minutes=Yo,Ho.second=Ho.seconds=Fo,Ho.millisecond=Ho.milliseconds=$o,Ho.utcOffset=Ht,Ho.utc=Wt,Ho.local=zt,Ho.parseZone=Vt,Ho.hasAlignedHourOffset=qt,Ho.isDST=Bt,Ho.isLocal=Xt,Ho.isUtcOffset=Gt,Ho.isUtc=Zt,Ho.isUTC=Zt,Ho.zoneAbbr=yi,Ho.zoneName=wi,Ho.dates=b("dates accessor is deprecated. Use date instead.",Po),Ho.months=b("months accessor is deprecated. Use month instead",de),Ho.years=b("years accessor is deprecated. Use year instead",Ur),Ho.zone=b("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",jt),Ho.isDSTShifted=b("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ut);var jo=k.prototype;jo.calendar=C,jo.longDateFormat=L,jo.invalidDate=I,jo.ordinal=P,jo.preparse=Si,jo.postformat=Si,jo.relativeTime=Y,jo.pastFuture=F,jo.set=_,jo.eras=qn,jo.erasParse=Bn,jo.erasConvertYear=Un,jo.erasAbbrRegex=Jn,jo.erasNameRegex=Qn,jo.erasNarrowRegex=ei,jo.months=ae,jo.monthsShort=se,jo.monthsParse=ue,jo.monthsRegex=pe,jo.monthsShortRegex=he,jo.week=Se,jo.firstDayOfYear=Te,jo.firstDayOfWeek=_e,jo.weekdays=Ae,jo.weekdaysMin=Oe,jo.weekdaysShort=Ne,jo.weekdaysParse=Ie,jo.weekdaysRegex=Re,jo.weekdaysShortRegex=$e,jo.weekdaysMinRegex=He,jo.isPM=Be,jo.meridiem=Ue,Je("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(e){var t=e%10,n=1===B(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=b("moment.lang is deprecated. Use moment.locale instead.",Je),e.langData=b("moment.langData is deprecated. Use moment.localeData instead.",nt);var Wo=Math.abs,zo=Hi("ms"),Vo=Hi("s"),qo=Hi("m"),Bo=Hi("h"),Uo=Hi("d"),Xo=Hi("w"),Go=Hi("M"),Zo=Hi("Q"),Ko=Hi("y"),Qo=zo,Jo=zi("milliseconds"),ea=zi("seconds"),ta=zi("minutes"),na=zi("hours"),ia=zi("days"),ra=zi("months"),oa=zi("years"),aa=Math.round,sa={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},la=Math.abs,ua=Ot.prototype;return ua.isValid=At,ua.abs=Ni,ua.add=Li,ua.subtract=Ii,ua.as=$i,ua.asMilliseconds=zo,ua.asSeconds=Vo,ua.asMinutes=qo,ua.asHours=Bo,ua.asDays=Uo,ua.asWeeks=Xo,ua.asMonths=Go,ua.asQuarters=Zo,ua.asYears=Ko,ua.valueOf=Qo,ua._bubble=Yi,ua.clone=ji,ua.get=Wi,ua.milliseconds=Jo,ua.seconds=ea,ua.minutes=ta,ua.hours=na,ua.days=ia,ua.weeks=Vi,ua.months=ra,ua.years=oa,ua.humanize=Gi,ua.toISOString=Ki,ua.toString=Ki,ua.toJSON=Ki,ua.locale=Mn,ua.localeData=En,ua.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ki),ua.lang=Ao,M("X",0,0,"unix"),M("x",0,0,"valueOf"),j("x",Er),j("X",Or),U("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),U("x",function(e,t,n){n._d=new Date(B(e))}),e.version="2.30.1",t(kt),e.fn=Ho,e.min=Dt,e.max=Mt,e.now=_o,e.utc=d,e.unix=bi,e.months=Ci,e.isDate=l,e.locale=Je,e.invali
12d=m,e.duration=Kt,e.isMoment=y,e.weekdays=Mi,e.parseZone=xi,e.localeData=nt,e.isDuration=Lt,e.monthsShort=Di,e.weekdaysMin=Ai,e.defineLocale=et,e.updateLocale=tt,e.locales=it,e.weekdaysShort=Ei,e.normalizeUnits=R,e.relativeTimeRounding=Ui,e.relativeTimeThreshold=Xi,e.calendarFormat=un,e.prototype=Ho,e.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"},e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_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:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?t(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],t):t(e.moment)}(this,function(e){"use strict";function t(e){return e>1&&e<5&&1!==~~(e/10)}function n(e,n,i,r){var o=e+" ";switch(i){case"s":return n||r?"pár sekund":"pár sekundami";case"ss":return n||r?o+(t(e)?"sekundy":"sekund"):o+"sekundami";case"m":return n?"minuta":r?"minutu":"minutou";case"mm":return n||r?o+(t(e)?"minuty":"minut"):o+"minutami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?o+(t(e)?"hodiny":"hodin"):o+"hodinami";case"d":return n||r?"den":"dnem";case"dd":return n||r?o+(t(e)?"dny":"dní"):o+"dny";case"M":return n||r?"měsíc":"měsícem";case"MM":return n||r?o+(t(e)?"měsíce":"měsíců"):o+"měsíci";case"y":return n||r?"rok":"rokem";case"yy":return n||r?o+(t(e)?"roky":"let"):o+"lety"}}var i={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),o=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,s=e.defineLocale("cs",{months:i,monthsShort:r,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}),function(e,t){"use strict";var n;
12if("object"==typeof exports){try{n=require("moment")}catch(i){}module.exports=t(n)}else"function"==typeof define&&define.amd?define(function(e){var i="moment";try{n=e(i)}catch(r){}return t(n)}):e.Pikaday=t(e.moment)}(this,function(e){"use strict";var t="function"==typeof e,n=!!window.addEventListener,i=window.document,r=window.setTimeout,o=function(e,t,i,r){n?e.addEventListener(t,i,!!r):e.attachEvent("on"+t,i)},a=function(e,t,i,r){n?e.removeEventListener(t,i,!!r):e.detachEvent("on"+t,i)},s=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},l=function(e,t){return(" "+e.className+" ").indexOf(" "+t+" ")!==-1},u=function(e,t){l(e,t)||(e.className=""===e.className?t:e.className+" "+t)},c=function(e,t){e.className=s((" "+e.className+" ").replace(" "+t+" "," "))},d=function(e){return/Array/.test(Object.prototype.toString.call(e))},f=function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())},h=function(e){var t=e.getDay();return 0===t||6===t},p=function(e){return e%4===0&&e%100!==0||e%400===0},m=function(e,t){return[31,p(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]},g=function(e){f(e)&&e.setHours(0,0,0,0)},v=function(e,t){return e.getTime()===t.getTime()},y=function(e,t,n){var i,r;for(i in t)r=void 0!==e[i],r&&"object"==typeof t[i]&&null!==t[i]&&void 0===t[i].nodeName?f(t[i])?n&&(e[i]=new Date(t[i].getTime())):d(t[i])?n&&(e[i]=t[i].slice(0)):e[i]=y({},t[i],n):!n&&r||(e[i]=t[i]);return e},w=function(e,t,n){var r;i.createEvent?(r=i.createEvent("HTMLEvents"),r.initEvent(t,!0,!1),r=y(r,n),e.dispatchEvent(r)):i.createEventObject&&(r=i.createEventObject(),r=y(r,n),e.fireEvent("on"+t,r))},b=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e},x={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!1,firstDay:0,firstWeekOfYearMinDays:4,formatStrict:!1,minDate:null,maxDate:null,yearRange:10,showWeekNumber:!1,pickWholeWeek:!1,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,yearSuffix:"",showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,enableSelectionDaysInNextAndPreviousMonths:!1,numberOfMonths:1,mainCalendar:"left",container:void 0,blurFieldOnSelect:!0,i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},theme:null,events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null,keyboardInput:!0},S=function(e,t,n){for(t+=e.firstDay;t>=7;)t-=7;return n?e.i18n.weekdaysShort[t]:e.i18n.weekdays[t]},_=function(e){var t=[],n="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+n+'"><button class="pika-button pika-day" type="button" data-pika-year="'+e.year+'" data-pika-month="'+e.month+'" data-pika-day="'+e.day+'">'+e.day+"</button></td>"},T=function(e,t){e.setHours(0,0,0,0);var n=e.getDate(),i=e.getDay(),r=t,o=r-1,a=7,s=function(e){return(e+a-1)%a};e.setDate(n+o-s(i));var l=new Date(e.getFullYear(),0,r),u=864e5,c=(e.getTime()-l.getTime())/u,d=1+Math.round((c-o+s(l.getDay()))/a);return d},k=function(n,i,r,o){var a=new Date(r,i,n),s=t?e(a).isoWeek():T(a,o);return'<td class="pika-week">'+s+"</td>"},C=function(e,t,n,i){return'<tr class="pika-row'+(n?" pick-whole-week":"")+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"},D=function(e){return"<tbody>"+e.join("")+"</tbody>"},M=function(e){var t,n=[];for(e.showWeekNumber&&n.push("<th></th>"),t=0;t<7;t++)n.push('<th scope="col"><abbr title="'+S(e,t)+'">'+S(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?n.reverse():n).join("")+"</tr></thead>"},E=function(e,t,n,i,r,o){var a,s,l,u,c,f=e._o,h=n===f.minYear,p=n===f.maxYear,m='<div id="'+o+'" class="pika-title" role="heading" aria-live="assertive">',g=!0,v=!0;for(l=[],a=0;a<12;a++)l.push('<option value="'+(n===r?a-t:12+a-t)+'"'+(a===i?' selected="selected"':"")+(h&&a<f.minMonth||p&&a>f.maxMonth?' disabled="disabled"':"")+">"+f.i18n.months[a]+"</option>");for(u='<div class="pika-label">'+f.i18n.months[i]+'<select class="pika-select pika-select-month" tabindex="-1">'+l.join("")+"</select></div>",d(f.yearRange)?(a=f.yearRange[0],s=f.yearRange[1]+1):(a=n-f.yearRange,s=1+n+f.yearRange),l=[];a<s&&a<=f.maxYear;a++)a>=f.minYear&&l.push('<option value="'+a+'"'+(a===n?' selected="selected"':"")+">"+a+"</option>");return c='<div class="pika-label">'+n+f.yearSuffix+'<select class="pika-select pika-select-year" tabindex="-1">'+l.join("")+"</select></div>",m+=f.showMonthAfterYear?c+u:u+c,h&&(0===i||f.minMonth>=i)&&(g=!1),p&&(11===i||f.maxMonth<=i)&&(v=!1),0===t&&(m+='<button class="pika-prev'+(g?"":" is-disabled")+'" type="button">'+f.i18n.previousMonth+"</button>"),t===e._o.numberOfMonths-1&&(m+='<button class="pika-next'+(v?"":" is-disabled")+'" type="button">'+f.i18n.nextMonth+"</button>"),m+="</div>"},A=function(e,t,n){return'<table cellpadding="0" cellspacing="0" class="pika-table" role="grid" aria-labelledby="'+n+'">'+M(e)+D(t)+"</table>"},N=function(a){var s=this,u=s.config(a);s._onMouseDown=function(e){if(s._v){e=e||window.event;var t=e.target||e.srcElement;if(t)if(l(t,"is-disabled")||(!l(t,"pika-button")||l(t,"is-empty")||l(t.parentNode,"is-disabled")?l(t,"pika-prev")?s.prevMonth():l(t,"pika-next")&&s.nextMonth():(s.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),u.bound&&r(function(){s.hide(),u.blurFieldOnSelect&&u.field&&u.field.blur()},100))),l(t,"pika-select"))s._c=!0;else{if(!e.preventDefault)return e.returnValue=!1,!1;e.preventDefault()}}},s._onChange=function(e){e=e||window.event;var t=e.target||e.srcElement;t&&(l(t,"pika-select-month")?s.gotoMonth(t.value):l(t,"pika-select-year")&&s.gotoYear(t.value))},s._onKeyChange=function(e){if(e=e||window.event,s.isVisible())switch(e.keyCode){case 13:case 27:u.field&&u.field.blur();break;case 37:s.adjustDate("subtract",1);break;case 38:s.adjustDate("subtract",7);break;case 39:s.adjustDate("add",1);break;case 40:s.adjustDate("add",7);break;case 8:case 46:s.setDate(null)}},s._parseFieldValue=function(){if(u.parse)return u.parse(u.field.value,u.format);if(t){var n=e(u.field.value,u.format,u.formatStrict);return n&&n.isValid()?n.toDate():null}return new Date(Date.parse(u.field.value))},s._onInputChange=function(e){var t;e.firedBy!==s&&(t=s._parseFieldValue(),f(t)&&s.setDate(t),s._v||s.show())},s._onInputFocus=function(){s.show()},s._onInputClick=function(){s.show()},s._onInputBlur=function(){var e=i.activeElement;do if(l(e,"pika-single"))return;while(e=e.parentNode);s._c||(s._b=r(function(){s.hide()},50)),s._c=!1},s._onClick=function(e){e=e||window.event;var t=e.target||e.srcElement,i=t;if(t){!n&&l(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),o(t,"change",s._onChange)));do if(l(i,"pika-single")||i===u.trigger)return;while(i=i.parentNode);s._v&&t!==u.trigger&&i!==u.trigger&&s.hide()}},s.el=i.createElement("div"),s.el.className="pika-single"+(u.isRTL?" is-rtl":"")+(u.theme?" "+u.theme:""),o(s.el,"mousedown",s._onMouseDown,!0),o(s.el,"touchend",s._onMouseDown,!0),o(s.el,"change",s._onChange),u.keyboardInput&&o(i,"keydown",s._onKeyChange),u.field&&(u.container?u.container.appendChild(s.el):u.bound?i.body.appendChild(s.el):u.field.parentNode.insertBefore(s.el,u.field.nextSibling),o(u.field,"change",s._onInputChange),u.defaultDate||(u.defaultDate=s._parseFieldValue(),u.setDefaultDate=!0));var c=u.defaultDate;f(c)?u.setDefaultDate?s.setDate(c,!0):s.gotoDate(c):s.gotoDate(new Date),u.bound?(this.hide(),s.el.className+=" is-bound",o(u.trigger,"click",s._onInputClick),o(u.trigger,"focus",s._onInputFocus),o(u.trigger,"blur",s._onInputBlur)):this.show()};return N.prototype={config:function(e){this._o||(this._o=y({},x,!0));var t=y(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=n>4?4:n,f(t.minDate)||(t.minDate=!1),f(t.maxDate)||(t.maxDate=!1),t.minDate&&t.maxDate&&t.maxDate<t.minDate&&(t.maxDate=t.minDate=!1),t.minDate&&this.setMinDate(t.minDate),t.maxDate&&this.setMaxDate(t.maxDate),d(t.yearRange)){var i=(new Date).getFullYear()-10;t.yearRange[0]=parseInt(t.yearRange[0],10)||i,t.yearRange[1]=parseInt(t.yearRange[1],10)||i}else t.yearRange=Math.abs(parseInt(t.yearRange,10))||x.yearRange,t.yearRange>100&&(t.yearRange=100);return t},toString:function(n){return n=n||this._o.format,f(this._d)?this._o.toString?this._o.toString(this._d,n):t?e(this._d).format(n):this._d.toDateString():""},getMoment:function(){return t?e(this._d):null},setMoment:function(n,i){t&&e.isMoment(n)&&this.setDate(n.toDate(),i)},getDate:function(){return f(this._d)?new Date(this._d.getTime()):null},setDate:function(e,t){if(!e)return this._d=null,this._o.field&&(this._o.field.value="",w(this._o.field,"change",{firedBy:this})),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),f(e)){var n=this._o.minDate,i=this._o.maxDate;f(n)&&e<n?e=n:f(i)&&e>i&&(e=i),this._d=new Date(e.getTime()),g(this._d),this.gotoDate(this._d),this._o.field&&(this._o.field.value=this.toString(),w(this._o.field,"change",{firedBy:this})),t||"function"!=typeof this._o.onSelect||this._o.onSelect.call(this,this.getDate())}},clear:function(){this.setDate(null)},gotoDate:function(e){var t=!0;if(f(e)){if(this.calendars){var n=new Date(this.calendars[0].year,this.calendars[0].month,1),i=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),r=e.getTime();i.setMonth(i.getMonth()+1),i.setDate(i.getDate()-1),t=r<n.getTime()||i.getTime()<r}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}],"right"===this._o.mainCalendar&&(this.calendars[0].month+=1-this._o.numberOfMonths)),this.adjustCalendars()}},adjustDate:function(e,t){var n,i=this.getDate()||new Date,r=24*parseInt(t)*60*60*1e3;"add"===e?n=new Date(i.valueOf()+r):"subtract"===e&&(n=new Date(i.valueOf()-r)),this.setDate(n)},adjustCalendars:function(){this.calendars[0]=b(this.calendars[0]);for(var e=1;e<this._o.numberOfMonths;e++)this.calendars[e]=b({month:this.calendars[0].month+e,year:this.calendars[0].year});this.draw()},gotoToday:function(){this.gotoDate(new Date)},gotoMonth:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())},nextMonth:function(){this.calendars[0].month++,this.adjustCalendars()},prevMonth:function(){this.calendars[0].month--,this.adjustCalendars()},gotoYear:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())},setMinDate:function(e){e instanceof Date?(g(e),this._o.minDate=e,this._o.minYear=e.getFullYear(),this._o.minMonth=e.getMonth()):(this._o.minDate=x.minDate,this._o.minYear=x.minYear,this._o.minMonth=x.minMonth,this._o.startRange=x.startRange),this.draw()}
12,setMaxDate:function(e){e instanceof Date?(g(e),this._o.maxDate=e,this._o.maxYear=e.getFullYear(),this._o.maxMonth=e.getMonth()):(this._o.maxDate=x.maxDate,this._o.maxYear=x.maxYear,this._o.maxMonth=x.maxMonth,this._o.endRange=x.endRange),this.draw()},setStartRange:function(e){this._o.startRange=e},setEndRange:function(e){this._o.endRange=e},draw:function(e){if(this._v||e){var t,n=this._o,i=n.minYear,o=n.maxYear,a=n.minMonth,s=n.maxMonth,l="";this._y<=i&&(this._y=i,!isNaN(a)&&this._m<a&&(this._m=a)),this._y>=o&&(this._y=o,!isNaN(s)&&this._m>s&&(this._m=s));for(var u=0;u<n.numberOfMonths;u++)t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2),l+='<div class="pika-lendar">'+E(this,u,this.calendars[u].year,this.calendars[u].month,this.calendars[0].year,t)+this.render(this.calendars[u].year,this.calendars[u].month,t)+"</div>";this.el.innerHTML=l,n.bound&&"hidden"!==n.field.type&&r(function(){n.trigger.focus()},1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,r,o,a,s,l,d,f,h,p;if(!this._o.container){if(this.el.style.position="absolute",e=this._o.trigger,t=e,n=this.el.offsetWidth,r=this.el.offsetHeight,o=window.innerWidth||i.documentElement.clientWidth,a=window.innerHeight||i.documentElement.clientHeight,s=window.pageYOffset||i.body.scrollTop||i.documentElement.scrollTop,h=!0,p=!0,"function"==typeof e.getBoundingClientRect)f=e.getBoundingClientRect(),l=f.left+window.pageXOffset,d=f.bottom+window.pageYOffset;else for(l=t.offsetLeft,d=t.offsetTop+t.offsetHeight;t=t.offsetParent;)l+=t.offsetLeft,d+=t.offsetTop;(this._o.reposition&&l+n>o||this._o.position.indexOf("right")>-1&&l-n+e.offsetWidth>0)&&(l=l-n+e.offsetWidth,h=!1),(this._o.reposition&&d+r>a+s||this._o.position.indexOf("top")>-1&&d-r-e.offsetHeight>0)&&(d=d-r-e.offsetHeight,p=!1),this.el.style.left=l+"px",this.el.style.top=d+"px",u(this.el,h?"left-aligned":"right-aligned"),u(this.el,p?"bottom-aligned":"top-aligned"),c(this.el,h?"right-aligned":"left-aligned"),c(this.el,p?"top-aligned":"bottom-aligned")}},render:function(e,t,n){var i=this._o,r=new Date,o=m(e,t),a=new Date(e,t,1).getDay(),s=[],l=[];g(r),i.firstDay>0&&(a-=i.firstDay,a<0&&(a+=7));for(var u=0===t?11:t-1,c=11===t?0:t+1,d=0===t?e-1:e,p=11===t?e+1:e,y=m(d,u),w=o+a,b=w;b>7;)b-=7;w+=7-b;for(var x=!1,S=0,T=0;S<w;S++){var D=new Date(e,t,1+(S-a)),M=!!f(this._d)&&v(D,this._d),E=v(D,r),N=i.events.indexOf(D.toDateString())!==-1,O=S<a||S>=o+a,L=1+(S-a),I=t,P=e,Y=i.startRange&&v(i.startRange,D),F=i.endRange&&v(i.endRange,D),R=i.startRange&&i.endRange&&i.startRange<D&&D<i.endRange,$=i.minDate&&D<i.minDate||i.maxDate&&D>i.maxDate||i.disableWeekends&&h(D)||i.disableDayFn&&i.disableDayFn(D);O&&(S<a?(L=y+L,I=u,P=d):(L-=o,I=c,P=p));var H={day:L,month:I,year:P,hasEvent:N,isSelected:M,isToday:E,isDisabled:$,isEmpty:O,isStartRange:Y,isEndRange:F,isInRange:R,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&M&&(x=!0),l.push(_(H)),7===++T&&(i.showWeekNumber&&l.unshift(k(S-a,t,e,i.firstWeekOfYearMinDays)),s.push(C(l,i.isRTL,i.pickWholeWeek,x)),l=[],T=0,x=!1)}return A(i,s,n)},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),c(this.el,"is-hidden"),this._o.bound&&(o(i,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;e!==!1&&(this._o.bound&&a(i,"click",this._onClick),this._o.container||(this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto"),u(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),a(this.el,"mousedown",this._onMouseDown,!0),a(this.el,"touchend",this._onMouseDown,!0),a(this.el,"change",this._onChange),e.keyboardInput&&a(i,"keydown",this._onKeyChange),e.field&&(a(e.field,"change",this._onInputChange),e.bound&&(a(e.trigger,"click",this._onInputClick),a(e.trigger,"focus",this._onInputFocus),a(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},N}),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?!function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,i=arguments.length;for(n=0;n<i;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}():!function(e){"use strict";if("Element"in e){var t="classList",n="prototype",i=e.Element[n],r=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1}
12,s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},u=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],i=0,r=n.length;i<r;i++)this.push(n[i]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=u[n]=[],d=function(){return new u(this)};if(s[n]=Error[n],c.item=function(e){return this[e]||null},c.contains=function(e){return e+="",l(this,e)!==-1},c.add=function(){var e,t=arguments,n=0,i=t.length,r=!1;do e=t[n]+"",l(this,e)===-1&&(this.push(e),r=!0);while(++n<i);r&&this._updateClassName()},c.remove=function(){var e,t,n=arguments,i=0,r=n.length,o=!1;do for(e=n[i]+"",t=l(this,e);t!==-1;)this.splice(t,1),o=!0,t=l(this,e);while(++i<r);o&&this._updateClassName()},c.toggle=function(e,t){e+="";var n=this.contains(e),i=n?t!==!0&&"remove":t!==!1&&"add";return i&&this[i](e),t===!0||t===!1?t:!n},c.toString=function(){return this.join(" ")},r.defineProperty){var f={get:d,enumerable:!0,configurable:!0};try{r.defineProperty(i,t,f)}catch(h){h.number===-2146823252&&(f.enumerable=!1,r.defineProperty(i,t,f))}}else r[n].__defineGetter__&&i.__defineGetter__(t,d)}}(self));var Giant=Giant||{};!function(e,t,n,i){function r(t,n){this.scope=t,this.$scope=e(t),this.options=e.extend({},s,n),this._defaults=s,this._name=o,this.init()}var o="fadeShow",a="fadeshow",s=(e(t),{duration:500,interval:3e3,delay:0,slides:".magazine-app-preview__slide",activeClass:"active",start:!1});r.prototype={timer:null,current:0,init:function(){return this.$slides=this.$scope.find(this.options.slides),this.$slides.each(function(){var n=e(this),i=n.data("src"),r=n.data("srcset");if(i){r=[i,r].join(", ");var o=new Image;o.srcset=r,o.src=i,"picturefill"in t&&picturefill({elements:o}),n.append(o)}}),this.$scope.find("."+this.options.activeClass).css("opacity",1).removeClass(this.options.activeClass),this.options.start&&this.start(),this},animate:function(){var t=this,n=(this.current+1)%this.$slides.length;return this.$slides.eq(n).css("z-index",1).velocity({opacity:1},{duration:this.options.duration,complete:function(){t.$slides.eq(t.current).css("opacity",0),e(this).css("z-index",0),t.current=n}}),this},start:function(){var e=this;return setTimeout(function(){e.timer=setInterval(e.animate.bind(e),e.options.interval)},this.options.delay),this},stop:function(){return clearInterval(this.timer),this},destroy:function(){this.stop()}},e.fn[o]=function(t){var n=a.length;return"undefined"==typeof t&&(t={}),this.each(function(){if(!e.data(this,"plugin-"+o)){var i=e(this).data(),s="";o in i&&(s=i[o],"object"===e.type(s)&&(t=s)),e.each(i,function(e,i){if(e.substr(0,n)===a&&e!==a){var r=e.substr(n);r=r.substr(0,1).toLowerCase()+r.substr(1),t[r]=i}}),e.data(this,"plugin-"+o,new r(this,t))}})},e.fn[o].defaults=s,e(n).on("change:dom",function(t){e("[data-fadeshow]",t.target).fadeShow()}),e("[data-fadeshow]").fadeShow(),Giant.FadeShow=r}(jQuery,window,document);var Giant=Giant||{};!function(e,t,n,i){function r(t,n){this.scope=t,this.$scope=e(t),this.options=e.extend({},a,n),this._defaults=a,this._name=o,this.init()}var o="showIf",a=(e(t),{field:null,value:"",valueType:"string",remove:!1,parent:null,detach:!1,condition:"=="});r.prototype={init:function(){var t=this,i=n.getElementById(this.options.field.replace("#",""));return i||(i=e('[name="'+this.options.field+'"]')),this.$field=e(i),this.$field.on("change ifChanged",t.render.bind(t)),e.isArray(this.options.value)||(this.options.value=[this.options.value]),this.options.value=this.options.value.map(function(e){return t.formatValue(e)}),this.$buffer=null,this.render(),this},render:function(){var e=!1,t=this.formatValue(this.$field.val());switch("checkbox"===this.$field.attr("type")&&(t=this.$field.is(":checked")?"checked":""),"radio"===this.$field.attr("type")&&(t=this.$field.filter(":checked").val()),this.options.condition){case"==":e=this.options.value.indexOf(t)>-1;break;case"!=":e=!(this.options.value.indexOf(t)>-1);break;default:throw new Error("ShowIf: Unknown condition")}e?this.show():this.hide()},attach:function(){return null!==this.$buffer&&(this.$buffer.appendTo(this.$scope),this.$buffer=null,this.$scope.trigger("change:dom")),this},detach:function(){return null===this.$buffer&&(this.$buffer=this.$scope.children().detach()),this},show:function(){return this.options.detach&&this.attach(),this.$scope.show(),this},hide:function(){return this.$scope.hide(),this.options.detach&&this.detach(),this},formatValue:function(e){var t=e;switch(this.options.valueType){case"integer":t=parseInt(e,10);break;case"boolean":t=!!e;break;default:t=e+""}return t}},e.fn[o]=function(t){return this.each(function(){if(!e.data(this,"plugin-"+o)){var t=e(this).data(),n={},i="";if(o in t&&(i=t[o],"object"===e.type(i)&&(n=i),"string"===e.type(i)&&""!==i)){var s=t[o].match(/(.*)(!=|==)(.*)/);n.field=s[1],n.condition=s[2],n.value=s[3].split(",")}e.each(a,function(e,i){var r=o+e.substr(0,1).toUpperCase()+e.substr(1);r in t&&(n[e]=t[r])}),e.data(this,"plugin-"+o,new r(this,n))}})},e.fn[o].defaults=a,e(n).on("change:dom",function(t){e("[data-show-if]",t.target).showIf()}),e("[data-show-if]").showIf(),Giant.ShowIf=r}(jQuery,window,document);var Swiper=function(e,t){"use strict";function n(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function i(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(){var e=O-P;return t.freeMode&&(e=O-P),t.slidesPerView>E.slides.length&&!t.centeredSlides&&(e=0),e<0&&(e=0),e}function o(){function e(e){var n,i,r=function(){"undefined"!=typeof E&&null!==E&&(void 0!==E.imagesLoaded&&E.imagesLoaded++,E.imagesLoaded===E.imagesToLoad.length&&(E.reInit(),t.onImagesReady&&E.fireCallback(t.onImagesReady,E)))};e.complete?r():(i=e.currentSrc||e.getAttribute("src"),i?(n=new Image,n.onload=r,n.onerror=r,n.src=i):r())}var i=E.h.addEventListener,r="wrapper"===t.eventTarget?E.wrapper:E.container;if(E.browser.ie10||E.browser.ie11?(i(r,E.touchEvents.touchStart,m),i(document,E.touchEvents.touchMove,g),i(document,E.touchEvents.touchEnd,v)):(E.support.touch&&(i(r,"touchstart",m),i(r,"touchmove",g),i(r,"touchend",v)),t.simulateTouch&&(i(r,"mousedown",m),i(document,"mousemove",g),i(document,"mouseup",v))),t.autoResize&&i(window,"resize",E.resizeFix),a(),E._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(E._wheelEvent="mou
12sewheel"),!E._wheelEvent)try{new WheelEvent("wheel"),E._wheelEvent="wheel"}catch(o){}E._wheelEvent||(E._wheelEvent="DOMMouseScroll"),E._wheelEvent&&i(E.container,E._wheelEvent,u)}if(t.keyboardControl&&i(document,"keydown",l),t.updateOnImagesReady){E.imagesToLoad=n("img",E.container);for(var s=0;s<E.imagesToLoad.length;s++)e(E.imagesToLoad[s])}}function a(){var e,i=E.h.addEventListener;if(t.preventLinks){var r=n("a",E.container);
13for(e=0;e<r.length;e++)i(r[e],"click",h)}if(t.releaseFormElements){var o=n("input, textarea, select",E.container);for(e=0;e<o.length;e++)i(o[e],E.touchEvents.touchStart,p,!0),E.support.touch&&t.simulateTouch&&i(o[e],"mousedown",p,!0)}if(t.onSlideClick)for(e=0;e<E.slides.length;e++)i(E.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<E.slides.length;e++)i(E.slides[e],E.touchEvents.touchStart,d)}function s(){var e,i=E.h.removeEventListener;if(t.onSlideClick)for(e=0;e<E.slides.length;e++)i(E.slides[e],"click",c);if(t.onSlideTouch)for(e=0;e<E.slides.length;e++)i(E.slides[e],E.touchEvents.touchStart,d);if(t.releaseFormElements){var r=n("input, textarea, select",E.container);for(e=0;e<r.length;e++)i(r[e],E.touchEvents.touchStart,p,!0),E.support.touch&&t.simulateTouch&&i(r[e],"mousedown",p,!0)}if(t.preventLinks){var o=n("a",E.container);for(e=0;e<o.length;e++)i(o[e],"click",h)}}function l(e){var t=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===t||39===t||38===t||40===t){for(var n=!1,i=E.h.getOffset(E.container),r=E.h.windowScroll().left,o=E.h.windowScroll().top,a=E.h.windowWidth(),s=E.h.windowHeight(),l=[[i.left,i.top],[i.left+E.width,i.top],[i.left,i.top+E.height],[i.left+E.width,i.top+E.height]],u=0;u<l.length;u++){var c=l[u];c[0]>=r&&c[0]<=r+a&&c[1]>=o&&c[1]<=o+s&&(n=!0)}if(!n)return}$?(37!==t&&39!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),39===t&&E.swipeNext(),37===t&&E.swipePrev()):(38!==t&&40!==t||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&E.swipeNext(),38===t&&E.swipePrev())}}function u(e){var n=E._wheelEvent,i=0;if(e.detail)i=-e.detail;else if("mousewheel"===n)if(t.mousewheelControlForceToAxis)if($){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;i=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;i=e.wheelDeltaY}else i=e.wheelDelta;else if("DOMMouseScroll"===n)i=-e.detail;else if("wheel"===n)if(t.mousewheelControlForceToAxis)if($){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;i=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;i=-e.deltaY}else i=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var o=E.getWrapperTranslate()+i;if(o>0&&(o=0),o<-r()&&(o=-r()),E.setWrapperTransition(0),E.setWrapperTranslate(o),E.updateActiveSlide(o),0===o||o===-r())return}else(new Date).getTime()-U>60&&(i<0?E.swipeNext():E.swipePrev()),U=(new Date).getTime();return t.autoplay&&E.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function c(e){E.allowSlideClick&&(f(e),E.fireCallback(t.onSlideClick,E,e))}function d(e){f(e),E.fireCallback(t.onSlideTouch,E,e)}function f(e){if(e.currentTarget)E.clickedSlide=e.currentTarget;else{var n=e.srcElement;do{if(n.className.indexOf(t.slideClass)>-1)break;n=n.parentNode}while(n);E.clickedSlide=n}E.clickedSlideIndex=E.slides.indexOf(E.clickedSlide),E.clickedSlideLoopIndex=E.clickedSlideIndex-(E.loopedSlides||0)}function h(e){if(!E.allowLinks)return e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1}function p(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function m(e){if(t.preventLinks&&(E.allowLinks=!0),E.isTouched||t.onlyExternal)return!1;var n=e.target||e.srcElement;document.activeElement&&document.activeElement!==document.body&&document.activeElement!==n&&document.activeElement.blur();var i="input select textarea".split(" ");if(t.noSwiping&&n&&w(n))return!1;if(J=!1,E.isTouched=!0,Q="touchstart"===e.type,!Q&&"which"in e&&3===e.which)return E.isTouched=!1,!1;if(!Q||1===e.targetTouches.length){E.callPlugins("onTouchStartBegin"),!Q&&!E.isAndroid&&i.indexOf(n.tagName.toLowerCase())<0&&(e.preventDefault?e.preventDefault():e.returnValue=!1);var r=Q?e.targetTouches[0].pageX:e.pageX||e.clientX,o=Q?e.targetTouches[0].pageY:e.pageY||e.clientY;E.touches.startX=E.touches.currentX=r,E.touches.startY=E.touches.currentY=o,E.touches.start=E.touches.current=$?r:o,E.setWrapperTransition(0),E.positions.start=E.positions.current=E.getWrapperTranslate(),E.setWrapperTranslate(E.positions.start),E.times.start=(new Date).getTime(),I=void 0,t.moveStartThreshold>0&&(G=!1),t.onTouchStart&&E.fireCallback(t.onTouchStart,E,e),E.callPlugins("onTouchStartEnd")}}function g(e){if(E.isTouched&&!t.onlyExternal&&(!Q||"mousemove"!==e.type)){var n=Q?e.targetTouches[0].pageX:e.pageX||e.clientX,i=Q?e.targetTouches[0].pageY:e.pageY||e.clientY;if("undefined"==typeof I&&$&&(I=!!(I||Math.abs(i-E.touches.startY)>Math.abs(n-E.touches.startX))),"undefined"!=typeof I||$||(I=!!(I||Math.abs(i-E.touches.startY)<Math.abs(n-E.touches.startX))),I)return void(E.isTouched=!1);if($){if(!t.swipeToNext&&n<E.touches.startX||!t.swipeToPrev&&n>E.touches.startX)return}else if(!t.swipeToNext&&i<E.touches.startY||!t.swipeToPrev&&i>E.touches.startY)return;if(e.assignedToSwiper)return void(E.isTouched=!1);if(e.assignedToSwiper=!0,t.preventLinks&&(E.allowLinks=!1),t.onSlideClick&&(E.allowSlideClick=!1),t.autoplay&&E.stopAutoplay(!0),!Q||1===e.touches.length){if(E.isMoved||(E.callPlugins("onTouchMoveStart"),t.loop&&(E.fixLoop(),E.positions.start=E.getWrapperTranslate()),t.onTouchMoveStart&&E.fireCallback(t.onTouchMoveStart,E)),E.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,E.touches.current=$?n:i,E.positions.current=(E.touches.current-E.touches.start)*t.touchRatio+E.positions.start,E.positions.current>0&&t.onResistanceBefore&&E.fireCallback(t.onResistanceBefore,E,E.positions.current),E.positions.current<-r()&&t.onResistanceAfter&&E.fireCallback(t.onResistanceAfter,E,Math.abs(E.positions.current+r())),t.resistance&&"100%"!==t.resistance){var o;if(E.positions.current>0&&(o=1-E.positions.current/P/2,o<.5?E.positions.current=P/2:E.positions.current=E.positions.current*o),E.positions.current<-r()){var a=(E.touches.current-E.touches.start)*t.touchRatio+(r()+E.positions.start);o=(P+a)/P;var s=E.positions.current-a*(1-o)/2,l=-r()-P/2;s<l||o<=0?E.positions.current=l:E.positions.current=s}}if(t.resistance&&"100%"===t.resistance&&(E.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(E.positions.current=0),E.positions.current<-r()&&(!t.freeMode||t.freeModeFluid)&&(E.positions.current=-r())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(E.touches.current-E.touches.start)>t.moveStartThreshold||G){if(!G)return G=!0,void(E.touches.start=E.touches.current);E.setWrapperTranslate(E.positions.current)}else E.positions.current=E.positions.start;else E.setWrapperTranslate(E.positions.current);return(t.freeMode||t.watchActiveIndex)&&E.updateActiveSlide(E.positions.current),t.grabCursor&&(E.container.style.cursor="move",E.container.style.cursor="grabbing",E.container.style.cursor="-moz-grabbin",E.container.style.cursor="-webkit-grabbing"),Z||(Z=E.touches.current),K||(K=(new Date).getTime()),E.velocity=(E.touches.current-Z)/((new Date).getTime()-K)/2,Math.abs(E.touches.current-Z)<2&&(E.velocity=0),Z=E.touches.current,K=(new Date).getTime(),E.callPlugins("onTouchMoveEnd"),t.onTouchMove&&E.fireCallback(t.onTouchMove,E,e),!1}}}function v(e){if(I&&E.swipeReset(),!t.onlyExternal&&E.isTouched){E.isTouched=!1,t.grabCursor&&(E.container.style.cursor="move",E.container.style.cursor="grab",E.container.style.cursor="-moz-grab",E.container.style.cursor="-webkit-grab"),E.positions.current||0===E.positions.current||(E.positions.current=E.positions.start),t.followFinger&&E.setWrapperTranslate(E.positions.current),E.times.end=(new Date).getTime(),E.touches.diff=E.touches.current-E.touches.start,E.touches.abs=Math.abs(E.touches.diff),E.positions.diff=E.positions.current-E.positions.start,E.positions.abs=Math.abs(E.positions.diff);var n=E.positions.diff,i=E.positions.abs,o=E.times.end-E.times.start;i<5&&o<300&&E.allowLinks===!1&&(t.freeMode||0===i||E.swipeReset(),t.preventLinks&&(E.allowLinks=!0),t.onSlideClick&&(E.allowSlideClick=!0)),setTimeout(function(){"undefined"!=typeof E&&null!==E&&(t.preventLinks&&(E.allowLinks=!0),t.onSlideClick&&(E.allowSlideClick=!0))},100);var a=r();if(!E.isMoved&&t.freeMode)return E.isMoved=!1,t.onTouchEnd&&E.fireCallback(t.onTouchEnd,E,e),void E.callPlugins("onTouchEnd");if(!E.isMoved||E.positions.current>0||E.positions.current<-a)return E.swipeReset(),t.onTouchEnd&&E.fireCallback(t.onTouchEnd,E,e),void E.callPlugins("onTouchEnd");if(E.isMoved=!1,t.freeMode){if(t.freeModeFluid){var s,l=1e3*t.momentumRatio,u=E.velocity
13*l,c=E.positions.current+u,d=!1,f=20*Math.abs(E.velocity)*t.momentumBounceRatio;c<-a&&(t.momentumBounce&&E.support.transitions?(c+a<-f&&(c=-a-f),s=-a,d=!0,J=!0):c=-a),c>0&&(t.momentumBounce&&E.support.transitions?(c>f&&(c=f),s=0,d=!0,J=!0):c=0),0!==E.velocity&&(l=Math.abs((c-E.positions.current)/E.velocity)),E.setWrapperTranslate(c),E.setWrapperTransition(l),t.momentumBounce&&d&&E.wrapperTransitionEnd(function(){J&&(t.onMomentumBounce&&E.fireCallback(t.onMomentumBounce,E),E.callPlugins("onMomentumBounce"),E.setWrapperTranslate(s),E.setWrapperTransition(300))}),E.updateActiveSlide(c)}return(!t.freeModeFluid||o>=300)&&E.updateActiveSlide(E.positions.current),t.onTouchEnd&&E.fireCallback(t.onTouchEnd,E,e),void E.callPlugins("onTouchEnd")}L=n<0?"toNext":"toPrev","toNext"===L&&o<=300&&(i<30||!t.shortSwipes?E.swipeReset():E.swipeNext(!0,!0)),"toPrev"===L&&o<=300&&(i<30||!t.shortSwipes?E.swipeReset():E.swipePrev(!0,!0));var h=0;if("auto"===t.slidesPerView){for(var p,m=Math.abs(E.getWrapperTranslate()),g=0,v=0;v<E.slides.length;v++)if(p=$?E.slides[v].getWidth(!0,t.roundLengths):E.slides[v].getHeight(!0,t.roundLengths),g+=p,g>m){h=p;break}h>P&&(h=P)}else h=N*t.slidesPerView;"toNext"===L&&o>300&&(i>=h*t.longSwipesRatio?E.swipeNext(!0,!0):E.swipeReset()),"toPrev"===L&&o>300&&(i>=h*t.longSwipesRatio?E.swipePrev(!0,!0):E.swipeReset()),t.onTouchEnd&&E.fireCallback(t.onTouchEnd,E,e),E.callPlugins("onTouchEnd")}}function y(e,t){return e&&e.getAttribute("class")&&e.getAttribute("class").indexOf(t)>-1}function w(e){var n=!1;do y(e,t.noSwipingClass)&&(n=!0),e=e.parentElement;while(!n&&e.parentElement&&!y(e,t.wrapperClass));return!n&&y(e,t.wrapperClass)&&y(e,t.noSwipingClass)&&(n=!0),n}function b(e,t){var n,i=document.createElement("div");return i.innerHTML=t,n=i.firstChild,n.className+=" "+e,n.outerHTML}function x(e,n,i){function r(){var o=+new Date,d=o-a;s+=l*d/(1e3/60),c="toNext"===u?s>e:s<e,c?(E.setWrapperTranslate(Math.ceil(s)),E._DOMAnimating=!0,window.setTimeout(function(){r()},1e3/60)):(t.onSlideChangeEnd&&("to"===n?i.runCallbacks===!0&&E.fireCallback(t.onSlideChangeEnd,E,u):E.fireCallback(t.onSlideChangeEnd,E,u)),E.setWrapperTranslate(e),E._DOMAnimating=!1)}var o="to"===n&&i.speed>=0?i.speed:t.speed,a=+new Date;if(E.support.transitions||!t.DOMAnimation)E.setWrapperTranslate(e),E.setWrapperTransition(o);else{var s=E.getWrapperTranslate(),l=Math.ceil((e-s)/o*(1e3/60)),u=s>e?"toNext":"toPrev",c="toNext"===u?s>e:s<e;if(E._DOMAnimating)return;r()}E.updateActiveSlide(e),t.onSlideNext&&"next"===n&&i.runCallbacks===!0&&E.fireCallback(t.onSlideNext,E,e),t.onSlidePrev&&"prev"===n&&i.runCallbacks===!0&&E.fireCallback(t.onSlidePrev,E,e),t.onSlideReset&&"reset"===n&&i.runCallbacks===!0&&E.fireCallback(t.onSlideReset,E,e),"next"!==n&&"prev"!==n&&"to"!==n||i.runCallbacks!==!0||S(n)}function S(e){if(E.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&E.support.transitions){if(E._queueStartCallbacks)return;E._queueStartCallbacks=!0,E.fireCallback(t.onSlideChangeStart,E,e),E.wrapperTransitionEnd(function(){E._queueStartCallbacks=!1})}else E.fireCallback(t.onSlideChangeStart,E,e);if(t.onSlideChangeEnd)if(E.support.transitions)if(t.queueEndCallbacks){if(E._queueEndCallbacks)return;E._queueEndCallbacks=!0,E.wrapperTransitionEnd(function(n){E.fireCallback(t.onSlideChangeEnd,n,e)})}else E.wrapperTransitionEnd(function(n){E.fireCallback(t.onSlideChangeEnd,n,e)});else t.DOMAnimation||setTimeout(function(){E.fireCallback(t.onSlideChangeEnd,E,e)},10)}function _(){var e=E.paginationButtons;if(e)for(var t=0;t<e.length;t++)E.h.removeEventListener(e[t],"click",k)}function T(){var e=E.paginationButtons;if(e)for(var t=0;t<e.length;t++)E.h.addEventListener(e[t],"click",k)}function k(e){for(var n,i=e.target||e.srcElement,r=E.paginationButtons,o=0;o<r.length;o++)i===r[o]&&(n=o);t.autoplay&&E.stopAutoplay(!0),E.swipeTo(n)}function C(){ee=setTimeout(function(){t.loop?(E.fixLoop(),E.swipeNext(!0,!0)):E.swipeNext(!0,!0)||(t.autoplayStopOnLast?(clearTimeout(ee),ee=void 0):E.swipeTo(0)),E.wrapperTransitionEnd(function(){"undefined"!=typeof ee&&C()})},t.autoplay)}function D(){E.calcSlides(),t.loader.slides.length>0&&0===E.slides.length&&E.loadSlides(),t.loop&&E.createLoop(),E.init(),o(),t.pagination&&E.createPagination(!0),t.loop||t.initialSlide>0?E.swipeTo(t.initialSlide,0,!1):E.updateActiveSlide(0),t.autoplay&&E.startAutoplay(),E.centerIndex=E.activeIndex,t.onSwiperCreated&&E.fireCallback(t.onSwiperCreated,E),E.callPlugins("onSwiperCreated")}if(!document.body.outerHTML&&document.body.__defineGetter__&&HTMLElement){var M=HTMLElement.prototype;M.__defineGetter__&&M.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){for(var n=t||0,i=this.length;n<i;n++)if(this[n]===e)return n;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==n(e).length)){var E=this;E.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},E.positions={start:0,abs:0,diff:0,current:0},E.times={start:0,end:0},E.id=(new Date).getTime(),E.container=e.nodeType?e:n(e)[0],E.isTouched=!1,E.isMoved=!1,E.activeIndex=0,E.centerIndex=0,E.activeLoaderIndex=0,E.activeLoopIndex=0,E.previousIndex=null,E.velocity=0,E.snapGrid=[],E.slidesGrid=[],E.imagesToLoad=[],E.imagesLoaded=0,E.wrapperLeft=0,E.wrapperRight=0,E.wrapperTop=0,E.wrapperBottom=0,E.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var A,N,O,L,I,P,Y={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mou
13sewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},swipeToPrev:!0,swipeToNext:!0,slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var F in Y)if(F in t&&"object"==typeof t[F])for(var R in Y[F])R in t[F]||(t[F][R]=Y[F][R]);else F in t||(t[F]=Y[F]);E.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var $="horizontal"===t.mode,H=["mousedown","mousemove","mouseup"];E.browser.ie10&&(H=["MSPointerDown","MSPointerMove","MSPointerUp"]),E.browser.ie11&&(H=["pointerdown","pointermove","pointerup"]),E.touchEvents={touchStart:E.support.touch||!t.simulateTouch?"touchstart":H[0],touchMove:E.support.touch||!t.simulateTouch?"touchmove":H[1],touchEnd:E.support.touch||!t.simulateTouch?"touchend":H[2]};for(var j=E.container.childNodes.length-1;j>=0;j--)if(E.container.childNodes[j].className)for(var W=E.container.childNodes[j].className.split(/\s+/),z=0;z<W.length;z++)W[z]===t.wrapperClass&&(A=E.container.childNodes[j]);E.wrapper=A,E._extendSwiperSlide=function(e){return e.append=function(){return t.loop?e.insertAfter(E.slides.length-E.loopedSlides):(E.wrapper.appendChild(e),E.reInit()),e},e.prepend=function(){return t.loop?(E.wrapper.insertBefore(e,E.slides[E.loopedSlides]),E.removeLoopedSlides(),E.calcSlides(),E.createLoop()):E.wrapper.insertBefore(e,E.wrapper.firstChild),E.reInit(),e},e.insertAfter=function(n){if("undefined"==typeof n)return!1;var i;return t.loop?(i=E.slides[n+1+E.loopedSlides],i?E.wrapper.insertBefore(e,i):E.wrapper.appendChild(e),E.removeLoopedSlides(),E.calcSlides(),E.createLoop()):(i=E.slides[n+1],E.wrapper.insertBefore(e,i)),E.reInit(),e},e.clone=function(){return E._extendSwiperSlide(e.cloneNode(!0))},e.remove=function(){E.wrapper.removeChild(e),E.reInit()},e.html=function(t){return"undefined"==typeof t?e.innerHTML:(e.innerHTML=t,e)},e.index=function(){for(var t,n=E.slides.length-1;n>=0;n--)e===E.slides[n]&&(t=n);return t},e.isActive=function(){return e.index()===E.activeIndex},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,n){return e.swiperSlideDataStorage[t]=n,e},e.data=function(t,n){return"undefined"==typeof n?e.getAttribute("data-"+t):(e.setAttribute("data-"+t,n),e)},e.getWidth=function(t,n){return E.h.getWidth(e,t,n)},e.getHeight=function(t,n){return E.h.getHeight(e,t,n)},e.getOffset=function(){return E.h.getOffset(e)},e},E.calcSlides=function(e){var n=!!E.slides&&E.slides.length;E.slides=[],E.displaySlides=[];for(var i=0;i<E.wrapper.childNodes.length;i++)if(E.wrapper.childNodes[i].className)for(var r=E.wrapper.childNodes[i].className,o=r.split(/\s+/),l=0;l<o.length;l++)o[l]===t.slideClass&&E.slides.push(E.wrapper.childNodes[i]);for(i=E.slides.length-1;i>=0;i--)E._extendSwiperSlide(E.slides[i]);n!==!1&&(n!==E.slides.length||e)&&(s(),a(),E.updateActiveSlide(),E.params.pagination&&E.createPagination(),E.callPlugins("numberOfSlidesChanged"))},E.createSlide=function(e,n,i){n=n||E.params.slideClass,i=i||t.slideElement;var r=document.createElement(i);return r.innerHTML=e||"",r.className=n,E._extendSwiperSlide(r)},E.appendSlide=function(e,t,n){if(e)return e.nodeType?E._extendSwiperSlide(e).append():E.createSlide(e,t,n).append()}
13,E.prependSlide=function(e,t,n){if(e)return e.nodeType?E._extendSwiperSlide(e).prepend():E.createSlide(e,t,n).prepend()},E.insertSlideAfter=function(e,t,n,i){return"undefined"!=typeof e&&(t.nodeType?E._extendSwiperSlide(t).insertAfter(e):E.createSlide(t,n,i).insertAfter(e))},E.removeSlide=function(e){if(E.slides[e]){if(t.loop){if(!E.slides[e+E.loopedSlides])return!1;E.slides[e+E.loopedSlides].remove(),E.removeLoopedSlides(),E.calcSlides(),E.createLoop()}else E.slides[e].remove();return!0}return!1},E.removeLastSlide=function(){return E.slides.length>0&&(t.loop?(E.slides[E.slides.length-1-E.loopedSlides].remove(),E.removeLoopedSlides(),E.calcSlides(),E.createLoop()):E.slides[E.slides.length-1].remove(),!0)},E.removeAllSlides=function(){for(var e=E.slides.length,t=E.slides.length-1;t>=0;t--)E.slides[t].remove(),t===e-1&&E.setWrapperTranslate(0)},E.getSlide=function(e){return E.slides[e]},E.getLastSlide=function(){return E.slides[E.slides.length-1]},E.getFirstSlide=function(){return E.slides[0]},E.activeSlide=function(){return E.slides[E.activeIndex]},E.fireCallback=function(){var e=arguments[0];if("[object Array]"===Object.prototype.toString.call(e))for(var n=0;n<e.length;n++)"function"==typeof e[n]&&e[n](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(e)?t["on"+e]&&E.fireCallback(t["on"+e],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):e(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},E.addCallback=function(e,t){var n,r=this;return r.params["on"+e]?i(this.params["on"+e])?this.params["on"+e].push(t):"function"==typeof this.params["on"+e]?(n=this.params["on"+e],this.params["on"+e]=[],this.params["on"+e].push(n),this.params["on"+e].push(t)):void 0:(this.params["on"+e]=[],this.params["on"+e].push(t))},E.removeCallbacks=function(e){E.params["on"+e]&&(E.params["on"+e]=null)};var V=[];for(var q in E.plugins)if(t[q]){var B=E.plugins[q](E,t[q]);B&&V.push(B)}E.callPlugins=function(e,t){t||(t={});for(var n=0;n<V.length;n++)e in V[n]&&V[n][e](t)},!E.browser.ie10&&!E.browser.ie11||t.onlyExternal||E.wrapper.classList.add("swiper-wp8-"+($?"horizontal":"vertical")),t.freeMode&&(E.container.className+=" swiper-free-mode"),E.initialized=!1,E.init=function(e,n){var i=E.h.getWidth(E.container,!1,t.roundLengths),r=E.h.getHeight(E.container,!1,t.roundLengths);if(i!==E.width||r!==E.height||e){E.width=i,E.height=r;var o,a,s,l,u,c,d;P=$?i:r;var f=E.wrapper;if(e&&E.calcSlides(n),"auto"===t.slidesPerView){var h=0,p=0;t.slidesOffset>0&&(f.style.paddingLeft="",f.style.paddingRight="",f.style.paddingTop="",f.style.paddingBottom=""),f.style.width="",f.style.height="",t.offsetPxBefore>0&&($?E.wrapperLeft=t.offsetPxBefore:E.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&($?E.wrapperRight=t.offsetPxAfter:E.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&($?(E.wrapperLeft=(P-this.slides[0].getWidth(!0,t.roundLengths))/2,E.wrapperRight=(P-E.slides[E.slides.length-1].getWidth(!0,t.roundLengths))/2):(E.wrapperTop=(P-E.slides[0].getHeight(!0,t.roundLengths))/2,E.wrapperBottom=(P-E.slides[E.slides.length-1].getHeight(!0,t.roundLengths))/2)),$?(E.wrapperLeft>=0&&(f.style.paddingLeft=E.wrapperLeft+"px"),E.wrapperRight>=0&&(f.style.paddingRight=E.wrapperRight+"px")):(E.wrapperTop>=0&&(f.style.paddingTop=E.wrapperTop+"px"),E.wrapperBottom>=0&&(f.style.paddingBottom=E.wrapperBottom+"px")),c=0;var m=0;for(E.snapGrid=[],E.slidesGrid=[],s=0,d=0;d<E.slides.length;d++){o=E.slides[d].getWidth(!0,t.roundLengths),a=E.slides[d].getHeight(!0,t.roundLengths),t.calculateHeight&&(s=Math.max(s,a));var g=$?o:a;if(t.centeredSlides){var v=d===E.slides.length-1?0:E.slides[d+1].getWidth(!0,t.roundLengths),y=d===E.slides.length-1?0:E.slides[d+1].getHeight(!0,t.roundLengths),w=$?v:y;if(g>P){if(t.slidesPerViewFit)E.snapGrid.push(c+E.wrapperLeft),E.snapGrid.push(c+g-P+E.wrapperLeft);else for(var b=0;b<=Math.floor(g/(P+E.wrapperLeft));b++)0===b?E.snapGrid.push(c+E.wrapperLeft):E.snapGrid.push(c+E.wrapperLeft+P*b);E.slidesGrid.push(c+E.wrapperLeft)}else E.snapGrid.push(m),E.slidesGrid.push(m);m+=g/2+w/2}else{if(g>P)if(t.slidesPerViewFit)E.snapGrid.push(c),E.snapGrid.push(c+g-P);else if(0!==P)for(var x=0;x<=Math.floor(g/P);x++)E.snapGrid.push(c+P*x);else E.snapGrid.push(c);else E.snapGrid.push(c);E.slidesGrid.push(c)}c+=g,h+=o,p+=a}t.calculateHeight&&(E.height=s),$?(O=h+E.wrapperRight+E.wrapperLeft,t.cssWidthAndHeight&&"height"!==t.cssWidthAndHeight||(f.
13style.width=h+"px"),t.cssWidthAndHeight&&"width"!==t.cssWidthAndHeight||(f.style.height=E.height+"px")):(t.cssWidthAndHeight&&"height"!==t.cssWidthAndHeight||(f.style.width=E.width+"px"),t.cssWidthAndHeight&&"width"!==t.cssWidthAndHeight||(f.style.height=p+"px"),O=p+E.wrapperTop+E.wrapperBottom)}else if(t.scrollContainer)f.style.width="",f.style.height="",l=E.slides[0].getWidth(!0,t.roundLengths),u=E.slides[0].getHeight(!0,t.roundLengths),O=$?l:u,f.style.width=l+"px",f.style.height=u+"px",N=$?l:u;else{if(t.calculateHeight){for(s=0,u=0,$||(E.container.style.height=""),f.style.height="",d=0;d<E.slides.length;d++)E.slides[d].style.height="",s=Math.max(E.slides[d].getHeight(!0),s),$||(u+=E.slides[d].getHeight(!0));a=s,E.height=a,$?u=a:(P=a,E.container.style.height=P+"px")}else a=$?E.height:E.height/t.slidesPerView,t.roundLengths&&(a=Math.ceil(a)),u=$?E.height:E.slides.length*a;for(o=$?E.width/t.slidesPerView:E.width,t.roundLengths&&(o=Math.ceil(o)),l=$?E.slides.length*o:E.width,N=$?o:a,t.offsetSlidesBefore>0&&($?E.wrapperLeft=N*t.offsetSlidesBefore:E.wrapperTop=N*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&($?E.wrapperRight=N*t.offsetSlidesAfter:E.wrapperBottom=N*t.offsetSlidesAfter),t.offsetPxBefore>0&&($?E.wrapperLeft=t.offsetPxBefore:E.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&($?E.wrapperRight=t.offsetPxAfter:E.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&($?(E.wrapperLeft=(P-N)/2,E.wrapperRight=(P-N)/2):(E.wrapperTop=(P-N)/2,E.wrapperBottom=(P-N)/2)),$?(E.wrapperLeft>0&&(f.style.paddingLeft=E.wrapperLeft+"px"),E.wrapperRight>0&&(f.style.paddingRight=E.wrapperRight+"px")):(E.wrapperTop>0&&(f.style.paddingTop=E.wrapperTop+"px"),E.wrapperBottom>0&&(f.style.paddingBottom=E.wrapperBottom+"px")),O=$?l+E.wrapperRight+E.wrapperLeft:u+E.wrapperTop+E.wrapperBottom,parseFloat(l)>0&&(!t.cssWidthAndHeight||"height"===t.cssWidthAndHeight)&&(f.style.width=l+"px"),parseFloat(u)>0&&(!t.cssWidthAndHeight||"width"===t.cssWidthAndHeight)&&(f.style.height=u+"px"),c=0,E.snapGrid=[],E.slidesGrid=[],d=0;d<E.slides.length;d++)E.snapGrid.push(c),E.slidesGrid.push(c),c+=N,parseFloat(o)>0&&(!t.cssWidthAndHeight||"height"===t.cssWidthAndHeight)&&(E.slides[d].style.width=o+"px"),parseFloat(a)>0&&(!t.cssWidthAndHeight||"width"===t.cssWidthAndHeight)&&(E.slides[d].style.height=a+"px")}E.initialized?(E.callPlugins("onInit"),t.onInit&&E.fireCallback(t.onInit,E)):(E.callPlugins("onFirstInit"),t.onFirstInit&&E.fireCallback(t.onFirstInit,E)),E.initialized=!0}},E.reInit=function(e){E.init(!0,e)},E.resizeFix=function(e){E.callPlugins("beforeResizeFix"),E.init(t.resizeReInit||e),t.freeMode?E.getWrapperTranslate()<-r()&&(E.setWrapperTransition(0),E.setWrapperTranslate(-r())):(E.swipeTo(t.loop?E.activeLoopIndex:E.activeIndex,0,!1),t.autoplay&&(E.support.transitions&&"undefined"!=typeof ee?"undefined"!=typeof ee&&(clearTimeout(ee),ee=void 0,E.startAutoplay()):"undefined"!=typeof te&&(clearInterval(te),te=void 0,E.startAutoplay()))),E.callPlugins("afterResizeFix")},E.destroy=function(e){var n=E.h.removeEventListener,i="wrapper"===t.eventTarget?E.wrapper:E.container;if(E.browser.ie10||E.browser.ie11?(n(i,E.touchEvents.touchStart,m),n(document,E.touchEvents.touchMove,g),n(document,E.touchEvents.touchEnd,v)):(E.support.touch&&(n(i,"touchstart",m),n(i,"touchmove",g),n(i,"touchend",v)),t.simulateTouch&&(n(i,"mousedown",m),n(document,"mousemove",g),n(document,"mouseup",v))),t.autoResize&&n(window,"resize",E.resizeFix),s(),t.paginationClickable&&_(),t.mousewheelControl&&E._wheelEvent&&n(E.container,E._wheelEvent,u),t.keyboardControl&&n(document,"keydown",l),t.autoplay&&E.stopAutoplay(),e){E.wrapper.removeAttribute("style");for(var r=0;r<E.slides.length;r++)E.slides[r].removeAttribute("style")}E.callPlugins("onDestroy"),window.jQuery&&window.jQuery(E.container).data("swiper")&&window.jQuery(E.container).removeData("swiper"),window.Zepto&&window.Zepto(E.container).data("swiper")&&window.Zepto(E.container).removeData("swiper"),E=null},E.disableKeyboardControl=function(){t.keyboardControl=!1,E.h.removeEventListener(document,"keydown",l)}
13,E.enableKeyboardControl=function(){t.keyboardControl=!0,E.h.addEventListener(document,"keydown",l)};var U=(new Date).getTime();if(E.disableMousewheelControl=function(){return!!E._wheelEvent&&(t.mousewheelControl=!1,E.h.removeEventListener(E.container,E._wheelEvent,u),!0)},E.enableMousewheelControl=function(){return!!E._wheelEvent&&(t.mousewheelControl=!0,E.h.addEventListener(E.container,E._wheelEvent,u),!0)},t.grabCursor){var X=E.container.style;X.cursor="move",X.cursor="grab",X.cursor="-moz-grab",X.cursor="-webkit-grab"}E.allowSlideClick=!0,E.allowLinks=!0;var G,Z,K,Q=!1,J=!0;E.swipeNext=function(e,n){"undefined"==typeof e&&(e=!0),!n&&t.loop&&E.fixLoop(),!n&&t.autoplay&&E.stopAutoplay(!0),E.callPlugins("onSwipeNext");var i=E.getWrapperTranslate().toFixed(2),o=i;if("auto"===t.slidesPerView){for(var a=0;a<E.snapGrid.length;a++)if(-i>=E.snapGrid[a].toFixed(2)&&-i<E.snapGrid[a+1].toFixed(2)){o=-E.snapGrid[a+1];break}}else{var s=N*t.slidesPerGroup;o=-(Math.floor(Math.abs(i)/Math.floor(s))*s+s)}return o<-r()&&(o=-r()),o!==i&&(x(o,"next",{runCallbacks:e}),!0)},E.swipePrev=function(e,n){"undefined"==typeof e&&(e=!0),!n&&t.loop&&E.fixLoop(),!n&&t.autoplay&&E.stopAutoplay(!0),E.callPlugins("onSwipePrev");var i,r=Math.ceil(E.getWrapperTranslate());if("auto"===t.slidesPerView){i=0;for(var o=1;o<E.snapGrid.length;o++){if(-r===E.snapGrid[o]){i=-E.snapGrid[o-1];break}if(-r>E.snapGrid[o]&&-r<E.snapGrid[o+1]){i=-E.snapGrid[o];break}}}else{var a=N*t.slidesPerGroup;i=-(Math.ceil(-r/a)-1)*a}return i>0&&(i=0),i!==r&&(x(i,"prev",{runCallbacks:e}),!0)},E.swipeReset=function(e){"undefined"==typeof e&&(e=!0),E.callPlugins("onSwipeReset");var n,i=E.getWrapperTranslate(),o=N*t.slidesPerGroup;-r();if("auto"===t.slidesPerView){n=0;for(var a=0;a<E.snapGrid.length;a++){if(-i===E.snapGrid[a])return;if(-i>=E.snapGrid[a]&&-i<E.snapGrid[a+1]){n=E.positions.diff>0?-E.snapGrid[a+1]:-E.snapGrid[a];break}}-i>=E.snapGrid[E.snapGrid.length-1]&&(n=-E.snapGrid[E.snapGrid.length-1]),i<=-r()&&(n=-r())}else n=i<0?Math.round(i/o)*o:0,i<=-r()&&(n=-r());return t.scrollContainer&&(n=i<0?i:0),n<-r()&&(n=-r()),t.scrollContainer&&P>N&&(n=0),n!==i&&(x(n,"reset",{runCallbacks:e}),!0)},E.swipeTo=function(e,n,i){e=parseInt(e,10),E.callPlugins("onSwipeTo",{index:e,speed:n}),t.loop&&(e+=E.loopedSlides);var o=E.getWrapperTranslate();if(!(!isFinite(e)||e>E.slides.length-1||e<0)){var a;return a="auto"===t.slidesPerView?-E.slidesGrid[e]:-e*N,a<-r()&&(a=-r()),a!==o&&("undefined"==typeof i&&(i=!0),x(a,"to",{index:e,speed:n,runCallbacks:i}),!0)}},E._queueStartCallbacks=!1,E._queueEndCallbacks=!1,E.updateActiveSlide=function(e){if(E.initialized&&0!==E.slides.length){E.previousIndex=E.activeIndex,"undefined"==typeof e&&(e=E.getWrapperTranslate()),e>0&&(e=0);var n;if("auto"===t.slidesPerView){if(E.activeIndex=E.slidesGrid.indexOf(-e),E.activeIndex<0){for(n=0;n<E.slidesGrid.length-1&&!(-e>E.slidesGrid[n]&&-e<E.slidesGrid[n+1]);n++);var i=Math.abs(E.slidesGrid[n]+e),r=Math.abs(E.slidesGrid[n+1]+e);i<=r?E.activeIndex=n:E.activeIndex=n+1}}else E.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/N);if(E.activeIndex===E.slides.length&&(E.activeIndex=E.slides.length-1),E.activeIndex<0&&(E.activeIndex=0),E.slides[E.activeIndex]){if(E.calcVisibleSlides(e),E.support.classList){var o;for(n=0;n<E.slides.length;n++)o=E.slides[n],o.classList.remove(t.slideActiveClass),E.visibleSlides.indexOf(o)>=0?o.classList.add(t.slideVisibleClass):o.classList.remove(t.slideVisibleClass);E.slides[E.activeIndex].classList.add(t.slideActiveClass)}else{var a=new RegExp("\\s*"+t.slideActiveClass),s=new RegExp("\\s*"+t.slideVisibleClass);for(n=0;n<E.slides.length;n++)E.slides[n].className=E.slides[n].className.replace(a,"").replace(s,""),E.visibleSlides.indexOf(E.slides[n])>=0&&(E.slides[n].className+=" "+t.slideVisibleClass);E.slides[E.activeIndex].className+=" "+t.slideActiveClass}if(t.loop){var l=E.loopedSlides;E.activeLoopIndex=E.activeIndex-l,E.activeLoopIndex>=E.slides.length-2*l&&(E.activeLoopIndex=E.slides.length-2*l-E.activeLoopIndex),E.activeLoopIndex<0&&(E.activeLoopIndex=E.slides.length-2*l+E.activeLoopIndex),E.activeLoopIndex<0&&(E.activeLoopIndex=0)}else E.activeLoopIndex=E.activeIndex;t.pagination&&E.updatePagination(e)}}},E.createPagination=function(e){if(t.paginationClickable&&E.paginationButtons&&_(),E.paginationContainer=t.pagination.nodeType?t.pagination:n(t.pagination)[0],t.createPagination){var i="",r=E.slides.length,o=r;t.loop&&(o-=2*E.loopedSlides);for(var a=0;a<o;a++)i+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"></'+t.paginationElement+">";
14E.paginationContainer.innerHTML=i}E.paginationButtons=n("."+t.paginationElementClass,E.paginationContainer),e||E.updatePagination(),E.callPlugins("onCreatePagination"),t.paginationClickable&&T()},E.updatePagination=function(e){if(t.pagination&&!(E.slides.length<1)){var i=n("."+t.paginationActiveClass,E.paginationContainer);if(i){var r=E.paginationButtons;if(0!==r.length){for(var o=0;o<r.length;o++)r[o].className=t.paginationElementClass;var a=t.loop?E.loopedSlides:0;if(t.paginationAsRange){E.visibleSlides||E.calcVisibleSlides(e);var s,l=[];for(s=0;s<E.visibleSlides.length;s++){var u=E.slides.indexOf(E.visibleSlides[s])-a;t.loop&&u<0&&(u=E.slides.length-2*E.loopedSlides+u),t.loop&&u>=E.slides.length-2*E.loopedSlides&&(u=E.slides.length-2*E.loopedSlides-u,u=Math.abs(u)),l.push(u)}for(s=0;s<l.length;s++)r[l[s]]&&(r[l[s]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==r[E.activeLoopIndex]&&(r[E.activeLoopIndex].className+=" "+t.paginationActiveClass):r[E.activeIndex]&&(r[E.activeIndex].className+=" "+t.paginationActiveClass)}else t.loop?r[E.activeLoopIndex]&&(r[E.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):r[E.activeIndex]&&(r[E.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass)}}}},E.calcVisibleSlides=function(e){var n=[],i=0,r=0,o=0;$&&E.wrapperLeft>0&&(e+=E.wrapperLeft),!$&&E.wrapperTop>0&&(e+=E.wrapperTop);for(var a=0;a<E.slides.length;a++){i+=r,r="auto"===t.slidesPerView?$?E.h.getWidth(E.slides[a],!0,t.roundLengths):E.h.getHeight(E.slides[a],!0,t.roundLengths):N,o=i+r;var s=!1;t.visibilityFullFit?(i>=-e&&o<=-e+P&&(s=!0),i<=-e&&o>=-e+P&&(s=!0)):(o>-e&&o<=-e+P&&(s=!0),i>=-e&&i<-e+P&&(s=!0),i<-e&&o>-e+P&&(s=!0)),s&&n.push(E.slides[a])}0===n.length&&(n=[E.slides[E.activeIndex]]),E.visibleSlides=n};var ee,te;E.startAutoplay=function(){if(E.support.transitions){if("undefined"!=typeof ee)return!1;if(!t.autoplay)return;E.callPlugins("onAutoplayStart"),t.onAutoplayStart&&E.fireCallback(t.onAutoplayStart,E),C()}else{if("undefined"!=typeof te)return!1;if(!t.autoplay)return;E.callPlugins("onAutoplayStart"),t.onAutoplayStart&&E.fireCallback(t.onAutoplayStart,E),te=setInterval(function(){t.loop?(E.fixLoop(),E.swipeNext(!0,!0)):E.swipeNext(!0,!0)||(t.auto
14playStopOnLast?(clearInterval(te),te=void 0):E.swipeTo(0))},t.autoplay)}},E.stopAutoplay=function(e){if(E.support.transitions){if(!ee)return;ee&&clearTimeout(ee),ee=void 0,e&&!t.autoplayDisableOnInteraction&&E.wrapperTransitionEnd(function(){C()}),E.callPlugins("onAutoplayStop"),t.onAutoplayStop&&E.fireCallback(t.onAutoplayStop,E)}else te&&clearInterval(te),te=void 0,E.callPlugins("onAutoplayStop"),t.onAutoplayStop&&E.fireCallback(t.onAutoplayStop,E)},E.loopCreated=!1,E.removeLoopedSlides=function(){if(E.loopCreated)for(var e=0;e<E.slides.length;e++)E.slides[e].getData("looped")===!0&&E.wrapper.removeChild(E.slides[e])},E.createLoop=function(){if(0!==E.slides.length){"auto"===t.slidesPerView?E.loopedSlides=t.loopedSlides||1:E.loopedSlides=Math.floor(t.slidesPerView)+t.loopAdditionalSlides,E.loopedSlides>E.slides.length&&(E.loopedSlides=E.slides.length);var e,n="",i="",r="",o=E.slides.length,a=Math.floor(E.loopedSlides/o),s=E.loopedSlides%o;for(e=0;e<a*o;e++){var l=e;if(e>=o){var u=Math.floor(e/o);l=e-o*u}r+=E.slides[l].outerHTML}for(e=0;e<s;e++)i+=b(t.slideDuplicateClass,E.slides[e].outerHTML);for(e=o-s;e<o;e++)n+=b(t.slideDuplicateClass,E.slides[e].outerHTML);var c=n+r+A.innerHTML+r+i;for(A.innerHTML=c,E.loopCreated=!0,E.calcSlides(),e=0;e<E.slides.length;e++)(e<E.loopedSlides||e>=E.slides.length-E.loopedSlides)&&E.slides[e].setData("looped",!0);E.callPlugins("onCreateLoop")}},E.fixLoop=function(){var e;E.activeIndex<E.loopedSlides?(e=E.slides.length-3*E.loopedSlides+E.activeIndex,E.swipeTo(e,0,!1)):("auto"===t.slidesPerView&&E.activeIndex>=2*E.loopedSlides||E.activeIndex>E.slides.length-2*t.slidesPerView)&&(e=-E.slides.length+E.activeIndex+E.loopedSlides,E.swipeTo(e,0,!1))},E.loadSlides=function(){var e="";E.activeLoaderIndex=0;for(var n=t.loader.slides,i=t.loader.loadAllSlides?n.length:t.slidesPerView*(1+t.loader.surroundGroups),r=0;r<i;r++)e+="outer"===t.loader.slidesHTMLType?n[r]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+r+'">'+n[r]+"</"+t.slideElement+">";E.wrapper.innerHTML=e,E.calcSlides(!0),t.loader.loadAllSlides||E.wrapperTransitionEnd(E.reloadSlides,!0)},E.reloadSlides=function(){var e=t.loader.slides,n=parseInt(E.activeSlide().data("swiperindex"),10);if(!(n<0||n>e.length-1)){E.activeLoaderIndex=n;var i=Math.max(0,n-t.slidesPerView*t.loader.surroundGroups),r=Math.min(n+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(n>0){var o=-N*(n-i);E.setWrapperTranslate(o),E.setWrapperTransition(0)}var a;if("reload"===t.loader.logic){E.wrapper.innerHTML="";var s="";for(a=i;a<=r;a++)s+="outer"===t.loader.slidesHTMLType?e[a]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+a+'">'+e[a]+"</"+t.slideElement+">";E.wrapper.innerHTML=s}else{var l=1e3,u=0;for(a=0;a<E.slides.length;a++){var c=E.slides[a].data("swiperindex");c<i||c>r?E.wrapper.removeChild(E.slides[a]):(l=Math.min(c,l),u=Math.max(c,u))}for(a=i;a<=r;a++){var d;
14a<l&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],E.wrapper.insertBefore(d,E.wrapper.firstChild)),a>u&&(d=document.createElement(t.slideElement),d.className=t.slideClass,d.setAttribute("data-swiperindex",a),d.innerHTML=e[a],E.wrapper.appendChild(d))}}E.reInit(!0)}},D()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){"use strict";function n(s){if(s.target===o&&(e(r),r.params.queueEndCallbacks&&(r._queueEndCallbacks=!1),!t))for(i=0;i<a.length;i++)r.h.removeEventListener(o,a[i],n)}var i,r=this,o=r.wrapper,a=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(e)for(i=0;i<a.length;i++)r.h.addEventListener(o,a[i],n)},getWrapperTranslate:function(e){"use strict";var t,n,i,r,o=this.wrapper;return"undefined"==typeof e&&(e="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(i=window.getComputedStyle(o,null),window.WebKitCSSMatrix?r=new WebKitCSSMatrix("none"===i.webkitTransform?"":i.webkitTransform):(r=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=r.toString().split(",")),"x"===e&&(n=window.WebKitCSSMatrix?r.m41:16===t.length?parseFloat(t[12]):parseFloat(t[4])),"y"===e&&(n=window.WebKitCSSMatrix?r.m42:16===t.length?parseFloat(t[13]):parseFloat(t[5]))):("x"===e&&(n=parseFloat(o.style.left,10)||0),"y"===e&&(n=parseFloat(o.style.top,10)||0)),n||0},setWrapperTranslate:function(e,t,n){"use strict";var i,r=this.wrapper.style,o={x:0,y:0,z:0};3===arguments.length?(o.x=e,o.y=t,o.z=n):("undefined"==typeof t&&(t="horizontal"===this.params.mode?"x":"y"),o[t]=e),this.support.transforms&&this.params.useCSS3Transforms?(i=this.support.transforms3d?"translate3d("+o.x+"px, "+o.y+"px, "+o.z+"px)":"translate("+o.x+"px, "+o.y+"px)",r.webkitTransform=r.MsTransform=r.msTransform=r.MozTransform=r.OTransform=r.transform=i):(r.left=o.x+"px",r.top=o.y+"px"),this.callPlugins("onSetWrapperTransform",o),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,o)},setWrapperTransition:function(e){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:e}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,e)},h:{getWidth:function(e,t,n){"use strict";var i=window.getComputedStyle(e,null).getPropertyValue("width"),r=parseFloat(i);return(isNaN(r)||i.indexOf("%")>0||r<0)&&(r=e.offsetWidth-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),t&&(r+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),n?Math.ceil(r):r},getHeight:function(e,t,n){"use strict";if(t)return e.offsetHeight;var i=window.getComputedStyle(e,null).getPropertyValue("height"),r=parseFloat(i);return(isNaN(r)||i.indexOf("%")>0||r<0)&&(r=e.offsetHeight-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),t&&(r+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),n?Math.ceil(r):r},getOffset:function(e){"use strict";var t=e.getBoundingClientRect(),n=document.body,i=e.clientTop||n.clientTop||0,r=e.clientLeft||n.clientLeft||0,o=window.pageYOffset||e.scrollTop,a=window.pageXOffset||e.scrollLeft;return document.documentElement&&!window.pageYOffset&&(o=document.documentElement.scrollTop,a=document.documentElement.scrollLeft),{top:t.top+o-i,left:t.left+a-r}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(e,t,n,i){"use strict";"undefined"==typeof i&&(i=!1),e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},removeEventListener:function(e,t,n,i){"use strict";"undefined"==typeof i&&(i=!1),e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)}},setTransform:function(e,t){"use strict";var n=e.style;n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=t},setTranslate:function(e,t){"use strict";var n=e.style,i={x:t.x||0,y:t.y||0,z:t.z||0},r=this.support.transforms3d?"translate3d("+i.x+"px,"+i.y+"px,"+i.z+"px)":"translate("+i.x+"px,"+i.y+"px)";n.webkitTransform=n.MsTransform=n.msTransform=n.MozTransform=n.OTransform=n.transform=r,this.support.transforms||(n.left
14=i.x+"px",n.top=i.y+"px")},setTransition:function(e,t){"use strict";var n=e.style;n.webkitTransitionDuration=n.MsTransitionDuration=n.msTransitionDuration=n.MozTransitionDuration=n.OTransitionDuration=n.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var e=document.createElement("div").style;return"transform"in e||"WebkitTransform"in e||"MozTransform"in e||"msTransform"in e||"MsTransform"in e||"OTransform"in e}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"MsTransition"in e||"OTransition"in e}(),classList:function(){"use strict";var e=document.createElement("div");return"classList"in e}()},browser:{ie8:function(){"use strict";var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,n=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==n.exec(t)&&(e=parseFloat(RegExp.$1))}return e!==-1&&e<9}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(e){"use strict";e.fn.swiper=function(t){var n;return this.each(function(i){var r=e(this),o=new Swiper(r[0],t);i||(n=o),r.data("swiper",o)}),n}}(window.jQuery||window.Zepto),"undefined"!=typeof module?module.exports=Swiper:"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper}),Swiper.prototype.plugins.progress=function(e,t){function n(){for(var t=0;t<e.slides.length;t++){var n=e.slides[t];n.progressSlideSize=o?e.h.getWidth(n):e.h.getHeight(n),"offsetLeft"in n?n.progressSlideOffset=o?n.offsetLeft:n.offsetTop:n.progressSlideOffset=o?n.getOffset().left-e.h.getOffset(e.container).left:n.getOffset().top-e.h.getOffset(e.container).top}r=o?e.h.getWidth(e.wrapper)+e.wrapperLeft+e.wrapperRight-e.width:e.h.getHeight(e.wrapper)+e.wrapperTop+e.wrapperBottom-e.height}function i(t){var n,t=t||{x:0,y:0,z:0};n=1==e.params.centeredSlides?o?-t.x+e.width/2:-t.y+e.height/2:o?-t.x:-t.y;for(var i=0;i<e.slides.length;i++){var a=e.slides[i],s=1==e.params.centeredSlides?a.progressSlideSize/2:0,l=(n-a.progressSlideOffset-s)/a.progressSlideSize;a.progress=l}e.progress=o?-t.x/r:-t.y/r,e.params.onProgressChange&&e.fireCallback(e.params.onProgressChange,e)}var r,o="horizontal"==e.params.mode,a={onFirstInit:function(t){n(),i({x:e.getWrapperTranslate("x"),y:e.getWrapperTranslate("y")})},onInit:function(e){n()},onSetWrapperTransform:function(e){i(e)}};return a};var Giant=Giant||{};!function(){var e=function(e){this.$scope=$(".modal-old"),this.options=e||{},this.$scope.length||(this.$scope=$('<div class="modal"></div>'),this.$scope.html('<button type="button" class="modal-old__close" data-trigger="modal:close">Zavřít</button><div class="modal-old__content"></div>'),this.$scope.data("modal",this),this.$scope.hide().appendTo("main")),this.$content=this.$scope.find(".modal-old__content")};e.prototype={open:function(){var e=this;this.$scope.show().velocity({opacity:[1,0]},{duration:200,begin:function(){"onBeforeOpen"in e.options&&"function"==typeof e.options.onBeforeOpen&&e.options.onBeforeOpen(e)},complete:function(){"onAfterOpen"in e.options&&"function"==typeof e.options.onAfterOpen&&e.options.onAfterOpen(e)}})},close:function(){var e=this;this.$scope.velocity({opacity:0},{duration:200,begin:function(){"onBeforeClose"in e.options&&"function"==typeof e.options.onBeforeClose&&e.options.onBeforeClose(e)},complete:function(){"onAfterClose"in e.options&&"function"==typeof e.options.onAfterClose&&e.options.onAfterClose(e),this.$scope.hide(),this.$content.html("")}.bind(this)})}},$(document).on("modal:close",function(e){$(e.target).closest(".modal-old").data("modal").close()}),Giant.Modal=e}(),function(e,t){if(!t.Nette)return void console.log("Error: Nette form validation not loaded.");var n;t.live=n={orig:{validateControl:t.Nette.validateControl,initForm:t.Nette.initForm},events:{afterValidate:[]},on:function(e,t){return this.events[e].push(t),this},fire:function(t){var n=Array.prototype.slice.call(arguments);return n.shift(),e.each(this.events[t],function(e,t){t.apply(null,n)}),this},removeError:function(t){var n=e(t),i=n.closest(".input");return 0===i.length&&(i=n.parent()),i.removeClass("input--error"),i.find(".input__message").remove(),null==n.data("error-target")&&""==n.data("error-target")||e(n.data("error-target")).html(""),this},createErrorElement:function(t,n){return e('<label class="input__message" for="'+n+'"><span class="input__message-content">'+t+"</span></label>")},timeout:null},t.Nette.addError=function(t,i){var r=e(t),o=r.closest(".input");0===o.length&&(o=r.parent()),o.addClass("input--error");var a=n.createErrorElement(i,t.id);null==r.data("error-target")||""==r.data("error-target")?"checkbox"==r.attr("type")||"radio"==r.attr("type")?r.parent().append(a):r.after(a):(e(r.data("error-target")).html(a),e(r.data("error-target")).find("label").attr("for",""))},t.Nette.validateControl=function(t,i,r){var o=e(t);!r&&n.removeError(o);var a=n.orig.validateControl(t,i,r);return!a&&o.closest("form").data("nette-valid",!1),a},t.Nette.validateForm=function(i,r){r=r||!1;var o=i.form||i,a=!0;if(!o["nette-submittedBy"]||null===o["nette-submittedBy"].getAttribute("formnovalidate"))for(var s=0;s<o.elements.length;s++){var l=o.elements[s];
14!(l.nodeName.toLowerCase()in{input:1,select:1,textarea:1})||l.type in{hidden:1,submit:1,image:1,reset:1}||l.disabled||l.readonly||!e(l).hasClass("err")&&t.Nette.validateControl(l,null,r)||(a=!1)}var u=e(o);return u.data("nette-valid",a),n.fire("afterValidate",u),a},t.Nette.initForm=function(i){if(!(i.className.indexOf("manual-validation")>-1)){n.orig.initForm(i);var r=function(e){t.Nette.validateControl(e.target),t.Nette.validateForm(i,!0)},o=e(i);o.find('input:not([type="submit"]), textarea, select').each(function(){e(this).on({"change.live":function(t){e(this).data("blurred")&&r(t)},"blur.live":function(t){e(this).data("blurred",!0),r(t)},"keydown.live":function(i){e(this).data("blurred")&&(n.timeout&&t.clearTimeout(n.timeout),n.removeError(this))},"keyup.live":function(i){e(this).data("blurred")&&(n.timeout=t.setTimeout(function(){r(i)},320))}})})}}}(jQuery,window),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()}(this,function(){"use strict";var e=function(e,t){var n,i,r,o,a,s,l,u,c,d,f,h,p,m,g,v,y,w,b,x=this,S=!1,_=!0,T=!0,k={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!c&&Y();for(var n,i,r=e.target||e.srcElement,o=r.getAttribute("class")||"",a=0;a<V.length;a++)n=V[a],n.onTap&&o.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),v=!0;var s=t.features.isOldAndroid?600:30;y=setTimeout(function(){v=!1},s)}},D=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},M=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},E=function(){var e=1===g.getNumItemsFn();e!==m&&(M(i,"ui--one-slide",e),m=e)},A=function(){M(l,"share-modal--hidden",T)},N=function(){return T=!T,T?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){T&&A()},300)):(A(),setTimeout(function(){T||t.addClass(l,"pswp__share-modal--fade-in")},30)),T||L(),!1},O=function(t){t=t||window.event;var n=t.target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),T||N(),!1))},L=function(){for(var e,t,n,i,r,o="",a=0;a<g.shareButtons.length;a++)e=g.shareButtons[a],n=g.getImageURLForShare(e),i=g.getPageURLForShare(e),r=g.getTextForShare(e),t=e.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(n)).replace("{{raw_image_url}}",n).replace("{{text}}",encodeURIComponent(r)),o+='<a href="'+t+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(o=g.parseShareButtonOut(e,o));l.children[0].innerHTML=o,l.children[0].onclick=O},I=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},P=0,Y=function(){clearTimeout(b),P=0,c&&x.setIdle(!1)},F=function(e){e=e?e:window.event;var t=e.relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout(function(){x.setIdle(!0)},g.timeToIdleOutside))},R=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=x.getFullscreenAPI()),n?(t.bind(document,n.eventK,x.updateFullscreen),x.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},$=function(){g.preloaderEl&&(H(!0),d("beforeChange",function(){clearTimeout(p),p=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWi
14dth)&&H(!1):H(!0)},g.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&H(!0)}))},H=function(e){h!==e&&(M(f,"preloader--active",!e),h=e)},j=function(e){var n=e.vGap;if(D()){var a=g.barsSize;if(g.captionEl&&"auto"===a.bottom)if(o||(o=t.createEl("pswp__caption pswp__caption--fake"),o.appendChild(t.createEl("pswp__caption__center")),i.insertBefore(o,r),t.addClass(i,"pswp__ui--fit")),g.addCaptionHTMLFn(e,o,!0)){var s=o.clientHeight;n.bottom=parseInt(s,10)||44}else n.bottom=a.top;else n.bottom="auto"===a.bottom?0:a.bottom;n.top=a.top}else n.top=n.bottom=0},W=function(){g.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",Y),t.bind(document,"mouseout",F),w=setInterval(function(){P++,2===P&&x.setIdle(!0)},g.timeToIdle/2)})},z=function(){d("onVerticalDrag",function(e){_&&e<.95?x.hideControls():!_&&e>=.95&&x.showControls()});var e;d("onPinchClose",function(t){_&&t<.9?(x.hideControls(),e=!0):e&&!_&&t>.9&&x.showControls()}),d("zoomGestureEnded",function(){e=!1,e&&!_&&x.showControls()})},V=[{name:"caption",option:"captionEl",onInit:function(e){r=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){N()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){N()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){f=e}}],q=function(){var e,n,r,o=function(i){if(i)for(var o=i.length,a=0;a<o;a++){e=i[a],n=e.className;for(var s=0;s<V.length;s++)r=V[s],n.indexOf("pswp__"+r.name)>-1&&(g[r.option]?(t.removeClass(e,"pswp__element--disabled"),r.onInit&&r.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};o(i.children);var a=t.getChildByClass(i,"pswp__top-bar");a&&o(a.children)};x.init=function(){t.extend(e.options,k,!0),g=e.options,i=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,z(),d("beforeChange",x.update),d("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(g.getDoubleTapZoom(!1,e.currItem),t,333)}),d("preventDragEvent",function(e,t,n){var i=e.target||e.srcElement;i&&i.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(i.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)}),d("bindEvents",function(){t.bind(i,"pswpTap click",C),t.bind(e.scrollWrap,"pswpTap",x.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",x.onMouseOver)}),d("unbindEvents",function(){T||N(),w&&clearInterval(w),t.unbind(document,"mouseout",F),t.unbind(document,"mousemove",Y),t.unbind(i,"pswpTap click",C),t.unbind(e.scrollWrap,"pswpTap",x.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",x.onMouseOver),n&&(t.unbind(document,n.eventK,x.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){g.captionEl&&(o&&i.removeChild(o),t.removeClass(r,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(i,"pswp__ui--over-close"),t.addClass(i,"pswp__ui--hidden"),x.setIdle(!1)}),g.showAnimationDuration||t.removeClass(i,"pswp__ui--hidden"),d("initialZoomIn",function(){g.showAnimationDuration&&t.removeClass(i,"pswp__ui--hidden")}),d("initialZoomOut",function(){t.addClass(i,"pswp__ui--hidden")}),d("parseVerticalMargin",j),q(),g.shareEl&&s&&l&&(T=!0),E(),W(),R(),$()},x.setIdle=function(e){c=e,M(i,"ui--idle",e)},x.update=function(){_&&e.currItem?(x.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,r),M(r,"caption--empty",!e.currItem.title)),S=!0):S=!1,T||N(),E()},x.updateFullscreen=function(i){i&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},x.updateIndexIndicator=function(){g.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},x.onGlobalTap=function(n){n=n||window.event;var i=n.target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(I(i))return void e.close();t.hasClass(i,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?g.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(g.tapToToggleControls&&(_?x.hideControls():x.showControls()),g.tapToClose&&(t.hasClass(i,"pswp__img")||I(i)))return void e.close()},x.onMouseOver=function(e){e=e||window.event;var t=e.target||e.srcElement;M(i,"ui--over-close",I(t))},x.hideControls=function(){t.addClass(i,"pswp__ui--hidden"),_=!1},x.showControls=function(){_=!0,S||x.update(),t.removeClass(i,"pswp__ui--hidden")},x.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},x.getFullscreenAPI=function(){var t,n=document.documentElement,i="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}
14),t&&(t.enter=function(){return u=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK?e.template[this.enterK]():void e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return g.closeOnScroll=u,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}};return e}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()}(this,function(){"use strict";var e=function(e,t,n,i){var r={features:null,bind:function(e,t,n,i){var r=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var o=0;o<t.length;o++)t[o]&&e[r](t[o],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){r.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){r.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(r.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(r.features)return r.features;var e=r.createEl(),t=e.style,n="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!i.pointerEvent){var o=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var a=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);a&&a.length>0&&(a=parseInt(a[1],10),a>=1&&a<8&&(i.isOldIOSPhone=!0))}var s=o.match(/Android\s([0-9\.]*)/),l=s?s[1]:0;l=parseFloat(l),l>=1&&(l<4.4&&(i.isOldAndroid=!0),i.androidVersion=l),i.isMobileOpera=/opera mini|o
14pera mobi/i.test(o)}for(var u,c,d=["transform","perspective","animationName"],f=["","webkit","Moz","ms","O"],h=0;h<4;h++){n=f[h];for(var p=0;p<3;p++)u=d[p],c=n+(n?u.charAt(0).toUpperCase()+u.slice(1):u),!i[u]&&c in t&&(i[u]=c);n&&!i.raf&&(n=n.toLowerCase(),i.raf=window[n+"RequestAnimationFrame"],i.raf&&(i.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]))}if(!i.raf){var m=0;i.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-m)),i=window.setTimeout(function(){e(t+n)},n);return m=t+n,i},i.caf=function(e){clearTimeout(e)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r.features=i,i}};r.detectFeatures(),r.features.oldIE&&(r.bind=function(e,t,n,i){t=t.split(" ");for(var r,o=(i?"detach":"attach")+"Event",a=function(){n.handleEvent.call(n)},s=0;s<t.length;s++)if(r=t[s])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+r])return!1}else n["oldIE"+r]=a;e[o]("on"+r,n["oldIE"+r])}else e[o]("on"+r,n)});var o=this,a=25,s=3,l={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};r.extend(l,i);var u,c,d,f,h,p,m,g,v,y,w,b,x,S,_,T,k,C,D,M,E,A,N,O,L,I,P,Y,F,R,$,H,j,W,z,V,q,B,U,X,G,Z,K,Q,J,ee,te,ne,ie,re,oe,ae,se,le,ue,ce,de,fe=function(){return{x:0,y:0}},he=fe(),pe=fe(),me=fe(),ge={},ve=0,ye={},we=fe(),be=0,xe=!0,Se=[],_e={},Te=!1,ke=function(e,t){r.extend(o,t.publicMethods),Se.push(e)},Ce=function(e){var t=en();return e>t-1?e-t:e<0?t+e:e},De={},Me=function(e,t){return De[e]||(De[e]=[]),De[e].push(t)},Ee=function(e){var t=De[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(o,n)}},Ae=function(){return(new Date).getTime()},Ne=function(e){ue=e,o.bg.style.opacity=e*l.bgOpacity},Oe=function(e,t,n,i,r){(!Te||r&&r!==o.currItem)&&(i/=r?r.fitRatio:o.currItem.fitRatio),e[A]=b+t+"px, "+n+"px"+x+" scale("+i+")"},Le=function(e){re&&(e&&(y>o.currItem.fitRatio?Te||(hn(o.currItem,!1,!0),Te=!0):Te&&(hn(o.currItem),Te=!1)),Oe(re,me.x,me.y,y))},Ie=function(e){e.container&&Oe(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Pe=function(e,t){t[A]=b+e+"px, 0px"+x},Ye=function(e,t){if(!l.loop&&t){var n=f+(we.x*ve-e)/we.x,i=Math.round(e-wt.x);(n<0&&i>0||n>=en()-1&&i<0)&&(e=wt.x+i*l.mainScrollEndFriction)}wt.x=e,Pe(e,h)},Fe=function(e,t){var n=bt[e]-ye[e];return pe[e]+he[e]+n-n*(t/w)},Re=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},$e=function(e){e.x=Math.round(e.x),
15e.y=Math.round(e.y)},He=null,je=function(){He&&(r.unbind(document,"mousemove",je),r.addClass(e,"pswp--has_mouse"),l.mouseUsed=!0,Ee("mouseUsed")),He=setTimeout(function(){He=null},100)},We=function(){r.bind(document,"keydown",o),$.transform&&r.bind(o.scrollWrap,"click",o),l.mouseUsed||r.bind(document,"mousemove",je),r.bind(window,"resize scroll orientationchange",o),Ee("bindEvents")},ze=function(){r.unbind(window,"resize scroll orientationchange",o),r.unbind(window,"scroll",v.scroll),r.unbind(document,"keydown",o),r.unbind(document,"mousemove",je),$.transform&&r.unbind(o.scrollWrap,"click",o),U&&r.unbind(window,m,o),clearTimeout(H),Ee("unbindEvents")},Ve=function(e,t){var n=un(o.currItem,ge,e);return t&&(ie=n),n},qe=function(e){return e||(e=o.currItem),e.initialZoomLevel},Be=function(e){return e||(e=o.currItem),e.w>0?l.maxSpreadZoom:1},Ue=function(e,t,n,i){return i===o.currItem.initialZoomLevel?(n[e]=o.currItem.initialPosition[e],!0):(n[e]=Fe(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Xe=function(){if(A){var t=$.perspective&&!O;return b="translate"+(t?"3d(":"("),void(x=$.perspective?", 0px)":")")}A="left",r.addClass(e,"pswp--ie"),Pe=function(e,t){t.left=e+"px"},Ie=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,r=t*e.h;n.width=i+"px",n.height=r+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
15,Le=function(){if(re){var e=re,t=o.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,r=n*t.h;e.width=i+"px",e.height=r+"px",e.left=me.x+"px",e.top=me.y+"px"}}},Ge=function(e){var t="";l.escKey&&27===e.keyCode?t="close":l.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,o[t]()))},Ze=function(e){e&&(Z||G||oe||q)&&(e.preventDefault(),e.stopPropagation())},Ke=function(){o.setScrollOffset(0,r.getScrollY())},Qe={},Je=0,et=function(e){Qe[e]&&(Qe[e].raf&&I(Qe[e].raf),Je--,delete Qe[e])},tt=function(e){Qe[e]&&et(e),Qe[e]||(Je++,Qe[e]={})},nt=function(){for(var e in Qe)Qe.hasOwnProperty(e)&&et(e)},it=function(e,t,n,i,r,o,a){var s,l=Ae();tt(e);var u=function(){if(Qe[e]){if(s=Ae()-l,s>=i)return et(e),o(n),void(a&&a());o((n-t)*r(s/i)+t),Qe[e].raf=L(u)}};u()},rt={shout:Ee,listen:Me,viewportSize:ge,options:l,isMainScrollAnimating:function(){return oe},getZoomLevel:function(){return y},getCurrentIndex:function(){return f},isDragging:function(){return U},isZooming:function(){return ee}
15,setScrollOffset:function(e,t){ye.x=e,R=ye.y=t,Ee("updateScrollOffset",ye)},applyZoomPan:function(e,t,n,i){me.x=t,me.y=n,y=e,Le(i)},init:function(){if(!u&&!c){var n;o.framework=r,o.template=e,o.bg=r.getChildByClass(e,"pswp__bg"),P=e.className,u=!0,$=r.detectFeatures(),L=$.raf,I=$.caf,A=$.transform,F=$.oldIE,o.scrollWrap=r.getChildByClass(e,"pswp__scroll-wrap"),o.container=r.getChildByClass(o.scrollWrap,"pswp__container"),h=o.container.style,o.itemHolders=T=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],T[0].el.style.display=T[2].el.style.display="none",Xe(),v={resize:o.updateSize,orientationchange:function(){clearTimeout(H),H=setTimeout(function(){ge.x!==o.scrollWrap.clientWidth&&o.updateSize()},500)},scroll:Ke,keydown:Ge,click:Ze};var i=$.isOldIOSPhone||$.isOldAndroid||$.isMobileOpera;for($.animationName&&$.transform&&!i||(l.showAnimationDuration=l.hideAnimationDuration=0),n=0;n<Se.length;n++)o["init"+Se[n]]();if(t){var a=o.ui=new t(o,r);a.init()}Ee("firstUpdate"),f=f||l.index||0,(isNaN(f)||f<0||f>=en())&&(f=0),o.currItem=Jt(f),($.isOldIOSPhone||$.isOldAndroid)&&(xe=!1),e.setAttribute("aria-hidden","false"),l.modal&&(xe?e.style.position="fixed":(e.style.position="absolute",e.style.top=r.getScrollY()+"px")),void 0===R&&(Ee("initialLayout"),R=Y=r.getScrollY());var d="pswp--open ";for(l.mainClass&&(d+=l.mainClass+" "),l.showHideOpacity&&(d+="pswp--animate_opacity "),d+=O?"pswp--touch":"pswp--notouch",d+=$.animationName?" pswp--css_animation":"",d+=$.svg?" pswp--svg":"",r.addClass(e,d),o.updateSize(),p=-1,be=null,n=0;n<s;n++)Pe((n+p)*we.x,T[n].el.style);F||r.bind(o.scrollWrap,g,o),Me("initialZoomInEnd",function(){o.setContent(T[0],f-1),o.setContent(T[2],f+1),T[0].el.style.display=T[2].el.style.display="block",l.focus&&e.focus(),We()}),o.setContent(T[1],f),o.updateCurrItem(),Ee("afterInit"),xe||(S=setInterval(function(){Je||U||ee||y!==o.currItem.initialZoomLevel||o.updateSize()},1e3)),r.addClass(e,"pswp--visible")}},close:function(){u&&(u=!1,c=!0,Ee("close"),ze(),nn(o.currItem,null,!0,o.destroy))},destroy:function(){Ee("destroy"),Gt&&clearTimeout(Gt),e.setAttribute("aria-hidden","true"),e.className=P,S&&clearInterval(S),r.unbind(o.scrollWrap,g,o),r.unbind(window,"scroll",o),kt(),nt(),De=null},panTo:function(e,t,n){n||(e>ie.min.x?e=ie.min.x:e<ie.max.x&&(e=ie.max.x),t>ie.min.y?t=ie.min.y:t<ie.max.y&&(t=ie.max.y)),me.x=e,me.y=t,Le()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){e=Ce(e);var t=e-f;be=t,f=e,o.currItem=Jt(f),ve-=t,Ye(we.x*ve),nt(),oe=!1,o.updateCurrItem()},next:function(){o.goTo(f+1)},prev:function(){o.goTo(f-1)},updateCurrZoomItem:function(e){if(e&&Ee("beforeChange",0),T[1].el.children.length){var t=T[1].el.children[0];re=r.hasClass(t,"pswp__zoom-wrap")?t.style:null}else re=null;ie=o.currItem.bounds,w=y=o.currItem.initialZoomLevel,me.x=ie.center.x,me.y=ie.center.y,e&&Ee("afterChange")},invalidateCurrItems:function(){_=!0;for(var e=0;e<s;e++)T[e].item&&(T[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==be){var t,n=Math.abs(be);if(!(e&&n<2)){o.currItem=Jt(f),Te=!1,Ee("beforeChange",be),n>=s&&(p+=be+(be>0?-s:s),n=s);for(var i=0;i<n;i++)be>0?(t=T.shift(),T[s-1]=t,p++,Pe((p+2)*we.x,t.el.style),o.setContent(t,f-n+i+1+1)):(t=T.pop(),T.unshift(t),p--,Pe(p*we.x,t.el.style),o.setContent(t,f+n-i-1-1));if(re&&1===Math.abs(be)){var r=Jt(k);r.initialZoomLevel!==y&&(un(r,ge),hn(r),Ie(r))}be=0,o.updateCurrZoomItem(),k=f,Ee("afterChange")}}},updateSize:function(t){if(!xe&&l.modal){var n=r.getScrollY();if(R!==n&&(e.style.top=n+"px",R=n),!t&&_e.x===window.innerWidth&&_e.y===window.innerHeight)return;_e.x=window.innerWidth,_e.y=window.innerHeight,e.style.height=_e.y+"px"}if(ge.x=o.scrollWrap.clientWidth,ge.y=o.scrollWrap.clientHeight,Ke(),we.x=ge.x+Math.round(ge.x*l.spacing),we.y=ge.y,Ye(we.x*ve),Ee("beforeResize"),void 0!==p){for(var i,a,u,c=0;c<s;c++)i=T[c],Pe((c+p)*we.x,i.el.style),u=f+c-1,l.loop&&en()>2&&(u=Ce(u)),a=Jt(u),a&&(_||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(i,u),1===c&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):i.index===-1&&u>=0&&o.setContent(i,u),a&&a.container&&(un(a,ge),hn(a),Ie(a));_=!1}w=y=o.currItem.initialZoomLevel,ie=o.currItem.bounds,ie&&(me.x=ie.center.x,me.y=ie.center.y,Le(!0)),Ee("resize")}
15,zoomTo:function(e,t,n,i,o){t&&(w=y,bt.x=Math.abs(t.x)-me.x,bt.y=Math.abs(t.y)-me.y,Re(pe,me));var a=Ve(e,!1),s={};Ue("x",a,s,e),Ue("y",a,s,e);var l=y,u={x:me.x,y:me.y};$e(s);var c=function(t){1===t?(y=e,me.x=s.x,me.y=s.y):(y=(e-l)*t+l,me.x=(s.x-u.x)*t+u.x,me.y=(s.y-u.y)*t+u.y),o&&o(t),Le(1===t)};n?it("customZoomTo",0,1,n,i||r.easing.sine.inOut,c):c(1)}},ot=30,at=10,st={},lt={},ut={},ct={},dt={},ft=[],ht={},pt=[],mt={},gt=0,vt=fe(),yt=0,wt=fe(),bt=fe(),xt=fe(),St=function(e,t){return e.x===t.x&&e.y===t.y},_t=function(e,t){return Math.abs(e.x-t.x)<a&&Math.abs(e.y-t.y)<a},Tt=function(e,t){return mt.x=Math.abs(e.x-t.x),mt.y=Math.abs(e.y-t.y),Math.sqrt(mt.x*mt.x+mt.y*mt.y)},kt=function(){K&&(I(K),K=null)},Ct=function(){U&&(K=L(Ct),Wt())},Dt=function(){return!("fit"===l.scaleMode&&y===o.currItem.initialZoomLevel)},Mt=function(e,t){return!(!e||e===document)&&(!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:Mt(e.parentNode,t)))},Et={},At=function(e,t){return Et.prevent=!Mt(e.target,l.isClickableElement),Ee("preventDragEvent",e,t,Et),Et.prevent},Nt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Ot=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},Lt=function(e,t,n){if(e-W>50){var i=pt.length>2?pt.shift():{};i.x=t,i.y=n,pt.push(i),W=e}},It=function(){var e=me.y-o.currItem.initialPosition.y;return 1-Math.abs(e/(ge.y/2))},Pt={},Yt={},Ft=[],Rt=function(e){for(;Ft.length>0;)Ft.pop();return N?(de=0,ft.forEach(function(e){0===de?Ft[0]=e:1===de&&(Ft[1]=e),de++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Ft[0]=Nt(e.touches[0],Pt),e.touches.length>1&&(Ft[1]=Nt(e.touches[1],Yt))):(Pt.x=e.pageX,Pt.y=e.pageY,Pt.id="",Ft[0]=Pt),Ft},$t=function(e,t){var n,i,r,a,s=0,u=me[e]+t[e],c=t[e]>0,d=wt.x+t.x,f=wt.x-ht.x;return n=u>ie.min[e]||u<ie.max[e]?l.panEndFriction:1,u=me[e]+t[e]*n,!l.allowPanToNext&&y!==o.currItem.initialZoomLevel||(re?"h"!==ae||"x"!==e||G||(c?(u>ie.min[e]&&(n=l.panEndFriction,s=ie.min[e]-u,i=ie.min[e]-pe[e]),(i<=0||f<0)&&en()>1?(a=d,f<0&&d>ht.x&&(a=ht.x)):ie.min.x!==ie.max.x&&(r=u)):(u<ie.max[e]&&(n=l.panEndFriction,s=u-ie.max[e],i=pe[e]-ie.max[e]),(i<=0||f>0)&&en()>1?(a=d,f>0&&d<ht.x&&(a=ht.x)):ie.min.x!==ie.max.x&&(r=u))):a=d,"x"!==e)?void(oe||Q||y>o.currItem.fitRatio&&(me[e]+=t[e]*n)):(void 0!==a&&(Ye(a,!0),Q=a!==ht.x),ie.min.x!==ie.max.x&&(void 0!==r?me.x=r:Q||(me.x+=t.x*n)),void 0!==a)},Ht=function(e){if(!("mousedown"===e.type&&e.button>0)){if(Qt)return void e.preventDefault();if(!B||"mousedown"!==e.type){if(At(e,!0)&&e.preventDefault(),Ee("pointerDown"),N){var t=r.arraySearch(ft,e.pointerId,"id");t<0&&(t=ft.length),ft[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Rt(e),i=n.length;J=null,nt(),U&&1!==i||(U=se=!0,r.bind(window,m,o),V=ce=le=q=Q=Z=X=G=!1,ae=null,Ee("firstTouchStart",n),Re(pe,me),he.x=he.y=0,Re(ct,n[0]),Re(dt,ct),ht.x=we.x*ve,pt=[{x:ct.x,y:ct.y}],W=j=Ae(),Ve(y,!0),kt(),Ct()),!ee&&i>1&&!oe&&!Q&&(w=y,G=!1,ee=X=!0,he.y=he.x=0,Re(pe,me),Re(st,n[0]),Re(lt,n[1]),Ot(st,lt,xt),bt.x=Math.abs(xt.x)-me.x,bt.y=Math.abs(xt.y)-me.y,te=ne=Tt(st,lt))}}},jt=function(e){if(e.preventDefault(),N){var t=r.arraySearch(ft,e.pointerId,"id");if(t>-1){var n=ft[t];n.x=e.pageX,n.y=e.pageY}}if(U){var i=Rt(e);if(ae||Z||ee)J=i;else if(wt.x!==we.x*ve)ae="h";else{var o=Math.abs(i[0].x-ct.x)-Math.abs(i[0].y-ct.y);Math.abs(o)>=at&&(ae=o>0?"h":"v",J=i)}}},Wt=function(){if(J){var e=J.length;if(0!==e)if(Re(st,J[0]),ut.x=st.x-ct.x,ut.y=st.y-ct.y,ee&&e>1){if(ct.x=st.x,ct.y=st.y,!ut.x&&!ut.y&&St(J[1],lt))return;Re(lt,J[1]),G||(G=!0,Ee("zoomGestureStarted"));var t=Tt(st,lt),n=Ut(t);n>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(ce=!0);var i=1,r=qe(),a=Be();if(n<r)if(l.pinchToClose&&!ce&&w<=o.currItem.initialZoomLevel){var s=r-n,u=1-s/(r/1.2);Ne(u),Ee("onPinchClose",u),le=!0}else i=(r-n)/r,i>1&&(i=1),n=r-i*(r/3);else n>a&&(i=(n-a)/(6*r),i>1&&(i=1),n=a+i*r);i<0&&(i=0),te=t,Ot(st,lt,vt),he.x+=vt.x-xt.x,he.y+=vt.y-xt.y,Re(xt,vt),me.x=Fe("x",n),me.y=Fe("y",n),V=n>y,y=n,Le()}else{if(!ae)return;if(se&&(se=!1,Math.abs(ut.x)>=at&&(ut.x-=J[0].x-dt.x),Math.abs(ut.y)>=at&&(ut.y-=J[0].y-dt.y)),ct.x=st.x,ct.y=st.y,0===ut.x&&0===ut.y)return;if("v"===ae&&l.closeOnVerticalDrag&&!Dt()){he.y+=ut.y,me.y+=ut.y;var c=It();return q=!0,Ee("onVerticalDrag",c),Ne(c),void Le()}Lt(Ae(),st.x,st.y),Z=!0,ie=o.currItem.bounds;var d=$t("x",ut);d||($t("y",ut),$e(me),Le())}}},zt=function(e){if($.isOldAndroid){if(B&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(B),B=setTimeout(function(){B=0},600))}Ee("pointerUp"),At(e,!1)&&e.preventDefault();var t;if(N){var n=r.arraySearch(ft,e.pointerId,"id");if(n>-1)if(t=ft.splice(n,1)[0],navigator.msPointerEnabled){var i={4:"mouse",2:"touch",3:"pen"};t.type=i[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}else t.type=e.pointerType||"mouse"}var a,s=Rt(e),u=s.length;if("mouseup"===e.type&&(u=0),2===u)return J=null,!0;1===u&&Re(dt,s[0]),0!==u||ae||oe||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),Ee("touchRelease",e,t));var c=-1;if(0===u&&(U=!1,r.unbind(window,m,o),kt(),ee?c=0:yt!==-1&&(c=Ae()-yt)),yt=1===u?Ae():-1,a=c!==-1&&c<150?"zoom":"swipe",ee&&u<2&&(ee=!1,1===u&&(a="zoomPointerUp"),Ee("zoomGestureEnded")),J=null,Z||G||oe||q)if(nt(),z||(z=Vt()),z.calculateSwipeSpeed("x"),q){var d=It();if(d<l.verticalDragRange)o.close();else{var f=me.y,h=ue;it("verticalDrag",0,1,300,r.easing.cubic.out,function(e){me.y=(o.currItem.initialPosition.y-f)*e+f,Ne((1-h)*e+h),Le()}),Ee("onVerticalDrag",1)}}else{if((Q||oe)&&0===u){var p=Bt(a,z);if(p)return;a="zoomPointerUp"}if(!oe)return"swipe"!==a?void Xt():void(!Q&&y>o.currItem.fitRatio&&qt(z))}},Vt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{}
15,backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){pt.length>1?(e=Ae()-W+50,t=pt[pt.length-2][i]):(e=Ae()-j,t=dt[i]),n.lastFlickOffset[i]=ct[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(me[e]>ie.min[e]?n.backAnimDestination[e]=ie.min[e]:me[e]<ie.max[e]&&(n.backAnimDestination[e]=ie.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,it("bounceZoomPan"+e,me[e],n.backAnimDestination[e],t||300,r.easing.sine.out,function(t){me[e]=t,Le()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,me[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Qe.zoomPan&&(Qe.zoomPan.raf=L(n.panAnimLoop),n.now=Ae(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Le(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return me.x=Math.round(me.x),me.y=Math.round(me.y),Le(),void et("zoomPan")}};return n},qt=function(e){return e.calculateSwipeSpeed("y"),ie=o.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05?(e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0):(tt("zoomPan"),e.lastNow=Ae(),void e.panAnimLoop())},Bt=function(e,t){var n;oe||(gt=f);var i;if("swipe"===e){var a=ct.x-dt.x,s=t.lastFlickDist.x<10;a>ot&&(s||t.lastFlickOffset.x>20)?i=-1:a<-ot&&(s||t.lastFlickOffset.x<-20)&&(i=1)}var u;i&&(f+=i,f<0?(f=l.loop?en()-1:0,u=!0):f>=en()&&(f=l.loop?0:en()-1,u=!0),u&&!l.loop||(be+=i,ve-=i,n=!0));var c,d=we.x*ve,h=Math.abs(d-wt.x);return n||d>wt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?h/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,gt===f&&(n=!1),oe=!0,Ee("mainScrollAnimStart"),it("mainScroll",wt.x,d,c,r.easing.cubic.out,Ye,function(){nt(),oe=!1,gt=-1,(n||gt!==f)&&o.updateCurrItem(),Ee("mainScrollAnimComplete")}),n&&o.updateCurrItem(!0),n},Ut=function(e){return 1/ne*e*w},Xt=function(){var e=y,t=qe(),n=Be();y<t?e=t:y>n&&(e=n);var i,a=1,s=ue;return le&&!V&&!ce&&y<t?(o.close(),!0):(le&&(i=function(e){Ne((a-s)*e+s)}),o.zoomTo(e,0,200,r.easing.cubic.out,i),!0)};ke("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,r){C=e+t,D=e+n,M=e+i,E=r?e+r:""};N=$.pointerEvent,N&&$.touch&&($.touch=!1),N?navigator.msPointerEnabled?e("MSPointer","Down","Move","Up","Cancel"):e("pointer","down","move","up","cancel"):$.touch?(e("touch","start","move","end","cancel"),O=!0):e("mouse","down","move","up"),m=D+" "+M+" "+E,g=C,N&&!O&&(O=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=O,v[C]=Ht,v[D]=jt,v[M]=zt,E&&(v[E]=v[M]),$.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[C],v.mousemove=v[D],v.mouseup=v[M]),O||(l.allowPanToNext=!1)}}});var Gt,Zt,Kt,Qt,Jt,en,tn,nn=function(t,n,i,a){Gt&&clearTimeout(Gt),Qt=!0,Kt=!0;var s;t.initialLayout?(s=t.initialLayout,t.initialLayout=null):s=l.getThumbBoundsFn&&l.getThumbBoundsFn(f);var u=i?l.hideAnimationDuration:l.showAnimationDuration,c=function(){et("initialZoom"),i?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(Ne(1),n&&(n.style.display="block"),r.addClass(e,"pswp--animated-in"),Ee("initialZoom"+(i?"OutEnd":"InEnd"))),a&&a(),Qt=!1};if(!u||!s||void 0===s.x)return Ee("initialZoom"+(i?"Out":"In")),y=t.initialZoomLevel,Re(me,t.initialPosition),Le(),e.style.opacity=i?0:1,Ne(1),void(u?setTimeout(function(){c()},u):c());var h=function(){var n=d,a=!o.currItem.src||o.currItem.loadError||l.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(y=s.w/t.w,me.x=s.x,me.y=s.y-Y,o[a?"template":"bg"].style.opacity=.001,Le()),tt("initialZoom"),i&&
15!n&&r.removeClass(e,"pswp--animated-in"),a&&(i?r[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){r.addClass(e,"pswp--animate_opacity")},30)),Gt=setTimeout(function(){if(Ee("initialZoom"+(i?"Out":"In")),i){var o=s.w/t.w,l={x:me.x,y:me.y},d=y,f=ue,h=function(t){1===t?(y=o,me.x=s.x,me.y=s.y-R):(y=(o-d)*t+d,me.x=(s.x-l.x)*t+l.x,me.y=(s.y-R-l.y)*t+l.y),Le(),a?e.style.opacity=1-t:Ne(f-t*f)};n?it("initialZoom",0,1,u,r.easing.cubic.out,h,c):(h(1),Gt=setTimeout(c,u+20))}else y=t.initialZoomLevel,Re(me,t.initialPosition),Le(),Ne(1),a?e.style.opacity=1:Ne(1),Gt=setTimeout(c,u+20)},i?25:90)};h()},rn={},on=[],an={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Zt.length}},sn=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},ln=function(e,t,n){var i=e.bounds;i.center.x=Math.round((rn.x-t)/2),i.center.y=Math.round((rn.y-n)/2)+e.vGap.top,i.max.x=t>rn.x?Math.round(rn.x-t):i.center.x,i.max.y=n>rn.y?Math.round(rn.y-n)+e.vGap.top:i.center.y,i.min.x=t>rn.x?0:i.center.x,i.min.y=n>rn.y?e.vGap.top:i.center.y},un=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),Ee("parseVerticalMargin",e)),rn.x=t.x,rn.y=t.y-e.vGap.top-e.vGap.bottom,i){var r=rn.x/e.w,o=rn.y/e.h;e.fitRatio=r<o?r:o;var a=l.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=sn())}if(!n)return;return ln(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=sn(),e.initialPosition=e.bounds.center,e.bounds},cn=function(e,t,n,i,r,a){t.loadError||i&&(t.imageAppended=!0,hn(t,i,t===o.currItem&&Te),n.appendChild(i),a&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},dn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=r.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},fn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=l.errorMsg.replace("%url%",e.
15src),!0},hn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),r=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=r+"px"),t.style.width=i+"px",t.style.height=r+"px"}},pn=function(){if(on.length){for(var e,t=0;t<on.length;t++)e=on[t],e.holder.index===e.index&&cn(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);on=[]}};ke("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ce(e);var t=Jt(e);t&&(!t.loaded&&!t.loading||_)&&(Ee("gettingData",e,t),t.src&&dn(t))},initController:function(){r.extend(l,an,!0),o.items=Zt=n,Jt=o.getItemAt,en=l.getNumItemsFn,tn=l.loop,en()<3&&(l.loop=!1),Me("beforeChange",function(e){var t,n=l.preload,i=null===e||e>=0,r=Math.min(n[0],en()),a=Math.min(n[1],en());for(t=1;t<=(i?a:r);t++)o.lazyLoadItem(f+t);for(t=1;t<=(i?r:a);t++)o.lazyLoadItem(f-t)}),Me("initialLayout",function(){o.currItem.initialLayout=l.getThumbBoundsFn&&l.getThumbBoundsFn(f)}),Me("mainScrollAnimComplete",pn),Me("initialZoomInEnd",pn),Me("destroy",function(){for(var e,t=0;t<Zt.length;t++)e=Zt[t],e.container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);on=null})},getItemAt:function(e){return e>=0&&(void 0!==Zt[e]&&Zt[e])},allowProgressiveImg:function(){return l.forceProgressiveLoading||!O||l.mouseUsed||screen.width>1200},setContent:function(e,t){l.loop&&(t=Ce(t));var n=o.getItemAt(e.index);n&&(n.container=null);var i,a=o.getItemAt(t);if(!a)return void(e.el.innerHTML="");Ee("gettingData",t,a),e.index=t,e.item=a;var s=a.container=r.createEl("pswp__zoom-wrap");if(!a.src&&a.html&&(a.html.tagName?s.appendChild(a.html):s.innerHTML=a.html),fn(a),un(a,ge),!a.src||a.loadError||a.loaded)a.src&&!a.loadError&&(i=r.createEl("pswp__img","img"),i.style.opacity=1,i.src=a.src,hn(a,i),cn(t,a,s,i,!0));else{if(a.loadComplete=function(n){if(u){if(e&&e.index===t){if(fn(n,!0))return n.loadComplete=n.img=null,un(n,ge),Ie(n),void(e.index===f&&o.updateCurrZoomItem());n.imageAppended?!Qt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):$.transform&&(oe||Qt)?on.push({item:n,baseDiv:s,img:n.img,index:t,holder:e,clearPlaceholder:!0}):cn(t,n,s,n.img,oe||Qt,!0)}n.loadComplete=null,n.img=null,Ee("imageLoadComplete",t,n)}},r.features.transform){var c="pswp__img pswp__img--placeholder";c+=a.msrc?"":" pswp__img--placeholder--blank";var d=r.createEl(c,a.msrc?"img":"");a.msrc&&(d.src=a.msrc),hn(a,d),s.appendChild(d),a.placeholder=d}a.loading||dn(a),o.allowProgressiveImg()&&(!Kt&&$.transform?on.push({item:a,baseDiv:s,img:a.img,index:t,holder:e}):cn(t,a,s,a.img,!0,!0))}Kt||t!==f?Ie(a):(re=s.style,nn(a,i||a.img)),e.el.innerHTML="",e.el.appendChild(s)},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var mn,gn={},vn=function(e,t,n){var i=document.createEvent("CustomEvent"),r={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,r),e.target.dispatchEvent(i)};ke("Tap",{publicMethods:{initTap:function(){Me("firstTouchStart",o.onTapStart),Me("touchRelease",o.onTapRelease),Me("destroy",function(){gn={},mn=null})},onTapStart:function(e){e.length>1&&(clearTimeout(mn),mn=null)},onTapRelease:function(e,t){if(t&&!Z&&!X&&!Je){var n=t;if(mn&&(clearTimeout(mn),mn=null,_t(n,gn)))return void Ee("doubleTap",n);if("mouse"===t.type)return void vn(e,t,"mouse");var i=e.target.tagName.toUpperCase();if("BUTTON"===i||r.hasClass(e.target,"pswp__single-tap"))return void vn(e,t);Re(gn,n),mn=setTimeout(function(){vn(e,t),mn=null},300)}}}});var yn;ke("DesktopZoom",{publicMethods:{initDesktopZoom:function(){F||(O?Me("mouseUsed",function(){o.setupDesktopZoom()}):o.setupDesktopZoom(!0))},setupDesktopZoom:function(t){yn={};var n="wheel mousewheel DOMMouseScroll";Me("bindEvents",function(){r.bind(e,n,o.handleMouseWheel)}),Me("unbindEvents",function(){yn&&r.unbind(e,n,o.handleMouseWheel)}),o.mouseZoomedIn=!1;var i,a=function(){o.mouseZoomedIn&&(r.removeClass(e,"pswp--zoomed-in"),o.mouseZoomedIn=!1),y<1?r.addClass(e,"pswp--zoom-allowed"):r.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(r.removeClass(e,"pswp--dragging"),i=!1)};Me("resize",a),Me("afterChange",a),Me("pointerDown",function(){o.mouseZoomedIn&&(i=!0,r.addClass(e,"pswp--dragging"))}),Me("pointerUp",s),t||a()},handleMouseWheel:function(e){if(y<=o.currItem.fitRatio)return l.modal&&(!l.closeOnScroll||Je||U?e.preventDefault():A&&Math.abs(e.deltaY)>2&&(d=!0,o.close())),!0;if(e.stopPropagation(),yn.x=0,"deltaX"in e)1===e.deltaMode?(yn.x=18*e.deltaX,yn.y=18*e.deltaY):(yn.x=e.deltaX,yn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(yn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?yn.y=-.16*e.wheelDeltaY:yn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;yn.y=e.detail}Ve(y,!0);var t=me.x-yn.x,n=me.y-yn.y;(l.modal||t<=ie.min.x&&t>=ie.max.x&&n<=ie.min.y&&n>=ie.max.y)&&e.preventDefault(),o.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:ge.x/2+ye.x,y:ge.y/2+ye.y};var n=l.getDoubleTapZoom(!0,o.currItem),i=y===n;o.mouseZoomedIn=!i,o.zoomTo(i?o.currItem.initialZoomLevel:n,t,333),r[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var wn,bn,xn,Sn,_n,Tn,kn,Cn,Dn,Mn,En,An,Nn={history:!0,galleryUID:1},On=function(){return En.hash.substring(1)},Ln=function(){wn&&clearTimeout(wn),xn&&clearTimeout(xn)},In=function(){var e=On(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var r=i[n].split("=");r.length<2||(t[r[0]]=r[1])}if(l.galleryPIDs){var o=t.pid;for(t.pid=0,n=0;n<Zt.length;n++)if(Zt[n].pid===o){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Pn=function(){if(xn&&clearTimeout(xn),Je||U)return void(xn=setTimeout(Pn,500));Sn?clearTimeout(bn):Sn=!0;var e=f+1,t=Jt(f);t.hasOwnProperty("pid")&&(e=t.pid);var n=kn+"&gid="+l.galleryUID+"&pid="+e;Cn||En.hash.indexOf(n)===-1&&(Mn=!0);var i=En.href.split("#")[0]+"#"+n;An?"#"+n!==window.location.hash&&history[Cn?"replaceState":"pushState"]("",document.title,i):Cn?En.replace(i):En.hash=n,Cn=!0,bn=setTimeout(function(){Sn=!1},60)};ke("History",{publicMethods:{initHistory:function(){if(r.extend(l,Nn,!0),l.history){En=window.location,Mn=!1,Dn=!1,Cn=!1,kn=On(),An="pushState"in history,kn.indexOf("gid=")>-1&&(kn=kn.split("&gid=")[0],kn=kn.split("?gid=")[0]),Me("afterChange",o.updateURL),Me("unbindEvents",function(){r.unbind(window,"hashchange",o.onHashChange)});var e=function(){Tn=!0,Dn||(Mn?history.back():kn?En.hash=kn:An?history.pushState("",document.title,En.pathname+En.search):En.hash=""),Ln()};Me("unbindEvents",function(){d&&e()}),Me("destroy",function(){Tn||e()}),Me("firstUpdate",function(){f=In().pid});var t=kn.indexOf("pid=");t>-1&&(kn=kn.substring(0,t),"&"===kn.slice(-1)&&(kn=kn.slice(0,-1))),setTimeout(function(){u&&r.bind(window,"hashchange",o.onHashChange)},40)}},onHashChange:function(){return On()===kn?(Dn=!0,void o.close()):void(Sn||(_n=!0,o.goTo(In().pid),_n=!1))},updateURL:function(){Ln(),_n||(Cn?wn=setTimeout(Pn,800):Pn())}}}),r.extend(o,rt)};return e}),OLD_IE||!function(e,t){OLD_IE||("object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define("salvattore",[],t):e.salvattore=t())}(this,function(){window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,i=0,r=[],o=function(t){clearTimeout(i),i=setTimeout(function(){for(var t=0,n=r.length;t<n;t++){var i=r[t].mql,o=r[t].listeners||[],a=e(i.media).matches;if(a!==i.matches){i.matches=a;for(var s=0,l=o.length;s<l;s++)o[s].call(window,i)}}},30)};window.matchMedia=function(i){var a=e(i),s=[],l=0;return a.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",o,!0)),0===l&&(l=r.push({mql:a,listeners:s})),s.push(e))},a.removeListener=function(e){for(var t=0,n=s.length;t<n;t++)s[t]===e&&s.splice(t,1)},a}}
15(),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var i=(new Date).getTime(),r=Math.max(0,16-(i-e)),o=window.setTimeout(function(){t(i+r)},r);return e=i+r,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var e=function(e,t,n){"use strict";var i={},r=[],o=function(e,t,n){e.dataset?e.dataset[t]=n:e.setAttribute("data-"+t,n)};return i.obtain_grid_settings=function(t){var n,i,r=e.getComputedStyle(t,":before"),o=r.getPropertyValue("content").slice(1,-1),a=o.match(/^\s*(\d+)(?:\s?\.(.+))?\s*$/);return a?(n=a[1],i=a[2],i=i?i.split("."):["column"]):(a=o.match(/^\s*\.(.+)\s+(\d+)\s*$/),i=a[1],n=a[2],n&&(n=n.split("."))),{numberOfColumns:n,columnClasses:i}},i.add_columns=function(e,n){for(var r,a=i.obtain_grid_settings(e),s=a.numberOfColumns,l=a.columnClasses,u=new Array((+s)),c=t.createDocumentFragment(),d=s;0!==d--;)r="[data-columns] > *:nth-child("+s+"n-"+d+")",u.push(n.querySelectorAll(r));u.forEach(function(e){var n=t.createElement("div"),i=t.createDocumentFragment();n.className=l.join(" "),Array.prototype.forEach.call(e,function(e){i.appendChild(e)}),n.appendChild(i),c.appendChild(n)}),e.appendChild(c),o(e,"columns",s)},i.remove_columns=function(n){var i=t.createRange();i.selectNodeContents(n);var r=Array.prototype.filter.call(i.extractContents().childNodes,function(t){return t instanceof e.HTMLElement}),a=r.length,s=r[0].childNodes.length,l=new Array(s*a);Array.prototype.forEach.call(r,function(e,t){Array.prototype.forEach.call(e.children,function(e,n){l[n*a+t]=e})});var u=t.createElement("div");return o(u,"columns",0),l.filter(function(e){return!!e}).forEach(function(e){u.appendChild(e)}),u},i.recreate_columns=function(t){e.requestAnimationFrame(function(){i.add_columns(t,i.remove_columns(t))})},i.media_query_change=function(e){e.matches&&Array.prototype.forEach.call(r,i.recreate_columns)},i.get_css_rules=function(e){var t;try{t=e.sheet.cssRules||e.sheet.rules}catch(n){return[]}return t||[]},i.get_stylesheets=function(){return Array.prototype.concat.call(Array.prototype.slice.call(t.querySelectorAll("style[type='text/css']")),Array.prototype.slice.call(t.querySelectorAll("link[rel='stylesheet']")))},i.media_rule_has_columns_selector=function(e){for(var t,n=e.length;n--;)if(t=e[n],t.selectorText&&t.selectorText.match(/\[data-columns\](.*)::?before$/))return!0;return!1},i.scan_media_queries=function(){var t=[];e.matchMedia&&(i.get_stylesheets().forEach(function(n){Array.prototype.forEach.call(i.get_css_rules(n),function(n){n.media&&i.media_rule_has_columns_selector(n.cssRules)&&t.push(e.matchMedia(n.media.mediaText))})}),t.forEach(function(e){e.addListener(i.media_query_change)}))}
15,i.next_element_column_index=function(e,t){var n,i,r,o=e.children,a=o.length,s=0,l=0;for(r=0;r<a;r++)n=o[r],i=n.children.length+t[r].children.length,0===s&&(s=i),i<s&&(l=r,s=i);return l},i.create_list_of_fragments=function(e){for(var n=new Array(e),i=0;i!==e;)n[i]=t.createDocumentFragment(),i++;return n},i.append_elements=function(e,t){var n=e.children,r=n.length,o=i.create_list_of_fragments(r);t.forEach(function(t){var n=i.next_element_column_index(e,o);o[n].appendChild(t)}),Array.prototype.forEach.call(n,function(e,t){e.appendChild(o[t])})},i.prepend_elements=function(e,n){var r=e.children,o=r.length,a=i.create_list_of_fragments(o),s=o-1;n.forEach(function(e){var t=a[s];t.insertBefore(e,t.firstChild),0===s?s=o-1:s--}),Array.prototype.forEach.call(r,function(e,t){e.insertBefore(a[t],e.firstChild);
16});for(var l=t.createDocumentFragment(),u=n.length%o;0!==u--;)l.appendChild(e.lastChild);e.insertBefore(l,e.firstChild)},i.register_grid=function(n){if("none"!==e.getComputedStyle(n).display){var a=t.createRange();a.selectNodeContents(n);var s=t.createElement("div");s.appendChild(a.extractContents()),o(s,"columns",0),i.add_columns(n,s),r.push(n)}},i.init=function(){var e=t.createElement("style");e.innerHTML="[data-columns]::before{visibility:hidden;position:absolute;font-size:1px;}",t.head.appendChild(e);var n=t.querySelectorAll("[data-columns]");Array.prototype.forEach.call(n,i.register_grid),i.scan_media_queries()},i.init(),{append_elements:i.append_elements,prepend_elements:i.prepend_elements,register_grid:i.register_grid}}(window,window.document);return e});var $window=$(window),$body=$(document.body),Site={Form:{}},OLD_IE=OLD_IE||!1;Site.screenSize={small:"screen and (min-width: 20em)",maxSmall:"screen and (max-width: 47.9375em)",medium:"screen and (min-width: 48em)",maxMedium:"screen and (max-width:63.9375em)",normal:"screen and (min-width:64em)",maxNormal:"screen and (max-width: 74.9375em)",large:"screen and (min-width: 75em)"},Site.viewport={small:Modernizr.mq(Site.screenSize.small),medium:Modernizr.mq(Site.screenSize.medium),normal:Modernizr.mq(Site.screenSize.normal),large:Modernizr.mq(Site.screenSize.large)},Site.setViewports=function(){Site.viewport={small:Modernizr.mq(Site.screenSize.small)&&Modernizr.mq(Site.screenSize.maxSmall),medium:Modernizr.mq(Site.screenSize.medium)&&Modernizr.mq(Site.screenSize.maxMedium),normal:Modernizr.mq(Site.screenSize.normal)&&Modernizr.mq(Site.screenSize.maxNormal),large:Modernizr.mq(Site.screenSize.large)}},Site.setViewports(),$window.on("viewportChange",Site.setViewports),$.substitute=function(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return n in t?t[n]:e})};var maxMedium=!1,maxSmall=!1;enquire.register(Site.screenSize.maxMedium,{match:function(){maxMedium=!0},unmatch:function(){maxMedium=!1}}),enquire.register(Site.screenSize.maxSmall,{match:function(){maxSmall=!0},unmatch:function(){maxSmall=!1}}),"addEventListener"in document&&document.addEventListener("DOMContentLoaded",function(){FastClick.attach(document.body)},!1),$.nette&&$.nette.init(),$.nette&&$.nette.ext("domchange",{success:function(e){e.snippets&&Object.keys(e.snippets).forEach(function(e){$("#"+e).trigger("change:dom")})}}),function(){function e(e,n){var i=e.split("#"),r=i[0],o=i[1];u=r,r in s?t(r,o,n):$.ajax({url:r,dataType:"html"}).then(function(e){var i=$("<div>");i.html(e),s[r]={title:i.find("title").html().replace(/^\s*|\n|\s*$/gi,""),html:i.find("main").html(),overlayer:i.find("#overlayer").html(),classes:i.find("main").attr("class"),lang:i.find(".Header-languages").html()},u===r&&t(r,o,n)})}function t(e,t,n){e!==l&&(l=e,d.velocity({opacity:[.01,1]},{duration:200,complete:function(){var i=0;o.trigger("pageTransitionBeforeLeave"),d.html(s[e].html).attr("class",s[e].classes),f.length&&f.html(s[e].overlayer),$("title").html(s[e].title),"pushState"in window.history&&!n&&(window.history.pushState({url:e,fragment:t},s[e].title,t?e+"#"+t:e),$("title").html(s[e].title)),"nette"in $&&$.nette.ext("snippets").afterQueue.fire(d),o.trigger("pageTransitionAfterRender"),d.css("opacity",.01),h.html(s[e].lang),d.trigger("change:dom");var r=new CustomEvent("swup:contentReplaced");document.dispatchEvent(r),setTimeout(function(){if(t){var e=document.getElementById(t)||document.getElementById(t+"-panel");e&&(i=$(e).offset().top-(e.id.indexOf("-panel")>-1?160:80))}$(document.body).velocity("scroll",{offset:i+"px",duration:200,easing:"easeInOutSine",complete:function(){d.velocity({opacity:[1,.01]},{delay:300,duration:200})}})},t?400:0)}}))}function n(){a.on("click.pageTransitions",r,function(t){t.preventDefault(),e(this.getAttribute("xlink:href")||this.href)}),o.on("popstate.pageTransitions",function(t){var n=window.location.href.split("#"),i=n[0],r=n[1];if(i===l)return!0;var o={url:i,fragment:r};t.originalEvent.state&&t.originalEvent.state.url&&(o.url=t.originalEvent.state.url,o.fragment=t.originalEvent.state.fragment),e(o.fragment?o.url+"#"+o.fragment:o.url,!0)}),l=window.location.href.replace(/#.*$/,""),window.pageTransitionsActive=!0}function i(){a.off(".pageTransitions"),o.off(".pageTransitions"),window.pageTransitionsActive=!1,c={}}if("pushState"in window.history&&!$(".page-homepage").length&&$(document.body).data("page-transition")!==!1&&!$(document.body).hasClass("cms")){var r='a[href^="/"]:not([data-no-transition]):not([href^="/data"]):not([data-trigger]), a[xlink\\:href]',o=$(window),a=$(document),s={},l="",u="",c={},d=a.find("main"),f=a.find("#overlayer"),h=a.find(".Header-languages");enquire.register("(min-width: 48em)",{match:n,unmatch:i})}}(),function(){function e(){function e(e,n){t.each(function(t,i){"#"+$(i).attr("id")==e&&(null!=n&&n.preventDefault(),$(i).find(".Question__title").trigger("click"),setTimeout(function(){$(document.body).velocity("scroll",{offset:$(i).offset().top-20+"px",duration:200,easing:"easeInOutSine"})},600))})}if(0!=$("[data-accordion]").length){var t=$(".Question");$("[data-accordion]").on("click",".Question__title",function(e){$(this).parents(".Question").hasClass("active")?$(this).parents(".Question").removeClass("active"):($(this).parents("[data-accordion]").find(".Question").removeClass("active"),$(this).parents(".Question").addClass("active"))}),$("[data-accordion]").on("click","a",function(t){var n=$(this).attr("href");e(n,t)}),e(window.location.hash)}}$(".Question");e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){var e,t;"/gdpr-podminky/"==window.location.pathname&&"#agentury"==window.location.hash&&(e=document.querySelectorAll(".Info")[0],e.classList.add("is-active"),t=e.getBoundingClientRect().top+document.documentElement.scrollTop,window.scrollTo(0,t-400))}(),function(){function e(){r.length===s.length&&(n.classList.add("is-ready"),t())}
16function t(){o=setInterval(function(){a=(a+1)%i.length,i.forEach(function(e,t){t===a?e.classList.add("is-active"):e.classList.remove("is-active")})},500)}var n=document.getElementById("anniversary-slider");if(n){var i=Array.prototype.slice.call(n.querySelectorAll(".anniversary-Hero-slide")),r=[],o=null,a=0,s=i.reduce(function(e,t){var n=window.getComputedStyle(t).getPropertyValue("background-image"),i=window.getComputedStyle(t,"before").getPropertyValue("background-image");return e.push(n),e.push(i),e},[]).map(function(e){return e.replace('url("',"").replace('")',"")});s.forEach(function(t){var n=new Image;n.onload=function(){r.push(n),e()},n.src=t})}}(),function(){function e(e){var t=e.closest("form"),n=$("<div />");n.html(e.text().replace(/&lt;/g,"<").replace(/&gt;/g,">"));var i=n.find("label").find("strong").text(),r=n.find(".anti-fill").attr("name");0==t.find("[name="+r+"]").length&&t.append($('<input type="hidden" name="'+r+'" value="'+i+'">'))}function t(){var t=$('[data-component="Antispam"]');t.each(function(){e($(this))})}$(window).on("change:dom",function(e){t()}),$(window).on({pageTransitionAfterRender:function(){t()}}),t()}(),function(){function e(){var e=document.querySelector(".article-StoryHeader");if(e){var t=$(e),n=t.find(".article-StoryHeader-hashToggler"),i=t.find(".article-StoryHeader-hashContent");n.on("click",function(e){e.preventDefault(),i.is(":hidden")?n.addClass("is-active"):n.removeClass("is-active"),i.slideToggle(250)})}}e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){function e(){var e=document.querySelector(".article-StorySection--latest");if(e){var t=$(e),n=t.find("[data-category-toggle]"),i=t.find("[data-category]");
16n.each(function(){var e=$(this);e.on("click",function(e){e.preventDefault();var t=$(e.target),r=t.closest("[data-category-toggle]"),o=r.data("category-toggle");i.each(function(){var e=$(this);e.data("category")===o?e.addClass("is-active"):e.removeClass("is-active")}),n.each(function(){var e=$(this);e.data("category-toggle")===o?e.addClass("is-active"):e.removeClass("is-active")})})})}}e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){function e(){function e(e){s.classList.add("is-ready")}function t(e){e.data==YT.PlayerState.BUFFERING&&s.classList.add("has-interacted")}function o(){if(window.YT){var i=document.getElementById("player");if(i){var r=i.getAttribute("data-video-id");n=new YT.Player("player",{width:"1050",height:"600",videoId:r,events:{onReady:e,onStateChange:t}})}}}function a(){i=document.createElement("script"),i.id="iframe-api",i.src="https://www.youtube.com/iframe_api?"+(new Date).getTime();var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(i,e)}var s=document.querySelector(".article-StoryVisual");s&&(window.YT?o():(window.onYouTubeIframeAPIReady=function(){r=!0,o()},a()))}function t(){n&&(n.stopVideo(),n.destroy(),n=null)}var n,i,r=!1;e(),$(window).on({pageTransitionBeforeLeave:function(){t()},pageTransitionAfterRender:function(){e()}})}
16(),function(){var e=$(window).width();if(e<768){var t=$("body"),n=document.createElement("a"),i=$(n).addClass("button-top").addClass("hidden");t.append(i);var r=$(window).height();$(window).on("scroll",function(e){var t=$(this).scrollTop();t>r?i.removeClass("hidden"):i.addClass("hidden")}),i.on("click",function(e){e.preventDefault(),$(document.body).velocity("scroll",{offset:"0px",duration:200,easing:"easeInOutSine"})})}}(),function(){function e(e){this.$element=e,this.$trigger=this.$element.find(".checkbox-select__trigger"),this.$checkboxes=this.$element.find(".checkbox-select__checkboxes"),this.textPlaceholder=this.$trigger.data("placeholder"),this.textSelected=this.$trigger.data("selected"),this.$buttonClose=this.$checkboxes.find(".btn"),this.init()}e.prototype={init:function(){this.$element.addClass("active"),this.$trigger.on("click",function(e){e.preventDefault(),this.toggleOpen()}.bind(this)),this.$checkboxes.on("change",'input[type="checkbox"]',function(e){this.activeCheckboxes()}.bind(this)),this.$buttonClose.on("click",function(e){e.preventDefault(),this.close()}.bind(this))},toggleOpen:function(){this.$checkboxes.toggle()},close:function(){this.$checkboxes.hide()},activeCheckboxes:function(){var e=this.$checkboxes.find('input[type="checkbox"]:checked').length;e>0?this.$trigger.text(this.textSelected+" ("+e+")").removeClass("placeholder"):this.$trigger.text(this.textPlaceholder).addClass("placeholder")}},$.each($(".checkbox-select"),function(t,n){new e($(n))}),$.nette.ext("newsletter",{success:function(){$.each($(".checkbox-select:not(.active)"),function(t,n){new e($(n))})}})}(),function(){function e(){i=$(n).filter(function(){return $(this).find("a").length}),i.addClass("is-clickable").on("click.clickable",function(e){"a"!==e.target.tagName.toLowerCase()&&$(this).find("a").click()})}function t(){i&&i.off(".clickable")}var n=".VisualCard",i=null;$(document.body).hasClass("cms")||(e(),$(window).on({pageTransitionBeforeLeave:t,pageTransitionAfterRender:e}))}(),function(){function e(){n.data("fixed")||(o.addClass("disable-scrolling"),n.data("fixed",!0),n.attr("content",r))}function t(){o.removeClass("disable-scrolling"),n.attr("content",i),n.data("fixed",!1)}var n=$("meta[name=viewport]");n.data("fixed",!1);var i=n.attr("content"),r="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1",o=$(document.body);$(document).on({"disable.scrolling":e,"enable.scrolling":t})}(),function(){function e(e){var t=$(".faded-swiper",e||document.body);if(0!==t.length){t.addClass("swiper-active").height();var n=t.find(".faded-swiper__button--prev"),i=t.find(".faded-swiper__button--next"),r=t.find(".faded-swiper__container").swiper({mode:"horizontal",loop:!1,slidesPerView:"auto",wrapperClass:"faded-swiper__wrapper",slideClass:"faded-swiper__item",cssWidthAndHeight:"height",progress:!0,onProgressChange:function(e){e.slides.forEach(function(e){e.progress>.5?e.style.opacity=0:e.style.opacity=1})}});n.on("click",function(e){e.preventDefault(),r.swipePrev()}),i.on("click",function(e){e.preventDefault(),r.swipeNext()})}}$(document).on("change:dom",function(t){e(t.target)}),e()}(),function(){function e(){var e=document.querySelector(".FixedBanner");e&&(o=$(e),a=o.find(".FixedBanner-close"),s="fixedbanner-"+o.data("id"),"true"!==t(s)&&(a.on("click",function(e){r(),e.preventDefault()}),o.on("click","a",function(e){r()}),setTimeout(function(){i()},1e3)))}function t(e){var t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?t[2]:null}function n(e,t,n){var i=new Date;i.setTime(i.getTime()+864e5*n),document.cookie=e+"="+t+";path=/;expires="+i.toGMTString()}function i(){o&&o.addClass("is-active")}function r(){n(s,"true",10),o.removeClass("is-active")}var o=null,a=null,s=null;e()}(),function(){function e(){var e=$("[data-folded]");
160!=e.length&&e.each(function(){var e=$(this);$(this).find("[data-folded-button]").on("click",function(t){e.addClass("is-unfolded"),$(this).remove()})})}e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){function e(e){i=$(".form-rentals",e||document.body),0!==i.length&&(i.find(".form-group--icon-select input").on("change",function(e){var n=$(this).closest("form");n.netteAjax(e,{success:function(){t()}})}),i.attr("novalidate",!0),i.on("submit",function(e){n()||e.preventDefault()}),i.on("change","input, textarea, select",function(){$(this).data("canValidate")&&Nette.validateControl(this)}).on("blur","input, textarea, select",function(){$(this).data("canValidate",!0),Nette.validateControl(this)}),t())}function t(){var e=i.find('input:not([type="submit"]), textarea, select');e.off(".manualValidation"),e.on({"change.manualValidation":function(){$(this).data("canValidate")&&Nette.validateControl(this)},"blur.manualValidation":function(){$(this).data("canValidate",!0),Nette.validateControl(this)},"keyup.manualValidation":function(){$(this).data("canValidate")&&Nette.validateControl(this)}})}function n(){var e=!0,t=i.find("input:not([type=hidden]):not([type=submit]), select, textarea");return t.each(function(){Nette.validateControl(this)||(e=!1)}),e}var i=null;$(document).on("change:dom",function(t){e(t.target)}),e()}(),function(){function e(e){var e=e||document.body,t=$(".FormSearch",e);if(console.log(t),0!==t.length&&t.hasClass("FormSearch-stores")){var n=t.find("input[type=text]"),i=0,r=5,o=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("name"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:n.data("url"),filter:function(e){return i=e.length,e}},limit:r});o.initialize();n.typeahead({hint:!0,highlight:!0,minLength:1},{name:"shops",displayKey:"name",source:o.ttAdapter(),templates:{suggestion:function(e){return $.substitute(suggestionTemplate,e)},footer:function(e,t){if(i<=r)return"";var n=$(suggestionFooterTemplate).data("plural"),o=i-r,a=o+" "+n[1===o?0:o>4?2:1],s=$.substitute(suggestionFooterTemplate,{text:a});return s}}}).data("ttTypeahead")}}$(document).on("change:dom",function(t){e(t.target)}),e()}(),function(){var e=20;window.live&&(window.live.on("afterValidate",function(t){var n=$(t),i=n.find(".input--error").first();if(i.length){var r=i.offset().top,o=$(window),a=o.scrollTop();(r<a||r>a+o.height())&&i.velocity("scroll",{duration:500,easing:"easeInOutSine",offset:-e})}}),enquire.register(Site.screenSize.medium,{match:function(){e=100},unmatch:function(){e=20}}))}(),function(){function e(){t()}function t(){var e=$('[name="person"]'),t=$('[name="payment"]');"1"===e.filter(":checked").val()&&"1"===t.filter(":checked").val()?($('[data-check-payment-and-person="true"]').css("display",""),$('[data-check-payment-and-person="false"]').css("display","none")):($('[data-check-payment-and-person="true"]').css("display","none"),$('[data-check-payment-and-person="false"]').css("display",""))}function n(){var e=$(".vouchers-Table input").toArray().map(function(e){var t=parseInt(e.value);isNaN(t)&&(t=0);var n=$(e).data("value");return n*t}).reduce(function(e,t){return e+=t},0),t=$(".vouchers-Table-totalPriceValue");t.text(e);var n=$("#form-voucher-cash").hasClass("is-disabled"),i=$("#form-voucher-cash").hasClass("is-disabled");e>1e4?($("#form-voucher-cash").addClass("is-disabled").find("input").prop("checked",!1).attr("disabled",!0),$("#form-voucher-bank").removeClass("is-disabled").find("input").prop("checked",!0).attr("disabled",!1)):e<1e4?($("#form-voucher-cash").removeClass("is-disabled").find("input").prop("checked",!0).attr("disabled",!1),$("#form-voucher-bank").addClass("is-disabled").find("input").prop("checked",!1).attr("disabled",!0)):($("#form-voucher-cash").removeClass("is-disabled").find("input").attr("disabled",!1),$("#form-voucher-bank").removeClass("is-disabled").find("input").attr("disabled",!1)),!$("#form-voucher-cash").hasClass("is-disabled")===n&&$("#form-voucher-bank").hasClass("is-disabled")===i&&$("#form-voucher-bank").find("input").trigger("change")}$(document).on("change",".vouchers-Table input",n),$(document).on("keyup",".vouchers-Table input",n),e(),$(document).on("change",".vouchers-Form",e)}(),function(){function e(e){e.wrap('<div class="table__wrapper" />');var t=e.clone();t.find("td:not(:first-child), th:not(:first-child)").css("display","none"),t.removeClass("table--responsive"),e.closest(".table__wrapper").append(t),t.wrap('<div class="table__pinned" />'),e.wrap('<div class="table__scrollable" />'),n(e,t)}function t(e){e.closest(".table__wrapper").find(".table__pinned").remove(),e.unwrap(),e.unwrap()}function n(e,t){var n=e.find("tr"),i=t.find("tr"),r=[];n.each(function(e){var t=$(this),n=t.find("th, td");n.each(function(){var t=$(this).outerHeight(!0);r[e]=r[e]||0,t>r[e]&&(r[e]=t)})}),i.each(function(e){$(this).height(r[e])})}function i(t){"undefined"==typeof t&&(t=document.body),$(o,t).each(function(){e($(this))})}function r(e){"undefined"==typeof e&&(e=document.body),$(o,e).each(function(){t($(this))})}var o=".table--responsive",a=Site.screenSize.maxSmall,s={match:i,unmatch:r,destroy:function(){}};enquire.register(a,s),$(window).on({pageTransitionBeforeLeave:function(){enquire.unregister(a,s)},pageTransitionAfterRender:function(){enquire.register(a,s)}})}(),function(){$('[data-ref="icon"]').on("click",function(e){var t=$(this).parent();t.data('[data-ref="card"]');e.preventDefault(),setTimeout(function(){t.toggleClass("is-active")},10)}),$('[data-ref="card"]').on("click",function(e){e.preventDefault(),e.stopPropagation()}),$(document).on("click",function(e){$("[data-info]").removeClass("is-active")})}(),function(){function e(){$(".input input, .input textarea").each(function(){this.value&&$(this).closest(".input").addClass("input--filled")}),n()}function t(e){""!=e.val()?e.closest(".input").addClass("input--filled"):e.closest(".input").removeClass("input--filled")}function n(){$(".datepicker").each(function(){var e={field:this,format:o.format,i18n:o.i18n,firstDay:1};$(this).hasClass("datepicker-past")&&(e.maxDate=moment().toDate(),e.yearRange=[1920,moment().year()]),new Pikaday(e)})}var i={cs:{format:"D.M.YYYY",i18n:{previousMonth:"Předchozí měsíc",nextMonth:"Následující měsíc",months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],weekdays:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],weekdaysShort:["Ne","Po","Út","St","Čt","Pá","So"]}},en:{format:"MM/DD/YYYY",i18n:{previousMonth:"Previous Month",nextMonth:"Next Month",months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
16ay","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}}},r=document.documentElement.lang||"en",o=r in i?i[r]:i.en;$(document).on("change",".input input, .input textarea",function(){var e=$(this);if(t(e),"file"===this.type){var n=e.closest(".input");n.find(".input__file-name").html(this.value?this.value.match(/[^\/\\]+$/)[0]:"&nbsp;"),this.value||this.blur()}}),$.nette&&$.nette.ext("inputs",{success:function(){e()}}),e()}(),function(){$(document).on("click",".job__title",function(e){e.preventDefault();var t=$(this),n=t.closest(".job"),i=n.find(".job__description");i.slideToggle(),n.toggleClass("job--active")})}(),function(){function e(){a?l.trigger("disable.scrolling"):l.trigger("enable.scrolling")}function t(t){var n=$(t);n.hasClass(o)||(a++,n.css("z-index",s+a).addClass(o)),e()}function n(t){var n=$(t);n.hasClass(o)&&(a--,n.removeClass(o)),e()}function i(e){$(e).hasClass(o)?n(e):t(e)}function r(){a=0,$("."+o).removeClass(o),e()}var o="layer--active",a=0,s=1e3,l=$(document.body);$(document).on({"show.layer":function(e,n){
16n&&t(n)},"hide.layer":function(e,t){t&&n(t)},"hideAll.layer":function(e){r()},"toggle.layer":function(e,t){t&&i(t)}})}(),function(){function e(){var e='<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> <div class="pswp__bg"></div><div class="pswp__scroll-wrap"> <div class="pswp__container"> <div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div><div class="pswp__ui pswp__ui--hidden"> <div class="pswp__top-bar"> <div class="pswp__counter"></div><button class="pswp__button pswp__button--close" title="Close (Esc)"></button> <button class="pswp__button pswp__button--share" title="Share"></button> <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button> <div class="pswp__preloader"> <div class="pswp__preloader__icn"> <div class="pswp__preloader__cut"> <div class="pswp__preloader__donut"></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <div class="pswp__share-tooltip"></div></div><button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"> </button> <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"> </button> <div class="pswp__caption"> <div class="pswp__caption__center"></div></div></div></div></div>',t=document.createElement("div");t.classList.add("Lightbox"),t.innerHTML=e,document.body.appendChild(t),i=t.querySelector(".pswp")}function t(){$(document).on("click","[data-lightbox]",function(t){i||e(),t.preventDefault();var n=Array.from(document.querySelectorAll("[data-lightbox]")),o=[];n.forEach(function(e){o.push({src:e.href,w:e.getAttribute("data-width")||0,h:e.getAttribute("data-height")||0})});const a=n.indexOf(this),s={index:Math.max(a,0),shareEl:!1,captionEl:!0,showHideOpacity:!0,bgOpacity:.8,history:!1,fullscreenEl:!1,zoomEl:!1};r=new PhotoSwipe(i,PhotoSwipeUI_Default,o,s),r.init()})}function n(){}var i=null,r=null;t(),$(window).on({pageTransitionAfterRender:t,pageTransitionBeforeLeave:n})}(),function(){function e(){var e=document.createElement("script");e.type="text/javascript",e.src="https://maps.googleapis.com/maps/api/js?v=3.exp&callback=initMaps&key=AIzaSyCbb_R5CMOyNG7ecuvlg_m9wTsUKjXS590",document.body.appendChild(e)}function t(){if(!Site.viewport.small)return i?void $("[data-map]").each(function(){var e=$
16(this),t=e.data("map-center").split(",").map(function(e){return parseFloat(e)}),n=e.find("a").attr("href"),i=new google.maps.LatLng(t[0],t[1]),r={zoom:15,center:i},o=new google.maps.Map(this,r),a={url:"/assets/frontend/img/marker.png",size:new google.maps.Size(42,44),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(16,44)},s=new google.maps.Marker({position:i,map:o,icon:a,title:"PALLADIUM"});n&&google.maps.event.addListener(s,"click",function(){window.open(n)})}):void e()}function n(){}var i=!1;window.initMaps=function(){i=!0,t()},$(window).on({pageTransitionBeforeLeave:n,pageTransitionAfterRender:t}),t()}(),function(){document.addEventListener("click",function(e){var t=e.target.closest("[data-modal-opener]");if(t){var n=t.href.split("#")[1];if(n){var i=document.getElementById(n);if(i){var r=$(i);if(!i.classList.contains("is-active")){r.addClass("is-visible").css("opacity",0),r.velocity({opacity:1},{duration:200});var o=r.find(".Modal-inner");o.css("opacity",0).width(),o.velocity({translateY:[0,20],opacity:1},{duration:600,delay:200,easing:"easeOutExpo"}),$(document).trigger("disable.scrolling")}}}}}),document.addEventListener("click",function(e){var t=e.target.closest("[data-modal-close]");if(t){var n=t.closest(".modal, .Modal, .article-Modal");if(n){var i=$(n);i.velocity({opacity:0},{duration:300,complete:function(){i.removeClass("is-visible"),$(document).trigger("enable.scrolling")}})}}})}(),function(){function e(e,t){for(;(e=e.parentElement)&&!e.classList.contains(t););return e}function t(t){(t.target.classList.contains("modal-overlay__close")||t.target.parentElement.classList.contains("modal-overlay__close"))&&e(t.target,"modal
16-overlay").classList.remove("is-open")}document.addEventListener("click",function(e){t(e)})}(),function(){var e="is-active",t="is-visible";enquire.register(Site.screenSize.maxSmall,{match:function(){$(document).on("toggle.navigation",function(){var n=$(".Nav");n.hasClass(e)?(n.removeClass(e),setTimeout(function(){n.removeClass(t)},200),$(document).trigger("enable.scrolling")):($(document).trigger("disable.scrolling"),n.addClass(t),n.width(),n.addClass(e))}),$("body").on("click",".Nav-languages-link",function(e){e.preventDefault(),e.stopPropagation(),$(".Nav-languages-list").slideToggle(250)})},unmatch:function(){$(document).off(".navigation"),$(".Nav").removeClass(e),$(document).trigger("enable.scrolling")}})}(),function(){function e(){o=$('<div class="article-Modal"><div class="article-Modal-wrapper"><div class="article-Modal-inner"><div class="article-Modal-content"></div><button type="button" class="article-Modal-close"></button></div></div><div class="article-Modal-links"></div></div>').appendTo(document.body),a=o.find(".article-Modal-content"),s=o.find(".article-Modal-links"),o.find(".article-modal__bg").on("click",function(e){e.preventDefault(),n()})}function t(t){o||e(),l=$.ajax({url:t,dataType:"html"}),l.done(function(e){var t=$("<div></div>");if(t.html(e),a.empty().append(t.find(".article-Section")),s.empty().append(t.find(".navigation-links")),!c){o.addClass(u).css("opacity",0),o.velocity({opacity:1},{duration:200});var n=o.find(".article-Modal-inner");n.css("opacity",0).width(),n.velocity({translateY:[0,20],opacity:1},{duration:600,delay:200,easing:"easeOutExpo"})}$(document).trigger("disable.scrolling"),c=!0}),$(document).on("keyup.article-modal",function(e){27===e.keyCode&&n()})}function n(){o&&o.velocity({opacity:0},{duration:300,complete:function(){o.removeClass(u),$(document).trigger("enable.scrolling"),$(document).off("keyup.article-modal"),c=!1}})}
16function i(){$(document).on("click.article-modal","a[data-article-modal]",function(e){e.preventDefault(),t(this.href)}),$(document).on("click.article-modal",".article-modal",function(e){$(e.target).hasClass("article-Modal-wrapper")&&n()}),$(document).on("click.article-modal",".article-Modal-close",function(e){n()})}function r(){n(),$(document).off("click.article-modal")}var o=null,a=null,s=null,l=null,u="is-active",c=!1,d=Site.screenSize.medium,f={match:i,unmatch:r};enquire.register(d,f)}(),function(){function e(){Modernizr.svg||$('img[src$=".svg"]').each(function(){this.src=this.src.replace(/\.svg$/,".png")})}$(document).on("change:dom",function(t){e()}),e()}(),function(){function e(){setInterval(n,4e3)}function t(){clearInterval(a)}function n(){var e=(o+1)%r.length;r.eq(o).removeClass("is-active"),r.eq(e).addClass("is-active"),o=e}var i=$(".Header-openingTime");if(0!==i.length){var r=i.find("li"),o=0,a=null;enquire.register(Site.screenSize.normal,{match:e,unmatch:t})}}(),function(){function e(){var e=t.find(".next");e.length?$.ajax({url:e.attr("href"),dataType:"html",beforeSend:function(){t.addClass("pagination--working")}}).done(function(e){var t=$(e);salvattore.append_elements(grid,t.find("#"+grid.id).children().toArray()),n.html(t.find(".pagination__pages").html())}).always(function(){t.removeClass("pagination--working")}):o&&o.destroy()}var t=null,n=null,i=null,r=!1,o=null,a=Site.screenSize.medium,s={setup:function(){return i=$("[data-columns]"),t=$(".pagination"),t.length&&i.length?(r=!0,n=t.find(".pagination__pages"),grid=i[0],void(o=i.waypoint({handler:function(t){"down"===t&&e()},offset:"bottom-in-view"})[0])):void(r=!1)},match:function(){r&&(t.addClass("pagination--active"),o&&o.enable())},unmatch:function(){r&&(t.removeClass("pagination--active"),o&&o.disable())},destroy:function(){r=!1,t=null,n=null,i=null,r=!1,o&&o.destroy()},deferSetup:!0};enquire.register(a,s),$(window).on({pageTransitionBeforeLeave:function(){enquire.unregister(a,s)},pageTransitionAfterRender:function(){enquire.register(a,s)}})}(),function(){$(document).on("show.floor.plan",function(e,t){var n=$(".plan-mobile__button--floor");n.length&&(n.html($.substitute(n.data("label"),{value:t})),$(e.target).trigger("hide.layer",".layer--floors"))})}(),function(){function e(){var e=$(".plan");if(0!==e.length&&"undefined"!=typeof planData&&0===$(".modal-old").length){window.plan=u=new p(e,planData),t(u,planData),$(".list-segments").on("click","a",function(e){var t=$(this).data("id");t&&f&&($(this).trigger("toggle.layer",".layer--plan"),e.preventDefault(),e.stopPropagation(),u.showShop(t))});var n=window.location.hash;if(n)if(n.indexOf("area")>-1){var i=n.replace("#area-","");u.showArea(i).disableMouseOver()}else n.indexOf("floor")>-1?(f&&$(document).trigger("toggle.layer",".layer--plan"),u.showFloor(n.replace("#floor",""))):u.showFloor("0");else u.showFloor("0")}}function t(e,t){var n=e.$scope.find("input[type=text]"),i=n.closest("form"),r=[];i.on("submit",function(e){e.preventDefault()}),$placeholder=$('<div class="FormSearch-placeholder"></div>').height(n.height()),$placeholder.appendTo(e.$scope),$placeholder.on("click",function(){i.addClass("FormSearch--active"),n.focus()}),n.on("blur",function(){i.removeClass("FormSearch--active")}),Object.keys(t).forEach(function(e){var n=t[e];n.forEach(function(t){t.areaId=e,["267","268","36","263","264","266","277"].includes(e)||r.push(t)})});var o=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("title"),queryTokenizer:Bloodhound.tokenizers.whitespace,local:r});o.initialize(),n.typeahead({autoselect:!0,hint:!0,highlight:!0,minLength:1},{name:"shops",displayKey:"title",source:o.ttAdapter(),templates:{suggestion:function(e){var t=suggestionTemplate;return $.substitute(t,e)}}}).on("typeahead:selected",function(t,i){f&&$(document).trigger("hide.layer",".layer--search"),e.disableMouseOver(),e.showArea(i.areaId),n.blur(),dataLayer.push({event:"vyhledavani_plan-centra"})}),e.$scope.find(".twitter-typeahead").on("click",function(e){e.stopPropagation()})}function n(){$(".layer--plan .layer__info").addClass("layer__info--active")}function i(){$(".layer--plan .layer__info").removeClass("layer__info--active"),setTimeout(function(){u.enableMouseOver()},1500)}function r(e){var t=$(".layer--plan .layer__info"),r=planData[e],o="";r.forEach(function(e){o+=$.substitute(l,e)}),o?(t.html(o),n()):i()}function o(){c=null,u&&u.destroy(),u=null,d=null}var a='<div class="plan-bubble-anchor">                              <div class="plan-bubble">                                  <button type="button" class="plan-bubble__close" data-trigger="enable-mouseover.plan"><span class="no-screen">Zavřít</span></button>                                  <div class="plan-bubble__content"></div>                              </div>                              <div class="plan-bubble__marker"></div>                          </div>',s='<div class="plan-bubble__item {hideCategory}">                                  <div class="plan-bubble__category category-2">{category}</div>                                  <h3 class="plan-bubble__title">{title}</h3>                                  <p>{desc}</p>                                  <a class="plan-bubble__link" href="{url}"></a>                              </div>',l='<a href="{url}" class="plan-info__item"><span class="plan-info__title">{title}</span><span class="plan-info__desc">{desc}</span></a>',u=null,c=null,d=null,f=!1,h=function(e){
17this.options=e,this.$scope=$(this.options.template).appendTo(this.options.target),this.$content=this.$scope.find(".plan-bubble__content"),this.timer=null};h.prototype={update:function(e){if(!this.active&&!e)return this;$.isArray(e)||(e=[e]);var t="";e.forEach(function(n,i){i>0&&e[0].categoryId===n.categoryId&&(n.hideCategory="plan-bubble__category--hidden"),t+=$.substitute(this.options.itemTemplate,n)},this),this.$content.empty().append(t),this.$content.css({left:-270*e.length/2})},show:function(e){if(clearTimeout(this.timer),null!==e.data)return this.active=!0,this.update(e.data),this.move(e.position),this.$scope.show(),this},hide:function(){var e=this;return clearTimeout(this.timer),this.timer=setTimeout(function(){e.$scope.hide()},200),this.active=!1,this},move:function(e){return this.active&&this.$scope.css(e),this}};var p=function(e,t){this.$scope=$(e),this.$areas=null,this.$butttons=null,this.$plans=null,this.bubble=null,this.planData=t,this.mouseOverEnabled=!0,this.clickDisabled=!1,this.bubbleClickTimer=0,this.focusedArea=null,this.originWidth=this.$scope.find(".plan-overlay").attr("width"),this.build()};p.prototype={build:function(){var e=this,t=$('<div class="plan-bubble-target"></div>'),n=$('<div class="plan-floor-overlay-target"></div>');n.html(this.$scope.find(".plan-floors").html().replace(/\sid=\"([^\"]*)\"/gi,' id="id-$1"')),n.find(".pictogram").each(function(){var e=this.querySelector(".pictogram__hover");e&&this.removeChild(e);var t=this.querySelector("use");"#picto-tasty-garden"!==t.getAttribute("xlink:href")&&t.setAttribute("xlink:href","#picto-blank"),this.setAttribute("class","pictogram pictogram--blank")}),n.find("img").remove(),this.$scope.append(t),this.$scope.append(n),this.$scope.on("click",function(t){e.mouseOverEnabled&&e.resetAreas(),i(),e.hideBubble()}),this.bubble=new h({target:t,template:a,itemTemplate:s}),this.bubble.$scope.on("touchstart.plan",function(t){t.preventDefault(),e.bubbleClickTimer=Date.now()}).on("touchend.plan",function(t){if(t.preventDefault(),Date.now()-e.bubbleClickTimer<300&&e.focusedArea){var n=$(e.focusedArea).closest("a");n.length&&(window.location=n[0].getAttribute("xlink:href"))}}),this.$areas=this.$scope.find(".plan-floor-overlay-target .plan-floor .plan__paths path, .plan-floor-overlay-target .plan-floor .pictogram"),this.$areas.on("mouseover.plan",function(t){if(e.mouseOverEnabled){e.resetAreas(),e.highlightArea(this.id.replace("id-",""));var n=document.getElementById(this.id.replace("id-",""));n&&n.classList.add("hover")}}).on("mouseout.plan",function(t){e.mouseOverEnabled&&(e.resetAreas(),e.bubble.hide())}).on("touchstart.plan",function(t){t.preventDefault(),e.clickDisabled=!0,e.mouseOverEnabled&&(e.resetAreas(),e.highlightArea(this.id.replace("id-","")))}).on("click.plan",function(t){if(f){t.preventDefault(),t.stopPropagation();var n=this.id.replace("id-","");e.resetAreas(),e.highlightArea(n,!0),r(n)}else e.clickDisabled&&(t.preventDefault(),t.stopPropagation(),e.clickDisabled=!1)}),this.$plans=this.$scope.find(".plan-floor"),this.$plans.each(function(){this.id=this.id+"-manual"}),this.$buttons=$(".section-plan .floors .floor, .layer--floors a")},showFloor:function(e){var t=this.$scope.find(".plan-floor-"+e);if(!c||c.attr("id")!==t.attr("id")){this.$buttons.removeClass("floor--active").filter(function(){return $(this).attr("href")==="#floor"+e}).addClass("floor--active"),this.resetAreas(),this.bubble.hide(),c&&c.velocity("stop").velocity("transition.slide
17UpOut",{duration:400}),t.velocity("stop").velocity("transition.slideUpIn",{duration:400}),c=t;var n=$(".plan-mobile__button--floor");n.length&&n.html($.substitute(n.data("label"),{value:c.data("id")}))}},highlightArea:function(e,t){var n=document.getElementById(e);if(n.setAttribute("class","active"),this.focusedArea=n,t||this.showBubble(n),f){var i=$(n).closest(".layer__content"),r=n.getBBox(),o=$(window).width()/2;i.scrollLeft(r.x-o+r.width/2)}},resetAreas:function(){this.$scope.find("path.active, g.active").each(function(){this.setAttribute("class","")})},showBubble:function(e){var t=$(e),n=t.closest("svg"),i=e.getBBox(),r={top:i.y+i.height/2,left:i.x+i.width/2};if("g"===e.tagName){var o=e.querySelector("use");r.top=parseInt(o.getAttribute("y"),10)+i.height/2,r.left=parseInt(o.getAttribute("x"),10)+i.width/2}var a=n.width()/this.originWidth;r.top*=a,r.left*=a;var s=null;e.id in this.planData&&(s=this.planData[e.id]),s&&r.top>0&&r.left>0?this.bubble.show({data:s,position:r}):this.bubble.hide()},hideBubble:function(){return this.resetAreas(),this.bubble.hide(),this},showShop:function(e){var t=this.getAreaIdByShopId(e);this.resetAreas(),this.showArea(t)},showArea:function(e){var t=$("#id-"+e).closest(".plan-floor");return t.length&&(this.resetAreas(),this.showFloor(t.data("id")),setTimeout(this.highlightArea.bind(this,e),100)),f&&r(e),this},getAreaIdByShopId:function(e){for(var t=Object.keys(this.planData),n=null,i=0;i<t.length;i++){n=this.planData[t[i]];for(var r=0;r<n.length;r++)if(parseInt(n[r].id)===e)return t[i]}return null},enableMouseOver:function(){return this.mouseOverEnabled=!0,this.$scope.removeClass("is-mouseover-disabled"),this},disableMouseOver:function(){return this.mouseOverEnabled=!1,this.$scope.addClass("is-mouseover-disabled"),this},destroy:function(){this.$areas.off(".plan"),this.$scope.off(".plan"),this.bubble.$scope.off(".plan")}},$(document).on("show.floor.plan",function(e,t){u&&null!==t&&(u.enableMouseOver(),u.showFloor(t))}).on("enable-mouseover.plan",function(e){u.hideBubble().enableMouseOver()});var m=Site.screenSize.maxSmall,g={match:function(){$(".plan").appendTo(".layer--plan .plan-wrapper"),$(".FormSearch").appendTo(".layer--search .layer__content"),f=!0},unmatch:function(){$(".plan").insertBefore(".plan-wrapper .plan-legend"),$(".FormSearch").appendTo(".plan"),$(document).trigger("hideAll.layer"),f=!1}};enquire.register(m,g),$(window).on({pageTransitionBeforeLeave:function(){o(),enquire.unregister(m,g)},pageTransitionAfterRender:function(){e(),enquire.register(m,g)}}),e()}(),function(){$("[data-prompt]").on("click",function(e){var t=$(this).data("value"),n=$(this).data("prompt"),i=($(this).attr("href"),prompt(n));i==t?console.log("true"):(console.log("false"),e.preventDefault())})}(),function(){"undefined"!=typeof salvattore&&$(window).on({pageTransitionAfterRender:function(){var e=document.querySelectorAll("[data-columns]");Array.prototype.forEach.call(e,salvattore.register_grid)}})}(),function(){function e(){m?n():t()}function t(e){e&&"search"!==e.namespace||m||(a.trigger("disable.scrolling"),o.addClass("is-active").css("opacity",0).width(),o.velocity({opacity:1},{duration:200,complete:function(){l.focus()}}),o.find(".search-LayerForm").velocity({translateY:[0,30]},{duration:1e3,easing:"easeOutExpo",delay:0}),o.find(".search-Results-stores").velocity({translateY:[0,30]},{duration:1e3,easing:"easeOutExpo",delay:50}),o.find(".search-Results-fulltext").velocity({translateY:[0,30]},{duration:1e3,easing:"easeOutExpo",delay:100}),m=!0)}function n(){m&&o.velocity({opacity:0},{duration:200,complete:function(){o.removeClass("is-active"),a.trigger("enable.scrolling"),m=!1}})}function i(){l.on("keyup.search",function(e){clearTimeout(p),p=setTimeout(r,200)}),s.on("submit.search",function(e){e.preventDefault()}),o.on("click","a",n)}function r(){$.ajax({url:s.data("url"),dataType:"json",data:s.serialize()}).done(function(e){"shops"in e?(u.removeClass("is-inactive"),c.removeClass("is-empty"),h="",e.shops.forEach(function(e){h+=$.substitute(g,e)}),u.html(h),e.shops.length||"q="===s.serialize()||c.addClass("is-empty")):u.addClass("is-inactive"),"text"in e?(d.removeClass("is-inactive"),h="",e.text.forEach(function(e){h+=$.substitute(v,e)}),d.html(h)):d.addClass("is-inactive"),e.recommended?(f.removeClass("is-inactive"),e.recommended.link?f.html($.substitute(w,e.recommended)):f.html($.substitute(y,e.recommended)),e.recommended.title||f.find("h3").remove()):f.addClass("is-inactive"),dataLayer.push({event:"vyhledavani_hlavicka"})})}var o=$(".search-Layer"),a=$(document.body);if(o.length){var s=o.find("form"),l=s.find("input"),u=o.find(".search-Results-items"),c=o.find(".search-Results-stores"),d=o.find(".search-Results-textItems"),f=o.find(".search-Results-recommended"),h="",p=null,m=!1,g='<div class="search-Card-wrapper">                            <a href="{url}" class="search-Card">                                <div class="search-Card-image">                                    <img src="{img}" width="70" height="70" alt="">                                </div>                                <div class="search-Card-text">{title}</div>                            </a>                        </div>',v='<a href="{url}" class="search-TextCard">                             <h4 class="search-TextCard-title">{title}</h4>                             <p class="search-TextCard-content">{content}</p>                         </a>',y='<div class="Container Container--narrow"><div class="search-Result search-Result--highlighted">                                   <h3 class="search-Result-title"><span class="highlight">{title}</span></h3>                                   <p class="search-Result-content">{text}</p>                               </div></div>',w='<div class="Container Container--narrow"><a href="{link}" class="search-Result search-Result--highlighted">                                   <h3 class="search-Result-title"><span class="highlight">{title}</span></h3>                                   <p class="search-Result-content">{text}</p>                               </a></div>';$(document).on({"toggle.search":e,"show.search":t,"hide.search":n}),i()}}
17(),function(){function e(e){$('[data-slide-state="closed"]',"undefined"==typeof e?document.body:e).hide()}$(document).on("toggle.slide",function(e){e.preventDefault();var t=$(e.target),n=t.data("slide-parent"),i=$(t.data("slide-target"),n?t.closest(n):null);i.is(":hidden")&&setTimeout(function(){$([document.documentElement,document.body]).animate({scrollTop:i.offset().top},400)},300),i.slideToggle(300)}),e(),$(window).on({pageTransitionAfterRender:e.bind(this,"main")})}(),function(){$(document).on("click",".store-ListControls-button",function(e){e.preventDefault();var t=$(this);$(".store-List").toggleClass("is-list-view",t.hasClass("store-ListControls-button--list")),$(".store-ListControls-button").removeClass("is-active"),t.addClass("is-active")})}(),function(){function e(){var e=document.querySelector(".store-Detail");if(e){var t=$(e),n=t.find(".store-SpecialOffers-inner"),i=t.find(".store-Intro-image");if(n.length&&i.length){var r=n[0].getBoundingClientRect(),o=i[0].getBoundingClientRect();const a=o.top+o.height-r.top-r.height/2;n.css("transform","translateY("+a+"px)"),e.classList.add("is-ready")}}}var t=Site.screenSize.large,n={match:e};enquire.register(t,n),$(window).on({pageTransitionAfterRender:function(){enquire.register(t,n)}})}(),function(){function e(e,t){return!c||OLD_IE?void(window.location=e.target.href):void(d?($(e.target).trigger("toggle.layer",".layer--plan"),i(t)):r(t))}function t(e,t){i(t)}function n(e){27===e.keyCode&&o()}function i(e){var t=$(".plan-floor-"+e);if(t.length&&(!p||p.attr("id")!==t.attr("id"))){p&&p.velocity("transition.slideUpOut",{duration:400}),p=t,t.velocity("transition.slideUpIn",{duration:400,begin:function(){d&&setTimeout(function(){var e=p.closest(".layer__content"),t=e.find(".plan__paths .active")[0].getBBox(),n=$(window).width()/2;e.scrollLeft(t.x-n+t.width/2)},50)},complete:function(){}}),h&&(h.removeClass("floor--active"),h.filter(function(){return $(this).data("trigger-value")===parseInt(e,10)}).addClass("floor--active"));var n=$(".layer--floors");if(n.length){var i=$(".plan-mobile__button--floor");i.html($.substitute(i.data("label"),{value:e})),n.find(".floor--active").removeClass("floor--active"),n.find("[data-trigger-value="+e+"]").addClass("floor--active")}}}function r(e){var t=$(".modal-old");t.find(".plan-floor.active").removeClass("active"),h=t.find(".floor");var r=$("#floor"+e+", #floor"+e+"-manual").addClass("active").css("opacity",0),o=t.find(".plan-legend li").css("opacity",0),a=$(".plan-filter").css("opacity",0);t.find('.floor[data-rel="'+r[0].id.replace("floor","").replace("-manual","")+'"]').addClass("floor--active"),$(".plan__paths path").addClass("active"),f.on("keydown.mapmodal",n),t.show().velocity({opacity:[1,0]},{duration:200,complete:function(){setTimeout(function(){i(r.attr("id").replace("floor","").replace("-manual",""))},100),o.velocity("transition.slideUpIn",{duration:400,stagger:20,delay:200}),a.velocity("transition.slideUpIn",{duration:400})}})}function o(e){var t=$(".modal-old");t.velocity({opacity:0},{duration:200,complete:function(){t.hide(),p&&(p.css("opacity",0),p=null),"function"==typeof e&&e()}}),f.off("keydown.mapmodal"),h&&h.off("click.mapmodal")}function a(){$(".modal-old .section-plan").length&&(c=!0,enquire.register(m,g),f.on({"mapmodal:show":e,"mapmodal:hide":o,"show.floor.plan":t}))}function s(){c&&(c=!1,enquire.unregister(m,g),f.off({"mapmodal:show":e,"mapmodal:hide":o,"show.floor.plan":t}))}function l(){o(function(){p=null,h=null})}function u(e){e===!0&&d===!1&&o(),d=e,d?$(".plan").appendTo(".layer--plan .plan-wrapper"):$(".plan").insertBefore(".modal .plan-legend")}var c=!1,d=!1,f=$(document),h=($(document.body),null),p=null,m=Site.screenSize.maxSmall,g={match:function(){u(!0)},unmatch:function(){u(!1)},destroy:l};$(window).on({pageTransitionBeforeLeave:s,pageTransitionAfterRender:a}),a()}(),function(){function e(){function e(e){var t=o[e];o.each(function(){$(this).removeClass("is-active")}),t.classList.add("is-active")}function t(i){var r=i+1;r>=o.length&&(r=0),e(r),n=setTimeout(function(){t(r)},6e3)}var i=document.querySelector(".store-Intro");if(i){var r=$(i),o=r.find(".store-Intro-image img");if(o.length>1){var a=-1;t(a)}else 1===o.length&&o.first().addClass("is-active");setTimeout(function(){r.addClass("is-ready")},0)}}function t(){clearTimeout(n)}var n=null;e(),$(window).on({pageTransitionAfterRender:e,pageTransitionBeforeLeave:t})}
17(),function(){function e(){var e=$(".store-OpeningHours");if(0!=e.length&&e.hasClass("store-OpeningHours--hasItems")){var t=e.find(".store-OpeningHours-content"),n=e.find(".store-OpeningHours-toggler");n.on("click",function(){var n=e.hasClass("is-open");n?(e.removeClass("is-open"),t.removeClass("is-active"),setTimeout(function(){t.removeClass("is-visible")},300)):(e.addClass("is-open"),t.addClass("is-visible"),t[0].offsetHeight,t.addClass("is-active"))})}}e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){function e(){var e=document.querySelector(".store-Typo");if(e){var t=$(e),n=t.find(".store-Typo-infoInner"),i=t.find(".store-Typo-infoShowMore");if(n.length){var r=n[0].scrollHeight,o=n[0].offsetHeight;r>o&&(t.addClass("is-overflowing"),i.on("click",function(){t.removeClass("is-overflowing"),t.addClass("is-open")}))}}}e(),$(window).on({pageTransitionAfterRender:function(){e()}})}(),function(){$(document).on("click",".btn-arrow",function(e){e.preventDefault();var t=$(this),n=t.closest("section"),i=n.find("[data-swiper-container]").data("swiper");null!==i&&(t.hasClass("btn-arrow--previous")&&i.swipePrev(),t.hasClass("btn-arrow--next")&&i.swipeNext())})}(),function(){function e(){$(".tab-anchors a[href^=#]").each(function(){var e=$
17(this).attr("href").replace("#",""),t=document.getElementById(e);t&&(t.id=t.id.replace("-panel","")+"-panel")})}function t(e){if(r){var t=$('.tab-anchors [href="'+e+'"]');if(0===t.length)return;var i=t.closest(".tab-anchors");i.find(".active").removeClass("active"),t.addClass("active");var o=$(".tab-panel.active");o.length?o.velocity({opacity:[0,1]},{duration:200,complete:function(){$(".tab-panel.active").removeClass("active").attr("style",""),n(e)}}):n(e)}}function n(e){var t=$(e+"-panel");t.addClass("active");var n=t.closest(".tab-panels"),i=n.data("tab-selector")||"h3,p,li,h4,blockquote",r=n.data("tab-animation")||"transition.slideRightIn";n.data("tab-animation")!==!1&&t.find(i).velocity(r,{duration:400,stagger:50,easing:"easeInExpo"});var a=t.closest(".Section"),s=o.scrollTop(),l=a.offset().top,u=a.height(),c=o.height(),d=-90;l>s&&(l+u>s+c&&u+90<c&&(d=u-c),l+u>s+c&&a.velocity("scroll",{duration:500,easing:"easeInOutSine",offset:d}))}function i(){var e=$(window.location.hash+"-panel");e.hasClass("tab-panel")&&r&&t(window.location.hash)}var r=!0,o=$(window);e(),o.on("pageTransitionAfterRender",function(){e(),i()}),$(".tab-panel-title").on("click",function(e){if(!r){var t=$(this);t.toggleClass("active").closest(".tab-panel").find(".tab-panel-inner").slideToggle()}}),o.on("hashchange",function(){t(window.location.hash)}),i()}
17(),function(){var e=$(".Timeline");0!==e.length&&e.perfectScrollbar()}(),function(){$(document).on("click","[data-trigger]",function(e){var t=$(this),n=t.data("trigger"),i=t.data("trigger-value");"undefined"==typeof i&&(i=null),n&&(e.preventDefault(),t.trigger(n,i))})}(),function(){function e(e){var t=e.match(/v\=([^&]+)/);return t.length>1?t[1]:null}function t(){var e=document.createElement("script");e.src="//www.youtube.com/player_api";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}function n(){if(o){var e=new Giant.Modal({onBeforeOpen:function(e){e.$content.html('<div class="youtube-modal-video-wrapper"><div class="youtube-modal-video-player"></div></div>')},onAfterOpen:function(e){var t=new YT.Player(e.$scope.find(".youtube-modal-video-player")[0],{videoId:o,events:{onReady:function(e){var t=/(iPad|iPhone|iPod|Android)/g.test(navigator.userAgent);t||e.target.playVideo()}}});a.push(t)},onBeforeClose:function(){a.forEach(function(e){e.stopVideo()}),a=[]},onAfterClose:function(){}});e.open()}}function i(e){var t=new Giant.Modal({onBeforeOpen:function(t){t.$content.html('<div class="youtube-modal-video-wrapper"><div class="youtube-modal-video-player"><video autoplay controls="controls" src="'+e+'"></video></div></div>')}});t.open()}var r=!1,o=null,a=[];window.onYouTubePlayerAPIReady=function(){r=!0,o&&n()},$(document).on("play.video",function(a){if(a.target.href.indexOf("youtube")!=-1){var s=e(a.target.href);if(!s)return;o=s,r?n():t()}else i(a.target.href)})}();

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.