PageSourceSearch

https://www.arthaud.fr/js/flammarion_multisite/main.js

js arthaud.fr collected 2026-10-02 10:03:10 UTC 354,959 bytes, 104 lines download raw bytes

vendor: 13,078 bytes, line 1
1!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t){t=t||ne;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function i(e){var t=!!e&&"length"in e&&e.length,n=me.type(e);return"function"!==n&&!me.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function r(e,t,n){return me.isFunction(t)?me.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?me.grep(e,function(e){return e===t!==n}):"string"!=typeof t?me.grep(e,function(e){return ae.call(t,e)>-1!==n}):Se.test(t)?me.filter(t,e,n):(t=me.filter(t,e),me.grep(e,function(e){return ae.call(t,e)>-1!==n&&1===e.nodeType}))}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return me.each(e.match(Fe)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function u(e){throw e}function c(e,t,n,i){var o;try{e&&me.isFunction(o=e.promise)?o.call(e).done(t).fail(n):e&&me.isFunction(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}function d(){ne.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),me.ready()}function h(){this.expando=me.expando+h.uid++}function p(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Oe.test(e)?JSON.parse(e):e)}function f(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Ne,"-$&").toLowerCase(),n=e.getAttribute(i),"string"==typeof n){try{n=p(n)}catch(o){}je.set(e,t,n)}else n=void 0;return n}function m(e,t,n,i){var o,r=1,s=20,a=i?function(){return i.cur()}:function(){return me.css(e,t,"")},l=a(),u=n&&n[3]||(me.cssNumber[t]?"":"px"),c=(me.cssNumber[t]||"px"!==u&&+l)&&qe.exec(me.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do r=r||".5",c/=r,me.style(e,t,c+u);while(r!==(r=a()/l)&&1!==r&&--s)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}function g(e){var t,n=e.ownerDocument,i=e.nodeName,o=$e[i];return o?o:(t=n.body.appendChild(n.createElement(i)),o=me.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),$e[i]=o,o)}function v(e,t){for(var n,i,o=[],r=0,s=e.length;r<s;r++)i=e[r],i.style&&(n=i.style.display,t?("none"===n&&(o[r]=Be.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&He(i)&&(o[r]=g(i))):"none"!==n&&(o[r]="none",Be.set(i,"display",n)));for(r=0;r<s;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}function y(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?me.merge([e],n):n}function x(e,t){for(var n=0,i=e.length;n<i;n++)Be.set(e[n],"globalEval",!t||Be.get(t[n],"globalEval"))}function b(e,t,n,i,o){for(var r,s,a,l,u,c,d=t.createDocumentFragment(),h=[],p=0,f=e.length;p<f;p++)if(r=e[p],r||0===r)if("object"===me.type(r))me.merge(h,r.nodeType?[r]:r);else if(Qe.test(r)){for(s=s||d.appendChild(t.createElement("div")),a=(Ge.exec(r)||["",""])[1].toLowerCase(),l=Xe[a]||Xe._default,s.innerHTML=l[1]+me.htmlPrefilter(r)+l[2],c=l[0];c--;)s=s.lastChild;me.merge(h,s.childNodes),s=d.firstChild,s.textContent=""}else h.push(t.createTextNode(r));for(d.textContent="",p=0;r=h[p++];)if(i&&me.inArray(r,i)>-1)o&&o.push(r);else if(u=me.contains(r.ownerDocument,r),s=y(d.appendChild(r),"script"),u&&x(s),n)for(c=0;r=s[c++];)Ze.test(r.type||"")&&n.push(r);return d}function w(){return!0}function C(){return!1}function E(){try{return ne.activeElement}catch(e){}}function I(e,t,n,i,o,r){var s,a;if("object"==typeof t){"string"!=typeof n&&(i=i||n,n=void 0);for(a in t)I(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===!1)o=C;else if(!o)return e;return 1===r&&(s=o,o=function(e){return me().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=me.guid++)),e.each(function(){me.event.add(this,t,o,i,n)})}function S(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?me(">tbody",e)[0]||e:e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _(e){var t=ot.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function k(e,t){var n,i,o,r,s,a,l,u;if(1===t.nodeType){if(Be.hasData(e)&&(r=Be.access(e),s=Be.set(t,r),u=r.events)){delete s.handle,s.events={};for(o in u)for(n=0,i=u[o].length;n<i;n++)me.event.add(t,o,u[o][n])}je.hasData(e)&&(a=je.access(e),l=me.extend({},a),je.set(t,l))}}function L(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function A(e,t,i,o){t=re.apply([],t);var r,s,a,l,u,c,d=0,h=e.length,p=h-1,f=t[0],m=me.isFunction(f);if(m||h>1&&"string"==typeof f&&!pe.checkClone&&it.test(f))return e.each(function(n){var r=e.eq(n);m&&(t[0]=f.call(this,n,r.html())),A(r,t,i,o)});if(h&&(r=b(t,e[0].ownerDocument,!1,e,o),s=r.firstChild,1===r.childNodes.length&&(r=s),s||o)){for(a=me.map(y(r,"script"),T),l=a.length;d<h;d++)u=r,d!==p&&(u=me.clone(u,!0,!0),l&&me.merge(a,y(u,"script"))),i.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,me.map(a,_),d=0;d<l;d++)u=a[d],Ze.test(u.type||"")&&!Be.access(u,"globalEval")&&me.contains(c,u)&&(u.src?me._evalUrl&&me._evalUrl(u.src):n(u.textContent.replace(rt,""),c))}return e}function F(e,t,n){for(var i,o=t?me.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||me.cleanData(y(i)),i.parentNode&&(n&&me.contains(i.ownerDocument,i)&&x(y(i,"script")),i.parentNode.removeChild(i));return e}function D(e,t,n){var i,o,r,s,a=e.style;return n=n||lt(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||me.contains(e.ownerDocument,e)||(s=me.style(e,t)),!pe.pixelMarginRight()&&at.test(s)&&st.test(t)&&(i=a.width,o=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=o,a.maxWidth=r)),void 0!==s?s+"":s}function z(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function M(e){if(e in ft)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=pt.length;n--;)if(e=pt[n]+t,e in ft)return e}function P(e){var t=me.cssProps[e];return t||(t=me.cssProps[e]=M(e)||e),t}function B(e,t,n){var i=qe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function j(e,t,n,i,o){var r,s=0;for(r=n===(i?"border":"content")?4:"width"===t?1:0;r<4;r+=2)"margin"===n&&(s+=me.css(e,n+Ue[r],!0,o)),i?("content"===n&&(s-=me.css(e,"padding"+Ue[r],!0,o)),"margin"!==n&&(s-=me.css(e,"border"+Ue[r]+"Width",!0,o))):(s+=me.css(e,"padding"+Ue[r],!0,o),"padding"!==n&&(s+=me.css(e,"border"+Ue[r]+"Width",!0,o)));return s}function O(e,t,n){var i,o=lt(e),r=D(e,t,o),s="border-box"===me.css(e,"boxSizing",!1,o);return at.test(r)?r:(i=s&&(pe.boxSizingReliable()||r===e.style[t]),"auto"===r&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)]),r=parseFloat(r)||0,r+j(e,t,n||(s?"border":"content"),i,o)+"px")}function N(e,t,n,i,o){return new N.prototype.init(e,t,n,i,o)}function R(){gt&&(ne.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(R):e.setTimeout(R,me.fx.interval),me.fx.tick())}function q(){return e.setTimeout(function(){mt=void 0}),mt=me.now()}function U(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)n=Ue[i],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function H(e,t,n){for(var i,o=(V.tweeners[t]||[]).concat(V.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function W(e,t,n){var i,o,r,s,a,l,u,c,d="width"in t||"height"in t,h=this,p={},f=e.style,m=e.nodeType&&He(e),g=Be.get(e,"fxshow");n.queue||(s=me._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,me.queue(e,"fx").length||s.empty.fire()})}));for(i in t)if(o=t[i],vt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||me.style(e,i)}if(l=!me.isEmptyObject(t),l||!me.isEmptyObject(p)){d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=g&&g.display,null==u&&(u=Be.get(e,"display")),c=me.css(e,"display"),"none"===c&&(u?c=u:(v([e],!0),u=e.style.display||u,c=me.css(e,"display"),v([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===me.css(e,"float")&&(l||(h.done(function(){f.display=u}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",h.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),l=!1;for(i in p)l||(g?"hidden"in g&&(m=g.hidden):g=Be.access(e,"fxshow",{display:u}),r&&(g.hidden=!m),m&&v([e],!0),h.done(function(){m||v([e]),Be.remove(e,"fxshow");for(i in p)me.style(e,i,p[i])})),l=H(m?g[i]:0,i,h),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0))}}function $(e,t){var n,i,o,r,s;for(n in e)if(i=me.camelCase(n),o=t[i],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),s=me.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete e[i];for(n in r)n in e||(e[n]=r[n],t[n]=o)}else t[i]=o}function V(e,t,n){var i,o,r=0,s=V.prefilters.length,a=me.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=mt||q(),n=Math.max(0,u.startTime+u.duration-t),i=n/u.duration||0,r=1-i,s=0,l=u.tweens.length;s<l;s++)u.tweens[s].run(r);return a.notifyWith(e,[u,r,n]),r<1&&l?n:(l||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:me.extend({},t),opts:me.extend(!0,{specialEasing:{},easing:me.easing._default},n),originalProperties:t,originalOptions:n,startTime:mt||q(),duration:n.duration,tweens:[],createTween:function(t,n){var i=me.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(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for($(c,u.opts.specialEasing);r<s;r++)if(i=V.prefilters[r].call(u,e,c,u.opts))return me.isFunction(i.stop)&&(me._queueHooks(u.elem,u.opts.queue).stop=me.proxy(i.stop,i)),i;return me.map(c,H,u),me.isFunction(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),me.fx.timer(me.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function G(e){var t=e.match(Fe)||[];return t.join(" ")}function Z(e){return e.getAttribute&&e.getAttribute("class")||""}function X(e,t,n,i){var o;if(Array.isArray(t))me.each(t,function(t,o){n||kt.test(e)?i(e,o):X(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==me.type(t))i(e,t);else for(o in t)X(e+"["+o+"]",t[o],n,i)}function Q(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(Fe)||[];if(me.isFunction(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Y(e,t,n,i){function o(a){var l;return r[a]=!0,me.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||s||r[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}var r={},s=e===Rt;return o(t.dataTypes[0])||!r["*"]&&o("*")}function K(e,t){var n,i,o=me.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&me.extend(!0,e,i),e}function J(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}function ee(e,t,n,i){var o,r,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(s=u[l+" "+r]||u["* "+r],!s)for(o in u)if(a=o.split(" "),a[1]===r&&(s=u[l+" "+a[0]]||u["* "+a[0]])){s===!0?s=u[o]:u[o]!==!0&&(r=a[0],c.unshift(a[1]));break}if(s!==!0)if(s&&e["throws"])t=s(t);else try{t=s(t)}catch(d){return{state:"parsererror",error:s?d:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}var te=[],ne=e.document,ie=Object.getPrototypeOf,oe=te.slice,re=te.concat,se=te.push,ae=te.indexOf,le={},ue=le.toString,ce=le.hasOwnProperty,de=ce.toString,he=de.call(Object),pe={},fe="3.2.1",me=function(e,t){return new me.fn.init(e,t)},ge=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ve=/^-ms-/,ye=/-([a-z])/g,xe=function(e,t){return t.toUpperCase()};me.fn=me.prototype={jquery:fe,constructor:me,length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?oe.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=me.merge(this.constructor(),e);
vendor: 6,786 bytes, line 1
1return t.prevObject=this,t},each:function(e){return me.each(this,e)},map:function(e){return this.pushStack(me.map(this,function(t,n){return e.call(t,n,t)}))},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]]:[])},end:function(){return this.prevObject||this.constructor()},push:se,sort:te.sort,splice:te.splice},me.extend=me.fn.extend=function(){var e,t,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||me.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],i=e[t],s!==i&&(u&&i&&(me.isPlainObject(i)||(o=Array.isArray(i)))?(o?(o=!1,r=n&&Array.isArray(n)?n:[]):r=n&&me.isPlainObject(n)?n:{},s[t]=me.extend(u,r,i)):void 0!==i&&(s[t]=i));return s},me.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===me.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=me.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ue.call(e)||(t=ie(e))&&(n=ce.call(t,"constructor")&&t.constructor,"function"!=typeof n||de.call(n)!==he))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[ue.call(e)]||"object":typeof e},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(ve,"ms-").replace(ye,xe)},each:function(e,t){var n,o=0;if(i(e))for(n=e.length;o<n&&t.call(e[o],o,e[o])!==!1;o++);else for(o in e)if(t.call(e[o],o,e[o])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ge,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?me.merge(n,"string"==typeof e?[e]:e):se.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ae.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i,o=[],r=0,s=e.length,a=!n;r<s;r++)i=!t(e[r],r),i!==a&&o.push(e[r]);return o},map:function(e,t,n){var o,r,s=0,a=[];if(i(e))for(o=e.length;s<o;s++)r=t(e[s],s,n),null!=r&&a.push(r);else for(s in e)r=t(e[s],s,n),null!=r&&a.push(r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),me.isFunction(e))return i=oe.call(arguments,2),o=function(){return e.apply(t||this,i.concat(oe.call(arguments)))},o.guid=e.guid=e.guid||me.guid++,o},now:Date.now,support:pe}),"function"==typeof Symbol&&(me.fn[Symbol.iterator]=te[Symbol.iterator]),me.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){le["[object "+t+"]"]=t.toLowerCase()});var be=function(e){function t(e,t,n,i){var o,r,s,a,l,u,c,h=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!i&&((t?t.ownerDocument||t:q)!==z&&D(t),t=t||z,P)){if(11!==f&&(l=ve.exec(e)))if(o=l[1]){if(9===f){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(h&&(s=h.getElementById(o))&&N(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return K.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&C.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(o)),n}if(C.qsa&&!V[e+" "]&&(!B||!B.test(e))){if(1!==f)h=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(we,Ce):t.setAttribute("id",a=R),u=T(e),r=u.length;r--;)u[r]="#"+a+" "+p(u[r]);c=u.join(","),h=ye.test(e)&&d(t.parentNode)||t}if(c)try{return K.apply(n,h.querySelectorAll(c)),n}catch(m){}finally{a===R&&t.removeAttribute("id")}}}return k(e.replace(ae,"$1"),t,n,i)}function n(){function e(n,i){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=i}var t=[];return e}function i(e){return e[R]=!0,e}function o(e){var t=z.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function r(e,t){for(var n=e.split("|"),i=n.length;i--;)E.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return i(function(t){return t=+t,i(function(n,i){for(var o,r=e([],n.length,t),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function h(){}function p(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function f(e,t,n){var i=t.dir,o=t.next,r=o||i,s=n&&"parentNode"===r,a=H++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var u,c,d,h=[U,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(d=t[R]||(t[R]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[r])&&u[0]===U&&u[1]===a)return h[2]=u[2];if(c[r]=h,h[2]=e(t,n,l))return!0}return!1}}function m(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function g(e,n,i){for(var o=0,r=n.length;o<r;o++)t(e,n[o],i);return i}function v(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),u&&t.push(a)));return s}function y(e,t,n,o,r,s){return o&&!o[R]&&(o=y(o)),r&&!r[R]&&(r=y(r,s)),i(function(i,s,a,l){var u,c,d,h=[],p=[],f=s.length,m=i||g(t||"*",a.nodeType?[a]:a,[]),y=!e||!i&&t?m:v(m,h,e,a,l),x=n?r||(i?e:f||o)?[]:s:y;if(n&&n(y,x,a,l),o)for(u=v(x,p),o(u,[],a,l),c=u.length;c--;)(d=u[c])&&(x[p[c]]=!(y[p[c]]=d));if(i){if(r||e){if(r){for(u=[],c=x.length;c--;)(d=x[c])&&u.push(y[c]=d);r(null,x=[],u,l)}for(c=x.length;c--;)(d=x[c])&&(u=r?ee(i,d):h[c])>-1&&(i[u]=!(s[u]=d))}}else x=v(x===s?x.splice(f,x.length):x),r?r(null,s,x,l):K.apply(s,x)})}function x(e){for(var t,n,i,o=e.length,r=E.relative[e[0].type],s=r||E.relative[" "],a=r?1:0,l=f(function(e){return e===t},s,!0),u=f(function(e){return ee(t,e)>-1},s,!0),c=[function(e,n,i){var o=!r&&(i||n!==L)||((t=n).nodeType?l(e,n,i):u(e,n,i)
vendor: 9,519 bytes, line 1
1);return t=null,o}];a<o;a++)if(n=E.relative[e[a].type])c=[f(m(c),n)];else{if(n=E.filter[e[a].type].apply(null,e[a].matches),n[R]){for(i=++a;i<o&&!E.relative[e[i].type];i++);return y(a>1&&m(c),a>1&&p(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a<i&&x(e.slice(a,i)),i<o&&x(e=e.slice(i)),i<o&&p(e))}c.push(n)}return m(c)}function b(e,n){var o=n.length>0,r=e.length>0,s=function(i,s,a,l,u){var c,d,h,p=0,f="0",m=i&&[],g=[],y=L,x=i||r&&E.find.TAG("*",u),b=U+=null==y?1:Math.random()||.1,w=x.length;for(u&&(L=s===z||s||u);f!==w&&null!=(c=x[f]);f++){if(r&&c){for(d=0,s||c.ownerDocument===z||(D(c),a=!P);h=e[d++];)if(h(c,s||z,a)){l.push(c);break}u&&(U=b)}o&&((c=!h&&c)&&p--,i&&m.push(c))}if(p+=f,o&&f!==p){for(d=0;h=n[d++];)h(m,g,s,a);if(i){if(p>0)for(;f--;)m[f]||g[f]||(g[f]=Q.call(l));g=v(g)}K.apply(l,g),u&&!i&&g.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(U=b,L=y),m};return o?i(s):s}var w,C,E,I,S,T,_,k,L,A,F,D,z,M,P,B,j,O,N,R="sizzle"+1*new Date,q=e.document,U=0,H=0,W=n(),$=n(),V=n(),G=function(e,t){return e===t&&(F=!0),0},Z={}.hasOwnProperty,X=[],Q=X.pop,Y=X.push,K=X.push,J=X.slice,ee=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ie+"))|)"+ne+"*\\]",re=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),ae=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(re),he=new RegExp("^"+ie+"$"),pe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=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)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Ce=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ee=function(){D()},Ie=f(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{K.apply(X=J.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(Se){K={apply:X.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}C=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},D=t.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:q;return i!==z&&9===i.nodeType&&i.documentElement?(z=i,M=z.documentElement,P=!S(z),q!==z&&(n=z.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),C.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),C.getElementsByTagName=o(function(e){return e.appendChild(z.createComment("")),!e.getElementsByTagName("*").length}),C.getElementsByClassName=ge.test(z.getElementsByClassName),C.getById=o(function(e){return M.appendChild(e).id=R,!z.getElementsByName||!z.getElementsByName(R).length}),C.getById?(E.filter.ID=function(e){var t=e.replace(xe,be);return function(e){return e.getAttribute("id")===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(E.filter.ID=function(e){var t=e.replace(xe,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n,i,o,r=t.getElementById(e);if(r){if(n=r.getAttributeNode("id"),n&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if(n=r.getAttributeNode("id"),n&&n.value===e)return[r]}return[]}}),E.find.TAG=C.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):C.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},E.find.CLASS=C.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},j=[],B=[],(C.qsa=ge.test(z.querySelectorAll))&&(o(function(e){M.appendChild(e).innerHTML="<a id='"+R+"'></a><select id='"+R+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&B.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||B.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+R+"-]").length||B.push("~="),e.querySelectorAll(":checked").length||B.push(":checked"),e.querySelectorAll("a#"+R+"+*").length||B.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=z.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&B.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&B.push(":enabled",":disabled"),M.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(C.matchesSelector=ge.test(O=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&o(function(e){C.disconnectedMatch=O.call(e,"*"),O.call(e,"[s!='']:x"),j.push("!=",re)}),B=B.length&&new RegExp(B.join("|")),j=j.length&&new RegExp(j.join("|")),t=ge.test(M.compareDocumentPosition),N=t||ge.test(M.contains)?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},G=t?function(e,t){if(e===t)return F=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!C.sortDetached&&t.compareDocumentPosition(e)===n?e===z||e.ownerDocument===q&&N(q,e)?-1:t===z||t.ownerDocument===q&&N(q,t)?1:A?ee(A,e)-ee(A,t):0:4&n?-1:1)}:function(e,t){if(e===t)return F=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],l=[t];if(!o||!r)return e===z?-1:t===z?1:o?-1:r?1:A?ee(A,e)-ee(A,t):0;if(o===r)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[i]===l[i];)i++;return i?s(a[i],l[i]):a[i]===q?-1:l[i]===q?1:0},z):z},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==z&&D(e),n=n.replace(ce,"='$1']"),C.matchesSelector&&P&&!V[n+" "]&&(!j||!j.test(n))&&(!B||!B.test(n)))try{var i=O.call(e,n);if(i||C.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(o){}return t(n,z,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==z&&D(e),N(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==z&&D(e);var n=E.attrHandle[t.toLowerCase()],i=n&&Z.call(E.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==i?i:C.attributes||!P?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},t.escape=function(e){return(e+"").replace(we,Ce)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],i=0,o=0;if(F=!C.detectDuplicates,A=!C.sortStable&&e.slice(0),e.sort(G),F){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return A=null,e},I=t.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=I(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=I(t);return n},E=t.selectors={cacheLength:50,createPseudo:i,match:pe,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(xe,be),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=T(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,be).toLowerCase();return"*"===e?function(){return!0}
vendor: 7,968 bytes, lines 1-2
1:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(o){var r=t.attr(o,e);return null==r?"!="===n:!n||(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(se," ")+" ").indexOf(i)>-1:"|="===n&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,h,p,f,m=r!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,x=!1;if(g){if(r){for(;m;){for(h=t;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(h=g,d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===U&&u[1],x=p&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(x=p=0)||f.pop();)if(1===h.nodeType&&++x&&h===t){c[e]=[U,p,x];break}}else if(y&&(h=t,d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),u=c[e]||[],p=u[0]===U&&u[1],x=p),x===!1)for(;(h=++p&&h&&h[m]||(x=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++x||(y&&(d=h[R]||(h[R]={}),c=d[h.uniqueID]||(d[h.uniqueID]={}),c[e]=[U,x]),h!==t)););return x-=o,x===i||x%i===0&&x/i>=0}}},PSEUDO:function(e,n){var o,r=E.pseudos[e]||E.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return r[R]?r(n):r.length>1?(o=[e,e,"",n],E.setFilters.hasOwnProperty(e.toLowerCase())?i(function(e,t){for(var i,o=r(e,n),s=o.length;s--;)i=ee(e,o[s]),e[i]=!(t[i]=o[s])}):function(e){return r(e,0,o)}):r}},pseudos:{not:i(function(e){var t=[],n=[],o=_(e.replace(ae,"$1"));return o[R]?i(function(e,t,n,i){for(var r,s=o(e,null,i,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))}):function(e,i,r){return t[0]=e,o(t,null,r,n),t[0]=null,!n.pop()}}),has:i(function(e){return function(n){return t(e,n).length>0}}),contains:i(function(e){return e=e.replace(xe,be),function(t){return(t.textContent||t.innerText||I(t)).indexOf(e)>-1}}),lang:i(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,be).toLowerCase(),function(t){var n;do if(n=P?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;
2}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===z.activeElement&&(!z.hasFocus||z.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!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.nodeType<6)return!1;return!0},parent:function(e){return!E.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return fe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first: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})}},E.pseudos.nth=E.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})E.pseudos[w]=l(w);return h.prototype=E.filters=E.pseudos,E.setFilters=new h,T=t.tokenize=function(e,n){var i,o,r,s,a,l,u,c=$[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=E.preFilter;a;){i&&!(o=le.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),i=!1,(o=ue.exec(a))&&(i=o.shift(),r.push({value:i,type:o[0].replace(ae," ")}),a=a.slice(i.length));for(s in E.filter)!(o=pe[s].exec(a))||u[s]&&!(o=u[s](o))||(i=o.shift(),r.push({value:i,type:s,matches:o}),a=a.slice(i.length));if(!i)break}return n?a.length:a?t.error(e):$(e,l).slice(0)},_=t.compile=function(e,t){var n,i=[],o=[],r=V[e+" "];if(!r){for(t||(t=T(e)),n=t.length;n--;)r=x(t[n]),r[R]?i.push(r):o.push(r);r=V(e,b(o,i)),r.selector=e}return r},k=t.select=function(e,t,n,i){var o,r,s,a,l,u="function"==typeof e&&e,c=!i&&T(e=u.selector||e);if(n=n||[],1===c.length){if(r=c[0]=c[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&9===t.nodeType&&P&&E.relative[r[1].type]){if(t=(E.find.ID(s.matches[0].replace(xe,be),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(r.shift().value.length)}for(o=pe.needsContext.test(e)?0:r.length;o--&&(s=r[o],!E.relative[a=s.type]);)if((l=E.find[a])&&(i=l(s.matches[0].replace(xe,be),ye.test(r[0].type)&&d(t.parentNode)||t))){if(r.splice(o,1),e=i.length&&p(r),!e)return K.apply(n,i),n;break}}return(u||_(e,c))(i,t,!P,n,!t||ye.test(e)&&d(t.parentNode)||t),n},C.sortStable=R.split("").sort(G).join("")===R,C.detectDuplicates=!!F,D(),C.sortDetached=o(function(e){return 1&e.compareDocumentPosition(z.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||r("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),C.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||r("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||r(te,function(e,t,n){var i;if(!n)return e[t]===!0?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),t}(e);me.find=be,me.expr=be.selectors,me.expr[":"]=me.expr.pseudos,me.uniqueSort=me.unique=be.uniqueSort,me.text=be.getText,me.isXMLDoc=be.isXML,me.contains=be.contains,me.escapeSelector=be.escape;var we=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&me(e).is(n))break;i.push(e)}return i},Ce=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=me.expr.match.needsContext,Ie=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Se=/^.[^:#\[\.,]*$/;me.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?me.find.matchesSelector(i,e)?[i]:[]:me.find.matches(e,me.grep(t,function(e){return 1===e.nodeType}))},me.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(me(e).filter(function(){for(t=0;t<i;t++)if(me.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)me.find(e,o[t],n);return i>1?me.uniqueSort(n):n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&Ee.test(e)?me(e):e||[],!1).length}});var Te,_e=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ke=me.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||Te,"string"==typeof e){if(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:_e.exec(e),!i||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof me?t[0]:t,me.merge(this,me.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),Ie.test(i[1])&&me.isPlainObject(t))for(i in t)me.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return o=ne.getElementById(i[2]),o&&(this[0]=o,this.length=1),this}
vendor: 16,747 bytes, line 2
2return e.nodeType?(this[0]=e,this.length=1,this):me.isFunction(e)?void 0!==n.ready?n.ready(e):e(me):me.makeArray(e,this)};ke.prototype=me.fn,Te=me(ne);var Le=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};me.fn.extend({has:function(e){var t=me(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(me.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],s="string"!=typeof e&&me(e);if(!Ee.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&me.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?me.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?ae.call(me(e),this[0]):ae.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(me.uniqueSort(me.merge(this.get(),me(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),me.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return we(e,"parentNode")},parentsUntil:function(e,t,n){return we(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return we(e,"nextSibling")},prevAll:function(e){return we(e,"previousSibling")},nextUntil:function(e,t,n){return we(e,"nextSibling",n)},prevUntil:function(e,t,n){return we(e,"previousSibling",n)},siblings:function(e){return Ce((e.parentNode||{}).firstChild,e)},children:function(e){return Ce(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),me.merge([],e.childNodes))}},function(e,t){me.fn[e]=function(n,i){var o=me.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=me.filter(i,o)),this.length>1&&(Ae[e]||me.uniqueSort(o),Le.test(e)&&o.reverse()),this.pushStack(o)}});var Fe=/[^\x20\t\r\n\f]+/g;me.Callbacks=function(e){e="string"==typeof e?a(e):me.extend({},e);var t,n,i,o,r=[],s=[],l=-1,u=function(){for(o=o||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<r.length;)r[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(l=r.length-1,s.push(n)),function i(t){me.each(t,function(t,n){me.isFunction(n)?e.unique&&c.has(n)||r.push(n):n&&n.length&&"string"!==me.type(n)&&i(n)})}(arguments),n&&!t&&u()),this},remove:function(){return me.each(arguments,function(e,t){for(var n;(n=me.inArray(t,r,n))>-1;)r.splice(n,1),n<=l&&l--}),this},has:function(e){return e?me.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},me.extend({Deferred:function(t){var n=[["notify","progress",me.Callbacks("memory"),me.Callbacks("memory"),2],["resolve","done",me.Callbacks("once memory"),me.Callbacks("once memory"),0,"resolved"],["reject","fail",me.Callbacks("once memory"),me.Callbacks("once memory"),1,"rejected"]],i="pending",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(e){return o.then(null,e)},pipe:function(){var e=arguments;return me.Deferred(function(t){me.each(n,function(n,i){var o=me.isFunction(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&me.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,i,o){function r(t,n,i,o){return function(){var a=this,c=arguments,d=function(){var e,d;if(!(t<s)){if(e=i.apply(a,c),e===n.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,me.isFunction(d)?o?d.call(e,r(s,n,l,o),r(s,n,u,o)):(s++,d.call(e,r(s,n,l,o),r(s,n,u,o),r(s,n,l,n.notifyWith))):(i!==l&&(a=void 0,c=[e]),(o||n.resolveWith)(a,c))}},h=o?d:function(){try{d()}catch(e){me.Deferred.exceptionHook&&me.Deferred.exceptionHook(e,h.stackTrace),t+1>=s&&(i!==u&&(a=void 0,c=[e]),n.rejectWith(a,c))}};t?h():(me.Deferred.getStackHook&&(h.stackTrace=me.Deferred.getStackHook()),e.setTimeout(h))}}var s=0;return me.Deferred(function(e){n[0][3].add(r(0,e,me.isFunction(o)?o:l,e.notifyWith)),n[1][3].add(r(0,e,me.isFunction(t)?t:l)),n[2][3].add(r(0,e,me.isFunction(i)?i:u))}).promise()},promise:function(e){return null!=e?me.extend(e,o):o}},r={};return me.each(n,function(e,t){var s=t[2],a=t[5];o[t[1]]=s.add,a&&s.add(function(){i=a},n[3-e][2].disable,n[0][2].lock),s.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=s.fireWith}),o.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=oe.call(arguments),r=me.Deferred(),s=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?oe.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(c(e,r.done(s(n)).resolve,r.reject,!t),"pending"===r.state()||me.isFunction(o[n]&&o[n].then)))return r.then();for(;n--;)c(o[n],s(n),r.reject);return r.promise()}});var De=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;me.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&De.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},me.readyException=function(t){e.setTimeout(function(){throw t})};var ze=me.Deferred();me.fn.ready=function(e){return ze.then(e)["catch"](function(e){me.readyException(e)}),this},me.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--me.readyWait:me.isReady)||(me.isReady=!0,e!==!0&&--me.readyWait>0||ze.resolveWith(ne,[me]))}}),me.ready.then=ze.then,"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll?e.setTimeout(me.ready):(ne.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var Me=function(e,t,n,i,o,r,s){var a=0,l=e.length,u=null==n;if("object"===me.type(n)){o=!0;for(a in n)Me(e,t,a,n[a],!0,r,s)}else if(void 0!==i&&(o=!0,me.isFunction(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(me(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:u?t.call(e):l?t(e[0],n):r},Pe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};h.uid=1,h.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Pe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[me.camelCase(t)]=n;else for(i in t)o[me.camelCase(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][me.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){Array.isArray(t)?t=t.map(me.camelCase):(t=me.camelCase(t),t=t in i?[t]:t.match(Fe)||[]),n=t.length;for(;n--;)delete i[t[n]]}(void 0===t||me.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!me.isEmptyObject(t)}};var Be=new h,je=new h,Oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ne=/[A-Z]/g;me.extend({hasData:function(e){return je.hasData(e)||Be.hasData(e)},data:function(e,t,n){return je.access(e,t,n)},removeData:function(e,t){je.remove(e,t)},_data:function(e,t,n){return Be.access(e,t,n)},_removeData:function(e,t){Be.remove(e,t)}}),me.fn.extend({data:function(e,t){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(o=je.get(r),1===r.nodeType&&!Be.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=me.camelCase(i.slice(5)),f(r,i,o[i])));Be.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){je.set(this,e)}):Me(this,function(t){var n;if(r&&void 0===t){if(n=je.get(r,e),void 0!==n)return n;if(n=f(r,e),void 0!==n)return n}else this.each(function(){je.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){je.remove(this,e)})}}),me.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Be.get(e,t),n&&(!i||Array.isArray(n)?i=Be.access(e,t,me.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=me.queue(e,t),i=n.length,o=n.shift(),r=me._queueHooks(e,t),s=function(){me.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Be.get(e,n)||Be.access(e,n,{empty:me.Callbacks("once memory").add(function(){Be.remove(e,[t+"queue",n])})})}}),me.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?me.queue(this[0],e):void 0===t?this:this.each(function(){var n=me.queue(this,e,t);me._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&me.dequeue(this,e)})},dequeue:function(e){return this.each(function(){me.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=me.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)n=Be.get(r[s],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(t)}});var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qe=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],He=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&me.contains(e.ownerDocument,e)&&"none"===me.css(e,"display")},We=function(e,t,n,i){var o,r,s={};for(r in t)s[r]=e.style[r],e.style[r]=t[r];o=n.apply(e,i||[]);for(r in t)e.style[r]=s[r];return o},$e={};me.fn.extend({show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){He(this)?me(this).show():me(this).hide()})}});var Ve=/^(?:checkbox|radio)$/i,Ge=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ze=/^$|\/(?:java|ecma)script/i,Xe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Qe=/<|&#?\w+;/;!function(){var e=ne.createDocumentFragment(),t=e.appendChild(ne.createElement("div")),n=ne.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),pe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",pe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ye=ne.documentElement,Ke=/^key/,Je=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,et=/^([^.]*)(?:\.(.+)|)/;me.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,u,c,d,h,p,f,m,g=Be.get(e);if(g)for(n.handler&&(r=n,n=r.handler,o=r.selector),o&&me.find.matchesSelector(Ye,o),n.guid||(n.guid=me.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return"undefined"!=typeof me&&me.event.triggered!==t.type?me.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Fe)||[""],u=t.length;u--;)a=et.exec(t[u])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p&&(d=me.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=me.event.special[p]||{},c=me.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&me.expr.match.needsContext.test(o),namespace:f.join(".")},r),(h=l[p])||(h=l[p]=[],h.delegateCount=0,d.setup&&d.setup.call(e,i,f,s)!==!1||e.addEventListener&&e.addEventListener(p,s)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,c):h.push(c),me.event.global[p]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,u,c,d,h,p,f,m,g=Be.hasData(e)&&Be.get(e);if(g&&(l=g.events)){for(t=(t||"").match(Fe)||[""],u=t.length;u--;)if(a=et.exec(t[u])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(d=me.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,h=l[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=h.length;r--;)c=h[r],!o&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(r,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(e,c));s&&!h.length&&(d.teardown&&d.teardown.call(e,f,g.handle)!==!1||me.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)me.event.remove(e,p+t[u],n,i,!0);me.isEmptyObject(l)&&Be.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,s,a=me.event.fix(e),l=new Array(arguments.length),u=(Be.get(this,"events")||{})[a.type]||[],c=me.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,a)!==!1){for(s=me.event.handlers.call(this,a,u),t=0;(o=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(r.namespace)||(a.handleObj=r,a.data=r.data,i=((me.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,l),void 0!==i&&(a.result=i)===!1&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,o,r,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(r=[],s={},n=0;n<l;n++)i=t[n],o=i.selector+" ",void 0===s[o]&&(s[o]=i.needsContext?me(o,this).index(u)>-1:me.find(o,this,null,[u]).length),s[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(me.Event.prototype,e,{enumerable:!0,configurable:!0,get:me.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[me.expando]?e:new me.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},me.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},me.Event=function(e,t){return this instanceof me.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?w:C,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&me.extend(this,t),this.timeStamp=e&&e.timeStamp||me.now(),void(this[me.expando]=!0)):new me.Event(e,t)},me.Event.prototype={constructor:me.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=w,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=w,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=w,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},me.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ke.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Je.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},me.event.addProp),me.each({mouseenter:"mouseover",mouseleave:"mou
2seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){me.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,o=e.relatedTarget,r=e.handleObj;return o&&(o===i||me.contains(i,o))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),me.fn.extend({on:function(e,t,n,i){return I(this,e,t,n,i)},one:function(e,t,n,i){return I(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,me(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=C),this.each(function(){me.event.remove(this,e,n,t)})}});var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,nt=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,ot=/^true\/(.*)/,rt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;me.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1></$2>")},clone:function(e,t,n){var i,o,r,s,a=e.cloneNode(!0),l=me.contains(e.ownerDocument,e);if(!(pe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||me.isXMLDoc(e)))for(s=y(a),r=y(e),i=0,o=r.length;i<o;i++)L(r[i],s[i]);if(t)if(n)for(r=r||y(e),s=s||y(a),i=0,o=r.length;i<o;i++)k(r[i],s[i]);else k(e,a);return s=y(a,"script"),s.length>0&&x(s,!l&&y(e,"script")),a},cleanData:function(e){for(var t,n,i,o=me.event.special,r=0;void 0!==(n=e[r]);r++)if(Pe(n)){if(t=n[Be.expando]){if(t.events)for(i in t.events)
vendor: 12,973 bytes, lines 2-3
2o[i]?me.event.remove(n,i):me.removeEvent(n,i,t.handle);n[Be.expando]=void 0}n[je.expando]&&(n[je.expando]=void 0)}}}),me.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return Me(this,function(e){return void 0===e?me.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.appendChild(e)}})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(me.cleanData(y(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return me.clone(this,e,t)})},html:function(e){return Me(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!nt.test(e)&&!Xe[(Ge.exec(e)||["",""])[1].toLowerCase()]){e=me.htmlPrefilter(e);try{for(;n<i;n++)t=this[n]||{},1===t.nodeType&&(me.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return A(this,arguments,function(t){var n=this.parentNode;me.inArray(this,e)<0&&(me.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),me.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){me.fn[e]=function(e){for(var n,i=[],o=me(e),r=o.length-1,s=0;s<=r;s++)n=s===r?this:this.clone(!0),me(o[s])[t](n),se.apply(i,n.get());return this.pushStack(i)}});var st=/^margin/,at=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),lt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Ye.appendChild(s);var t=e.getComputedStyle(a);n="1%"!==t.top,r="2px"===t.marginLeft,i="4px"===t.width,a.style.marginRight="50%",o="4px"===t.marginRight,Ye.removeChild(s),a=null}}var n,i,o,r,s=ne.createElement("div"),a=ne.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",pe.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),me.extend(pe,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),i},pixelMarginRight:function(){return t(),o},reliableMarginLeft:function(){return t(),r}}))}();var ut=/^(none|table(?!-c[ea]).+)/,ct=/^--/,dt={position:"absolute",visibility:"hidden",display:"block"},ht={letterSpacing:"0",fontWeight:"400"},pt=["Webkit","Moz","ms"],ft=ne.createElement("div").style;me.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=D(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=me.camelCase(t),l=ct.test(t),u=e.style;return l||(t=P(a)),s=me.cssHooks[t]||me.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(o=s.get(e,!1,i))?o:u[t]:(r=typeof n,"string"===r&&(o=qe.exec(n))&&o[1]&&(n=m(e,t,o),r="number"),void(null!=n&&n===n&&("number"===r&&(n+=o&&o[3]||(me.cssNumber[a]?"":"px")),pe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))))}},css:function(e,t,n,i){var o,r,s,a=me.camelCase(t),l=ct.test(t);return l||(t=P(a)),s=me.cssHooks[t]||me.cssHooks[a],s&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=D(e,t,i)),"normal"===o&&t in ht&&(o=ht[t]),""===n||n?(r=parseFloat(o),n===!0||isFinite(r)?r||0:o):o}}),me.each(["height","width"],function(e,t){me.cssHooks[t]={get:function(e,n,i){if(n)return!ut.test(me.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?O(e,t,i):We(e,dt,function(){return O(e,t,i)})},set:function(e,n,i){var o,r=i&&lt(e),s=i&&j(e,t,i,"border-box"===me.css(e,"boxSizing",!1,r),r);return s&&(o=qe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=me.css(e,t)),B(e,n,s)}}}),me.cssHooks.marginLeft=z(pe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(D(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),me.each({margin:"",padding:"",border:"Width"},function(e,t){me.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+Ue[i]+t]=r[i]||r[i-2]||r[0];return o}},st.test(e)||(me.cssHooks[e+t].set=B)}),me.fn.extend({css:function(e,t){return Me(this,function(e,t,n){var i,o,r={},s=0;if(Array.isArray(t)){for(i=lt(e),o=t.length;s<o;s++)r[t[s]]=me.css(e,t[s],!1,i);return r}return void 0!==n?me.style(e,t,n):me.css(e,t)},e,t,arguments.length>1)}}),me.Tween=N,N.prototype={constructor:N,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||me.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(me.cssNumber[n]?"":"px")},cur:function(){var e=N.propHooks[this.prop];return e&&e.get?e.get(this):N.propHooks._default.get(this)},run:function(e){var t,n=N.propHooks[this.prop];return this.options.duration?this.pos=t=me.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):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=me.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){me.fx.step[e.prop]?me.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[me.cssProps[e.prop]]&&!me.cssHooks[e.prop]?e.elem[e.prop]=e.now:me.style(e.elem,e.prop,e.now+e.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},me.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},me.fx=N.prototype.init,me.fx.step={};var mt,gt,vt=/^(?:toggle|show|hide)$/,yt=/queueHooks$/;me.Animation=me.extend(V,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return m(n.elem,e,qe.exec(t),n),n}]},tweener:function(e,t){me.isFunction(e)?(t=e,e=["*"]):e=e.match(Fe);for(var n,i=0,o=e.length;i<o;i++)n=e[i],V.tweeners[n]=V.tweeners[n]||[],V.tweeners[n].unshift(t)},prefilters:[W],prefilter:function(e,t){t?V.prefilters.unshift(e):V.prefilters.push(e)}}),me.speed=function(e,t,n){var i=e&&"object"==typeof e?me.extend({},e):{complete:n||!n&&t||me.isFunction(e)&&e,duration:e,easing:n&&t||t&&!me.isFunction(t)&&t};return me.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in me.fx.speeds?i.duration=me.fx.speeds[i.duration]:i.duration=me.fx.speeds._default),null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(){me.isFunction(i.old)&&i.old.call(this),i.queue&&me.dequeue(this,i.queue)},i},me.fn.extend({fadeTo:function(e,t,n,i){return this.filter(He).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=me.isEmptyObject(e),r=me.speed(t,n,i),s=function(){var t=V(this,me.extend({},e),r);(o||Be.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=me.timers,s=Be.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&yt.test(o)&&i(s[o]);
3for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||me.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Be.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=me.timers,s=i?i.length:0;for(n.finish=!0,me.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),me.each(["toggle","show","hide"],function(e,t){var n=me.fn[t];me.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(U(t,!0),e,i,o)}}),me.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){me.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),me.timers=[],me.fx.tick=function(){var e,t=0,n=me.timers;for(mt=me.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||me.fx.stop(),mt=void 0},me.fx.timer=function(e){me.timers.push(e),me.fx.start()},me.fx.interval=13,me.fx.start=function(){gt||(gt=!0,R())},me.fx.stop=function(){gt=null},me.fx.speeds={slow:600,fast:200,_default:400},me.fn.delay=function(t,n){return t=me.fx?me.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}})},function(){var e=ne.createElement("input"),t=ne.createElement("select"),n=t.appendChild(ne.createElement("option"));e.type="checkbox",pe.checkOn=""!==e.value,pe.optSelected=n.selected,e=ne.createElement("input"),e.value="t",e.type="radio",pe.radioValue="t"===e.value}();var xt,bt=me.expr.attrHandle;me.fn.extend({attr:function(e,t){return Me(this,me.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){me.removeAttr(this,e)})}}),me.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return"undefined"==typeof e.getAttribute?me.prop(e,t,n):(1===r&&me.isXMLDoc(e)||(o=me.attrHooks[t.toLowerCase()]||(me.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void me.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:(i=me.find.attr(e,t),null==i?void 0:i))},attrHooks:{type:{set:function(e,t){if(!pe.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(Fe);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return t===!1?me.removeAttr(e,n):e.setAttribute(n,n),n}},me.each(me.expr.match.bool.source.match(/\w+/g),function(e,t){var n=bt[t]||me.find.attr;bt[t]=function(e,t,i){var o,r,s=t.toLowerCase();return i||(r=bt[s],bt[s]=o,o=null!=n(e,t,i)?s:null,bt[s]=r),o}});var wt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;me.fn.extend({prop:function(e,t){return Me(this,me.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[me.propFix[e]||e]})}}),me.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&me.isXMLDoc(e)||(t=me.propFix[t]||t,o=me.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=me.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),pe.optSelected||(me.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),me.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){me.propFix[this.toLowerCase()]=this}),me.fn.extend({addClass:function(e){var t,n,i,o,r,s,a,l=0;if(me.isFunction(e))return this.each(function(t){me(this).addClass(e.call(this,t,Z(this)))});if("string"==typeof e&&e)for(t=e.match(Fe)||[];n=this[l++];)if(o=Z(n),i=1===n.nodeType&&" "+G(o)+" "){for(s=0;r=t[s++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=G(i),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,o,r,s,a,l=0;if(me.isFunction(e))return this.each(function(t){me(this).removeClass(e.call(this,t,Z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Fe)||[];n=this[l++];
vendor: 6,737 bytes, line 3
3)if(o=Z(n),i=1===n.nodeType&&" "+G(o)+" "){for(s=0;r=t[s++];)for(;i.indexOf(" "+r+" ")>-1;)i=i.replace(" "+r+" "," ");a=G(i),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):me.isFunction(e)?this.each(function(n){me(this).toggleClass(e.call(this,n,Z(this),t),t)}):this.each(function(){var t,i,o,r;if("string"===n)for(i=0,o=me(this),r=e.match(Fe)||[];t=r[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Z(this),t&&Be.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Be.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+G(Z(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;me.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=me.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,me(this).val()):e,null==o?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=me.map(o,function(e){return null==e?"":e+""})),t=me.valHooks[this.type]||me.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=me.valHooks[o.type]||me.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Et,""):null==n?"":n)):void 0}}),me.extend({valHooks:{option:{get:function(e){var t=me.find.attr(e,"value");return null!=t?t:G(me.text(e))}},select:{get:function(e){var t,n,i,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?s+1:r.length;for(i=s<0?u:a?s:0;i<u;i++)if(n=r[i],(n.selected||i===s)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=me(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,i,o=e.options,r=me.makeArray(t),s=o.length;s--;)i=o[s],(i.selected=me.inArray(me.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),me.each(["radio","checkbox"],function(){me.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=me.inArray(me(e).val(),t)>-1}},pe.checkOn||(me.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var It=/^(?:focusinfocus|focusoutblur)$/;me.extend(me.event,{trigger:function(t,n,i,o){var r,s,a,l,u,c,d,h=[i||ne],p=ce.call(t,"type")?t.type:t,f=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=a=i=i||ne,3!==i.nodeType&&8!==i.nodeType&&!It.test(p+me.event.triggered)&&(p.indexOf(".")>-1&&(f=p.split("."),p=f.shift(),f.sort()),u=p.indexOf(":")<0&&"on"+p,t=t[me.expando]?t:new me.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=f.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:me.makeArray(n,[t]),d=me.event.special[p]||{},o||!d.trigger||d.trigger.apply(i,n)!==!1)){if(!o&&!d.noBubble&&!me.isWindow(i)){for(l=d.delegateType||p,It.test(l+p)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(i.ownerDocument||ne)&&h.push(a.defaultView||a.parentWindow||e)}for(r=0;(s=h[r++])&&!t.isPropagationStopped();)t.type=r>1?l:d.bindType||p,c=(Be.get(s,"events")||{})[t.type]&&Be.get(s,"handle"),c&&c.apply(s,n),c=u&&s[u],c&&c.apply&&Pe(s)&&(t.result=c.apply(s,n),t.result===!1&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||d._default&&d._default.apply(h.pop(),n)!==!1||!Pe(i)||u&&me.isFunction(i[p])&&!me.isWindow(i)&&(a=i[u],a&&(i[u]=null),me.event.triggered=p,i[p](),me.event.triggered=void 0,a&&(i[u]=a)),t.result}},simulate:function(e,t,n){var i=me.extend(new me.Event,n,{type:e,isSimulated:!0});me.event.trigger(i,null,t)}}),me.fn.extend({trigger:function(e,t){return this.each(function(){me.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return me.event.trigger(e,t,n,!0)}}),me.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){me.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),me.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),pe.focusin="onfocusin"in e,pe.focusin||me.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){me.event.simulate(t,e.target,me.event.fix(e))};me.event.special[t]={setup:function(){var i=this.ownerDocument||this,o=Be.access(i,t);o||i.addEventListener(e,n,!0),Be.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=Be.access(i,t)-1;o?Be.access(i,t,o):(i.removeEventListener(e,n,!0),Be.remove(i,t))}}});var St=e.location,Tt=me.now(),_t=/\?/;me.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||me.error("Invalid XML: "+t),n};var kt=/\[\]$/,Lt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;me.param=function(e,t){var n,i=[],o=function(e,t){var n=me.isFunction(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!me.isPlainObject(e))me.each(e,function(){o(this.name,this.value)});else for(n in e)X(n,e[n],t,o);return i.join("&")},me.fn.extend({serialize:function(){return me.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=me.prop(this,"elements");return e?me.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!me(this).is(":disabled")&&Ft.test(this.nodeName)&&!At.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=me(this).val();return null==n?null:Array.isArray(n)?me.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Dt=/%20/g,zt=/#.*$/,Mt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,jt=/^(?:GET|HEAD)$/,Ot=/^\/\//,Nt={},Rt={},qt="*/".concat("*"),Ut=ne.createElement("a");Ut.href=St.href,me.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:Bt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":me.parseXML}
vendor: 6,444 bytes, line 3
3,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?K(K(e,me.ajaxSettings),t):K(me.ajaxSettings,e)},ajaxPrefilter:Q(Nt),ajaxTransport:Q(Rt),ajax:function(t,n){function i(t,n,i,a){var u,h,p,b,w,C=n;c||(c=!0,l&&e.clearTimeout(l),o=void 0,s=a||"",E.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(b=J(f,E,i)),b=ee(f,b,E,u),u?(f.ifModified&&(w=E.getResponseHeader("Last-Modified"),w&&(me.lastModified[r]=w),w=E.getResponseHeader("etag"),w&&(me.etag[r]=w)),204===t||"HEAD"===f.type?C="nocontent":304===t?C="notmodified":(C=b.state,h=b.data,p=b.error,u=!p)):(p=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",u?v.resolveWith(m,[h,C,E]):v.rejectWith(m,[E,C,p]),E.statusCode(x),x=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[E,f,u?h:p]),y.fireWith(m,[E,C]),d&&(g.trigger("ajaxComplete",[E,f]),--me.active||me.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,r,s,a,l,u,c,d,h,p,f=me.ajaxSetup({},n),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?me(m):me.event,v=me.Deferred(),y=me.Callbacks("once memory"),x=f.statusCode||{},b={},w={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Pt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return o&&o.abort(t),i(0,t),this}};if(v.promise(E),f.url=((t||f.url||St.href)+"").replace(Ot,St.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Fe)||[""],null==f.crossDomain){u=ne.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=Ut.protocol+"//"+Ut.host!=u.protocol+"//"+u.host}catch(I){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=me.param(f.data,f.traditional)),Y(Nt,f,n,E),c)return E;d=me.event&&f.global,d&&0===me.active++&&me.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!jt.test(f.type),r=f.url.replace(zt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Dt,"+")):(p=f.url.slice(r.length),f.data&&(r+=(_t.test(r)?"&":"?")+f.data,delete f.data),f.cache===!1&&(r=r.replace(Mt,"$1"),p=(_t.test(r)?"&":"?")+"_="+Tt++ +p),f.url=r+p),f.ifModified&&(me.lastModified[r]&&E.setRequestHeader("If-Modified-Since",me.lastModified[r]),me.etag[r]&&E.setRequestHeader("If-None-Match",me.etag[r])),(f.data&&f.hasContent&&f.contentType!==!1||n.contentType)&&E.setRequestHeader("Content-Type",f.contentType),E.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+qt+"; q=0.01":""):f.accepts["*"]);for(h in f.headers)E.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(f.beforeSend.call(m,E,f)===!1||c))return E.abort();if(C="abort",y.add(f.complete),E.done(f.success),E.fail(f.error),o=Y(Rt,f,n,E)){if(E.readyState=1,d&&g.trigger("ajaxSend",[E,f]),c)return E;f.async&&f.timeout>0&&(l=e.setTimeout(function(){E.abort("timeout")},f.timeout));try{c=!1,o.send(b,i)}catch(I){if(c)throw I;i(-1,I)}}else i(-1,"No Transport");return E},getJSON:function(e,t,n){return me.get(e,t,n,"json")},getScript:function(e,t){return me.get(e,void 0,t,"script")}}),me.each(["get","post"],function(e,t){me[t]=function(e,n,i,o){return me.isFunction(n)&&(o=o||i,i=n,n=void 0),me.ajax(me.extend({url:e,type:t,dataType:o,data:n,success:i},me.isPlainObject(e)&&e))}}),me._evalUrl=function(e){return me.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},me.fn.extend({wrapAll:function(e){var t;return this[0]&&(me.isFunction(e)&&(e=e.call(this[0])),t=me(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return me.isFunction(e)?this.each(function(t){me(this).wrapInner(e.call(this,t))}):this.each(function(){var t=me(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=me.isFunction(e);return this.each(function(n){me(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){me(this).replaceWith(this.childNodes)}),this}}),me.expr.pseudos.hidden=function(e){return!me.expr.pseudos.visible(e)},me.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},me.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Ht={0:200,1223:204},Wt=me.ajaxSettings.xhr();pe.cors=!!Wt&&"withCredentials"in Wt,pe.ajax=Wt=!!Wt,me.ajaxTransport(function(t){var n,i;if(pe.cors||Wt&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Ht[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(l){if(n)throw l}},abort:function(){n&&n()}}}),me.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),me.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return me.globalEval(e),e}}}),me.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),me.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=me("<script>
3").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),ne.head.appendChild(t[0])},abort:function(){n&&n()}}}});var $t=[],Vt=/(=)\?(?=&|$)|\?\?/;me.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=$t.pop()||me.expando+"_"+Tt++;return this[e]=!0,e}}),me.ajaxPrefilter("json jsonp",function(t,n,i){var o,r,s,a=t.jsonp!==!1&&(Vt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=me.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Vt,"$1"+o):t.jsonp!==!1&&(t.url+=(_t.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||me.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){s=arguments},i.always(function(){void 0===r?me(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,$t.push(o)),s&&me.isFunction(r)&&r(s[0]),s=r=void 0}),"script"}),pe.createHTMLDocument=function(){var e=ne.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),me.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,r;return t||(pe.createHTMLDocument?(t=ne.implementation.createHTMLDocument(""),i=t.createElement("base"),i.href=ne.location.href,t.head.appendChild(i)):t=ne),o=Ie.exec(e),r=!n&&[],o?[t.createElement(o[1])]:(o=b([e],t,r),r&&r.length&&me(r).remove(),me.merge([],o.childNodes))},me.fn.load=function(e,t,n){var i,o,r,s=this,a=e.indexOf(" ");return a>-1&&(i=G(e.slice(a)),e=e.slice(0,a)),me.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),s.length>0&&me.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,s.html(i?me("<div>").append(me.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},me.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){me.fn[t]=function(e){return this.on(t,e)}}),me.expr.pseudos.animated=function(e){return me.grep(me.timers,function(t){return e===t.elem}).length},me.offset={setOffset:function(e,t,n){var i,o,r,s,a,l,u,c=me.css(e,"position"),d=me(e),h={};"static"===c&&(e.style.position="relative"),a=d.offset(),r=me.css(e,"top"),l=me.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1,u?(i=d.position(),s=i.top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),me.isFunction(t)&&(t=t.call(e,n,me.extend({},a))),null!=t.top&&(h.top=t.top-a.top+s),null!=t.left&&(h.left=t.left-a.left+o),"using"in t?t.using.call(e,h):d.css(h)}},me.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){me.offset.setOffset(this,e,t)});var t,n,i,o,r=this[0];return r?r.getClientRects().length?(i=r.getBoundingClientRect(),t=r.ownerDocument,n=t.documentElement,o=t.defaultView,{top:i.top+o.pageYOffset-n.clientTop,left:i.left+o.pageXOffset-n.clientLeft}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===me.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),o(e[0],"html")||(i=e.offset()),i={top:i.top+me.css(e[0],"borderTopWidth",!0),left:i.left+me.css(e[0],"borderLeftWidth",!0)}),{top:t.top-i.top-me.css(n,"marginTop",!0),left:t.left-i.left-me.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===me.css(e,"position");)e=e.offsetParent;return e||Ye})}}),me.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;me.fn[e]=function(i){return Me(this,function(e,i,o){var r;return me.isWindow(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o?r?r[t]:e[i]:void(r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o)},e,i,arguments.length)}}),me.each(["top","left"],function(e,t){me.cssHooks[t]=z(pe.pixelPosition,function(e,n){if(n)return n=D(e,t),at.test(n)?me(e).position()[t]+"px":n})}),me.each({Height:"height",Width:"width"},function(e,t){me.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){me.fn[i]=function(o,r){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(o===!0||r===!0?"margin":"border");return Me(this,function(t,n,o){var r;return me.isWindow(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?me.css(t,n,a):me.style(t,n,o,a)},t,s?o:void 0,s)}})}),me.fn.extend({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)}}),me.holdReady=function(e){e?me.readyWait++:me.ready(!0)},me.isArray=Array.isArray,me.parseJSON=JSON.parse,me.nodeName=o,"function"==typeof define&&define.amd&&define("jquery",[],function(){return me});var Gt=e.jQuery,Zt=e.$;return me.noConflict=function(t){return e.$===me&&(e.$=Zt),t&&e.jQuery===me&&(e.jQuery=Gt),me},t||(e.jQuery=e.$=me),me}),function(){function e(e){function t(t,n,i,o,r,s){for(;r>=0&&s>r;r+=e){var a=o?o[r]:r;i=n(i,t[a],a,t)}return i}return function(n,i,o,r){i=x(i,r,4);var s=!T(n)&&y.keys(n),a=(s||n).length,l=e>0?0:a-1;return arguments.length<3&&(o=n[s?s[l]:l],l+=e),t(n,i,o,s,l,a)}}function t(e){return function(t,n,i){n=b(n,i);for(var o=S(t),r=e>0?0:o-1;r>=0&&o>r;r+=e)if(n(t[r],r,t))return r;return-1}}function n(e,t,n){return function(i,o,r){var s=0,a=S(i);if("number"==typeof r)e>0?s=r>=0?r:Math.max(r+a,s):a=r>=0?Math.min(r+1,a):r+a+1;else if(n&&r&&a)return r=n(i,o),i[r]===o?r:-1;if(o!==o)return r=t(c.call(i,s,a),y.isNaN),r>=0?r+s:-1;for(r=e>0?s:a-1;r>=0&&a>r;r+=e)if(i[r]===o)return r;return-1}}function i(e,t){var n=F.length,i=e.constructor,o=y.isFunction(i)&&i.prototype||a,r="constructor";for(y.has(e,r)&&!y.contains(t,r)&&t.push(r);n--;)r=F[n],r in e&&e[r]!==o[r]&&!y.contains(t,r)&&t.push(r)}var o=this,r=o._,s=Array.prototype,a=Object.prototype,l=Function.prototype,u=s.push,c=s.slice,d=a.toString,h=a.hasOwnProperty,p=Array.isArray,f=Object.keys,m=l.bind,g=Object.create,v=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=y),exports._=y):o._=y,y.VERSION="1.8.3";var x=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,o){return e.call(t,n,i,o)};case 4:return function(n,i,o,r){return e.call(t,n,i,o,r)}}return function(){return e.apply(t,arguments)}},b=function(e,t,n){return null==e?y.identity:y.isFunction(e)?x(e,t,n):y.isObject(e)?y.matcher(e):y.property(e)};y.iteratee=function(e,t){return b(e,t,1/0)};var w=function(e,t){return function(n){var i=arguments.length;if(2>i||null==n)return n;for(var o=1;i>o;o++)for(var r=arguments[o],s=e(r),a=s.length,l=0;a>l;l++){var u=s[l];t&&void 0!==n[u]||(n[u]=r[u])}return n}},C=function(e){if(!y.isObject(e))return{};if(g)return g(e);v.prototype=e;var t=new v;return v.prototype=null,t},E=function(e){return function(t){return null==t?void 0:t[e]}},I=Math.pow(2,53)-1,S=E("length"),T=function(e){var t=S(e);return"number"==typeof t&&t>=0&&I>=t};y.each=y.forEach=function(e,t,n){t=x(t,n);var i,o;if(T(e))for(i=0,o=e.length;o>i;i++)t(e[i],i,e);else{var r=y.keys(e);for(i=0,o=r.length;o>i;i++)t(e[r[i]],r[i],e)}return e}
3,y.map=y.collect=function(e,t,n){t=b(t,n);for(var i=!T(e)&&y.keys(e),o=(i||e).length,r=Array(o),s=0;o>s;s++){var a=i?i[s]:s;r[s]=t(e[a],a,e)}return r},y.reduce=y.foldl=y.inject=e(1),y.reduceRight=y.foldr=e(-1),y.find=y.detect=function(e,t,n){var i;return i=T(e)?y.findIndex(e,t,n):y.findKey(e,t,n),void 0!==i&&i!==-1?e[i]:void 0},y.filter=y.select=function(e,t,n){var i=[];return t=b(t,n),y.each(e,function(e,n,o){t(e,n,o)&&i.push(e)}),i},y.reject=function(e,t,n){return y.filter(e,y.negate(b(t)),n)},y.every=y.all=function(e,t,n){t=b(t,n);for(var i=!T(e)&&y.keys(e),o=(i||e).length,r=0;o>r;r++){var s=i?i[r]:r;if(!t(e[s],s,e))return!1}return!0},y.some=y.any=function(e,t,n){t=b(t,n);for(var i=!T(e)&&y.keys(e),o=(i||e).length,r=0;o>r;r++){var s=i?i[r]:r;if(t(e[s],s,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,n,i){return T(e)||(e=y.values(e)),("number"!=typeof n||i)&&(n=0),y.indexOf(e,t,n)>=0},y.invoke=function(e,t){var n=c.call(arguments,2),i=y.isFunction(t);return y.map(e,function(e){var o=i?t:e[t];return null==o?o:o.apply(e,n)})},y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var i,o,r=-1/0,s=-1/0;if(null==t&&null!=e){e=T(e)?e:y.values(e);for(var a=0,l=e.length;l>a;a++)i=e[a],i>r&&(r=i)}else t=b(t,n),y.each(e,function(e,n,i){o=t(e,n,i),(o>s||o===-1/0&&r===-1/0)&&(r=e,s=o)});return r},y.min=function(e,t,n){var i,o,r=1/0,s=1/0;if(null==t&&null!=e){e=T(e)?e:y.values(e);for(var a=0,l=e.length;l>a;a++)i=e[a],r>i&&(r=i)}else t=b(t,n),y.each(e,function(e,n,i){o=t(e,n,i),(s>o||1/0===o&&1/0===r)&&(r=e,s=o)});return r},y.shuffle=function(e){for(var t,n=T(e)?e:y.values(e),i=n.length,o=Array(i),r=0;i>r;r++)t=y.random(0,r),t!==r&&(o[r]=o[t]),o[t]=n[r];return o},y.sample=function(e,t,n){return null==t||n?(T(e)||(e=y.values(e)),e[y.random(e.length-1)]):y.shuffle(e).slice(0,Math.max(0,t))},y.sortBy=function(e,t,n){return t=b(t,n),y.pluck(y.map(e,function(e,n,i){return{value:e,index:n,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,i=t.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return e.index-t.index}),"value")};var _=function(e){return function(t,n,i){var o={};return n=b(n,i),y.each(t,function(i,r){var s=n(i,r,t);e(o,i,s)}),o}};y.groupBy=_(function(e,t,n){y.has(e,n)?e[n].push(t):e[n]=[t]}),y.indexBy=_(function(e,t,n){e[n]=t}),y.countBy=_(function(e,t,n){y.has(e,n)?e[n]++:e[n]=1}),y.toArray=function(e){return e?y.isArray(e)?c.call(e):T(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:T(e)?e.length:y.keys(e).length},y.partition=function(e,t,n){t=b(t,n);var i=[],o=[];return y.each(e,function(e,n,r){(t(e,n,r)?i:o).push(e)}),[i,o]},y.first=y.head=y.take=function(e,t,n){return null==e?void 0:null==t||n?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},y.last=function(e,t,n){return null==e?void 0:null==t||n?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,y.identity)};var k=function(e,t,n,i){for(var o=[],r=0,s=i||0,a=S(e);a>s;s++){var l=e[s];if(T(l)&&(y.isArray(l)||y.isArguments(l))){t||(l=k(l,t,n));var u=0,c=l.length;for(o.length+=c;c>u;)o[r++]=l[u++]}else n||(o[r++]=l)}return o};y.flatten=function(e,t){return k(e,t,!1)},y.without=function(e){return y.difference(e,c.call(arguments,1))},y.uniq=y.unique=function(e,t,n,i){y.isBoolean(t)||(i=n,n=t,t=!1),null!=n&&(n=b(n,i));for(var o=[],r=[],s=0,a=S(e);a>s;s++){var l=e[s],u=n?n(l,s,e):l;t?(s&&r===u||o.push(l),r=u):n?y.contains(r,u)||(r.push(u),o.push(l)):y.contains(o,l)||o.push(l)}return o},y.union=function(){return y.uniq(k(arguments,!0,!0))},y.intersection=function(e){for(var t=[],n=arguments.length,i=0,o=S(e);o>i;i++){var r=e[i];if(!y.contains(t,r)){for(var s=1;n>s&&y.contains(arguments[s],r);s++);s===n&&t.push(r)}}return t},y.difference=function(e){var t=k(arguments,!0,!0,1);
3return y.filter(e,function(e){return!y.contains(t,e)})},y.zip=function(){return y.unzip(arguments)},y.unzip=function(e){for(var t=e&&y.max(e,S).length||0,n=Array(t),i=0;t>i;i++)n[i]=y.pluck(e,i);return n},y.object=function(e,t){for(var n={},i=0,o=S(e);o>i;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n},y.findIndex=t(1),y.findLastIndex=t(-1),y.sortedIndex=function(e,t,n,i){n=b(n,i,1);for(var o=n(t),r=0,s=S(e);s>r;){var a=Math.floor((r+s)/2);n(e[a])<o?r=a+1:s=a}return r},y.indexOf=n(1,y.findIndex,y.sortedIndex),y.lastIndexOf=n(-1,y.findLastIndex),y.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||1;for(var i=Math.max(Math.ceil((t-e)/n),0),o=Array(i),r=0;i>r;r++,e+=n)o[r]=e;return o};var L=function(e,t,n,i,o){if(!(i instanceof t))return e.apply(n,o);var r=C(e.prototype),s=e.apply(r,o);return y.isObject(s)?s:r};y.bind=function(e,t){if(m&&e.bind===m)return m.apply(e,c.call(arguments,1));if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var n=c.call(arguments,2),i=function(){return L(e,i,t,this,n.concat(c.call(arguments)))};return i},y.partial=function(e){var t=c.call(arguments,1),n=function(){for(var i=0,o=t.length,r=Array(o),s=0;o>s;s++)r[s]=t[s]===y?arguments[i++]:t[s];for(;i<arguments.length;)r.push(arguments[i++]);return L(e,n,this,this,r)};return n},y.bindAll=function(e){var t,n,i=arguments.length;if(1>=i)throw new Error("bindAll must be passed function names");for(t=1;i>t;t++)n=arguments[t],e[n]=y.bind(e[n],e);return e},y.memoize=function(e,t){var n=function(i){var o=n.cache,r=""+(t?t.apply(this,arguments):i);return y.has(o,r)||(o[r]=e.apply(this,arguments)),o[r]};return n.cache={},n},y.delay=function(e,t){var n=c.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},y.defer=y.partial(y.delay,y,1),y.throttle=function(e,t,n){var i,o,r,s=null,a=0;n||(n={});var l=function(){a=n.leading===!1?0:y.now(),s=null,r=e.apply(i,o),s||(i=o=null)};return function(){var u=y.now();a||n.leading!==!1||(a=u);var c=t-(u-a);return i=this,o=arguments,0>=c||c>t?(s&&(clearTimeout(s),s=null),a=u,r=e.apply(i,o),s||(i=o=null)):s||n.trailing===!1||(s=setTimeout(l,c)),r}},y.debounce=function(e,t,n){var i,o,r,s,a,l=function(){var u=y.now()-s;t>u&&u>=0?i=setTimeout(l,t-u):(i=null,n||(a=e.apply(r,o),i||(r=o=null)))};return function(){r=this,o=arguments,s=y.now();var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(a=e.apply(r,o),r=o=null),a}},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){
4return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}},y.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}},y.once=y.partial(y.before,2);var A=!{toString:null}.propertyIsEnumerable("toString"),F=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];y.keys=function(e){if(!y.isObject(e))return[];if(f)return f(e);var t=[];for(var n in e)y.has(e,n)&&t.push(n);return A&&i(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return A&&i(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,i=Array(n),o=0;n>o;o++)i[o]=e[t[o]];return i},y.mapObject=function(e,t,n){t=b(t,n);for(var i,o=y.keys(e),r=o.length,s={},a=0;r>a;a++)i=o[a],s[i]=t(e[i],i,e);return s},y.pairs=function(e){for(var t=y.keys(e),n=t.length,i=Array(n),o=0;n>o;o++)i[o]=[t[o],e[t[o]]];return i},y.invert=function(e){for(var t={},n=y.keys(e),i=0,o=n.length;o>i;i++)t[e[n[i]]]=n[i];return t},y.functions=y.methods=function(e){var t=[];for(var n in e)y.isFunction(e[n])&&t.push(n);return t.sort()},y.extend=w(y.allKeys),y.extendOwn=y.assign=w(y.keys),y.findKey=function(e,t,n){t=b(t,n);for(var i,o=y.keys(e),r=0,s=o.length;s>r;r++)if(i=o[r],t(e[i],i,e))return i},y.pick=function(e,t,n){var i,o,r={},s=e;if(null==s)return r;y.isFunction(t)?(o=y.allKeys(s),i=x(t,n)):(o=k(arguments,!1,!1,1),i=function(e,t,n){return t in n},s=Object(s));for(var a=0,l=o.length;l>a;a++){var u=o[a],c=s[u];i(c,u,s)&&(r[u]=c)}return r},y.omit=function(e,t,n){if(y.isFunction(t))t=y.negate(t);else{var i=y.map(k(arguments,!1,!1,1),String);
4t=function(e,t){return!y.contains(i,t)}}return y.pick(e,t,n)},y.defaults=w(y.allKeys,!0),y.create=function(e,t){var n=C(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),i=n.length;if(null==e)return!i;for(var o=Object(e),r=0;i>r;r++){var s=n[r];if(t[s]!==o[s]||!(s in o))return!1}return!0};var D=function(e,t,n,i){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var o=d.call(e);if(o!==d.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}var r="[object Array]"===o;if(!r){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,a=t.constructor;if(s!==a&&!(y.isFunction(s)&&s instanceof s&&y.isFunction(a)&&a instanceof a)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var l=n.length;l--;)if(n[l]===e)return i[l]===t;if(n.push(e),i.push(t),r){if(l=e.length,l!==t.length)return!1;for(;l--;)if(!D(e[l],t[l],n,i))return!1}else{var u,c=y.keys(e);if(l=c.length,y.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!y.has(t,u)||!D(e[u],t[u],n,i))return!1}return n.pop(),i.pop(),!0};y.isEqual=function(e,t){return D(e,t)},y.isEmpty=function(e){return null==e||(T(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=p||function(e){return"[object Array]"===d.call(e)},y.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){y["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return y.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&e!==+e},y.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===d.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){return null!=e&&h.call(e,t)},y.noConflict=function(){return o._=r,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=E,y.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},y.matcher=y.matches=function(e){return e=y.extendOwn({},e),function(t){return y.isMatch(t,e)}},y.times=function(e,t,n){var i=Array(Math.max(0,e));t=x(t,n,1);for(var o=0;e>o;o++)i[o]=t(o);return i},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};var z={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},M=y.invert(z),P=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",i=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,i.test(e)?e.replace(o,t):e}};y.escape=P(z),y.unescape=P(M),y.result=function(e,t,n){var i=null==e?void 0:e[t];return void 0===i&&(i=n),y.isFunction(i)?i.call(e):i};var B=0;y.uniqueId=function(e){var t=++B+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var j=/(.)^/,O={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},N=/\\|'|\r|\n|\u2028|\u2029/g,R=function(e){return"\\"+O[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var i=RegExp([(t.escape||j).source,(t.interpolate||j).source,(t.evaluate||j).source].join("|")+"|$","g"),o=0,r="__p+='";e.replace(i,function(t,n,i,s,a){return r+=e.slice(o,a).replace(N,R),o=a+t.length,n?r+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?r+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(r+="';\n"+s+"\n__p+='"),t}),r+="';\n",t.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{var s=new Function(t.variable||"obj","_",r)}catch(a){throw a.source=r,a}var l=function(e){return s.call(this,e,y)},u=t.variable||"obj";return l.source="function("+u+"){\n"+r+"}",l},y.chain=function(e){var t=y(e);return t._chain=!0,t};var q=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){y.each(y.functions(e),function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return u.apply(e,arguments),q(this,n.apply(y,e))}})},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],q(this,n)}}),y.each(["concat","join","slice"],function(e){var t=s[e];y.prototype[e]=function(){return q(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return y})}.call(this),!function(e,t,n,i){function o(t,n){this.settings=null,this.options=e.extend({},o.Defaults,n),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,n){this._handlers[n]=e.proxy(this[n],this)},this)),e.each(o.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(o.Workers,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,o={width:"auto","margin-left":i?t:"","margin-right":i?"":t};!n&&this.$stage.children().css(o),e.css=o}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,i=this._items.length,o=!this.settings.autoWidth,r=[];for(e.items={merge:!1,width:t};i--;)n=this._mergers[i],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,e.items.merge=n>1||e.items.merge,r[i]=o?t*n:this._items[i].width();this._widths=r}},{filter:["items","settings"],run:function(){var t=[],n=this._items,i=this.settings,o=Math.max(2*i.items,4),r=2*Math.ceil(n.length/2),s=i.loop&&n.length?i.rewind?o:Math.max(o,r):0,a="",l="";for(s/=2;s--;)t.push(this.normalize(t.length/2,!0)),a+=n[t[t.length-1]][0].outerHTML,t.push(this.normalize(n.length-1-(t.length-1)/2,!0)),l=n[t[t.length-1]][0].outerHTML+l;this._clones=t,e(a).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=-1,i=0,o=0,r=[];++n<t;)i=r[n-1]||0,o=this._widths[this.relative(n)]+this.settings.margin,r.push(i+o*e);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],i.eq(t).css(e.css);else n&&(e.css.width=e.items.width,i.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,i,o=this.settings.rtl?1:-1,r=2*this.settings.stagePadding,s=this.coordinates(this.current())+r,a=s+this.width()*o,l=[];for(n=0,i=this._coordinates.length;i>n;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+r*o,(this.op(e,"<=",s)&&this.op(e,">",a)||this.op(t,"<",s)&&this.op(t,">",a))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],o.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var t,n,o;t=this.$element.find("img"),n=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:i,o=this.$element.children(n).width(),t.length&&0>=o&&this.preloadAutoWidthImages(t)}this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,i=-1,o=null;n?(e.each(n,function(e){t>=e&&e>i&&(i=Number(e))}),o=e.extend({},this.options,n[i]),"function"==typeof o.stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+i))):o=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=i,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},o.prototype.update=function(){for(var t=0,n=this._pipe.length,i=e.proxy(function(e){return this[e]},this._invalidated),o={};n>t;)(this._invalidated.all||e.grep(this._pipe[t].filter,i).length>0)&&this._pipe[t].run(o),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(e){switch(e=e||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},o.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},o.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),this.settings.responsive!==!1&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(t){var i=null;3!==t.which&&(e.support.transform?(i=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),i={x:i[16===i.length?12:4],y:i[16===i.length?13:5]}):(i=this.$stage.position(),i={x:this.settings.rtl?i.left+this.$stage.width()-this.width()+this.settings.margin:i.left,y:i.top}),this.is("animating")&&(e.support.transform?this.animate(i.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=i,this._drag.stage.current=i,this._drag.pointer=this.pointer(t),e(n).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(n).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var i=this.difference(this._drag.pointer,this.pointer(t));e(n).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(i.x)<Math.abs(i.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},o.prototype.onDragMove=function(e){var t=null,n=null,i=null,o=this.difference(this._drag.pointer,this.pointer(e)),r=this.difference(this._drag.stage.start,o);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,r.x=((r.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),i=this.settings.pullDrag?-1*o.x/5:0,r.x=Math.max(Math.min(r.x,t+i),n+i)),this._drag.stage.current=r,this.animate(r.x))},o.prototype.onDragEnd=function(t){var i=this.difference(this._drag.pointer,this.pointer(t)),o=this._drag.stage.current,r=i.x>0^this.settings.rtl?"left":"right";e(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==i.x?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(Math.abs(i.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.pro
vendor: 9,030 bytes, line 4
4totype.closest=function(t,n){var i=-1,o=30,r=this.width(),s=this.coordinates();return this.settings.freeDrag||e.each(s,e.proxy(function(e,a){return"left"===n&&t>a-o&&a+o>t?i=e:"right"===n&&t>a-r-o&&a-r+o>t?i=e+1:this.op(t,"<",a)&&this.op(t,">",s[e+1]||a-r)&&(i="left"===n?e+1:e),-1===i},this)),this.settings.loop||(this.op(t,">",s[this.minimum()])?i=t=this.minimum():this.op(t,"<",s[this.maximum()])&&(i=t=this.maximum())),i},o.prototype.animate=function(t){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"}):n?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},o.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},o.prototype.current=function(e){if(e===i)return this._current;if(0===this._items.length)return i;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==i&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},o.prototype.reset=function(e){e=this.normalize(e),e!==i&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},o.prototype.normalize=function(e,t){var n=this._items.length,o=t?0:this._clones.length;return!this.isNumeric(e)||1>n?e=i:(0>e||e>=n+o)&&(e=((e-o/2)%n+n)%n+o/2),e},o.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},o.prototype.maximum=function(e){var t,n,i,o=this.settings,r=this._coordinates.length;if(o.loop)r=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){for(t=this._items.length,n=this._items[--t].width(),i=this.$element.width();t--&&(n+=this._items[t].width()+this.settings.margin,!(n>i)););r=t+1}else r=o.center?this._items.length-1:this._items.length-o.items;return e&&(r-=this._clones.length/2),Math.max(r,0)},o.prototype.minimum=function(e){return e?0:this._clones.length/2},o.prototype.items=function(e){return e===i?this._items.slice():(e=this.normalize(e,!0),this._items[e])},o.prototype.mergers=function(e){return e===i?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},o.prototype.clones=function(t){var n=this._clones.length/2,o=n+this._items.length,r=function(e){return e%2===0?o+e/2:n-(e+1)/2};return t===i?e.map(this._clones,function(e,t){return r(t)}):e.map(this._clones,function(e,n){return e===t?r(n):null})},o.prototype.speed=function(e){return e!==i&&(this._speed=e),this._speed},o.prototype.coordinates=function(t){var n,o=1,r=t-1;return t===i?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(o=-1,r=t+1),n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[r]||0))/2*o):n=this._coordinates[r]||0,n=Math.ceil(n))},o.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},o.prototype.to=function(e,t){var n=this.current(),i=null,o=e-this.relative(n),r=(o>0)-(0>o),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>s/2&&(o+=-1*r*s),e=n+o,i=((e-a)%s+s)%s+a,i!==e&&l>=i-o&&i-o>0&&(n=i-o,e=i,this.reset(n))):this.settings.rewind?(l+=1,e=(e%l+l)%l):e=Math.max(a,Math.min(l,e)),this.speed(this.duration(n,e,t)),this.current(e),this.$element.is(":visible")&&this.update()},o.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},o.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},o.prototype.onTransitionEnd=function(e){return(e===i||(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)===this.$stage.get(0)))&&(this.leave("animating"),void this.trigger("translated"))},o.prototype.viewport=function(){var i;if(this.options.responsiveBaseElement!==t)i=e(this.options.responsiveBaseElement).width();else if(t.innerWidth)i=t.innerWidth;else{if(!n.documentElement||!n.documentElement.clientWidth)throw"Can not detect viewport width.";i=n.documentElement.clientWidth}return i},o.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(t,n){var o=this.relative(this._current);n=n===i?this._items.length:this.normalize(n,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:n}),t=this.prepare(t),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[n-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(t),this._items.splice(n,0,t),this._mergers.splice(n,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:t,position:n})},o.prototype.remove=function(e){e=this.normalize(e,!0),e!==i&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},o.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,n){this.enter("pre-loading"),n=e(n),e(new Image).one("load",e.proxy(function(e){n.attr("src",e.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))},this))},o.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(n).off(".owl.core"),this.settings.responsive!==!1&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize));for(var i in this._plugins)this._plugins[i].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(e,t,n){var i=this.settings.rtl;switch(t){case"<":return i?e>n:n>e;case">":return i?n>e:e>n;case">=":return i?n>=e:e>=n;case"<=":return i?e>=n:n>=e}},o.prototype.on=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n)},o.prototype.off=function(e,t,n,i){e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n)},o.prototype.trigger=function(t,n,i,r,s){var a={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,i],function(e){return e}).join("-").toLowerCase()),u=e.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},a,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(u)}),this.register({type:o.Type.Event,name:t}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},o.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===i&&(this._states.current[t]=0),this._states.current[t]++},this))},o.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},o.prototype.register=function(t){if(t.type===o.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var n=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!n||!n.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:n.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===o.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].
vendor: 18,922 bytes, lines 4-5
4concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(n,i){return e.inArray(n,this._states.tags[t.name])===i},this)))},o.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},o.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},o.prototype.pointer=function(e){var n={x:null,y:null};return e=e.originalEvent||e||t.event,e=e.touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,e.pageX?(n.x=e.pageX,n.y=e.pageY):(n.x=e.clientX,n.y=e.clientY),n},o.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},o.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var i=e(this),r=i.data("owl.carousel");r||(r=new o(this,"object"==typeof t&&t),i.data("owl.carousel",r),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,n){r.register({type:o.Type.Event,name:n}),r.$element.on(n+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([n]),r[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},r))})),"string"==typeof t&&"_"!==t.charAt(0)&&r[t].apply(r,n)})},e.fn.owlCarousel.Constructor=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoRefresh:!0,autoRefreshInterval:500},o.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},o.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},o.prototype.destroy=function(){var e,n;t.clearInterval(this._interval);for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type))for(var n=this._core.settings,o=n.center&&Math.ceil(n.items/2)||n.items,r=n.center&&-1*o||0,s=(t.property&&t.property.value!==i?t.property.value:this._core.current())+r,a=this._core.clones().length,l=e.proxy(function(e,t){this.load(t)},this);r++<o;)this.load(a/2+this._core.relative(s)),a&&e.each(this._core.clones(this._core.relative(s)),l),s++},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={lazyLoad:!1},o.prototype.load=function(n){var i=this._core.$stage.children().eq(n),o=i&&i.find(".owl-lazy");!o||e.inArray(i.get(0),this._loaded)>-1||(o.each(e.proxy(function(n,i){var o,r=e(i),s=t.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src");this._core.trigger("load",{element:r,url:s},"lazy"),r.is("img")?r.one("load.owl.lazy",e.proxy(function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:s},"lazy")},this)).attr("src",s):(o=new Image,o.onload=e.proxy(function(){r.css({"background-image":"url("+s+")",opacity:"1"}),this._core.trigger("loaded",{element:r,url:s},"lazy")},this),o.src=s)},this)),this._loaded.push(i.get(0)))},o.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this._core=t,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"==e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update();
5},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers)};o.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},o.prototype.update=function(){var t=this._core._current,n=t+this._core.settings.items,i=this._core.$stage.children().toArray().slice(t,n),o=[],r=0;e.each(i,function(t,n){o.push(e(n).height())}),r=Math.max.apply(null,o),this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass)},o.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))}},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};o.Defaults={video:!1,videoHeight:!1,videoWidth:!1},o.prototype.fetch=function(e,t){var n=function(){return e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube"}(),i=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),o=e.attr("data-width")||this._core.settings.videoWidth,r=e.attr("data-height")||this._core.settings.videoHeight,s=e.attr("href");if(!s)throw new Error("Missing video URL.");if(i=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),i[3].indexOf("youtu")>-1)n="youtube";else if(i[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(i[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[s]={type:n,id:i,width:o,height:r},t.attr("data-video",s),this.thumbnail(e,this._videos[s])},o.prototype.thumbnail=function(t,n){var i,o,r,s=n.width&&n.height?'style="width:'+n.width+"px;height:"+n.height+'px;"':"",a=t.find("img"),l="src",u="",c=this._core.settings,d=function(e){o='<div class="owl-video-play-icon"></div>',i=c.lazyLoad?'<div class="owl-video-tn '+u+'" '+l+'="'+e+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+e+')"></div>',t.after(i),t.after(o)};return t.wrap('<div class="owl-video-wrapper"'+s+"></div>"),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),a.length?(d(a.attr(l)),a.remove(),!1):void("youtube"===n.type?(r="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",d(r)):"vimeo"===n.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e[0].thumbnail_large,d(r)}}):"vzaar"===n.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){r=e.framegrab_url,d(r)}}))},o.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},o.prototype.play=function(t){var n,i=e(t.target),o=i.closest("."+this._core.settings.itemClass),r=this._videos[o.attr("data-video")],s=r.width||"100%",a=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),o=this._core.items(this._core.relative(o.index())),this._core.reset(o.index()),"youtube"===r.type?n='<iframe width="'+s+'" height="'+a+'" src="//www.youtube.com/embed/'+r.id+"?autoplay=1&v="+r.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===r.type?n='<iframe src="//player.vimeo.com/video/'+r.id+'?autoplay=1" width="'+s+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===r.type&&(n='<iframe frameborder="0"height="'+a+'"width="'+s+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+r.id+'/player?autoplay=true"></iframe>'),e('<div class="owl-video-frame">'+n+"</div>").insertAfter(o.find(".owl-video")),this._playing=o.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var t=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var e,t;this._core.$element.off("click.owl.video");for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this.core=t,this.core.options=e.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=i,this.next=i,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,n=e.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(e.support.animation.end,n).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&o.one(e.support.animation.end,n).addClass("animated owl-animated-in").addClass(r))}},o.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){var o=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,n){e.namespace&&this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},o.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype.play=function(e,t){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},o.prototype._getNextTimeout=function(i,o){return this._timeout&&t.clearTimeout(this._timeout),t.setTimeout(e.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||n.hidden||this._core.next(o||this._core.settings.autoplaySpeed)},this),i||this._core.settings.autoplayTimeout)},o.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},o.prototype.stop=function(){this._core.is("rotating")&&(t.clearTimeout(this._timeout),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},o.prototype.destroy=function(){var e,t;this.stop();for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){"use strict";var o=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers)};o.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},o.prototype.initialize=function(){var t,n=this._core.settings;this._controls.$relative=(n.navContainer?e(n.navContainer):e("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(n.navSpeed)},this)),this._controls.$next=e("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[e("<div>").addClass(n.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?e(n.dotsContainer):e("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",e.proxy(function(t){var i=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(i,n.dotsSpeed)},this));for(t in this._overrides)this._core[t]=e.proxy(this[t],this)},o.prototype.destroy=function(){var e,t,n,i;for(e in this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)this._controls[t].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},o.prototype.update=function(){var e,t,n,i=this._core.clones().length/2,o=i+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,a=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],e=i,t=0,n=0;o>e;e++){if(t>=a||0===t){if(this._pages.push({start:Math.min(r,e-i),end:e-i+a-1}),Math.min(r,e-i)===r)break;t=0,++n}t+=this._core.mergers(this._core.relative(e))}},o.prototype.draw=function(){var t,n=this._core.settings,i=this._core.items().length<=n.items,o=this._core.relative(this._core.current()),r=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||i),n.nav&&(this._controls.$previous.toggleClass("disabled",!r&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||i),n.dots&&(t=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):0>t&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(t){var n=this._core.settings;
5t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},o.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy(function(e,n){return e.start<=t&&e.end>=t},this)).pop()},o.prototype.getPosition=function(t){var n,i,o=this._core.settings;return"page"==o.slideBy?(n=e.inArray(this.current(),this._pages),i=this._pages.length,t?++n:--n,n=this._pages[(n%i+i)%i].start):(n=this._core.relative(this._core.current()),i=this._core.items().length,t?n+=o.slideBy:n-=o.slideBy),n},o.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},o.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},o.prototype.to=function(t,n,i){var o;!i&&this._pages.length?(o=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%o+o)%o].start,n)):e.proxy(this._overrides.to,this._core)(t,n)},e.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){"use strict";var o=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=t.content}},this),"changed.owl.carousel":e.proxy(function(n){if(n.namespace&&"position"===n.property.name){var i=this._core.items(this._core.relative(this._core.current())),o=e.map(this._hashes,function(e,t){return e===i?t:null}).join();if(!o||t.location.hash.slice(1)===o)return;t.location.hash=o}},this)},this._core.options=e.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(e){var n=t.location.hash.substring(1),o=this._core.$stage.children(),r=this._hashes[n]&&o.index(this._hashes[n]);r!==i&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var n,i;e(t).off("hashchange.owl.navigation");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(e,t,n,i){function o(t,n){var o=!1,r=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+a.join(r+" ")+r).split(" "),function(e,t){return s[t]!==i?(o=!n||t,!1):void 0}),o}function r(e){return o(e,!0)}var s=e("<support>").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};u.csstransitions()&&(e.support.transition=new String(r("transition")),e.support.transition.end=l.transition.end[e.support.transition]),u.cssanimations()&&(e.support.animation=new String(r("animation")),e.support.animation.end=l.animation.end[e.support.animation]),u.csstransforms()&&(e.support.transform=new String(r("transform")),e.support.transform3d=u.csstransforms3d())}(window.Zepto||window.jQuery,window,document),!function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";function n(n,r,a){function l(e,t,i){var o,r="$()."+n+'("'+t+'")';return e.each(function(e,l){var u=a.data(l,n);if(!u)return void s(n+" not initialized. Cannot call methods, i.e. "+r);var c=u[t];if(!c||"_"==t.charAt(0))return void s(r+" is not a valid method");var d=c.apply(u,i);o=void 0===o?d:o}),void 0!==o?o:e}function u(e,t){e.each(function(e,i){var o=a.data(i,n);o?(o.option(t),o._init()):(o=new r(i,t),a.data(i,n,o))})}a=a||t||e.jQuery,a&&(r.prototype.option||(r.prototype.option=function(e){a.isPlainObject(e)&&(this.options=a.extend(!0,this.options,e))}),a.fn[n]=function(e){if("string"==typeof e){var t=o.call(arguments,1
vendor: 3,733 bytes, line 5
5);return l(this,e,t)}return u(this,e),this},i(a))}function i(e){!e||e&&e.bridget||(e.bridget=n)}var o=Array.prototype.slice,r=e.console,s="undefined"==typeof r?function(){}:function(e){r.error(e)};return i(t||e.jQuery),n}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return i.indexOf(t)==-1&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{},i=n[e]=n[e]||{};return i[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return i!=-1&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],o=0;o<n.length;o++){var r=n[o],s=i&&i[r];s&&(this.off(e,r),delete i[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function e(e){var t=parseFloat(e),n=e.indexOf("%")==-1&&!isNaN(t);return n&&t}function t(){}function n(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<u;t++){var n=l[t];e[n]=0}return e}function i(e){var t=getComputedStyle(e);return t||a("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function o(){if(!c){c=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var o=i(t);r.isBoxSizeOuter=s=200==e(o.width),n.removeChild(t)}}function r(t){if(o(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var r=i(t);if("none"==r.display)return n();var a={};a.width=t.offsetWidth,a.height=t.offsetHeight;for(var c=a.isBorderBox="border-box"==r.boxSizing,d=0;d<u;d++){var h=l[d],p=r[h],f=parseFloat(p);a[h]=isNaN(f)?0:f}var m=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,v=a.marginLeft+a.marginRight,y=a.marginTop+a.marginBottom,x=a.borderLeftWidth+a.borderRightWidth,b=a.borderTopWidth+a.borderBottomWidth,w=c&&s,C=e(r.width);C!==!1&&(a.width=C+(w?0:m+x));var E=e(r.height);return E!==!1&&(a.height=E+(w?0:g+b)),a.innerWidth=a.width-(m+x),a.innerHeight=a.height-(g+b),a.outerWidth=a.width+v,a.outerHeight=a.height+y,a}}var s,a="undefined"==typeof console?t:function(e){console.error(e)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=l.length,c=!1;return r}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n],o=i+"MatchesSelector";if(e[o])return o}}();return function(t,n){return t[e](n)}}),function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
5sandro-matches-selector/matches-selector"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var n={};n.extend=function(e,t){for(var n in t)e[n]=t[n];return e},n.modulo=function(e,t){return(e%t+t)%t},n.makeArray=function(e){var t=[];if(Array.isArray(e))t=e;else if(e&&"object"==typeof e&&"number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t},n.removeFrom=function(e,t){var n=e.indexOf(t);n!=-1&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,i){e=n.makeArray(e);var o=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!i)return void o.push(e);t(e,i)&&o.push(e);for(var n=e.querySelectorAll(i),r=0;r<n.length;r++)o.push(n[r])}}),o},n.debounceMethod=function(e,t,n){var i=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];e&&clearTimeout(e);var t=arguments,r=this;this[o]=setTimeout(function(){i.apply(r,t),delete r[o]},n||100)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var i=e.console;return n.htmlInit=function(t,o){n.docReady(function(){var r=n.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=d
5ocument.querySelectorAll(".js-"+r),u=n.makeArray(a).concat(n.makeArray(l)),c=s+"-options",d=e.jQuery;u.forEach(function(e){var n,r=e.getAttribute(s)||e.getAttribute(c);try{n=r&&JSON.parse(r)}catch(a){return void(i&&i.error("Error parsing "+s+" on "+e.className+": "+a))}var l=new t(e,n);d&&d.data(e,o,l)})})},n}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/cell",["get-size/get-size"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("get-size")):(e.Flickity=e.Flickity||{},e.Flickity.Cell=t(e,e.getSize))}(window,function(e,t){function n(e,t){this.element=e,this.parent=t,this.create()}var i=n.prototype;return i.create=function(){this.element.style.position="absolute",this.x=0,this.shift=0},i.destroy=function(){this.element.style.position="";var e=this.parent.originSide;this.element.style[e]=""},i.getSize=function(){this.size=t(this.element)},i.setPosition=function(e){this.x=e,this.updateTarget(),this.renderPosition(e)},i.updateTarget=i.setDefaultTarget=function(){var e="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[e]+this.size.width*this.parent.cellAlign},i.renderPosition=function(e){var t=this.parent.originSide;this.element.style[t]=this.parent.getPositionValue(e)},i.wrapShift=function(e){this.shift=e,this.renderPosition(this.x+this.parent.slideableWidth*e)},i.remove=function(){this.element.parentNode.removeChild(this.element)},n}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/slide",t):"object"==typeof module&&module.exports?module.exports=t():(e.Flickity=e.Flickity||{},e.Flickity.Slide=t())}(window,function(){"use strict";function e(e){this.parent=e,this.isOriginLeft="left"==e.originSide,this.cells=[],this.outerWidth=0,this.height=0}var t=e.prototype;return t.addCell=function(e){if(this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1==this.cells.length){this.x=e.x;var t=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=e.size[t]}},t.updateTarget=function(){var e=this.isOriginLeft?"marginRight":"marginLeft",t=this.getLastCell(),n=t?t.size[e]:0,i=this.outerWidth-(this.firstMargin+n);this.target=this.x+this.firstMargin+i*this.parent.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.changeSelectedClass("add")},t.unselect=function(){this.changeSelectedClass("remove")},t.changeSelectedClass=function(e){this.cells.forEach(function(t){t.element.classList[e]("is-selected")})},t.getCellElements=function(){return this.cells.map(function(e){return e.element})},e}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/animate",["fizzy-ui-utils/utils"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("fizzy-ui-utils")):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=t(e,e.fizzyUIUtils))}(window,function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=0;n||(n=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-i)),o=setTimeout(e,n);return i=t+n,o});var o={};o.startAnimation=function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},o.animate=function(){this.applyDragForce(),this.applySelectedAttraction();var e=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating){var t=this;n(function(){t.animate()})}};var r=function(){var e=document.documentElement.style;return"string"==typeof e.transform?"transform":"WebkitTransform"}();return o.positionSlider=function(){var e=this.x;this.options.wrapAround&&this.cells.length>1&&(e=t.modulo(e,this.slideableWidth),e-=this.slideableWidth,this.shiftWrapCells(e)),e+=this.cursorPosition,e=this.options.rightToLeft&&r?-e:e;var n=this.getPositionValue(e);this.slider.style[r]=this.isAnimating?"translate3d("+n+",0,0)":"translateX("+n+")";var i=this.slides[0];if(i){var o=-this.x-i.target,s=o/this.slidesWidth;this.dispatchEvent("scroll",null,[s,o])}},o.positionSliderAtSelected=function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.positionSlider())},o.getPositionValue=function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},o.settle=function(e){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*e)||this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle"))},o.shiftWrapCells=function(e){var t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);var n=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,n,1)},o._shiftCells=function(e,t,n){for(var i=0;i<e.length;i++){var o=e[i],r=t>0?n:0;o.wrapShift(r),t-=o.size.outerWidth}},o._unshiftCells=function(e){if(e&&e.length)for(var t=0;t<e.length;t++)e[t].wrapShift(0)},o.integratePhysics=function(){this.x+=this.velocity,this.velocity
5*=this.getFrictionFactor()},o.applyForce=function(e){this.velocity+=e},o.getFrictionFactor=function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},o.getRestingPosition=function(){return this.x+this.velocity/(1-this.getFrictionFactor())},o.applyDragForce=function(){if(this.isPointerDown){var e=this.dragX-this.x,t=e-this.velocity;this.applyForce(t)}},o.applySelectedAttraction=function(){if(!this.isPointerDown&&!this.isFreeScrolling&&this.cells.length){var e=this.selectedSlide.target*-1-this.x,t=e*this.options.selectedAttraction;this.applyForce(t)}},o}),function(e,t){if("function"==typeof define&&define.amd)define("flickity/js/flickity",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./cell","./slide","./animate"],function(n,i,o,r,s,a){return t(e,n,i,o,r,s,a)});else if("object"==typeof module&&module.exports)module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate"));else{var n=e.Flickity;e.Flickity=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,n.Cell,n.Slide,n.animatePrototype)}}(window,function(e,t,n,i,o,r,s){function a(e,t){for(e=i.makeArray(e);e.length;)t.appendChild(e.shift())}function l(e,t){var n=i.getQueryElement(e);if(!n)return void(d&&d.error("Bad element for Flickity: "+(n||e)));if(this.element=n,this.element.flickityGUID){var o=p[this.element.flickityGUID];return o.option(t),o}u&&(this.$element=u(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t),this._create()}var u=e.jQuery,c=e.getComputedStyle,d=e.console,h=0,p={};l.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},l.createMethods=[];var f=l.prototype;i.extend(f,t.prototype),f._create=function(){var t=this.guid=++h;this.element.flickityGUID=t,p[t]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&e.addEventListener("resize",this),l.createMethods.forEach(function(e){this[e]()},this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(e){i.extend(this.options,e)},f.activate=function(){if(!this.isActive){this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();var e=this._filterFindCellElements(this.element.children);a(e,this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,
6this.element.addEventListener("keydown",this)),this.emitEvent("activate");var t,n=this.options.initialIndex;t=this.isInitActivated?this.selectedIndex:void 0!==n&&this.cells[n]?n:0,this.select(t,!1,!0),this.isInitActivated=!0}},f._createSlider=function(){var e=document.createElement("div");e.className="flickity-slider",e.style[this.originSide]=0,this.slider=e},f._filterFindCellElements=function(e){return i.filterFindElements(e,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(e){var t=this._filterFindCellElements(e),n=t.map(function(e){return new o(e,this)},this);return n},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(e){e=e||0,this.maxCellHeight=e?this.maxCellHeight||0:0;var t=0;if(e>0){var n=this.cells[e-1];t=n.x+n.size.outerWidth}for(var i=this.cells.length,o=e;o<i;o++){var r=this.cells[o];r.setPosition(t),t+=r.size.outerWidth,this.maxCellHeight=Math.max(r.size.outerHeight,this.maxCellHeight)}this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=i?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(e){e.forEach(function(e){e.getSize()})},f.updateSlides=function(){if(this.slides=[],this.cells.length){var e=new r(this);this.slides.push(e);var t="left"==this.originSide,n=t?"marginRight":"marginLeft",i=this._getCanCellFit();
6this.cells.forEach(function(t,o){if(!e.cells.length)return void e.addCell(t);var s=e.outerWidth-e.firstMargin+(t.size.outerWidth-t.size[n]);i.call(this,o,s)?e.addCell(t):(e.updateTarget(),e=new r(this),this.slides.push(e),e.addCell(t))},this),e.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var e=this.options.groupCells;if(!e)return function(){return!1};if("number"==typeof e){var t=parseInt(e,10);return function(e){return e%t!==0}}var n="string"==typeof e&&e.match(/^(\d+)%$/),i=n?parseInt(n[1],10)/100:1;return function(e,t){return t<=(this.size.innerWidth+1)*i}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=n(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return f.setCellAlign=function(){var e=m[this.options.cellAlign];this.cellAlign=e?e[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=e+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1),e=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(e,0,1)}},f._getGapCells=function(e,t,n){for(var i=[];e>0;){var o=this.cells[t];if(!o)break;i.push(o),t+=n,e-=o.size.outerWidth}return i},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var e=this.options.rightToLeft,t=e?"marginRight":"marginLeft",n=e?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[n],o=i<this.size.innerWidth,r=this.cursorPosition+this.cells[0].size[t],s=i-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach(function(e){o?e.target=i*this.cellAlign:(e.target=Math.max(e.target,r),e.target=Math.min(e.target,s))},this)}},f.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;if(this.emitEvent(e,i),u&&this.$element){e+=this.options.namespaceJQueryEvents?".flickity":"";var o=e;if(t){var r=u.Event(t);r.type=e,o=r}this.$element.trigger(o,n)}},f.select=function(e,t,n){this.isActive&&(e=parseInt(e,10),this._wrapSelect(e),(this.options.wrapAround||t)&&(e=i.modulo(e,this.slides.length)),this.slides[e]&&(this.selectedIndex=e,this.updateSelectedSlide(),n?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select"),this.dispatchEvent("cellSelect")))},f._wrapSelect=function(e){var t=this.slides.length,n=this.options.wrapAround&&t>1;if(!n)return e;var o=i.modulo(e,t),r=Math.abs(o-this.selectedIndex),s=Math.abs(o+t-this.selectedIndex),a=Math.abs(o-t-this.selectedIndex);!this.isDragSelect&&s<r?e+=t:!this.isDragSelect&&a<r&&(e-=t),e<0?this.x-=this.slideableWidth:e>=t&&(this.x+=this.slideableWidth)},f.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},f.next=function(e,t){this.select(this.selectedIndex+1,e,t)},f.updateSelectedSlide=function(){var e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectCell=function(e,t,n){var i;"number"==typeof e?i=this.cells[e]:("string"==typeof e&&(e=this.element.querySelector(e)),i=this.getCell(e));for(var o=0;i&&o<this.slides.length;o++){var r=this.slides[o],s=r.cells.indexOf(i);if(s!=-1)return void this.select(o,t,n)}},f.getCell=function(e){for(var t=0;t<this.cells.length;t++){var n=this.cells[t];if(n.element==e)return n}},f.getCells=function(e){e=i.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getCell(e);n&&t.push(n)},this),t},f.getCellElements=function(){return this.cells.map(function(e){return e.element})},f.getParentCell=function(e){var t=this.getCell(e);return t?t:(e=i.getParent(e,".flickity-slider > *"),this.getCell(e))},f.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;var n=this.slides.length;if(1+2*e>=n)return this.getCellElements();for(var o=[],r=t-e;r<=t+e;r++){var s=this.options.wrapAround?i.modulo(r,n):r,a=this.slides[s];
6a&&(o=o.concat(a.getCellElements()))}return o},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(e){this.emitEvent("childUIPointerDown",[e])},f.onresize=function(){this.watchCSS(),this.resize()},i.debounceMethod(l,"onresize",150),f.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=i.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)}},f.watchCSS=function(){var e=this.options.watchCSS;if(e){var t=c(this.element,":after").content;t.indexOf("flickity")!=-1?this.activate():this.deactivate()}},f.onkeydown=function(e){if(this.options.accessibility&&(!document.activeElement||document.activeElement==this.element))if(37==e.keyCode){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()}else if(39==e.keyCode){var n=this.options.rightToLeft?"previous":"next";this.uiChange(),this[n]()}},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.cells.forEach(function(e){e.destroy()}),this.unselectSelectedSlide(),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.emitEvent("destroy"),u&&this.$element&&u.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete p[this.guid]},i.extend(f,s),l.data=function(e){e=i.getQueryElement(e);var t=e&&e.flickityGUID;return t&&p[t]},i.htmlInit(l,"flickity"),u&&u.bridget&&u.bridget("flickity",l),l.setJQuery=function(e){u=e},l.Cell=o,l}),function(e,t){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.Unipointer=t(e,e.EvEmitter)}(window,function(e,t){function n(){}function i(){}var o=i.prototype=Object.create(t.prototype);o.bindStartEvent=function(e){this._bindStartEvent(e,!0)},o.unbindStartEvent=function(e){this._bindStartEvent(e,!1)},o._bindStartEvent=function(t,n){n=void 0===n||!!n;var i=n?"addEventListener":"removeEventListener";e.PointerEvent?t[i]("pointerdown",this):(t[i]("mousedown",this),t[i]("touchstart",this))},o.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},o.getTouch=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.identifier==this.pointerIdentifier)return n}},o.onmousedown=function(e){var t=e.button;t&&0!==t&&1!==t||this._pointerDown(e,e)},o.ontouchstart=function(e){this._pointerDown(e,e.changedTouches[0])},o.onpointerdown=function(e){this._pointerDown(e,e)},o._pointerDown=function(e,t){this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDown(e,t))},o.pointerDown=function(e,t){this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])};var r={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return o._bindPostStartEvents=function(t){if(t){var n=r[t.type];n.forEach(function(t){e.addEventListener(t,this)},this),this._boundPointerEvents=n}},o._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){e.removeEventListener(t,this)},this),delete this._boundPointerEvents)},o.onmousemove=function(e){this._pointerMove(e,e)},o.onpointermove=function(e){e.pointerId==this.pointerIdentifier&&this._pointerMove(e,e)},o.ontouchmove=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerMove(e,t)},o._pointerMove=function(e,t){this.pointerMove(e,t)},o.pointerMove=function(e,t){this.emitEvent("pointerMove",[e,t])},o.onmouseup=function(e){this._pointerUp(e,e)},o.onpointerup=function(e){e.pointerId==this.pointerIdentifier&&this._pointerUp(e,e)},o.ontouchend=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerUp(e,t)},o._pointerUp=function(e,t){this._pointerDone(),this.pointerUp(e,t)},o.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t])},o._pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this._unbindPostStartEvents(),this.pointerDone()},o.pointerDone=n,o.onpointercancel=function(e){e.pointerId==this.pointerIdentifier&&this._pointerCancel(e,e)},o.ontouchcancel=function(e){var t=this.getTouch(e.changedTouches);t&&this._pointerCancel(e,t)},o._pointerCancel=function(e,t){this._pointerDone(),this.pointerCancel(e,t)},o.pointerCancel=function(e,t){this.emitEvent("pointerCancel",[e,t])},i.getPointerPoint=function(e){return{x:e.pageX,y:e.pageY}},i}),function(e,t){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("unipointer")):e.Unidragger=t(e,e.Unipointer)}(window,function(e,t){function n(){}var i=n.prototype=Object.create(t.prototype);return i.bindHandles=function(){this._bindHandles(!0)},i.unbindHandles=function(){this._bindHandles(!1)},i._bindHandles=function(t){t=void 0===t||!!t;for(var n=t?"addEventListener":"removeEventListener",i=0;i<this.handles.length;i++){var o=this.handles[i];this._bindStartEvent(o,t),o[n]("click",this),e.PointerEvent&&(o.style.touchAction=t?this._touchActionValue:"")}},i._touchActionValue="none",i.pointerDown=function(e,t){if("INPUT"==e.target.nodeName&&"range"==e.target.type)return this.isPointerDown=!1,void delete this.pointerIdentifier;this._dragPointerDown(e,t);var n=document.activeElement;n&&n.blur&&n.blur(),this._bindPostStartEvents(e),this.emitEvent("pointerDown",[e,t])},i._dragPointerDown=function(e,n){this.pointerDownPoint=t.getPointerPoint(n);var i=this.canPreventDefaultOnPointerDown(e,n);i&&e.preventDefault()},i.canPreventDefaultOnPointerDown=function(e){return"SELECT"!=e.target.nodeName},i.pointerMove=function(e,t){var n=this._dragPointerMove(e,t);this.emitEvent("pointerMove",[e,t,n]),this._dragMove(e,t,n)},i._dragPointerMove=function(e,n){var i=t.getPointerPoint(n),o={x:i.x-this.pointerDownPoint.x,y:i.y-this.pointerDownPoint.y};return!this.isDragging&&this.hasDragStarted(o)&&this._dragStart(e,n),o},i.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},i.pointerUp=function(e,t){this.emitEvent("pointerUp",[e,t]),this._dragPointerUp(e,t)},i._dragPointerUp=function(e,t){this.isDragging?this._dragEnd(e,t):this._staticClick(e,t)},i._dragStart=function(e,n){this.isDragging=!0,this.dragStartPoint=t.getPointerPoint(n),this.isPreventing
6Clicks=!0,this.dragStart(e,n)},i.dragStart=function(e,t){this.emitEvent("dragStart",[e,t])},i._dragMove=function(e,t,n){this.isDragging&&this.dragMove(e,t,n)},i.dragMove=function(e,t,n){e.preventDefault(),this.emitEvent("dragMove",[e,t,n])},i._dragEnd=function(e,t){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(e,t)},i.dragEnd=function(e,t){this.emitEvent("dragEnd",[e,t])},i.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},i._staticClick=function(e,t){if(!this.isIgnoringMouseUp||"mouseup"!=e.type){var n=e.target.nodeName;"INPUT"!=n&&"TEXTAREA"!=n||e.target.focus(),this.staticClick(e,t),"mouseup"!=e.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400))}},i.staticClick=function(e,t){this.emitEvent("staticClick",[e,t])},n.getPointerPoint=t.getPointerPoint,n}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/drag",["./flickity","unidragger/unidragger","fizzy-ui-utils/utils"],function(n,i,o){return t(e,n,i,o)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("unidragger"),require("fizzy-ui-utils")):e.Flickity=t(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)}(window,function(e,t,n,i){function o(e){var t="touchstart"==e.type,n="touch"==e.pointerType,i=d[e.target.nodeName];return t||n||i}function r(){return{x:e.pageXOffset,y:e.pageYOffset}}i.extend(t.defaults,{draggable:!0,dragThreshold:3}),t.createMethods.push("_createDrag");var s=t.prototype;i.extend(s,n.prototype),s._touchActionValue="pan-y";var a="createTouch"in document,l=!1;s._createDrag=function(){this.on("activate",this.bindDrag),this.on("uiChange",this._uiChangeDrag),this.on("childUIPointerDown",this._childUIPointerDownDrag),this.on("deactivate",this.unbindDrag),a&&!l&&(e.addEventListener("touchmove",function(){}),l=!0)},s.bindDrag=function(){this.options.draggable&&!this.isDragBound&&(this.element.classList.add("is-draggable"),this.handles=[this.viewport],this.bindHandles(),this.isDragBound=!0)},s.unbindDrag=function(){this.isDragBound&&(this.element.classList.remove("is-draggable"),this.unbindHandles(),delete this.isDragBound)},s._uiChangeDrag=function(){delete this.isFreeScrolling},s._childUIPointerDownDrag=function(e){e.preventDefault(),this.pointerDownFocus(e)};var u={TEXTAREA:!0,INPUT:!0,OPTION:!0},c={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};s.pointerDown=function(t,n){var i=u[t.target.nodeName]&&!c[t.target.type];if(i)return this.isPointerDown=!1,void delete this.pointerIdentifier;this._dragPointerDown(t,n);var o=document.activeElement;o&&o.blur&&o!=this.element&&o!=document.body&&o.blur(),this.pointerDownFocus(t),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this._bindPostStartEvents(t),this.pointerDownScroll=r(),e.addEventListener("scroll",this),this.dispatchEvent("pointerDown",t,[n])},s.pointerDownFocus=function(t){var n=o(t);if(this.options.accessibility&&!n){var i=e.pageYOffset;this.element.focus(),e.pageYOffset!=i&&e.scrollTo(e.pageXOffset,i)}};var d={INPUT:!0,SELECT:!0};return s.canPreventDefaultOnPointerDown=function(e){var t=o(e);return!t},s.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},s.pointerUp=function(e,t){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",e,[t]),this._dragPointerUp(e,t)},s.pointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(t,n){this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[n])},s.pointerMove=function(e,t){var n=this._dragPointerMove(e,t);this.dispatchEvent("pointerMove",e,[t,n]),this._dragMove(e,t,n)},s.dragMove=function(e,t,n){e.preventDefault(),this.previousDragX=this.dragX;var i=this.options.rightToLeft?-1:1,o=this.dragStartPosition+n.x*i;if(!this.options.wrapAround&&this.slides.length){var r=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>r?.5*(o+r):o;var s=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<s?.5*(o+s):o}this.dragX=o,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",e,[t,n])},s.dragEnd=function(e,t){this.options.freeScroll&&(this.isFreeScrolling=!0);var n=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var i=this.getRestingPosition();this.isFreeScrolling=-i>this.slides[0].target&&-i<this.getLastSlide().target}else this.options.freeScroll||n!=this.selectedIndex||(n+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(n),delete this.isDragSelect,this.dispatchEvent("dragEnd",e,[t])},s.dragEndRestingSelect=function(){var e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),n=this._getClosestResting(e,t,1),i=this._getClosestResting(e,t,-1),o=n.distance<i.distance?n.index:i.index;return o},s._getClosestResting=function(e,t,n){for(var i=this.selectedIndex,o=1/0,r=this.options.contain&&!this.options.wrapAround?function(e,t){return e<=t}:function(e,t){return e<t};r(t,o)&&(i+=n,o=t,t=this.getSlideDistance(-e,i),null!==t);)t=Math.abs(t);return{distance:o,index:i-n}},s.getSlideDistance=function(e,t){var n=this.slides.length,o=this.options.wrapAround&&n>1,r=o?i.modulo(t,n):t,s=this.slides[r];if(!s)return null;var a=o?this.slideableWidth*Math.floor(t/n):0;return e-(s.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},s.staticClick=function(e,t){var n=this.getParentCell(e.target),i=n&&n.element,o=n&&this.cells.indexOf(n);this.dispatchEvent("staticClick",e,[t,i,o])},s.onscroll=function(){var e=r(),t=this.pointerDownScroll.x-e.x,n=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(n)>3)&&this._pointerDone()},t}),function(e,t){"function"==typeof define&&define.amd?define("tap-listener/tap-listener",["unipointer/unipointer"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("unipointer")):e.TapListener=t(e,e.Unipointer)}(window,function(e,t){function n(e){this.bindTap(e)}var i=n.prototype=Object.create(t.prototype);return i.bindTap=function(e){e&&(this.unbindTap(),this.tapElement=e,this._bindStartEvent(e,!0))},i.unbindTap=function(){this.tapElement&&(this._bindStartEvent(this.tapElement,!0),delete this.tapElement)}
6,i.pointerUp=function(n,i){if(!this.isIgnoringMouseUp||"mouseup"!=n.type){var o=t.getPointerPoint(i),r=this.tapElement.getBoundingClientRect(),s=e.pageXOffset,a=e.pageYOffset,l=o.x>=r.left+s&&o.x<=r.right+s&&o.y>=r.top+a&&o.y<=r.bottom+a;if(l&&this.emitEvent("tap",[n,i]),"mouseup"!=n.type){this.isIgnoringMouseUp=!0;var u=this;setTimeout(function(){delete u.isIgnoringMouseUp},400)}}},i.destroy=function(){this.pointerDone(),this.unbindTap()},n}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/prev-next-button",["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(n,i,o){return t(e,n,i,o)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(e,e.Flickity,e.TapListener,e.fizzyUIUtils)}(window,function(e,t,n,i){"use strict";function o(e,t){this.direction=e,this.parent=t,this._create()}function r(e){return"string"==typeof e?e:"M "+e.x0+",50 L "+e.x1+","+(e.y1+50)+" L "+e.x2+","+(e.y2+50)+" L "+e.x3+",50  L "+e.x2+","+(50-e.y2)+" L "+e.x1+","+(50-e.y1)+" Z"}var s="http://www.w3.org/2000/svg";o.prototype=new n,o.prototype._create=function(){this.isEnabled=!0,this.isPrevious=this.direction==-1;var e=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==e;var t=this.element=document.createElement("button");t.className="flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"previous":"next");var n=this.createSVG();t.appendChild(n),this.on("tap",this.onTap),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindTap(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),n.prototype.destroy.call(this),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var e=document.createElementNS(s,"svg");e.setAttribute("viewBox","0 0 100 100");var t=document.createElementNS(s,"path"),n=r(this.parent.options.arrowShape);return t.setAttribute("d",n),t.setAttribute("class","arrow"),this.isLeft||t.setAttribute("transform","translate(100, 100) rotate(180) "),e.appendChild(t),e},o.prototype.onTap=function(){if(this.isEnabled){this.parent.uiChange();var e=this.isPrevious?"previous":"next";this.parent[e]()}},o.prototype.handleEvent=i.handleEvent,o.prototype.onclick=function(){var e=document.activeElement;e&&e==this.element&&this.onTap()},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)return void this.enable();var t=e.length?e.length-1:0,n=this.isPrevious?0:t,i=this.parent.selectedIndex==n?"disable":"enable";this[i]()},o.prototype.destroy=function(){this.deactivate()},i.extend(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.createMethods.push("_createPrevNextButtons");var a=t.prototype;return a._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o((-1),this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},a.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},a.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=o,t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/page-dots",["./flickity","tap-listener/tap-listener","fizzy-ui-utils/utils"],function(n,i,o){return t(e,n,i,o)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("tap-listener"),require("fizzy-ui-utils")):t(e,e.Flickity,e.TapListener,e.fizzyUIUtils)}(window,function(e,t,n,i){function o(e){this.parent=e,this._create()}o.prototype=new n,o.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.on("tap",this.onTap),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.bindTap(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.holder),n.prototype.destroy.call(this)},o.prototype.setDots=function(){var e=this.parent.slides.length-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},o.prototype.addDots=function(e){for(var t=document.createDocumentFragment(),n=[];e;){var i=document.createElement("li");i.className="dot",t.appendChild(i),n.push(i),e--}this.holder.appendChild(t),this.dots=this.dots.concat(n)},o.prototype.removeDots=function(e){var t=this.dots.splice(this.dots.length-e,e);t.forEach(function(e){this.holder.removeChild(e)},this)},o.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot"),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected")},o.prototype.onTap=function(e){var t=e.target;if("LI"==t.nodeName){this.parent.uiChange();var n=this.dots.indexOf(t);this.parent.select(n)}},o.prototype.destroy=function(){this.deactivate()},t.PageDots=o,i.extend(t.defaults,{pageDots:!0}),t.createMethods.push("_createPageDots");var r=t.prototype;return r._createPageDots=function(){this.options.pageDots&&(this.pageDots=new o(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},r.activatePageDots=function(){this.pageDots.activate()},r.updateSelectedPageDots=function(){this.pageDots.updateSelected()},r.updatePageDots=function(){this.pageDots.setDots()},r.deactivatePageDots=function(){this.pageDots.deactivate()},t.PageDots=o,t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/player",["ev-emitter/ev-emitter","fizzy-ui-utils/utils","./flickity"],function(e,n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("fizzy-ui-utils"),require("./flickity")):t(e.EvEmitter,e.fizzyUIUtils,e.Flickity)}(window,function(e,t,n){function i(e){this.parent=e,this.state="stopped",r&&(this.onVisibilityChange=function(){this.visibilityChange()}.bind(this),this.onVisibilityPlay=function(){this.visibilityPlay()}.bind(this))}var o,r;"hidden"in document?(o="hidden",r="visibilitychange"):"webkitHidden"in document&&(o="webkitHidden",r="webkitvisibilitychange"),i.prototype=Object.create(e.prototype),i.prototype.play=function(){if("playing"!=this.state){var e=document[o];if(r&&e)return void document.addEventListener(r,this.onVisibilityPlay);this.state="playing",r&&document.addEventListener(r,this.onVisibilityChange),this.tick()}},i.prototype.tick=function(){if("playing"==this.state){var e=this.parent.options.autoPlay;e="number"==typeof e?e:3e3;var t=this;this.clear(),this.timeout=setTimeout(function(){t.parent.next(!0),t.tick()},e)}},i.prototype.stop=function(){this.state="stopped",this.clear(),r&&document.removeEventListener(r,this.onVisibilityChange)},i.prototype.clear=function(){clearTimeout(this.timeout)},i.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},i.prototype.unpause=function(){"paused"==this.state&&this.play()},i.prototype.visibilityChange=function(){var e=document[o];this[e?"pause":"unpause"]()},i.prototype.visibilityPlay=function(){this.play(),document.removeEventListener(r,this.onVisibilityPlay)},t.extend(n.defaults,{pauseAutoPlayOnHover:!0}),n.createMethods.push("_createPlayer");var s=n.prototype;return s._createPlayer=function(){this.player=new i(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},s.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},s.playPlayer=function(){this.player.play()},s.stopPlayer=function(){this.player.stop()},s.pausePlayer=function(){this.player.pause()},s.unpausePlayer=function(){this.player.unpause()},s.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},s.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},s.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},n.Player=i,n}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/add-remove-cell",["./flickity","fizzy-ui-utils/utils"],function(n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("fizzy-ui-utils")):t(e,e.Flickity,e.fizzyUIUtils)}(window,function(e,t,n){function i(e){var t=document.createDocumentFragment();return e.forEach(function(e){t.appendChild(e.element)}),t}var o=t.prototype;return o.insert=function(e,t){var n=this._makeCells(e);if(n&&n.length){var o=this.cells.length;t=void 0===t?o:t;var r=i(n),s=t==o;if(s)this.slider.appendChild(r);else{var a=this.cells[t].element;this.slider.insertBefore(r,a)}if(0===t)this.cells=n.concat(this.cells);else if(s)this.cells=this.cells.concat(n);else{var l=this.cells.splice(t,o-t);this.cells=this.cells.concat(n).concat(l)}this._sizeCells(n);var u=t>this.selectedIndex?0:n.length;this._cellAddedRemoved(t,u)}},o.append=function(e){this.insert(e,this.cells.length)},o.prepend=function(e){this.insert(e,0)},o.remove=function(e){var t,i,o=this.getCells(e),r=0,s=o.length;for(t=0;t<s;t++){i=o[t];var a=this.cells.indexOf(i)<this.selectedIndex;r-=a?1:0}for(t=0;t<s;t++)i=o[t],i.remove(),n.removeFrom(this.cells,i);o.length&&this._cellAddedRemoved(0,r)},o._cellAddedRemoved=function(e,t){t=t||0,this.selectedIndex+=t,this.selectedIndex=Math.max(0,Math.min(this.slides.length-1,this.selectedIndex)),this.cellChange(e,!0),this.emitEvent("cellAddedRemoved",[e,t])},o.cellSizeChange=function(e){var t=this.getCell(e);if(t){t.getSize();var n=this.cells.indexOf(t);this.cellChange(n)}},o.cellChange=function(e,t){var n=this.slideableWidth;if(this._positionCells(e),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("cellChange",[e]),this.options.freeScroll){var i=n-this.slideableWidth;this.x+=i*this.cellAlign,this.positionSlider()}else t&&this.positionSliderAtSelected(),this.select(this.selectedIndex)},t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/lazyload",["./flickity","fizzy-ui-utils/utils"],function(n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("./flickity"),require("fizzy-ui-utils")):t(e,e.Flickity,e.fizzyUIUtils)}(window,function(e,t,n){"use strict";function i(e){if("IMG"==e.nodeName&&e.getAttribute("data-flickity-lazyload"))return[e];var t=e.querySelectorAll("img[data-flickity-lazyload]");return n.makeArray(t)}function o(e,t){this.img=e,this.flickity=t,this.load()}t.createMethods.push("_createLazyload");var r=t.prototype;return r._createLazyload=function(){this.on("select",this.lazyLoad)},r.lazyLoad=function(){var e=this.options.lazyLoad;if(e){var t="number"==typeof e?e:0,n=this.getAdjacentCellElements(t),r=[];
6n.forEach(function(e){var t=i(e);r=r.concat(t)}),r.forEach(function(e){new o(e,this)},this)}},o.prototype.handleEvent=n.handleEvent,o.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.img.getAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload")},o.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},o.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},o.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var n=this.flickity.getParentCell(this.img),i=n&&n.element;this.flickity.cellSizeChange(i),this.img.classList.add(t),this.flickity.dispatchEvent("lazyLoad",e,i);
7},t.LazyLoader=o,t}),function(e,t){"function"==typeof define&&define.amd?define("flickity/js/index",["./flickity","./drag","./prev-next-button","./page-dots","./player","./add-remove-cell","./lazyload"],t):"object"==typeof module&&module.exports&&(module.exports=t(require("./flickity"),require("./drag"),require("./prev-next-button"),require("./page-dots"),require("./player"),require("./add-remove-cell"),require("./lazyload")))}(window,function(e){return e}),function(e,t){"function"==typeof define&&define.amd?define("flickity-as-nav-for/as-nav-for",["flickity/js/index","fizzy-ui-utils/utils"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):e.Flickity=t(e.Flickity,e.fizzyUIUtils)}(window,function(e,t){function n(e,t,n){return(t-e)*n+e}e.createMethods.push("_createAsNavFor");var i=e.prototype;return i._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var e=this.options.asNavFor;if(e){var t=this;setTimeout(function(){t.setNavCompanion(e)})}},i.setNavCompanion=function(n){n=t.getQueryElement(n);var i=e.data(n);if(i&&i!=this){this.navCompanion=i;var o=this;this.onNavCompanionSelect=function(){o.navCompanionSelect()},i.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},i.navCompanionSelect=function(e){if(this.navCompanion){var t=this.navCompanion.selectedCells[0],i=this.navCompanion.cells.indexOf(t),o=i+this.navCompanion.selectedCells.length-1,r=Math.floor(n(i,o,this.navCompanion.cellAlign));if(this.selectCell(r,!1,e),this.removeNavSelectedElements(),!(r>=this.cells.length)){var s=this.cells.slice(i,o+1);this.navSelectedElements=s.map(function(e){return e.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(e){this.navSelectedElements.forEach(function(t){t.classList[e]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(e,t,n,i){"number"==typeof i&&this.navCompanion.selectCell(i)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("imagesloaded/imagesloaded",["ev-emitter/ev-emitter"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t){for(var n in t)e[n]=t[n];return e}function i(e){var t=[];if(Array.isArray(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}function o(e,t,r){return this instanceof o?("string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=i(e),this.options=n({},this.options),"function"==typeof t?r=t:n(this.options,t),r&&this.on("always",r),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(e,t,r)}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var a=e.jQuery,l=e.console;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEac
vendor: 5,020 bytes, line 7
7h(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),this.options.background===!0&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&u[t]){for(var n=e.querySelectorAll("img"),i=0;i<n.length;i++){var o=n[i];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(i=0;i<r.length;i++){var s=r[i];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,i=n.exec(t.backgroundImage);null!==i;){var o=i&&i[2];o&&this.addBackground(o,e),i=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new s(e,t);this.images.push(n)},o.prototype.check=function(){function e(e,n,i){setTimeout(function(){t.progress(e,n,i)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&&(a=t,a.fn.imagesLoaded=function(e,t){var n=new o(this,e,t);return n.jqDeferred.promise(a(this))})},o.makeJQueryPlugin(),o}),function(e,t){"function"==typeof define&&define.amd?define(["flickity/js/index","imagesloaded/imagesloaded"],function(n,i){return t(e,n,i)}):"object"==typeof module&&module.exports?module.exports=t(e,require("flickity"),require("imagesloaded")):e.Flickity=t(e,e.Flickity,e.imagesLoaded)}(window,function(e,t,n){"use strict";t.createMethods.push("_createImagesLoaded");var i=t.prototype;return i._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.imagesLoaded=function(){function e(e,n){var i=t.getParentCell(n.img);t.cellSizeChange(i&&i.element),t.options.freeScroll||t.positionSliderAtSelected()}if(this.options.imagesLoaded){var t=this;n(this.slider).on("progress",e)}},t}),!function(e,t){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,function(e,t){"use strict";function n(n,r,a){function l(e,t,i){var o,r="$()."+n+'("'+t+'")';return e.each(function(e,l){var u=a.data(l,n);if(!u)return void s(n+" not initialized. Cannot call methods, i.e. "+r);var c=u[t];if(!c||"_"==t.charAt(0))return void s(r+" is not a valid method");var d=c.apply(u,i);o=void 0===o?d:o}),void 0!==o?o:e}function u(e,t){e.each(function(e,i){var o=a.data(i,n);o?(o.option(t),o._init()):(o=new r(i,t),a.data(i,n,o))})}a=a||t||e.jQuery,a&&(r.prototype.option||(r.prototype.option=function(e){a.isPlainObject(e)&&(this.options=a.extend(!0,this.options,e))}),a.fn[n]=function(e){if("string"==typeof e){var t=o.call(arguments,1
vendor: 3,661 bytes, line 7
7);return l(this,e,t)}return u(this,e),this},i(a))}function i(e){!e||e&&e.bridget||(e.bridget=n)}var o=Array.prototype.slice,r=e.console,s="undefined"==typeof r?function(){}:function(e){r.error(e)};return i(t||e.jQuery),n}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return-1==i.indexOf(t)&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{},i=n[e]=n[e]||{};return i[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return-1!=i&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=0,o=n[i];t=t||[];for(var r=this._onceEvents&&this._onceEvents[e];o;){var s=r&&r[o];s&&(this.off(e,o),delete r[o]),o.apply(this,t),i+=s?0:1,o=n[i]}return this}},e}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,function(){"use strict";function e(e){var t=parseFloat(e),n=-1==e.indexOf("%")&&!isNaN(t);return n&&t}function t(){}function n(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;u>t;t++){var n=l[t];e[n]=0}return e}function i(e){var t=getComputedStyle(e);return t||a("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}function o(){if(!c){c=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var n=document.body||document.documentElement;n.appendChild(t);var o=i(t);r.isBoxSizeOuter=s=200==e(o.width),n.removeChild(t)}}function r(t){if(o(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var r=i(t);if("none"==r.display)return n();var a={};a.width=t.offsetWidth,a.height=t.offsetHeight;for(var c=a.isBorderBox="border-box"==r.boxSizing,d=0;u>d;d++){var h=l[d],p=r[h],f=parseFloat(p);a[h]=isNaN(f)?0:f}var m=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,v=a.marginLeft+a.marginRight,y=a.marginTop+a.marginBottom,x=a.borderLeftWidth+a.borderRightWidth,b=a.borderTopWidth+a.borderBottomWidth,w=c&&s,C=e(r.width);C!==!1&&(a.width=C+(w?0:m+x));var E=e(r.height);return E!==!1&&(a.height=E+(w?0:g+b)),a.innerWidth=a.width-(m+x),a.innerHeight=a.height-(g+b),a.outerWidth=a.width+v,a.outerHeight=a.height+y,a}}var s,a="undefined"==typeof console?t:function(e){console.error(e)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=l.length,c=!1;return r}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",t):"object"==typeof module&&module.exports?module.exports=t():e.matchesSelector=t()}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var i=t[n],o=i+"MatchesSelector";if(e[o])return o}}();return function(t,n){return t[e](n)}}),function(e,t){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
7sandro-matches-selector/matches-selector"],function(n){return t(e,n)}):"object"==typeof module&&module.exports?module.exports=t(e,require("desandro-matches-selector")):e.fizzyUIUtils=t(e,e.matchesSelector)}(window,function(e,t){var n={};n.extend=function(e,t){for(var n in t)e[n]=t[n];return e},n.modulo=function(e,t){return(e%t+t)%t},n.makeArray=function(e){var t=[];if(Array.isArray(e))t=e;else if(e&&"object"==typeof e&&"number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,i){e=n.makeArray(e);var o=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!i)return void o.push(e);t(e,i)&&o.push(e);for(var n=e.querySelectorAll(i),r=0;r<n.length;r++)o.push(n[r])}}),o},n.debounceMethod=function(e,t,n){var i=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){var e=this[o];e&&clearTimeout(e);var t=arguments,r=this;this[o]=setTimeout(function(){i.apply(r,t),delete r[o]},n||100)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var i=e.console;return n.htmlInit=function(t,o){n.docReady(function(){var r=n.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),l=d
vendor: 18,806 bytes, lines 7-8
7ocument.querySelectorAll(".js-"+r),u=n.makeArray(a).concat(n.makeArray(l)),c=s+"-options",d=e.jQuery;u.forEach(function(e){var n,r=e.getAttribute(s)||e.getAttribute(c);try{n=r&&JSON.parse(r)}catch(a){return void(i&&i.error("Error parsing "+s+" on "+e.className+": "+a))}var l=new t(e,n);d&&d.data(e,o,l)})})},n}),function(e,t){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("ev-emitter"),require("get-size")):(e.Outlayer={},e.Outlayer.Item=t(e.EvEmitter,e.getSize))}(window,function(e,t){"use strict";function n(e){for(var t in e)return!1;return t=null,!0}function i(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}function o(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",l={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},c=i.prototype=Object.create(e.prototype);c.constructor=i,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.getSize=function(){this.size=t(this.element)},c.css=function(e){var t=this.element.style;for(var n in e){var i=u[n]||n;t[i]=e[n]}},c.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=e[t?"left":"right"],o=e[n?"top":"bottom"],r=this.layout.size,s=-1!=i.indexOf("%")?parseFloat(i)/100*r.width:parseInt(i,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=t?r.paddingLeft:r.paddingRight,a-=n?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},c.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",r=n?"left":"right",s=n?"right":"left",a=this.position.x+e[o];t[r]=this.getXValue(a),t[s]="";var l=i?"paddingTop":"paddingBottom",u=i?"top":"bottom",c=i?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},c.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},c.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},c._transitionTo=function(e,t){this.getPosition();var n=this.position.x,i=this.position.y,o=parseInt(e,10),r=parseInt(t,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(e,t),s&&!this.isTransitioning)return void this.layoutPosition();var a=e-n,l=t-i,u={};u.transform=this.getTranslate(a,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},c.getTranslate=function(e,t){var n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop");return e=n?e:-e,t=i?t:-t,"translate3d("+e+"px, "+t+"px, 0)"},c.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(e,t){this.position.x=parseInt(e,10),this.position.y=parseInt(t,10)},c._nonTransition=function(e){this.css(e.to),e.isCleaning&&this._removeStyles(e.to);for(var t in e.onTransitionEnd)e.onTransitionEnd[t].call(this)},c.transition=function(e){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(e);var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);var i=this.element.offsetHeight;i=null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var d="opacity,"+o(a);c.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:d,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(l,this,!1)}},c.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},c.onotransitionend=function(e){this.ontransitionend(e)};var h={"-webkit-transform":"transform"};c.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,i=h[e.propertyName]||e.propertyName;if(delete t.ingProperties[i],n(t.ingProperties)&&this.disableTransition(),i in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[i]),i in t.onEnd){var o=t.onEnd[i];o.call(this),delete t.onEnd[i]}this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(l,this,!1),this.isTransitioning=!1},c._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var p={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(p)},c.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){return s&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={},n=this.getHideRevealTransitionEndProperty("visibleStyle");t[n]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},c.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={},n=this.getHideRevealTransitionEndProperty("hiddenStyle");t[n]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},i}),function(e,t){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(n,i,o,r){return t(e,n,i,o,r)}):"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):e.Outlayer=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,e.Outlayer.Item)}(window,function(e,t,n,i,o){"use strict";function r(e,t){var n=i.getQueryElement(e);if(!n)return void(l&&l.error("Bad element for "+this.constructor.namespace+": "+(n||e)));this.element=n,u&&(this.$element=u(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(t);var o=++d;this.element.outlayerGUID=o,h[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}function a(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],i=t&&t[2];if(!n.length)return 0;n=parseFloat(n);var o=f[i]||1;return n*o}var l=e.console,u=e.jQuery,c=function(){},d=0,h={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var p=r.prototype;i.extend(p,t.prototype),p.option=function(e){i.extend(this.options,e)},p._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle);var e=this._getOption("resize");e&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,i=[],o=0;o<t.length;o++){var r=t[o],s=new n(r,this);i.push(s)}return i},p._filterFindItemElements=function(e){return i.filterFindElements(e,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(e){return e.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=n(this.element)},p._getMeasurement=function(e,t){var i,o=this.options[e];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[e]=i?n(i)[t]:o):this[e]=0},p.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},p._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},p._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var i=this._getItemLayoutPosition(e);i.item=e,i.isInstant=t||e.isLayoutInstant,n.push(i)},this),this._processLayoutQueue(n)}},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},p.updateStagger=function(){var e=this.options.stagger;return null===e||void 0===e?void(this.stagger=0):(this.stagger=a(e),this.stagger)},p._positionItem=function(e,t,n,i,o){i?e.goTo(t,n):(e.stagger(o*this.stagger),e.moveTo(t,n))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){var e=this._getOption("resizeContainer");if(e){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},p._getContainerSize=c,p._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},p._emitCompleteOnItems=function(e,t){function n(){o.dispatchEvent(e+"Complete",null,[t])}function i(){s++,s==r&&n()}var o=this,r=t.length;if(!t||!r)return void n();var s=0;t.forEach(function(t){t.once(e,i)})},p.dispatchEvent=function(e,t,n){var i=t?[t].concat(n):n;if(this.emitEvent(e,i),u)if(this.$element=this.$element||u(this.element),t){var o=u.Event(t);o.type=e,this.$element.trigger(o,n)}else this.$element.trigger(e,n)},p.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},p.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},p.stamp=function(e){e=this._find(e),e&&(this.stamps=this.stamps.concat(e),e.forEach(this.ignore,this))},p.unstamp=function(e){e=this._find(e),e&&e.forEach(function(e){i.removeFrom(this.stamps,e),this.unignore(e)},this)},p._find=function(e){return e?("string"==typeof e&&(e=this.element.querySelectorAll(e)),e=i.makeArray(e)):void 0},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},p._manageStamp=c,p._getElementOffset=function(e){var t=e.getBoundingClientRect(),i=this._boundingRect,o=n(e),r={left:t.left-i.left-o.marginLeft,top:t.top-i.top-o.marginTop,right:i.right-t.right-o.marginRight,bottom:i.bottom-t.bottom-o.marginBottom};return r},p.handleEvent=i.handleEvent,p.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},i.debounceMethod(r,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var e=n(this.element),t=this.size&&e;return t&&e.innerWidth!==this.size.innerWidth},p.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},p.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},p.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},p.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.reveal()})}},p.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.hide()})}},p.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},p.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},p.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},p.getItems=function(e){e=i.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},p.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),i.removeFrom(this.items,e)},this)},p.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete h[t],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},r.data=function(e){e=i.getQueryElement(e);var t=e&&e.outlayerGUID;return t&&h[t]},r.create=function(e,t){var n=s(r);return n.defaults=i.extend({},r.defaults),i.extend(n.defaults,t),n.compatOptions=i.extend({},r.compatOptions),n.namespace=e,n.data=r.data,n.Item=s(o),i.htmlInit(n,e),u&&u.bridget&&u.bridget(e,n),n};var f={ms:1,s:1e3};return r.Item=o,r}),function(e,t){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],t):"object"==typeof module&&module.exports?module.exports=t(require("outlayer"),require("get-size")):e.Masonry=t(e.Outlayer,e.getSize)}(window,function(e,t){var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var i=n.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/i,s=i-o%i,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.getContainerWidth=function(){var e=this._getOption("fitWidth"),n=e?this.element.parentNode:this.element,i=t(n);this.containerWidth=i&&i.innerWidth},i._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=t&&1>t?"round":"ceil",i=Math[n](e.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](i,e),s={x:this.columnWidth*r.col,y:r.y},a=r.y+e.size.outerHeight,l=i+r.col,u=r.col;l>u;u++)this.colYs[u]=a;return s},i._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},i._getTopColGroup=function(e){if(2>e)return this.colYs;for(var t=[],n=this.cols+1-e,i=0;n>i;i++)t[i]=this._getColGroupY(i,e);return t},i._getColGroupY=function(e,t){if(2>t)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},i._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols,i=e>1&&n+e>this.cols;n=i?0:n;var o=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=o?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},i._manageStamp=function(e){var n=t(e),i=this._getElementOffset(e),o=this._getOption("originLeft"),r=o?i.left:i.right,s=r+n.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var l=Math.floor(s/this.columnWidth);l-=s%this.columnWidth?0:1,l=Math.min(this.cols-1,l);for(var u=this._getOption("originTop"),c=(u?i.top:i.bottom)+n.outerHeight,d=a;l>=d;d++)this.colYs[d]=Math.max(c,this.colYs[d])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},i._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n}),function(e,t){"use strict";var n="0.7.17",i="",o="?",r="function",s="undefined",a="object",l="string",u="major",c="model",d="name",h="type",p="vendor",f="version",m="architecture",g="console",v="mobile",y="tablet",x="smarttv",b="wearable",w="embedded",C={extend:function(e,t){var n={};for(var i in e)t[i]&&t[i].length%2===0?n[i]=t[i].concat(e[i]):n[i]=e[i];
8return n},has:function(e,t){return"string"==typeof e&&t.toLowerCase().indexOf(e.toLowerCase())!==-1},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===l?e.replace(/[^\d\.]/g,"").split(".")[0]:t},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},E={rgx:function(e,n){for(var i,o,s,l,u,c,d=0;d<n.length&&!u;){var h=n[d],p=n[d+1];for(i=o=0;i<h.length&&!u;)if(u=h[i++].exec(e))for(s=0;s<p.length;s++)c=u[++o],l=p[s],typeof l===a&&l.length>0?2==l.length?typeof l[1]==r?this[l[0]]=l[1].call(this,c):this[l[0]]=l[1]:3==l.length?typeof l[1]!==r||l[1].exec&&l[1].test?this[l[0]]=c?c.replace(l[1],l[2]):t:this[l[0]]=c?l[1].call(this,c,l[2]):t:4==l.length&&(this[l[0]]=c?l[3].
vendor: 2,986 bytes, line 8
8call(this,c.replace(l[1],l[2])):t):this[l]=c?c:t;d+=2}},str:function(e,n){for(var i in n)if(typeof n[i]===a&&n[i].length>0){for(var r=0;r<n[i].length;r++)if(C.has(n[i][r],e))return i===o?t:i}else if(C.has(n[i],e))return i===o?t:i;return e}},I={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[d,f],[/(opios)[\/\s]+([\w\.]+)/i],[[d,"Opera Mini"],f],[/\s(opr)\/([\w\.]+)/i],[[d,"Opera"],f],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]+)*/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]+)*/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser)\/([\w\.-]+)/i],[d,f],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[d,"IE"],f],[/(edge)\/((\d+)?[\w\.]+)/i],[d,f],[/(yabrowser)\/([\w\.]+)/i],[[d,"Yandex"],f],[/(puffin)\/([\w\.]+)/i],[[d,"Puffin"],f],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[d,"UCBrowser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],f],[/(micromessenger)\/([\w\.]+)/i],[[d,"WeChat"],f],[/(QQ)\/([\d\.]+)/i],[d,f],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[d,f],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[f,[d,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[f,[d,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[f,[d,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[d,/(.+)/,"$1 WebView"],f],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[d,/(.+(?:g|us))(.+)/,"$1 $2"],f],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[f,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[d,f],[/(dolfin)\/([\w\.]+)/i],[[d,"Dolphin"],f],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[d,"Chrome"],f],[/(coast)\/([\w\.]+)/i],[[d,"Opera Coast"],f],[/fxios\/([\w\.-]+)/i],[f,[d,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[f,[d,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[f,d],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[d,"GSA"],f],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[d,[f,E.str,I.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[d,f],[/(navigator|netscape)\/([\w\.-]+)/i],[[d,"Netscape"],f],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix)\/([\w\.-]+)/i,/(mozilla)\/([\w\.]+).+rv\:.
vendor: 4,100 bytes, line 8
8+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]+)*/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[d,f]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,C.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[m,/ower/,"",C.lowerize]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[m,C.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[c,p,[h,y]],[/applecoremedia\/[\w\.]+ \((ipad)/],[c,[p,"Apple"],[h,y]],[/(apple\s{0,1}tv)/i],[[c,"Apple TV"],[p,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[p,c,[h,y]],[/(kf[A-z]+)\sbuild\/[\w\.]+.*silk\//i],[c,[p,"Amazon"],[h,y]],[/(sd|kf)[0349hijorstuw]+\sbuild\/[\w\.]+.*silk\//i],[[c,E.str,I.device.amazon.model],[p,"Amazon"],[h,v]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[c,p,[h,v]],[/\((ip[honed|\s\w*]+);/i],[c,[p,"Apple"],[h,v]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]+)*/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[p,c,[h,v]],[/\(bb10;\s(\w+)/i],[c,[p,"BlackBerry"],[h,v]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[c,[p,"Asus"],[h,y]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[p,"Sony"],[c,"Xperia Tablet"],[h,y]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[c,[p,"Sony"],[h,v]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[p,c,[h,g]],[/android.+;\s(shield)\sbuild/i],[c,[p,"Nvidia"],[h,g]],[/(playstation\s[34portablevi]+)/i],[c,[p,"Sony"],[h,g]],[/(sprint\s(\w+))/i],[[p,E.str,I.device.sprint.vendor],[c,E.str,I.device.sprint.model],[h,v]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[p,c,[h,y]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w+)*/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]+)*/i],[p,[c,/_/g," "],[h,v]],[/(nexus\s9)/i],[c,[p,"HTC"],[h,y]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[c,[p,"Huawei"],[h,v]],[/(microsoft);\s(lumia[\s\w]+)/i],[p,c,[h,v]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[c,[p,"Microsoft"],[h,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,"Microsoft"],[h,v]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w+)*/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[c,[p,"Motorola"],[h,v]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[c,[p,"Motorola"],[h,y]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[p,C.trim],[c,C.trim],[h,x]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,"Samsung"],[h,x]],[/\(dtv[\);].+(aquos)/i],[c,[p,"Sharp"],[h,x]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[p,"Samsung"],c,[h,y]],[/smart-tv.+(samsung)/i],[p,[h,x],c],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,/sec-((sgh\w+))/i],[[p,"Samsung"],c,[h,v]],[/sie-(\w+)*/i],[c,[p,"Siemens"],[h,v]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]+)*/i],[[p,"Nokia"],c,[h,v]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[c,[p,"Acer"],[h,y]],[/android.+([vl]k\-?\d{3})\s+build/i],[c,[p,"LG"],[h,y]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[p,"LG"],c,[h,y]],[/(lg) netcast\.tv/i],[p,c,[h,x]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w+)*/i,/android.+lg(\-?[\d\w]+)\s+build/i],[c,[p,"LG"],[h,v]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[c,[p,"Lenovo"],[h,y]],[/linux;.+((jolla));/i],[p,c,[h,v]],[/((pebble))app\/[\d\.]+\s/i],[p,c,[h,b]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[p,c,[h,v]],[/crkey/i],[[c,"Chromecast"],[p,"Google"]],[/android.+;\s(glass)\s\d/i],[c,[p,"Google"],[h,b]],[/android.+;\s(pixel c)\s/i],[c,[p,"Google"],[h,y]],[/android.+;\s(pixel xl|pixel)\s/i],[c,[p,"Google"],[h,v]],[/android.+(\w+)\s+build\/hm\1/i,/android.+(
8hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d\w)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[c,/_/g," "],[p,"Xiaomi"],[h,v]],[/android.+(mi[\s\-_]*(?:pad)?(?:[\s_]*[\w\s]+)?)\s+build/i],[[c,/_/g," "],[p,"Xiaomi"],[h,y]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[c,[p,"Meizu"],[h,y]],[/android.+a000(1)\s+build/i],[c,[p,"OnePlus"],[h,v]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[c,[p,"RCA"],[h,y]],[/android.+[;\/]\s*(Venue[\d\s]*)\s+build/i],[c,[p,"Dell"],[h,y]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[c,[p,"Verizon"],[h,y]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[p,"Barnes & Noble"],c,[h,y]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[c,[p,"NuVision"],[h,y]],[/android.+[;\/]\s*(zte)?.+(k\d{2})\s+build/i],[[p,"ZTE"],c,[h,y]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[c,[p,"Swiss"],[h,v]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[c,[p,"Swiss"],[h,y]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[c,[p,"Zeki"],[h,y]],[/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i],[[p,"Dragon Touch"],c,[h,y]],[/android.+[;\/]\s*(NS-?.+)\s+build/i],[c,[p,"Insignia"],[h,y]],[/android.+[;\/]\s*((NX|Next)-?.+)\s+build/i],[c,[p,"NextBook"],[h,y]],[/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[p,"Voice"],c,[h,v]],[/android.+[;\/]\s*(LVTEL\-?)?(V1[12])\s+build/i],[[p,"LvTel"],c,[h,v]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[c,[p,"Envizen"],[h,y]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(.*\b)\s+build/i],[p,c,[h,y]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[c,[p,"MachSpeed"],[h,y]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[p,c,[h,y]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[c,[p,"Rotor"],[h,y]],[/android.+(KS(.+))\s+build/i],[c,[p,"Amazon"],[h,y]],[/android.+(Gigaset)[\s\-]+(Q.+)\s+build/i],[p,c,[h,y]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[h,C.lowerize],p,c],[/(android.+)[;\/].+build/i],[c,[p,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[f,[d,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[d,f],[/rv\:([\w\.]+).*(gecko)/i],[f,d]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[d,f],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s]+\w)*/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[d,[f,E.str,I.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[d,"Windows"],[f,E.str,I.os.windows.version]],[/\((bb)(10);
8/i],[[d,"BlackBerry"],f],[/(blackberry)\w*\/?([\w\.]+)*/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]+)*/i,/linux;.+(sailfish);/i],[d,f],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i],[[d,"Symbian"],f],[/\((series40);/i],[d],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[d,"Firefox OS"],f],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w+)*/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|[open]*suse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]+)*/i,/(hurd|linux)\s?([\w\.]+)*/i,/(gnu)\s?([\w\.]+)*/i],[d,f],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],f],[/(sunos)\s?([\w\.]+\d)*/i],[[d,"Solaris"],f],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]+)*/i],[d,f],[/(haiku)\s(\w+)/i],[d,f],[/cfnetwork\/.+darwin/i,/ip[honead]+(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[f,/_/g,"."],[d,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]+\w)*/i,/(macintosh|mac(?=_powerpc)\s)/i],[[d,"Mac OS"],[f,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]+)*/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.]*)*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]+)*/i],[d,f]]},T=function(n,o){if("object"==typeof n&&(o=n,n=t),!(this instanceof T))return new T(n,o).getResult();var r=n||(e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:i),s=o?C.extend(S,o):S;return this.getBrowser=function(){var e={name:t,version:t};return E.rgx.call(e,r,s.browser),e.major=C.major(e.version),e},this.getCPU=function(){var e={architecture:t};return E.rgx.call(e,r,s.cpu),e},this.getDevice=function(){var e={vendor:t,model:t,type:t};return E.rgx.call(e,r,s.device),e},this.getEngine=function(){var e={name:t,version:t};return E.rgx.call(e,r,s.engine),e},this.getOS=function(){var e={name:t,version:t};return E.rgx.call(e,r,s.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=e,this},this};T.VERSION=n,T.BROWSER={NAME:d,MAJOR:u,VERSION:f},T.CPU={ARCHITECTURE:m},T.DEVICE={MODEL:c,VENDOR:p,TYPE:h,CONSOLE:g,MOBILE:v,SMARTTV:x,TABLET:y,WEARABLE:b,EMBEDDED:w},T.ENGINE={NAME:d,VERSION:f},T.OS={NAME:d,VERSION:f},typeof exports!==s?(typeof module!==s&&module.exports&&(exports=module.exports=T),exports.UAParser=T):typeof define===r&&define.amd?define(function(){return T}):e&&(e.UAParser=T);var _=e&&(e.jQuery||e.Zepto);if(typeof _!==s){var k=new T;_.ua=k.getResult(),_.ua.get=function(){return k.getUA()},_.ua.set=function(e){k.setUA(e);var t=k.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:this),!function(e){var t=function(e,t,n){"use strict";var i,o;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};o=e.lazySizesConfig||e.lazysizesConfig||{};for(t in n)t in o||(o[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var r=t.documentElement,s=e.HTMLPictureElement,a="addEventListener",l="getAttribute",u=e[a].bind(e),c=e.setTimeout,d=e.requestAnimationFrame||c,h=e.requestIdleCallback,p=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],m={},g=Array.prototype.forEach,v=function(e,t){return m[t]||(m[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),m[t].test(e[l]("class")||"")&&m[t]},y=function(e,t){v(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},x=function(e,t){var n;(n=v(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(n," "))},b=function(e,t,n){var i=n?a:"removeEventListener";n&&b(e,t),f.forEach(function(n){e[i](n,t)})},w=function(e,n,o,r,s){var a=t.createEvent("Event");return o||(o={}),o.instance=i,a.initEvent(n,!r,!s),a.detail=o,e.dispatchEvent(a),a},C=function(t,n){var i;!s&&(i=e.picturefill||o.pf)?(n&&n.src&&!t[l]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},I=function(e,t,n){for(n=n||e.offsetWidth;n<o.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},S=function(){var e,n,i=[],o=[],r=i,s=function(){var t=r;for(r=i.length?o:i,e=!0,n=!1;t.length;)t.shift()();e=!1},a=function(i,o){e&&!o?i.apply(this,arguments):(r.push(i),n||(n=!0,(t.hidden?c:d)(s)))};return a._lsFlush=s,a}(),T=function(e,t){return t?function(){S(e)}:function(){var t=this,n=arguments;S(function(){e.apply(t,n)})}},_=function(e){var t,i=0,r=o.throttleDelay,s=o.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=h&&s>49?function(){h(a,{timeout:s}
8),s!==o.ricTimeout&&(s=o.ricTimeout)}:T(function(){c(a)},!0);return function(e){var o;(e=e===!0)&&(s=33),t||(t=!0,o=r-(n.now()-i),o<0&&(o=0),e||o<9?l():c(l,o))}},k=function(e){var t,i,o=99,r=function(){t=null,e()},s=function(){var e=n.now()-i;e<o?c(s,o-e):(h||r)(r)};return function(){i=n.now(),t||(t=c(s,o))}},L=function(){var s,h,f,m,I,L,F,D,z,M,P,B,j=/^img$/i,O=/^iframe$/i,N="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),R=0,q=0,U=0,H=-1,W=function(e){U--,(!e||U<0||!e.target)&&(U=0)},$=function(e){return null==B&&(B="hidden"==E(t.body,"visibility")),B||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},V=function(e,n){var i,o=e,s=$(e);for(D-=n,P+=n,z-=n,M+=n;s&&(o=o.offsetParent)&&o!=t.body&&o!=r;)s=(E(o,"opacity")||1)>0,s&&"visible"!=E(o,"overflow")&&(i=o.getBoundingClientRect(),s=M>i.left&&z<i.right&&P>i.top-1&&D<i.bottom+1);return s},G=function(){var e,n,a,u,c,d,p,f,g,v,y,x,b=i.elements;if((m=o.loadMode)&&U<8&&(e=b.length)){for(n=0,H++;n<e;n++)if(b[n]&&!b[n]._lazyRace)if(!N||i.prematureUnveil&&i.prematureUnveil(b[n]))te(b[n]);else if((f=b[n][l]("data-expand"))&&(d=1*f)||(d=q),v||(v=!o.expand||o.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:o.expand,i._defEx=v,y=v*o.expFactor,x=o.hFac,B=null,q<y&&U<1&&H>2&&m>2&&!t.hidden?(q=y,H=0):q=m>1&&H>1&&U<6?v:R),g!==d&&(L=innerWidth+d*x,F=innerHeight+d,p=d*-1,g=d),a=b[n].getBoundingClientRect(),(P=a.bottom)>=p&&(D=a.top)<=F&&(M=a.right)>=p*x&&(z=a.left)<=L&&(P||M||z||D)&&(o.loadHidden||$(b[n]))&&(h&&U<3&&!f&&(m<3||H<4)||V(b[n],d))){if(te(b[n]),c=!0,U>9)break}else!c&&h&&!u&&U<4&&H<4&&m>2&&(s[0]||o.preloadAfterLoad)&&(s[0]||!f&&(P||M||z||D||"auto"!=b[n][l](o.sizesAttr)))&&(u=s[0]||b[n]);u&&!c&&te(u)}},Z=_(G),X=function(e){var t=e.target;return t._lazyCache?void delete t._lazyCache:(W(e),y(t,o.loadedClass),x(t,o.loadingClass),b(t,Y),void w(t,"lazyloaded"))},Q=T(X),Y=function(e){Q({target:e.target})},K=function(e,t){var n=e.getAttribute("data-load-mode")||o.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},J=function(e){var t,n=e[l](o.srcsetAttr);(t=o.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ee=T(function(e,t,n,i,r){var s,a,u,d,h,m;(h=w(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?y(e,o.autosizesClass):e.setAttribute("sizes",i)),a=e[l](o.srcsetAttr),s=e[l](o.srcAttr),r&&(u=e.parentNode,d=u&&p.test(u.nodeName||"")),m=t.firesLoad||"src"in e&&(a||s||d),h={target:e},y(e,o.loadingClass),m&&(clearTimeout(f),f=c(W,2500),b(e,Y,!0)),d&&g.call(u.getElementsByTagName("source"),J),a?e.setAttribute("srcset",a):s&&!d&&(O.test(e.nodeName)?K(e,s):e.src=s),r&&(a||d)&&C(e,{src:s})),e._lazyRace&&delete e._lazyRace,x(e,o.lazyClass),S(function(){var t=e.complete&&e.naturalWidth>1;m&&!t||(t&&y(e,o.fastLoadedClass),X(h),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&U--},!0)}),te=function(e){if(!e._lazyRace){var t,n=j.test(e.nodeName),i=n&&(e[l](o.sizesAttr)||e[l]("sizes")),r="auto"==i;(!r&&h||!n||!e[l]("src")&&!e.srcset||e.complete||v(e,o.errorClass)||!v(e,o.lazyClass))&&(t=w(e,"lazyunveilread").detail,r&&A.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,U++,ee(e,t,r,i,n))}},ne=k(function(){o.loadMode=3,Z()}),ie=function(){3==o.loadMode&&(o.loadMode=2),ne()},oe=function(){if(!h){if(n.now()-I<999)return void c(oe,999);h=!0,o.loadMode=3,Z(),u("scroll",ie,!0)}};return{_:function(){I=n.now(),i.elements=t.getElementsByClassName(o.lazyClass),s=t.getElementsByClassName(o.lazyClass+" "+o.preloadClass),u("scroll",Z,!0),u("resize",Z,!0),u("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+o.loadingClass);n.length&&n.forEach&&d(function(){n.forEach(function(e){e.complete&&te(e)})})}}),e.MutationObserver?new MutationObserver(Z).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[a]("DOMNodeInserted",Z,!0),r[a]("DOMAttrModified",Z,!0),setInterval(Z,999)),u("hashchange",Z,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[a](e,Z,!0)}),/d$|^c/.test(t.readyState)?oe():(u("load",oe),t[a]("DOMContentLoaded",Z),c(oe,2e4)),i.elements.length?(G(),S._lsFlush()):Z()},checkElems:Z,unveil:te,_aLSL:ie}}(),A=function(){var e,n=T(function(e,t,n,i){var o,r,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),p.test(t.no
8deName||""))for(o=t.getElementsByTagName("source"),r=0,s=o.length;r<s;r++)o[r].setAttribute("sizes",i);n.detail.dataAttr||C(e,n.detail)}),i=function(e,t,i){var o,r=e.parentNode;r&&(i=I(e,r,i),o=w(e,"lazybeforesizes",{width:i,dataAttr:!!t}),o.defaultPrevented||(i=o.detail.width,i&&i!==e._lazysizesWidth&&n(e,r,o,i)))},r=function(){var t,n=e.length;if(n)for(t=0;t<n;t++)i(e[t])},s=k(r);return{_:function(){e=t.getElementsByClassName(o.autosizesClass),u("resize",s)},checkElems:s,updateElem:i}}(),F=function(){!F.i&&t.getElementsByClassName&&(F.i=!0,A._(),L._())};return c(function(){o.init&&F()}),i={cfg:o,autoSizer:A,loader:L,init:F,uP:C,aC:y,rC:x,hC:v,fire:w,gW:I,rAF:S}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}),$(function(){$(".BookList-list:not(.BookList-list--ee)").owlCarousel({loop:!1,nav:!0,navText:["<",">"],dots:!1,slideBy:"page",animateIn:"fadeIn",animateOut:"fadeOut",smartSpeed:0,responsive:{0:{items:1},479:{items:2},639:{items:3},991:{items:5}}}),$(".BookList-wyswig").owlCarousel({loop:!1,nav:!0,navText:["<",">"],dots:!1,slideBy:"page",animateIn:"fadeIn",animateOut:"fadeOut",smartSpeed:0,margin:10,responsive:{0:{items:1},479:{items:2},690:{items:3}}})}
8(jQuery)),$(document).ready(function(){var e=$(".Modal-content-items"),t=$(".BookList-list"),n={margin:10,nav:!0,items:1,responsive:{0:{singleItem:!0,loop:!0,items:1},639:{singleItem:!1,loop:!1,items:2}}},i={loop:!1,nav:!0,navText:["<",">"],dots:!1,slideBy:"page",animateIn:"fadeIn",animateOut:"fadeOut",smartSpeed:0,responsive:{0:{items:1},479:{items:2},639:{items:3},991:{items:5}}};if(e.owlCarousel(n),e.length){var o=e.owlCarousel(n);e.css("opacity",0).css("transition","opacity 200ms ease-out"),$("[data-modal]").on("click",function(i){i.preventDefault(),t.trigger("destroy.owl.carousel").removeClass("owl-carousel owl-loaded"),e.owlCarousel(n);var r=$(this).attr("data-modal"),s=$(r);"false"==s.attr("aria-hidden")?($("html").removeClass("modal-open"),e.css("opacity",0),s.removeClass("in").addClass("out").attr("aria-hidden",!0)):($("html").addClass("modal-open"),s.removeClass("out").addClass("in").attr("aria-hidden",!1),o.trigger("refresh.owl.carousel"),setTimeout(function(){o.trigger("refresh.owl.carousel"),e.css("opacity",1)},200))}),$(".js-modalCloser").on("click",function(n){n.preventDefault(),$("html").removeClass("modal-open"),$(this).parent().removeClass("in").addClass("out").attr("aria-hidden",!0),e.css("opacity",0),t.owlCarousel(i),t.addClass("owl-carousel owl-loaded")})}}),function(e){"use strict";const t="span#username",n=function(){const e=i();if(""!==e){const n=new XMLHttpRequest;n.onreadystatechange=function(){4===this.readyState&&200===this.status&&(document.querySelector(t).innerHTML=JSON.parse(this.responseText).username)},n.open("POST","/_getusername",!0),n.send()}},i=function(){const e=document.cookie.match("(^|;)\\s*REMEMBERME\\s*=\\s*([^;]+)");return e?e.pop():""};document.addEventListener("DOMContentLoaded",function(){n()})}(jQuery),function(){function e(){if("object"!=typeof window.columns){var e=document.querySelector(".Columns--auto");null!==e&&(u=e,d=n(u.children),c=t(u),o(d,u),window.addEventListener("resize",h),window.columns={update:o})}}function t(e){var t=e.offsetWidth,n=Math.floor(t/r);return Math.min(Math.max(n,s),a)}function n(e){for(var t=[],n=0,i=e.length;n<i;n++){var o=e[n];"object"==typeof o&&"tagName"in o?t.push(o.outerHTML):"string"==typeof o&&t.push(e[n])}return t}function i(e,t){for(var n=[],i=0,o=e.length;i<o;i++){var r=i%t;void 0===n[r]&&(n[r]=[]),n[r].push(e[i])}return n}function o(e,t){if(!Array.isArray(e)||e.length>0&&"string"!=typeof e[0])throw new Error("Argument `items` must be an array of strings");switch(["replace","start","end"].indexOf(t)===-1&&(t="replace"),t){case"replace":d=e;break;case"start":d=e.concat(d);break;case"end":d=d.concat(e)}for(var n=i(d,c),o="",r=0;r<n.length;r++)o+='<div class="Columns-col">',o+=n[r].join(""),o+="</div>";u.innerHTML=o,u.setAttribute("data-columns",c)}const r=240;var s=1,a=5;const l=200;null!==document.querySelector(".Columns--auto")&&"article"===document.querySelector(".Columns--auto").dataset.site&&(a=2),null!==document.querySelector(".Columns--auto")&&"news"===document.querySelector(".Columns--auto").dataset.site&&(a=3);var u,c=1,d=[],h=_.debounce(function(){var e=t(u);e!==c&&(c=e,o(d,"replace"))},l);return e()}(),function(){"use strict";document.addEventListener("DOMContentLoaded",function(){e()});const e=function(){document.body;document.getElementById("search").onsubmit=function(e){e.preventDefault(),window.location.assign(e.target.action+this.text.value)},document.querySelectorAll(".js-searchButton, .js-popupCloser").forEach(function(e){e.onclick=function(){const e=document.querySelector(".js-popup");"false"===e.getAttribute("aria-hidden")?(e.setAttribute("aria-hidden",!0),e.classList.remove("in"),e.classList.add("out")):(e.setAttribute("aria-hidden",!1),e.classList.remove("out"),e.classList.add("in"),setTimeout(function(){document.querySelector(".js-popupSearchField").focus()},300))}});const e=document.querySelectorAll(".js-itwButton");e.forEach(function(e){e.onclick=function(e){e.preventDefault();const t=document.querySelectorAll(".js-itw-popup"),n=this.id;if(t.forEach(function(e){"false"===e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden",!0),e.classList.remove("in"),e.classList.add("out"))}),"undefined"!=typeof n&&n!==!1){const i=Array.from(t).filter(function(e){return n===e.dataset.popupId});0<i.length&&(i[0].setAttribute("aria-hidden",!1),i[0].classList.remove("out"),i[0].classList.add("in"))}}});const t=document.querySelectorAll(".js-itw-popupCloser");null!==t&&t.forEach(function(e){e.onclick=function(e){e.preventDefault(),document.querySelectorAll("iframe").forEach(function(e){const t=e.getAttribute("src");e.setAttribute("src",t)});const t=this.parentElement.parentElement;t.setAttribute("aria-hidden","true"),t.classList.remove("in"),t.classList.add("out")}})}}(),function(e){function t(){e(s).each(n)}function n(t,n){var o=e(n),r=o.find(a),s=o.find(l);if(1===r.length&&1===s.length){var u=e.trim(r.val());""!==u&&i(s,u);var c={oldText:u,input:r,box:s};r.on("keyup",function(){h(c)})}}function i(t,n){n=o(n);var i=t.find(c);if(""===n)return void i.parent(u).attr("aria-hidden","false");var r=n.split(" "),s=r.length;i.each(function(t,n){for(var i=e(n),a=o(i.attr("data-filter")),l=0,c=0;c<s;c++)a.indexOf(r[c])!==-1&&l++;l===s?i.parents(u).attr("aria-hidden","false"):i.parent(u).attr("aria-hidden","true")})}function o(t){for(var n=[[/[-_'"’“”«»\.,;:!?()<>/\\=+*&~#@$%^|]/g,""],[/\s{2,}/g," "],[/[àáâä]/g,"a"],[/[èéêë]/g,"e"],[/[ìíîï]/g,"i"],[/[òóôö]/g,"i"],[/[ùúûü]/g,"i"],[/[ýÿ]/g,"y"]],i=e.trim(t).toLowerCase(),o=0;o<n.length;o++)i=i.replace(n[o][0],n[o][1]);return i}function r(){var t=e(".js-active-filters"),n=e(".Search-formFilters"),i=e(".js-btn-plus"),o=e(".js-btn-minus");t.on("click touch",function(e){e.preventDefault(),n.toggleClass("active"),n.hasClass("active")?(i.hide(),o.show()):(i.show(),o.hide())})}e(document).ready(t);const s=".js-facetGroup",a=".js-facetGroupField",l=".js-facetList",u=".js-facetList li",c=".js-facet",d=200;var h=_.debounce(function(t){var n=e.trim(t.input.val());n!==t.oldText&&(t.oldText=n,i(t.box,n))},d);r()}(jQuery),function(){"use strict";const e=document.querySelector(".MainMenu"),t=document.querySelector(".SubMenu"),n=document.querySelector(".js-desktop-menu");document.getElementById("menu-social");if(null!==n){n.onmouseenter=function(){t.classList.add("submenu-active")};const i=function(){return"ontouchend"in document.documentElement?"touchend":"click"};n.addEventListener(i(),function(){window.innerWidth>=992?t.classList.toggle("submenu-active"):(e.classList.toggle("active"),t.style.display="block")})}null!==t&&(t.onmouseleave=function(){this.classList.remove("submenu-active")});var o=!1;window.onresize=function(){o=!0},setInterval(function(){o&&(o=!1,window.innerWidth>=992&&null!==t&&t.classList.remove("submenu-active"))},500)}(),$(function(){$(".BookList-list--ee").owlCarousel({loop:!1,nav:!0,navText:["<",">"],dots:!0,slideBy:"page",animateIn:"fadeIn",animateOut:"fadeOut",smartSpeed:0,responsive:{0:{items:1},639:{items:2},991:{items:3}}})}(jQuery)),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,o,r,s,a,l,u,c,d,h,p,f,m,g,v,y,x,b,w=this,C=!1,E=!0,I=!0,S={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
8:!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},T=function(e){if(v)return!0;e=e||window.event,g.timeToIdle&&g.mouseUsed&&!c&&B();for(var n,i,o=e.target||e.srcElement,r=o.getAttribute("class")||"",s=0;s<W.length;s++)n=W[s],n.onTap&&r.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),v=!0;var a=t.features.isOldAndroid?600:30;y=setTimeout(function(){v=!1},a)}},_=function(){return!e.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},k=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},L=function(){var e=1===g.getNumItemsFn();e!==m&&(k(i,"ui--one-slide",e),m=e)},A=function(){k(l,"share-modal--hidden",I)},F=function(){return I=!I,I?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){I&&A()},300)):(A(),setTimeout(function(){I||t.addClass(l,"pswp__share-modal--fade-in")},30)),I||z(),!1},D=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)),I||F(),!1))},z=function(){for(var e,t,n,i,o,r="",s=0;s<g.shareButtons.length;s++)e=g.shareButtons[s],n=g.getImageURLForShare(e),i=g.getPageURLForShare(e),o=g.getTextForShare(e),t=e.url.replace("{{url}}",encodeURIComponent(i)).replace("{{image_url}}",encodeURIComponent(n)).replace("{{raw_image_url}}",n).replace("{{text}}",encodeURIComponent(o)),r+='<a href="'+t+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",g.parseShareButtonOut&&(r=g.parseShareButtonOut(e,r));l.children[0].innerHTML=r,l.children[0].onclick=D},M=function(e){for(var n=0;n<g.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+g.closeElClasses[n]))return!0},P=0,B=function(){clearTimeout(b),P=0,c&&w.setIdle(!1)},j=function(e){e=e?e:window.event;var t=e.relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout(function(){w.setIdle(!0)},g.timeToIdleOutside))},O=function(){g.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},N=function(){g.preloaderEl&&(R(!0),d("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&R(!1):R(!0)},g.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&R(!0)}))},R=function(e){p!==e&&(k(h,"preloader--active",!e),p=e)},q=function(e){
9var n=e.vGap;if(_()){var s=g.barsSize;if(g.captionEl&&"auto"===s.bottom)if(r||(r=t.createEl("pswp__caption pswp__caption--fake"),r.appendChild(t.createEl("pswp__caption__center")),i.insertBefore(r,o),t.addClass(i,"pswp__ui--fit")),g.addCaptionHTMLFn(e,r,!0)){var a=r.clientHeight;n.bottom=parseInt(a,10)||44}else n.bottom=s.top;else n.bottom="auto"===s.bottom?0:s.bottom;n.top=s.top}else n.top=n.bottom=0},U=function(){g.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",B),t.bind(document,"mouseout",j),x=setInterval(function(){P++,2===P&&w.setIdle(!0)},g.timeToIdle/2)})},H=function(){d("onVerticalDrag",function(e){E&&e<.95?w.hideControls():!E&&e>=.95&&w.showControls()});var e;d("onPinchClose",function(t){E&&t<.9?(w.hideControls(),e=!0):e&&!E&&t>.9&&w.showControls()}),d("zoomGestureEnded",function(){e=!1,e&&!E&&w.showControls()})},W=[{name:"caption",option:"captionEl",onInit:function(e){o=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){F()}},{name:"button--share",option:"shareEl",onInit:function(e){a=e},onTap:function(){F()}}
9,{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){s=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){h=e}}],$=function(){var e,n,o,r=function(i){if(i)for(var r=i.length,s=0;s<r;s++){e=i[s],n=e.className;for(var a=0;a<W.length;a++)o=W[a],n.indexOf("pswp__"+o.name)>-1&&(g[o.option]?(t.removeClass(e,"pswp__element--disabled"),o.onInit&&o.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};r(i.children);var s=t.getChildByClass(i,"pswp__top-bar");s&&r(s.children)};w.init=function(){t.extend(e.options,S,!0),g=e.options,i=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,H(),d("beforeChange",w.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",T),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)}),d("unbindEvents",function(){I||F(),x&&clearInterval(x),t.unbind(document,"mouseout",j),t.unbind(document,"mousemove",B),t.unbind(i,"pswpTap click",T),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(g.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){g.captionEl&&(r&&i.removeChild(r),t.removeClass(o,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(i,"pswp__ui--over-close"),t.addClass(i,"pswp__ui--hidden"),w.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",q),$(),g.shareEl&&a&&l&&(I=!0),L(),U(),O(),N()},w.setIdle=function(e){c=e,k(i,"ui--idle",e)},w.update=function(){E&&e.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(e.currItem,o),k(o,"caption--empty",!e.currItem.title)),C=!0):C=!1,I||F(),L()},w.updateFullscreen=function(i){i&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(s.innerHTML=e.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(n){n=n||window.event;var i=n.target||n.srcElement;if(!v)if(n.detail&&"mouse"===n.detail.pointerType){if(M(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&&(E?w.hideControls():w.showControls()),g.tapToClose&&(t.hasClass(i,"pswp__img")||M(i)))return void e.close()},w.onMouseOver=function(e){e=e||window.event;var t=e.target||e.srcElement;k(i,"ui--over-close",M(t))},w.hideControls=function(){t.addClass(i,"pswp__ui--hidden"),E=!1},w.showControls=function(){E=!0,C||w.update(),t.removeClass(i,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.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"}
9),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 o={features:null,bind:function(e,t,n,i){var o=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var r=0;r<t.length;r++)t[r]&&e[o](t[r],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){o.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){o.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(o.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(o.features)return o.features;var e=o.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=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var r=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var s=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);s&&s.length>0&&(s=parseInt(s[1],10),s>=1&&s<8&&(i.isOldIOSPhone=!0))}var a=r.match(/Android\s([0-9\.]*)/),l=a?a[1]:0;l=parseFloat(l),l>=1&&(l<4.4&&(i.isOldAndroid=!0),i.androidVersion=l),i.isMobileOpera=/opera mini|o
9pera mobi/i.test(r)}for(var u,c,d=["transform","perspective","animationName"],h=["","webkit","Moz","ms","O"],p=0;p<4;p++){n=h[p];for(var f=0;f<3;f++)u=d[f],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,o.features=i,i}};o.detectFeatures(),o.features.oldIE&&(o.bind=function(e,t,n,i){t=t.split(" ");for(var o,r=(i?"detach":"attach")+"Event",s=function(){n.handleEvent.call(n)},a=0;a<t.length;a++)if(o=t[a])if("object"==typeof n&&n.handleEvent){if(i){if(!n["oldIE"+o])return!1}else n["oldIE"+o]=s;e[r]("on"+o,n["oldIE"+o])}else e[r]("on"+o,n)});var r=this,s=25,a=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"};o.extend(l,i);var u,c,d,h,p,f,m,g,v,y,x,b,w,C,E,I,S,T,_,k,L,A,F,D,z,M,P,B,j,O,N,R,q,U,H,W,$,V,G,Z,X,Q,Y,K,J,ee,te,ne,ie,oe,re,se,ae,le,ue,ce,de=function(){return{x:0,y:0}},he=de(),pe=de(),fe=de(),me={},ge=0,ve={},ye=de(),xe=0,be=!0,we=[],Ce={},Ee=!1,Ie=function(e,t){o.extend(r,t.publicMethods),we.push(e)},Se=function(e){var t=Jt();return e>t-1?e-t:e<0?t+e:e},Te={},_e=function(e,t){return Te[e]||(Te[e]=[]),Te[e].push(t)},ke=function(e){var t=Te[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(r,n)}},Le=function(){return(new Date).getTime()},Ae=function(e){le=e,r.bg.style.opacity=e*l.bgOpacity},Fe=function(e,t,n,i,o){(!Ee||o&&o!==r.currItem)&&(i/=o?o.fitRatio:r.currItem.fitRatio),e[A]=b+t+"px, "+n+"px"+w+" scale("+i+")"},De=function(e){ie&&(e&&(y>r.currItem.fitRatio?Ee||(hn(r.currItem,!1,!0),Ee=!0):Ee&&(hn(r.currItem),Ee=!1)),Fe(ie,fe.x,fe.y,y))},ze=function(e){e.container&&Fe(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Me=function(e,t){t[A]=b+e+"px, 0px"+w},Pe=function(e,t){if(!l.loop&&t){var n=h+(ye.x*ge-e)/ye.x,i=Math.round(e-yt.x);(n<0&&i>0||n>=Jt()-1&&i<0)&&(e=yt.x+i*l.mainScrollEndFriction)}yt.x=e,Me(e,p)},Be=function(e,t){var n=xt[e]-ve[e];return pe[e]+he[e]+n-n*(t/x)},je=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Oe=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Ne=null,Re=function(){Ne&&(o.unbind(document,"mousemove",Re),o.addClass(e,"pswp--has_mouse"),l.mouseUsed=!0,ke("mou
9seUsed")),Ne=setTimeout(function(){Ne=null},100)},qe=function(){o.bind(document,"keydown",r),N.transform&&o.bind(r.scrollWrap,"click",r),l.mouseUsed||o.bind(document,"mousemove",Re),o.bind(window,"resize scroll",r),ke("bindEvents")},Ue=function(){o.unbind(window,"resize",r),o.unbind(window,"scroll",v.scroll),o.unbind(document,"keydown",r),o.unbind(document,"mousemove",Re),N.transform&&o.unbind(r.scrollWrap,"click",r),V&&o.unbind(window,m,r),ke("unbindEvents")},He=function(e,t){var n=ln(r.currItem,me,e);return t&&(ne=n),n},We=function(e){return e||(e=r.currItem),e.initialZoomLevel},$e=function(e){return e||(e=r.currItem),e.w>0?l.maxSpreadZoom:1},Ve=function(e,t,n,i){return i===r.currItem.initialZoomLevel?(n[e]=r.currItem.initialPosition[e],!0):(n[e]=Be(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Ge=function(){if(A){var t=N.perspective&&!D;return b="translate"+(t?"3d(":"("),void(w=N.perspective?", 0px)":")")}A="left",o.addClass(e,"pswp--ie"),Me=function(e,t){t.left=e+"px"},ze=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,o=t*e.h;n.width=i+"px",n.height=o+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"},De=function(){if(ie){var e=ie,t=r.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,o=n*t.h;e.width=i+"px",e.height=o+"px",e.left=fe.x+"px",e.top=fe.y+"px"}}},Ze=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,r[t]()))},Xe=function(e){e&&(X||Z||oe||W)&&(e.preventDefault(),e.stopPropagation())},Qe=function(){r.setScrollOffset(0,o.getScrollY())},Ye={},Ke=0,Je=function(e){Ye[e]&&(Ye[e].raf&&M(Ye[e].raf),Ke--,delete Ye[e])},et=function(e){Ye[e]&&Je(e),Ye[e]||(Ke++,Ye[e]={})},tt=function(){for(var e in Ye)Ye.hasOwnProperty(e)&&Je(e)},nt=function(e,t,n,i,o,r,s){var a,l=Le();et(e);var u=function(){if(Ye[e]){if(a=Le()-l,a>=i)return Je(e),r(n),void(s&&s());r((n-t)*o(a/i)+t),Ye[e].raf=z(u)}};u()},it={shout:ke,listen:_e,viewportSize:me,options:l,isMainScrollAnimating:function(){return oe},getZoomLevel:function(){return y},getCurrentIndex:function(){return h},isDragging:function(){return V},isZooming:function(){return J},setScrollOffset:function(e,t){ve.x=e,O=ve.y=t,ke("updateScrollOffset",ve)},applyZoomPan:function(e,t,n,i){fe.x=t,fe.y=n,y=e,De(i)},init:function(){if(!u&&!c){var n;r.framework=o,r.template=e,r.bg=o.getChildByClass(e,"pswp__bg"),P=e.className,u=!0,N=o.detectFeatures(),z=N.raf,M=N.caf,A=N.transform,j=N.oldIE,r.scrollWrap=o.getChildByClass(e,"pswp__scroll-wrap"),r.container=o.getChildByClass(r.scrollWrap,"pswp__container"),p=r.container.style,r.itemHolders=I=[{el:r.container.children[0],wrap:0,index:-1},{el:r.container.children[1],wrap:0,index:-1},{el:r.container.children[2],wrap:0,index:-1}],I[0].el.style.display=I[2].el.style.display="none",Ge(),v={resize:r.updateSize,scroll:Qe,keydown:Ze,click:Xe};var i=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!i||(l.showAnimationDuration=l.hideAnimationDuration=0),n=0;n<we.length;n++)r["init"+we[n]]();if(t){var s=r.ui=new t(r,o);s.init()}ke("firstUpdate"),h=h||l.index||0,(isNaN(h)||h<0||h>=Jt())&&(h=0),r.currItem=Kt(h),(N.isOldIOSPhone||N.isOldAndroid)&&(be=!1),e.setAttribute("aria-hidden","false"),l.modal&&(be?e.style.position="fixed":(e.style.position="absolute",e.style.top=o.getScrollY()+"px")),void 0===O&&(ke("initialLayout"),O=B=o.getScrollY());var d="pswp--open ";for(l.mainClass&&(d+=l.mainClass+" "),l.showHideOpacity&&(d+="pswp--animate_opacity "),d+=D?"pswp--touch":"pswp--notouch",d+=N.animationName?" pswp--css_animation":"",d+=N.svg?" pswp--svg":"",o.addClass(e,d),r.updateSize(),f=-1,xe=null,n=0;n<a;n++)Me((n+f)*ye.x,I[n].el.style);j||o.bind(r.scrollWrap,g,r),_e("initialZoomInEnd",function(){r.setContent(I[0],h-1),r.setContent(I[2],h+1),I[0].el.style.display=I[2].el.style.display="block",l.focus&&e.focus(),qe()}),r.setContent(I[1],h),r.updateCurrItem(),ke("afterInit"),be||(C=setInterval(function(){Ke||V||J||y!==r.currItem.initialZoomLevel||r.updateSize()},1e3)),o.addClass(e,"pswp--visible")}}
9,close:function(){u&&(u=!1,c=!0,ke("close"),Ue(),tn(r.currItem,null,!0,r.destroy))},destroy:function(){ke("destroy"),Zt&&clearTimeout(Zt),e.setAttribute("aria-hidden","true"),e.className=P,C&&clearInterval(C),o.unbind(r.scrollWrap,g,r),o.unbind(window,"scroll",r),It(),tt(),Te=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),fe.x=e,fe.y=t,De()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){e=Se(e);var t=e-h;xe=t,h=e,r.currItem=Kt(h),ge-=t,Pe(ye.x*ge),tt(),oe=!1,r.updateCurrItem()},next:function(){r.goTo(h+1)},prev:function(){r.goTo(h-1)},updateCurrZoomItem:function(e){if(e&&ke("beforeChange",0),I[1].el.children.length){var t=I[1].el.children[0];ie=o.hasClass(t,"pswp__zoom-wrap")?t.style:null}else ie=null;ne=r.currItem.bounds,x=y=r.currItem.initialZoomLevel,fe.x=ne.center.x,fe.y=ne.center.y,e&&ke("afterChange")},invalidateCurrItems:function(){E=!0;for(var e=0;e<a;e++)I[e].item&&(I[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==xe){var t,n=Math.abs(xe);if(!(e&&n<2)){r.currItem=Kt(h),Ee=!1,ke("beforeChange",xe),n>=a&&(f+=xe+(xe>0?-a:a),n=a);for(var i=0;i<n;i++)xe>0?(t=I.shift(),I[a-1]=t,f++,Me((f+2)*ye.x,t.el.style),r.setContent(t,h-n+i+1+1)):(t=I.pop(),I.unshift(t),f--,Me(f*ye.x,t.el.style),r.setContent(t,h+n-i-1-1));if(ie&&1===Math.abs(xe)){var o=Kt(S);o.initialZoomLevel!==y&&(ln(o,me),hn(o),ze(o))}xe=0,r.updateCurrZoomItem(),S=h,ke("afterChange")}}},updateSize:function(t){if(!be&&l.modal){var n=o.getScrollY();if(O!==n&&(e.style.top=n+"px",O=n),!t&&Ce.x===window.innerWidth&&Ce.y===window.innerHeight)return;Ce.x=window.innerWidth,Ce.y=window.innerHeight,e.style.height=Ce.y+"px"}if(me.x=r.scrollWrap.clientWidth,me.y=r.scrollWrap.clientHeight,Qe(),ye.x=me.x+Math.round(me.x*l.spacing),ye.y=me.y,Pe(ye.x*ge),ke("beforeResize"),void 0!==f){for(var i,s,u,c=0;c<a;c++)i=I[c],Me((c+f)*ye.x,i.el.style),u=h+c-1,l.loop&&Jt()>2&&(u=Se(u)),s=Kt(u),s&&(E||s.needsUpdate||!s.bounds)?(r.cleanSlide(s),r.setContent(i,u),1===c&&(r.currItem=s,r.updateCurrZoomItem(!0)),s.needsUpdate=!1):i.index===-1&&u>=0&&r.setContent(i,u),s&&s.container&&(ln(s,me),hn(s),ze(s));E=!1}x=y=r.currItem.initialZoomLevel,ne=r.currItem.bounds,ne&&(fe.x=ne.center.x,fe.y=ne.center.y,De(!0)),ke("resize")},zoomTo:function(e,t,n,i,r){t&&(x=y,xt.x=Math.abs(t.x)-fe.x,xt.y=Math.abs(t.y)-fe.y,je(pe,fe));var s=He(e,!1),a={};Ve("x",s,a,e),Ve("y",s,a,e);var l=y,u={x:fe.x,y:fe.y};Oe(a);var c=function(t){1===t?(y=e,fe.x=a.x,fe.y=a.y):(y=(e-l)*t+l,fe.x=(a.x-u.x)*t+u.x,fe.y=(a.y-u.y)*t+u.y),r&&r(t),De(1===t)};n?nt("customZoomTo",0,1,n,i||o.easing.sine.inOut,c):c(1)}},ot=30,rt=10,st={},at={},lt={},ut={},ct={},dt=[],ht={},pt=[],ft={},mt=0,gt=de(),vt=0,yt=de(),xt=de(),bt=de(),wt=function(e,t){return e.x===t.x&&e.y===t.y},Ct=function(e,t){return Math.abs(e.x-t.x)<s&&Math.abs(e.y-t.y)<s},Et=function(e,t){return ft.x=Math.abs(e.x-t.x),ft.y=Math.abs(e.y-t.y),Math.sqrt(ft.x*ft.x+ft.y*ft.y)},It=function(){Q&&(M(Q),Q=null)},St=function(){V&&(Q=z(St),qt())},Tt=function(){return!("fit"===l.scaleMode&&y===r.currItem.initialZoomLevel)},_t=function(e,t){return!(!e||e===document)&&(!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:_t(e.parentNode,t)))},kt={},Lt=function(e,t){return kt.prevent=!_t(e.target,l.isClickableElement),ke("preventDragEvent",e,t,kt),kt.prevent},At=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Ft=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},Dt=function(e,t,n){if(e-q>50){var i=pt.length>2?pt.shift():{};i.x=t,i.y=n,pt.push(i),q=e}},zt=function(){var e=fe.y-r.currItem.initialPosition.y;return 1-Math.abs(e/(me.y/2))},Mt={},Pt={},Bt=[],jt=function(e){for(;Bt.length>0;)Bt.pop();return F?(ce=0,dt.forEach(function(e){0===ce?Bt[0]=e:1===ce&&(Bt[1]=e),ce++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Bt[0]=At(e.touches[0],Mt),e.touches.length>1&&(Bt[1]=At(e.touches[1],Pt))):(Mt.x=e.pageX,Mt.y=e.pageY,Mt.id="",Bt[0]=Mt),Bt},Ot=function(e,t){var n,i,o,s,a=0,u=fe[e]+t[e],c=t[e]>0,d=yt.x+t.x,h=yt.x-ht.x;return n=u>ne.min[e]||u<ne.max[e]?l.panEndFriction:1,u=fe[e]+t[e]*n,!l.allowPanToNext&&y!==r.currItem.initialZoomLevel||(ie?"h"!==re||"x"!==e||Z||(c?(u>ne.min[e]&&(n=l.panEndFriction,a=ne.min[e]-u,i=ne.min[e]-pe[e]),(i<=0||h<0)&&Jt()>1?(s=d,h<0&&d>ht.x&&(s=ht.x)):ne.min.x!==ne.max.x&&(o=u)):(u<ne.max[e]&&(n=l.panEndFriction,a=u-ne.max[e],i=pe[e]-ne.max[e]),(i<=0||h>0)&&Jt()>1?(s=d,h>0&&d<ht.x&&(s=ht.x)):ne.min.x!==ne.max.x&&(o=u))):s=d,"x"!==e)?void(oe||Y||y>r.currItem.fitRatio&&(fe[e]+=t[e]*n)):(void 0!==s&&(Pe(s,!0),Y=s!==ht.x),ne.min.x!==ne.max.x&&(void 0!==o?fe.x=o:Y||(fe.x+=t.x*n)),void 0!==s)},Nt=function(e){if(!("mousedown"===e.type&&e.button>0)){if(Yt)return void e.preventDefault();if(!$||"mousedown"!==e.type){if(Lt(e,!0)&&e.preventDefault(),ke("pointerDown"),F){var t=o.arraySearch(dt,e.pointerId,"id");t<0&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=jt(e),i=n.length;
9K=null,tt(),V&&1!==i||(V=se=!0,o.bind(window,m,r),H=ue=ae=W=Y=X=G=Z=!1,re=null,ke("firstTouchStart",n),je(pe,fe),he.x=he.y=0,je(ut,n[0]),je(ct,ut),ht.x=ye.x*ge,pt=[{x:ut.x,y:ut.y}],q=R=Le(),He(y,!0),It(),St()),!J&&i>1&&!oe&&!Y&&(x=y,Z=!1,J=G=!0,he.y=he.x=0,je(pe,fe),je(st,n[0]),je(at,n[1]),Ft(st,at,bt),xt.x=Math.abs(bt.x)-fe.x,xt.y=Math.abs(bt.y)-fe.y,ee=te=Et(st,at))}}},Rt=function(e){if(e.preventDefault(),F){var t=o.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(V){var i=jt(e);if(re||X||J)K=i;else if(yt.x!==ye.x*ge)re="h";else{var r=Math.abs(i[0].x-ut.x)-Math.abs(i[0].y-ut.y);Math.abs(r)>=rt&&(re=r>0?"h":"v",K=i)}}},qt=function(){if(K){var e=K.length;if(0!==e)if(je(st,K[0]),lt.x=st.x-ut.x,lt.y=st.y-ut.y,J&&e>1){if(ut.x=st.x,ut.y=st.y,!lt.x&&!lt.y&&wt(K[1],at))return;je(at,K[1]),Z||(Z=!0,ke("zoomGestureStarted"));var t=Et(st,at),n=Vt(t);n>r.currItem.initialZoomLevel+r.currItem.initialZoomLevel/15&&(ue=!0);var i=1,o=We(),s=$e();if(n<o)if(l.pinchToClose&&!ue&&x<=r.currItem.initialZoomLevel){var a=o-n,u=1-a/(o/1.2);Ae(u),ke("onPinchClose",u),ae=!0}else i=(o-n)/o,i>1&&(i=1),n=o-i*(o/3);else n>s&&(i=(n-s)/(6*o),i>1&&(i=1),n=s+i*o);i<0&&(i=0),ee=t,Ft(st,at,gt),he.x+=gt.x-bt.x,he.y+=gt.y-bt.y,je(bt,gt),fe.x=Be("x",n),fe.y=Be("y",n),H=n>y,y=n,De()}else{if(!re)return;if(se&&(se=!1,Math.abs(lt.x)>=rt&&(lt.x-=K[0].x-ct.x),Math.abs(lt.y)>=rt&&(lt.y-=K[0].y-ct.y)),ut.x=st.x,ut.y=st.y,0===lt.x&&0===lt.y)return;if("v"===re&&l.closeOnVerticalDrag&&!Tt()){he.y+=lt.y,fe.y+=lt.y;var c=zt();return W=!0,ke("onVerticalDrag",c),Ae(c),void De()}Dt(Le(),st.x,st.y),X=!0,ne=r.currItem.bounds;var d=Ot("x",lt);d||(Ot("y",lt),Oe(fe),De())}}},Ut=function(e){if(N.isOldAndroid){if($&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout($),$=setTimeout(function(){$=0},600))}ke("pointerUp"),Lt(e,!1)&&e.preventDefault();var t;if(F){var n=o.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.pointerEnabled)t.type=e.pointerType||"mouse";else{var i={4:"mouse",2:"touch",3:"pen"};t.type=i[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}}var s,a=jt(e),u=a.length;if("mouseup"===e.type&&(u=0),2===u)return K=null,!0;1===u&&je(ct,a[0]),0!==u||re||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"})),ke("touchRelease",e,t));var c=-1;if(0===u&&(V=!1,o.unbind(window,m,r),It(),J?c=0:vt!==-1&&(c=Le()-vt)),vt=1===u?Le():-1,s=c!==-1&&c<150?"zoom":"swipe",J&&u<2&&(J=!1,1===u&&(s="zoomPointerUp"),ke("zoomGestureEnded")),K=null,X||Z||oe||W)if(tt(),U||(U=Ht()),U.calculateSwipeSpeed("x"),W){var d=zt();if(d<l.verticalDragRange)r.close();else{var h=fe.y,p=le;nt("verticalDrag",0,1,300,o.easing.cubic.out,function(e){fe.y=(r.currItem.initialPosition.y-h)*e+h,Ae((1-p)*e+p),De()}),ke("onVerticalDrag",1)}}else{if((Y||oe)&&0===u){var f=$t(s,U);if(f)return;s="zoomPointerUp"}if(!oe)return"swipe"!==s?void Gt():void(!Y&&y>r.currItem.fitRatio&&Wt(U))}},Ht=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){pt.length>1?(e=Le()-q+50,t=pt[pt.length-2][i]):(e=Le()-R,t=ct[i]),n.lastFlickOffset[i]=ut[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]||(fe[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:fe[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.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,nt("bounceZoomPan"+e,fe[e],n.backAnimDestination[e],t||300,o.easing.sine.out,function(t){fe[e]=t,De()}))))},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,fe[e]+=n.distanceOffset[e])},panAnimLoop:function(){if(Ye.zoomPan&&(Ye.zoomPan.raf=z(n.panAnimLoop),n.now=Le(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),De(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05))return fe.x=Math.round(fe.x),fe.y=Math.round(fe.y),De(),void Je("zoomPan")}};return n},Wt=function(e){return e.calculateSwipeSpeed("y"),ne=r.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):(et("zoomPan"),e.lastNow=Le(),void e.panAnimLoop())},$t=function(e,t){var n;oe||(mt=h);var i;if("swipe"===e){var s=ut.x-ct.x,a=t.lastFlickDist.x<10;s>ot&&(a||t.lastFlickOffset.x>20)?i=-1:s<-ot&&(a||t.lastFlickOffset.x<-20)&&(i=1)}var u;i&&(h+=i,h<0?(h=l.loop?Jt()-1:0,u=!0):h>=Jt()&&(h=l.loop?0:Jt()-1,u=!0),u&&!l.loop||(xe+=i,ge-=i,n=!0));var c,d=ye.x*ge,p=Math.abs(d-yt.x);return n||d>yt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?p/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,mt===h&&(n=!1),oe=!0,ke("mainScrollAnimStart"),nt("mainScroll",
9yt.x,d,c,o.easing.cubic.out,Pe,function(){tt(),oe=!1,mt=-1,(n||mt!==h)&&r.updateCurrItem(),ke("mainScrollAnimComplete")}),n&&r.updateCurrItem(!0),n},Vt=function(e){return 1/te*e*x},Gt=function(){var e=y,t=We(),n=$e();y<t?e=t:y>n&&(e=n);var i,s=1,a=le;return ae&&!H&&!ue&&y<t?(r.close(),!0):(ae&&(i=function(e){Ae((s-a)*e+a)}),r.zoomTo(e,0,200,o.easing.cubic.out,i),!0)};Ie("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,o){T=e+t,_=e+n,k=e+i,L=o?e+o:""};F=N.pointerEvent,F&&N.touch&&(N.touch=!1),F?navigator.pointerEnabled?e("pointer","down","move","up","cancel"):e("MSPointer","Down","Move","Up","Cancel"):N.touch?(e("touch","start","move","end","cancel"),D=!0):e("mouse","down","move","up"),m=_+" "+k+" "+L,g=T,F&&!D&&(D=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),r.likelyTouchDevice=D,v[T]=Nt,v[_]=Rt,v[k]=Ut,L&&(v[L]=v[k]),N.touch&&(g+=" mousedown",m+=" mousemove mouseup",v.mousedown=v[T],v.mousemove=v[_],v.mouseup=v[k]),D||(l.allowPanToNext=!1)}}});var Zt,Xt,Qt,Yt,Kt,Jt,en,tn=function(t,n,i,s){Zt&&clearTimeout(Zt),Yt=!0,Qt=!0;var a;t.initialLayout?(a=t.initialLayout,t.initialLayout=null):a=l.getThumbBoundsFn&&l.getThumbBoundsFn(h);var u=i?l.hideAnimationDuration:l.showAnimationDuration,c=function(){Je("initialZoom"),i?(r.template.removeAttribute("style"),r.bg.removeAttribute("style")):(Ae(1),n&&(n.style.display="block"),o.addClass(e,"pswp--animated-in"),ke("initialZoom"+(i?"OutEnd":"InEnd"))),s&&s(),Yt=!1};if(!u||!a||void 0===a.x)return ke("initialZoom"+(i?"Out":"In")),y=t.initialZoomLevel,je(fe,t.initialPosition),De(),e.style.opacity=i?0:1,Ae(1),void(u?setTimeout(function(){c()},u):c());var p=function(){var n=d,s=!r.currItem.src||r.currItem.loadError||l.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(y=a.w/t.w,fe.x=a.x,fe.y=a.y-B,r[s?"template":"bg"].style.opacity=.001,De()),et("initialZoom"),i&&!n&&o.removeClass(e,"pswp--animated-in"),s&&(i?o[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){o.addClass(e,"pswp--animate_opacity")},30)),Zt=setTimeout(function(){if(ke("initialZoom"+(i?"Out":"In")),i){var r=a.w/t.w,l={x:fe.x,y:fe.y},d=y,h=le,p=function(t){1===t?(y=r,fe.x=a.x,fe.y=a.y-O):(y=(r-d)*t+d,fe.x=(a.x-l.x)*t+l.x,fe.y=(a.y-O-l.y)*t+l.y),De(),s?e.style.opacity=1-t:Ae(h-t*h)};n?nt("initialZoom",0,1,u,o.easing.cubic.out,p,c):(p(1),Zt=setTimeout(c,u+20))}else y=t.initialZoomLevel,je(fe,t.initialPosition),De(),Ae(1),s?e.style.opacity=1:Ae(1),Zt=setTimeout(c,u+20)},i?25:90)};p()},nn={},on=[],rn={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 Xt.length}},sn=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},an=function(e,t,n){var i=e.bounds;i.center.x=Math.round((nn.x-t)/2),i.center.y=Math.round((nn.y-n)/2)+e.vGap.top,i.max.x=t>nn.x?Math.round(nn.x-t):i.center.x,i.max.y=n>nn.y?Math.round(nn.y-n)+e.vGap.top:i.center.y,i.min.x=t>nn.x?0:i.center.x,i.min.y=n>nn.y?e.vGap.top:i.center.y},ln=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),ke("parseVerticalMargin",e)),nn.x=t.x,nn.y=t.y-e.vGap.top-e.vGap.bottom,i){var o=nn.x/e.w,r=nn.y/e.h;e.fitRatio=o<r?o:r;var s=l.scaleMode;"orig"===s?n=1:"fit"===s&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=sn())}if(!n)return;return an(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},un=function(e,t,n,i,o,s){t.loadError||i&&(t.imageAppended=!0,hn(t,i,t===r.currItem&&Ee),n.appendChild(i),s&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=o.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},dn=function(e,t){if(e.src&&e.loadError&&e.container)return t&&(e.container.innerHTML=""),e.container.innerHTML=l.errorMsg.replace("%url%",e.
9src),!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),o=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=o+"px"),t.style.width=i+"px",t.style.height=o+"px"}},pn=function(){if(on.length){for(var e,t=0;t<on.length;t++)e=on[t],e.holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);on=[]}};Ie("Controller",{publicMethods:{lazyLoadItem:function(e){e=Se(e);var t=Kt(e);t&&(!t.loaded&&!t.loading||E)&&(ke("gettingData",e,t),t.src&&cn(t))},initController:function(){o.extend(l,rn,!0),r.items=Xt=n,Kt=r.getItemAt,Jt=l.getNumItemsFn,en=l.loop,Jt()<3&&(l.loop=!1),_e("beforeChange",function(e){var t,n=l.preload,i=null===e||e>=0,o=Math.min(n[0],Jt()),s=Math.min(n[1],Jt());for(t=1;t<=(i?s:o);t++)r.lazyLoadItem(h+t);for(t=1;t<=(i?o:s);t++)r.lazyLoadItem(h-t)}),_e("initialLayout",function(){r.currItem.initialLayout=l.getThumbBoundsFn&&l.getThumbBoundsFn(h)}),_e("mainScrollAnimComplete",pn),_e("initialZoomInEnd",pn),_e("destroy",function(){for(var e,t=0;t<Xt.length;t++)e=Xt[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!==Xt[e]&&Xt[e])},allowProgressiveImg:function(){return l.forceProgressiveLoading||!D||l.mouseUsed||screen.width>1200},setContent:function(e,t){l.loop&&(t=Se(t));var n=r.getItemAt(e.index);n&&(n.container=null);var i,s=r.getItemAt(t);if(!s)return void(e.el.innerHTML="");ke("gettingData",t,s),e.index=t,e.item=s;var a=s.container=o.createEl("pswp__zoom-wrap");if(!s.src&&s.html&&(s.html.tagName?a.appendChild(s.html):a.innerHTML=s.html),
10dn(s),ln(s,me),!s.src||s.loadError||s.loaded)s.src&&!s.loadError&&(i=o.createEl("pswp__img","img"),i.style.opacity=1,i.src=s.src,hn(s,i),un(t,s,a,i,!0));else{if(s.loadComplete=function(n){if(u){if(e&&e.index===t){if(dn(n,!0))return n.loadComplete=n.img=null,ln(n,me),ze(n),void(e.index===h&&r.updateCurrZoomItem());n.imageAppended?!Yt&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):N.transform&&(oe||Yt)?on.push({item:n,baseDiv:a,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,a,n.img,oe||Yt,!0)}n.loadComplete=null,n.img=null,ke("imageLoadComplete",t,n)}},o.features.transform){var c="pswp__img pswp__img--placeholder";c+=s.msrc?"":" pswp__img--placeholder--blank";var d=o.createEl(c,s.msrc?"img":"");s.msrc&&(d.src=s.msrc),hn(s,d),a.appendChild(d),s.placeholder=d}s.loading||cn(s),r.allowProgressiveImg()&&(!Qt&&N.transform?on.push({item:s,baseDiv:a,img:s.img,index:t,holder:e}):un(t,s,a,s.img,!0,!0))}Qt||t!==h?ze(s):(ie=a.style,tn(s,i||s.img)),e.el.innerHTML="",e.el.appendChild(a)},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var fn,mn={},gn=function(e,t,n){var i=document.createEvent("CustomEvent"),o={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,o),e.target.dispatchEvent(i)};Ie("Tap",{publicMethods:{initTap:function(){_e("firstTouchStart",r.onTapStart),_e("touchRelease",r.onTapRelease),_e("destroy",function(){mn={},fn=null})},onTapStart:function(e){e.length>1&&(clearTimeout(fn),fn=null)},onTapRelease:function(e,t){if(t&&!X&&!G&&!Ke){var n=t;if(fn&&(clearTimeout(fn),fn=null,Ct(n,mn)))return void ke("doubleTap",n);if("mouse"===t.type)return void gn(e,t,"mouse");var i=e.target.tagName.toUpperCase();if("BUTTON"===i||o.hasClass(e.target,"pswp__single-tap"))return void gn(e,t);je(mn,n),fn=setTimeout(function(){gn(e,t),fn=null},300)}}}});var vn;Ie("DesktopZoom",{publicMethods:{initDesktopZoom:function(){j||(D?_e("mouseUsed",function(){r.setupDesktopZoom()}):r.setupDesktopZoom(!0))},setupDesktopZoom:function(t){vn={};var n="wheel mousewheel DOMMouseScroll";_e("bindEvents",function(){o.bind(e,n,r.handleMouseWheel)}),_e("unbindEvents",function(){vn&&o.unbind(e,n,r.handleMouseWheel)}),r.mouseZoomedIn=!1;var i,s=function(){r.mouseZoomedIn&&(o.removeClass(e,"pswp--zoomed-in"),r.mouseZoomedIn=!1),y<1?o.addClass(e,"pswp--zoom-allowed"):o.removeClass(e,"pswp--zoom-allowed"),a()},a=function(){i&&(o.removeClass(e,"pswp--dragging"),i=!1)};_e("resize",s),_e("afterChange",s),_e("pointerDown",function(){r.mouseZoomedIn&&(i=!0,o.addClass(e,"pswp--dragging"))}),_e("pointerUp",a),t||s()},handleMouseWheel:function(e){if(y<=r.currItem.fitRatio)return l.modal&&(!l.closeOnScroll||Ke||V?e.preventDefault():A&&Math.abs(e.deltaY)>2&&(d=!0,r.close())),!0;if(e.stopPropagation(),vn.x=0,"deltaX"in e)1===e.deltaMode?(vn.x=18*e.deltaX,vn.y=18*e.deltaY):(vn.x=e.deltaX,vn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(vn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?vn.y=-.16*e.wheelDeltaY:vn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;vn.y=e.detail}He(y,!0);var t=fe.x-vn.x,n=fe.y-vn.y;(l.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),r.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:me.x/2+ve.x,y:me.y/2+ve.y};var n=l.getDoubleTapZoom(!0,r.currItem),i=y===n;r.mouseZoomedIn=!i,r.zoomTo(i?r.currItem.initialZoomLevel:n,t,333),o[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var yn,xn,bn,wn,Cn,En,In,Sn,Tn,_n,kn,Ln,An={history:!0,galleryUID:1},Fn=function(){return kn.hash.substring(1)},Dn=function(){yn&&clearTimeout(yn),bn&&clearTimeout(bn)},zn=function(){var e=Fn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var o=i[n].split("=");o.length<2||(t[o[0]]=o[1])}if(l.galleryPIDs){var r=t.pid;for(t.pid=0,n=0;n<Xt.length;n++)if(Xt[n].pid===r){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Mn=function(){if(bn&&clearTimeout(bn),Ke||V)return void(bn=setTimeout(
10Mn,500));wn?clearTimeout(xn):wn=!0;var e=h+1,t=Kt(h);t.hasOwnProperty("pid")&&(e=t.pid);var n=In+"&gid="+l.galleryUID+"&pid="+e;Sn||kn.hash.indexOf(n)===-1&&(_n=!0);var i=kn.href.split("#")[0]+"#"+n;Ln?"#"+n!==window.location.hash&&history[Sn?"replaceState":"pushState"]("",document.title,i):Sn?kn.replace(i):kn.hash=n,Sn=!0,xn=setTimeout(function(){wn=!1},60)};Ie("History",{publicMethods:{initHistory:function(){if(o.extend(l,An,!0),l.history){kn=window.location,_n=!1,Tn=!1,Sn=!1,In=Fn(),Ln="pushState"in history,In.indexOf("gid=")>-1&&(In=In.split("&gid=")[0],In=In.split("?gid=")[0]),_e("afterChange",r.updateURL),_e("unbindEvents",function(){o.unbind(window,"hashchange",r.onHashChange)});var e=function(){En=!0,Tn||(_n?history.back():In?kn.hash=In:Ln?history.pushState("",document.title,kn.pathname+kn.search):kn.hash=""),Dn()};_e("unbindEvents",function(){d&&e()}),_e("destroy",function(){En||e()}),_e("firstUpdate",function(){h=zn().pid});var t=In.indexOf("pid=");t>-1&&(In=In.substring(0,t),"&"===In.slice(-1)&&(In=In.slice(0,-1))),setTimeout(function(){u&&o.bind(window,"hashchange",r.onHashChange)},40)}},onHashChange:function(){return Fn()===In?(Tn=!0,void r.close()):void(wn||(Cn=!0,r.goTo(zn().pid),Cn=!1))},updateURL:function(){Dn(),Cn||(Sn?yn=setTimeout(Mn,800):Mn())}}}),o.extend(r,it)};return e}),function(){"use strict";const e="Popup--news",t="popup_newsletter",n=function(){s(),0===document.getElementById(e).length||"disabled"===document.getElementById(e).dataset.popupState?u(t):i()},i=function(){const t=a();if("1"===t)r();else{var n=parseInt(localStorage.getItem("pageCount"));isNaN(n)&&(n=1);const i=parseInt(document.getElementById(e).dataset.popupDisplaypage);n>=i?o():r()}},o=function(){d(document.getElementById(e),"block")},r=function(){c(document.getElementById(e))},s=function(){var e=localStorage.getItem("pageCount");null===e?localStorage.setItem("pageCount","1"):(e=parseInt(e)+1,localStorage.setItem("pageCount",e))},a=function(){const e=0;var n;if(""!==document.cookie){n=document.cookie.split("; ");for(var i=0;i<n.length;i++)if(n[i].split("=")[0]===t)return n[i].split("=")[1]}return e},l=function(e){var n="";if(e){const i=new Date;i.setTime(i.getTime()+24*e*60*60*1e3),n="; expires="+i.toUTCString()}document.cookie=t+"=1"+n+"; path=/"},u=function(){document.cookie=t+"=; Max-Age=-99999999;"},c=function(e){e.style.opacity=1,function t(){(e.style.opacity-=.1)<0?(e.style.display="none",e.style.visibility="hidden",e.style.zIndex="0"):requestAnimationFrame(t)}()},d=function(e,t){e.style.opacity=0,e.style.display=t||"block",e.style.visibility="visible",e.style.zIndex="1000000000",function n(){var t=parseFloat(e.style.opacity);(t+=.1)>1||(e.style.opacity=t,requestAnimationFrame(n))}()};document.querySelectorAll("#PopupNewsletterClose").forEach(function(t){const n=function(){return"ontouchend"in document.documentElement?"touchend":"click"};t.addEventListener(n(),function(){null!==document.getElementById(e)&&("visible"!==document.getElementById(e).style.visibility&&"block"!==document.getElementById(e).style.display||(l(365),r()))})}),document.addEventListener("DOMContentLoaded",function(){null!==document.getElementById(e)&&(n(),initSendethicForm())})}(),function(){"use strict";document.addEventListener("DOMContentLoaded",function(e){document.body.classList.contains("preload")&&document.body.classList.remove("preload")})}(),function(e){function t(){o=document.querySelector(r),o&&"function"==typeof PhotoSwipe&&(e(s).on("click",a,n),e(s).on("click",l,n))}function n(t){t.preventDefault();var n=e(t.currentTarget);c.trigger("destroy.owl.carousel").removeClass("owl-carousel owl-loaded");var r=n.parents(s).find(a),l=i(r),h=new PhotoSwipe(o,PhotoSwipeUI_Default,l,u);h.options.index=r.index(n),h.init(),h.listen("close",function(){c.owlCarousel(d),c.addClass("owl-carousel owl-loaded")})}function i(t){var n=[];return t.each(function(t,i){var o=e(i);n.push({src:o.attr("href"),msrc:o.attr("data-small"),w:parseInt(o.attr("data-width"),10),h:parseInt(o.attr("data-height"),10)})}),n}e(document).ready(t);var o,r=".pswp",s=".planches-source",a=".planches-source--item",l=".js-planches-btn",u={bgOpacity:.85,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">L\'image</a> n\'a pas pu être chargée.</div>
10',shareEl:!1,arrowEl:!0,closeOnScroll:!1,closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,counterEl:!0,preloaderEl:!0},c=e(".BookList-list"),d={loop:!1,nav:!0,navText:["<",">"],dots:!1,slideBy:"page",animateIn:"fadeIn",animateOut:"fadeOut",smartSpeed:0,responsive:{0:{items:1},479:{items:2},639:{items:3},991:{items:5}}}}(jQuery),function(){"use strict";function e(e,t,n){var i,o,r,s,a,l=function(){const u=Date.now()-s;u<t&&u>=0?i=setTimeout(l,t-u):(i=null,n||(a=e.apply(r,o),i||(r=o=null)))};return function(){r=this,o=arguments,s=Date.now();const u=n&&!i;return i||(i=setTimeout(l,t)),u&&(a=e.apply(r,o),r=o=null),a}}const t=".Popup-form",n="js-popupSearchField-input",i=".SearchSuggest",o=".SearchSuggest-content",r=3,s=500;var a,l,u,c="/Catalogue/(recherche)/",d="/_searchAutocomplete",h="";const p=function(){const e=document.querySelector(t);null!==e&&(c=e.dataset.page||c,d=e.dataset.json||d,a=document.getElementById(n),l=document.querySelector(i),u=document.querySelector(o),e.onsubmit=function(e){e.preventDefault(),c&&h.length>=r&&(window.location=c+encodeURI(h))},a.onkeyup=function(e){27===e.which&&(a.value="");const t=a.value.trim();t!==h&&(h=t,t.length<r?m(""):f(t))})},f=e(function(e){e&&fetch(d,{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({search:encodeURIComponent(e)})}).then(function(e){if(e.ok)return e.json()}).then(function(e){m(e.content)})},s),m=function(e){e="string"==typeof e?e.trim():"",e?(u.innerHTML=e,l.setAttribute("aria-hidden","false")):(l.setAttribute("aria-hidden","true"),u.innerHTML="")};document.addEventListener("DOMContentLoaded",function(){p()})}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e:e(jQuery)}(function(e){e.expander={version:"1.7.0",defaults:{slicePoint:100,sliceOn:null,preserveWords:!0,normalizeWhitespace:!0,showWordCount:!1,detailPrefix:" ",wordCountText:" ({{count}} words)",widow:4,expandText:"read more",expandPrefix:"&hellip; ",expandAfterSummary:!1,wordEnd:/(&(?:[^;]+;)?|[0-9a-zA-Z\u00C0-\u0100]+|[^\u0000-\u007F]+)$/,summaryClass:"summary",detailClass:"details",moreClass:"read-more",lessClass:"read-less",moreLinkClass:"more-link",lessLinkClass:"less-link",collapseTimer:0,expandEffect:"slideDown",expandSpeed:250,collapseEffect:"slideUp",collapseSpeed:200,userCollapse:!0,userCollapseText:"read less",userCollapsePrefix:" ",onSlice:null,beforeExpand:null,afterExpand:null,onCollapse:null,afterCollapse:null}},e.fn.expander=function(t){function n(e,t){var n="span",i=e.summary,o=g.exec(i),r=o?o[2].toLowerCase():"";return t?(n="div",o&&"a"!==r&&!e.expandAfterSummary?i=i.replace(g,e.moreLabel+"$1"):i+=e.moreLabel,i='<div class="'+e.summaryClass+'">'+i+"</div>"):i+=e.moreLabel,[i,e.detailPrefix||"","<",n+' class="'+e.detailClass+'"',">",e.details,"</"+n+">"].join("")}function i(e,t){var n='<span class=" '+e.moreClass+'">'+e.expandPrefix;return e.showWordCount?e.wordCountText=e.wordCountText.replace(/\{\{count\}\}/,t.replace(p,"").replace(/\&(?:amp|nbsp);/g,"").replace(/(?:^\s+|\s+$)/,"").match(/\w+/g).length):e.wordCountText="",n+='<a href="#" class="'+e.moreLinkClass+'">'+e.expandText+e.wordCountText+"</a></span>"}function o(t,n){return t.lastIndexOf("<")>t.lastIndexOf(">")&&(t=t.slice(0,t.lastIndexOf("<"))),n&&(t=t.replace(h,"")),e.trim(t)}function r(e,t){t.stop(!0,!0)[e.collapseEffect](e.collapseSpeed,function(){var n=t.prev("span."+e.moreClass).show();n.length||t.parent().children("div."+e.summaryClass).show().find("span."+e.moreClass).show(),e.afterCollapse&&e.afterCollapse.call(t)})}function s(t,n,i){t.collapseTimer&&(u=setTimeout(function(){r(t,n),e.isFunction(t.onCollapse)&&t.onCollapse.call(i,!1)},t.collapseTimer))}function a(t){var n="ExpandMoreHere374216623",i=t.summaryText.replace(t.sliceOn,n);i=e("<div>"+i+"</div>").text();var o=i.indexOf(n),r=t.summaryText.indexOf(t.sliceOn);return o!==-1&&o<t.slicePoint&&(t.summaryText=t.allHtml.slice(0,r)),t}var l="init";"string"==typeof t&&(l=t,t={});var u,c=e.extend({},e.expander.defaults,t),d=/^<(?:area|br|col|embed|hr|img|input|link|meta|param).*>$/i,h=c.wordEnd,p=/<\/?(\w+)[^>]*>/g,f=/<(\w+)[^>]*>/g,m=/<\/(\w+)>/g,g=/(<\/([^>]+)>)\s*$/,v=/^(<[^>]+>)+.?/,y=/\s\s+/g,x=function(t){return c.normalizeWhitespace?e.trim(t||"").replace(y," "):t},b={init:function(){this.each(function(){var t,l,h,g,y,b,w,C,E,I,S,T,_,k,L,A=[],F=[],D="",z={},M=this,P=e(this),B=e([]),j=e.extend({},c,P.data("expander")||e.meta&&P.data()||{}),O=!!P.find("."+j.detailClass).length,N=!!P.find("*").filter(function(){var t=e(this).css("display");return/^block|table|list/.test(t)}).length,R=N?"div":"span",q=R+"."+j.detailClass,U=j.moreClass+"",H=j.lessClass+"",W=j.expandSpeed||0,$=x(P.html()),V=$.slice(0,j.slicePoint);if(j.moreSelector="span."+U.split(" ").join("."),j.lessSelector="span."+H.split(" ").join("."),!e.data(this,"expanderInit")){for(e.data(this,"expanderInit",!0),e.data(this,"expander",j),e.each(["onSlice","beforeExpand","afterExpand","onCollapse","afterCollapse"],function(t,n){z[n]=e.isFunction(j[n])}),V=o(V),y=V.replace(p,"").length;y<j.slicePoint;)g=$.charAt(V.length),"<"===g&&(g=$.slice(V.length).match(v)[0]),V+=g,y++;for(j.sliceOn&&(L=a({sliceOn:j.sliceOn,slicePoint:j.slicePoint,allHtml:$,summaryText:V}),V=L.summaryText),V=o(V,j.preserveWords&&$.slice(V.length).length),b=V.match(f)||[],w=V.match(m)||[],h=[],e.each(b,function(e,t){d.test(t)||h.push(t)}),b=h,l=w.length,t=0;t<l;t++)w[t]=w[t].replace(m,"$1");if(e.each(b,function(t,n){var i=n.replace(f,"$1"),o=e.inArray(i,w);o===-1?(A.push(n),F.push("</"+i+">")):w.splice(o,1)}),F.reverse(),O)E=P.find(q).remove().html(),V=P.html(),$=V+E,C="";else{if(E=$.slice(V.length),I=e.trim(E.replace(p,"")),""===I||I.split(/\s+/).length<j.widow)return;C=F.pop()||"",V+=F.join(""),E=A.join("")+E}j.moreLabel=P.find(j.moreSelector).length?"":i(j,E),N?E=$:"&"===V.charAt(V.length-1)&&(D=/^[#\w\d\\]+;/.exec(E),D&&(E=E.slice(D[0].length),V+=D[0])),V+=C,j.summary=V,j.details=E,j.lastCloseTag=C,z.onSlice&&(h=j.onSlice.call(M,j),j=h&&h.details?h:j),S=n(j,N),P.empty().append(S),_=P.find(q),k=P.find(j.moreSelector),"slideUp"===j.collapseEffect&&"slideDown"!==j.expandEffect||P.is(":hidden")?_.css({display:"none"}):_[j.collapseEffect](0),B=P.find("div."+j.summaryClass),T=function(e){e.preventDefault();var t=e.startExpanded?0:W;
10k.hide(),B.hide(),z.beforeExpand&&j.beforeExpand.call(M),_.stop(!1,!0)[j.expandEffect](t,function(){_.css({zoom:""}),z.afterExpand&&j.afterExpand.call(M),s(j,_,M)})},k.find("a").unbind("click.expander").bind("click.expander",T),j.userCollapse&&!P.find(j.lessSelector).length&&P.find(q).append('<span class="'+j.lessClass+'">'+j.userCollapsePrefix+'<a href="#" class="'+j.lessLinkClass+'">'+j.userCollapseText+"</a></span>"),P.find(j.lessSelector+" a").unbind("click.expander").bind("click.expander",function(t){t.preventDefault(),clearTimeout(u);var n=e(this).closest(q);r(j,n),z.onCollapse&&j.onCollapse.call(M,!0)}),j.startExpanded&&T({preventDefault:function(){},startExpanded:!0})}})},destroy:function(){this.each(function(){var t,n,i=e(this);i.data("expanderInit")&&(t=e.extend({},i.data("expander")||{},c),n=i.find("."+t.detailClass).contents(),i.removeData("expanderInit"),i.removeData("expander"),i.find(t.moreSelector).remove(),i.find("."+t.summaryClass).remove(),i.find("."+t.detailClass).after(n).remove(),i.find(t.lessSelector).remove())})}};return b[l]&&b[l].call(this),this},e.fn.expander.defaults=e.expander.defaults});var hsResume=$(".Heartstroke-advice");hsResume.length&&hsResume.expander({slicePoint:370,preserveWords:!0,expandText:"",expandPrefix:"&hellip;",expandSpeed:300,expandEffect:"fadeIn",collapseEffect:"fadeOut",collapseSpeed:200,userCollapse:!0,userCollapseText:"",moreClass:"HeartStroke-expandPlus",lessClass:"HeartStroke-expandLess",moreLinkClass:"HeartStroke-trigger",lessLinkClass:"HeartStroke-trigger"}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e:e(jQuery)}(function(e){e.expander={version:"1.7.0",defaults:{slicePoint:100,sliceOn:null,preserveWords:!0,normalizeWhitespace:!0,showWordCount:!1,detailPrefix:" ",wordCountText:" ({{count}} words)",widow:4,expandText:"read more",expandPrefix:"&hellip; ",expandAfterSummary:!1,wordEnd:/(&(?:[^;]+;)?|[0-9a-zA-Z\u00C0-\u0100]+|[^\u0000-\u007F]+)$/,summaryClass:"summary",detailClass:"details",moreClass:"read-more",lessClass:"read-less",moreLinkClass:"more-link",lessLinkClass:"less-link",collapseTimer:0,expandEffect:"slideDown",expandSpeed:250,collapseEffect:"slideUp",collapseSpeed:200,userCollapse:!0,userCollapseText:"read less",userCollapsePrefix:" ",onSlice:null,beforeExpand:null,afterExpand:null,onCollapse:null,afterCollapse:null}},e.fn.expander=function(t){function n(e,t){var n="span",i=e.summary,o=g.exec(i),r=o?o[2].toLowerCase():"";return t?(n="div",o&&"a"!==r&&!e.expandAfterSummary?i=i.replace(g,e.moreLabel+"$1"):i+=e.moreLabel,i='<div class="'+e.summaryClass+'">'+i+"</div>"):i+=e.moreLabel,[i,e.detailPrefix||"","<",n+' class="'+e.detailClass+'"',">",e.details,"</"+n+">"].join("")}function i(e,t){var n='<span class="'+e.moreClass+'">'+e.expandPrefix;return e.showWordCount?e.wordCountText=e.wordCountText.replace(/\{\{count\}\}/,t.replace(p,"").replace(/\&(?:amp|nbsp);/g,"").replace(/(?:^\s+|\s+$)/,"").match(/\w+/g).length):e.wordCountText="",n+='<a href="#" class="'+e.moreLinkClass+'">'+e.expandText+e.wordCountText+"</a></span>"}function o(t,n){return t.lastIndexOf("<")>t.lastIndexOf(">")&&(t=t.slice(0,t.lastIndexOf("<"))),n&&(t=t.replace(h,"")),e.trim(t)}function r(e,t){t.stop(!0,!0)[e.collapseEffect](e.collapseSpeed,function(){var n=t.prev("span."+e.moreClass).show();n.length||t.parent().children("div."+e.summaryClass).show().find("span."+e.moreClass).show(),e.afterCollapse&&e.afterCollapse.call(t)})}function s(t,n,i){t.collapseTimer&&(u=setTimeout(function(){r(t,n),e.isFunction(t.onCollapse)&&t.onCollapse.call(i,!1)},t.collapseTimer))}function a(t){var n="ExpandMoreHere374216623",i=t.summaryText.replace(t.sliceOn,n);i=e("<div>"+i+"</div>").text();var o=i.indexOf(n),r=t.summaryText.indexOf(t.sliceOn);return o!==-1&&o<t.slicePoint&&(t.summaryText=t.allHtml.slice(0,r)),t}var l="init";"string"==typeof t&&(l=t,t={});var u,c=e.extend({},e.expander.defaults,t),d=/^<(?:area|br|col|embed|hr|img|input|link|meta|param).*>$/i,h=c.wordEnd,p=/<\/?(\w+)[^>]*>/g,f=/<(\w+)[^>]*>/g,m=/<\/(\w+)>/g,g=/(<\/([^>]+)>)\s*$/,v=/^(<[^>]+>)+.?/,y=/\s\s+/g,x=function(t){return c.normalizeWhitespace?e.trim(t||"").replace(y," "):t},b={init:function(){this.each(function(){var t,l,h,g,y,b,w,C,E,I,S,T,_,k,L,A=[],F=[],D="",z={},M=this,P=e(this),B=e([]),j=e.extend({},c,P.data("expander")||e.meta&&P.data()||{}),O=!!P.find("."+j.detailClass).length,N=!!P.find("*").filter(function(){var t=e(this).css("display");return/^block|table|list/.test(t)}).length,R=N?"div":"span",q=R+"."+j.detailClass,U=j.moreClass+"",H=j.lessClass+"",W=j.expandSpeed||0,$=x(P.html()),V=$.slice(0,j.slicePoint);if(j.moreSelector="span."+U.split(" ").join("."),j.lessSelector="span."+H.split(" ").join("."),!e.data(this,"expanderInit")){for(e.data(this,"expanderInit",!0),e.data(this,"expander",j),e.each(["onSlice","beforeExpand","afterExpand","onCollapse","afterCollapse"],function(t,n){z[n]=e.isFunction(j[n])}),V=o(V),y=V.replace(p,"").length;y<j.slicePoint;)g=$.charAt(V.length),"<"===g&&(g=$.slice(V.length).match(v)[0]),V+=g,y++;for(j.sliceOn&&(L=a({sliceOn:j.sliceOn,slicePoint:j.slicePoint,allHtml:$,summaryText:V}),V=L.summaryText),V=o(V,j.preserveWords&&$.slice(V.length).length),b=V.match(f)||[],w=V.match(m)||[],h=[],e.each(b,function(e,t){d.test(t)||h.push(t)}),b=h,l=w.length,t=0;t<l;t++)w[t]=w[t].replace(m,"$1");if(e.each(b,function(t,n){var i=n.replace(f,"$1"),o=e.inArray(i,w);o===-1?(A.push(n),F.push("</"+i+">")):w.splice(o,1)}),F.reverse(),O)E=P.find(q).remove().html(),V=P.html(),$=V+E,C="";else{if(E=$.slice(V.length),I=e.trim(E.replace(p,"")),""===I||I.split(/\s+/).length<j.widow)return;C=F.pop()||"",V+=F.join(""),E=A.join("")+E}j.moreLabel=P.find(j.moreSelector).length?"":i(j,E),N?E=$:"&"===V.charAt(V.length-1)&&(D=/^[#\w\d\\]+;/.exec(E),D&&(E=E.slice(D[0].length),V+=D[0])),V+=C,j.summary=V,j.details=E,j.lastCloseTag=C,z.onSlice&&(h=j.onSlice.call(M,j),j=h&&h.details?h:j),S=n(j,N),P.empty().append(S),_=P.find(q),k=P.find(j.moreSelector),"slideUp"===j.collapseEffect&&"slideDown"!==j.expandEffect||P.is(":hidden")?_.css({display:"none"}):_[j.collapseEffect](0),B=P.find("div."+j.summaryClass),T=function(e){e.preventDefault();var t=e.startExpanded?0:W;
10k.hide(),B.hide(),z.beforeExpand&&j.beforeExpand.call(M),_.stop(!1,!0)[j.expandEffect](t,function(){_.css({zoom:""}),z.afterExpand&&j.afterExpand.call(M),s(j,_,M)})},k.find("a").unbind("click.expander").bind("click.expander",T),j.userCollapse&&!P.find(j.lessSelector).length&&P.find(q).append('<span class="'+j.lessClass+'">'+j.userCollapsePrefix+'<a href="#" class="'+j.lessLinkClass+'">'+j.userCollapseText+"</a></span>"),P.find(j.lessSelector+" a").unbind("click.expander").bind("click.expander",function(t){t.preventDefault(),clearTimeout(u);var n=e(this).closest(q);r(j,n),z.onCollapse&&j.onCollapse.call(M,!0)}),j.startExpanded&&T({preventDefault:function(){},startExpanded:!0})}})},destroy:function(){this.each(function(){var t,n,i=e(this);i.data("expanderInit")&&(t=e.extend({},i.data("expander")||{},c),n=i.find("."+t.detailClass).contents(),i.removeData("expanderInit"),i.removeData("expander"),i.find(t.moreSelector).remove(),i.find("."+t.summaryClass).remove(),i.find("."+t.detailClass).after(n).remove(),i.find(t.lessSelector).remove())})}};return b[l]&&b[l].call(this),this},e.fn.expander.defaults=e.expander.defaults});var summaryText=$(".Book-summary[data-field='resume']");summaryText.length&&summaryText.expander({slicePoint:300,preserveWords:!0,expandText:"Lire la suite",expandSpeed:100,expandEffect:"fadeIn",userCollapse:!1});var bookResume=$(".BookPage-resume[data-field='resume']");bookResume.length&&bookResume.expander({slicePoint:800,preserveWords:!0,expandText:"Lire la suite",expandSpeed:100,expandEffect:"fadeIn",userCollapse:!1}),function(){function e(){const e=jQuery(t);0!==e.length&&e.owlCarousel({loop:!0,nav:!0,items:1,animateIn:"fadeIn",animateOut:"fadeOut",autoplay:!0,autoplayTimeout:7e3,autoplaySpeed:1e3,autoHeight:!0})}jQuery(window).ready(e);const t=".Slider"}(),function(){const e=".js-State",t=".js-State-btn",n=function(){const n=document.querySelectorAll(e);n.forEach(function(e){"active"===e.dataset.state&&e.hasAttribute("data-state")||(e.dataset.state="inactive")});const o=document.querySelectorAll(t);o.forEach(function(e){e.addEventListener("click",i,!0)});const r=!!navigator.userAgent.match(/(iPad)/g);r&&(document.body.style.cursor="pointer")},i=function(t){t.stopPropagation();const n=t.currentTarget,i=n.parentNode,o=document.querySelectorAll(e);"active"!==i.dataset.state?(o.forEach(function(e){e.dataset.state="inactive"}),i.dataset.state="active"):i.dataset.state="inactive"};document.addEventListener("DOMContentLoaded",function(){n()})}(),function(){"use strict";window.addEventListener("scroll",function(){const e=window.pageYOffset|document.body.scrollTop,t=document.querySelector(".Header-block");if(null!==t){var n=document.querySelector(".Header-links").scrollHeight;window.innerWidth<992&&(n=1),e>=n?t.classList.add("Header-sticky"):t.classList.remove("Header-sticky")}})}(),function(){"use strict";document.addEventListener("DOMContentLoaded",function(){t()});const e="[data-toggle]",t=function(){const t=document.querySelector(e);null!==t&&(t.onclick=function(e){const t=e.currentTarget,n=document.getElementById(t.getAttribute("aria-controls"));t.setAttribute("aria-expanded","true"===t.getAttribute("aria-expanded")?"false":"true"),n.setAttribute("aria-hidden","true"===n.getAttribute("aria-hidden")?"false":"true")})}}();var parser=new UAParser,result=parser.getResult();const browserName=result.browser.name.replace(" ","").toLowerCase(),browserVersion=result.browser.major.toLowerCase(),device=result.os.name.toLowerCase();document.documentElement.className=""+device+" "+browserName+" "+browserName+"-"+browserVersion;const initSendethicEnseignantForm=function(e,t){if(null!==document.querySelector(".se_form")){const n=document.querySelector("body").dataset.siteaccess,o=!!document.querySelector(".se_form").dataset.isModalBox,r=document.querySelector(".se_form").dataset.encryptedKey,s=new MB_Form_JsApp;s.ContainerId="se_form_1",s.AccountId=document.querySelector(".se_form").dataset.accountId,s.OperationId=document.querySelector(".se_form").dataset.operationId,s.OperationType="form",0<r.length&&(s.UserData=!0,s.UserId=r),s.modalbox=o,s.SalutationMrs_Value="Mad
10ame",s.SalutationMrs_MatchValues=["madame","mme","mademoiselle","mlle","mrs","femme"],s.SalutationMr_Value="Monsieur",s.SalutationMr_MatchValues=["monsieur","m","m.","mr","homme"],s.FieldContainer={Firstname:"divItem-0-4",Lastname:"divItem-0-5",DateOfBirth:"divItem-0-6",Profession:"divItem-0-7",TeachingLevel:"divItem-0-8",TeachingClass:"divItem-0-9",TeachingSubject:"divItem-0-10",SchoolTitle:"divItem-0-11",SchoolName:"divItem-0-12",SchoolAddress1:"divItem-0-13",SchoolAddress2:"divItem-0-14",SchoolAddress3:"divItem-0-15",SchoolZipcode:"divItem-0-16",SchoolCity:"divItem-0-17",SchoolCountry:"divItem-0-21",LegalNotice:"divItem-0-23"};const a=[{TeachingLevelValue:"14",ShowLevelForProfession:["1","2","4"],TeachingClassValues:["25","26","27"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"15",ShowLevelForProfession:["1","2","4"],TeachingClassValues:["28","29","30","31","32"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"16",ShowLevelForProfession:["2","1","3"],TeachingClassValues:["33","34","35","36"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"24",ShowLevelForProfession:["1","2"],TeachingClassValues:[],ShowClassForProfession:[]}],l=[{TeachingLevelValue:"16",ShowLevelForProfession:["2","1","3"],TeachingClassValues:["33","34","35","36"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"17",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:["37","38","39"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"18",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:["40","41","42"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"19",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:["43","44","45"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"20",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:["46","47","48"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"21",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:["49","50","51"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"22",ShowLevelForProfession:["1","2"],TeachingClassValues:["52","53","54"],ShowClassForProfession:["1","2"]},{TeachingLevelValue:"23",ShowLevelForProfession:["2","3","1","9"],TeachingClassValues:[],ShowClassForProfession:[]},{TeachingLevelValue:"24",ShowLevelForProfession:["1","2"],TeachingClassValues:[],ShowClassForProfession:[]}];s.CustomTeachingUI={ProfessionFieldId:"36",TeachingLevelFieldId:"38",TeachingClassFieldId:"39",BirthdateFieldId:"43",Groups:"flammarion"===n?l:a,Subjects:{ShowForProfession:["10","64","1","2"],ShowForLevel:"flammarion"===n?["-1","16","17","16","17","18","19","20","21"]:["-1","16","17","16","17","18","19","21","21"]},Address:{SchoolNameFieldId:"29",SchoolAddress1FieldId:"address1",SchoolAddress2FieldId:"address2",SchoolAddress3FieldId:"32",SchoolZipcodeFieldId:"zipcode",SchoolCityFieldId:"city",SchoolCountryFieldId:"34"},Type:{TypeFieldId:"46",TypeFieldValueFr:"267",TypeFieldValueOther:"268"},EnableCustomAdressForProfession:["5","6","7","10","64","11","12","13"]},s.modalbox===!0&&(document.getElementById(s.ContainerId).parentElement.style.display="none",document.getElementById(s.ContainerId).parentElement.classList.add("se_modalbox")),s.OnSubmitEnd=function(){f()},s.OnLoadEnd=function(){u()},s.OnSubmitStart=function(){return c(e,t)},s.Init();const u=function(){const e=document.getElementById(s.ContainerId);var t=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.BirthdateFieldId);if("undefined"!=typeof t&&null!==t){var n=t.value;if(""!==n){n=n.trim(),n=n.replace(/([ /])/g,"-");var i=n.split("-");t.value=i[2]+"-"+i[1]+"-"+i[0]}t.type="date"}var o,r=e.getElementsByClassName("formText");for(o=0;o<r.length;o++){var a=r[o].getElementsByTagName("label")[0],l=r[o].getElementsByClassName("formTextInput")[0],u=l.getElementsByTagName("input")[0];"date"!==u.type&&u.setAttribute("placeholder",a.innerHTML)}Object.keys(s.FieldContainer).forEach(function(e){var t=document.getElementById(s.FieldContainer[e]);"undefined"!=typeof t&&null!==t&&t.classList.add(e)});var c=document.getElementById("formItem-mbtext-salutation");if("undefined"!=typeof c&&null!==c){c.style.display="none",c.parentElement.classList.remove("formTextInput"),c.parentElement.classList.add("formSelectionSingleValues"),c.parentElement.parentElement.classList.remove("formText"),c.parentElement.parentElement.classList.add("formSelectionSingle"),c.parentElement.innerHTML=c.parentElement.innerHTML+'<div class="formSelectionSingleValueForSingleLine"><label><input type="radio" id="CustomSalutation-Mrs" name="CustomSalutation" value="'+s.SalutationMrs_Value+'">'+s.SalutationMrs_Value+'</label></div><div class="formSelectionSingleValueForSingleLine"><label><input type="radio" id="CustomSalutation-Mr" name="CustomSalutation" value="'+s.SalutationMr_Value+'">'+s.SalutationMr_Value+"</label></div>";var h=c.value;if("undefined"!=typeof h&&null!==h&&""!==h){h=h.toLowerCase();var f=!1,m=!1;for(o=0;o<s.SalutationMrs_MatchValues.length;o++)s.SalutationMrs_MatchValues[o].toLowerCase()===h&&(f=!0);for(o=0;o<s.SalutationMr_MatchValues.length;o++)s.SalutationMr_MatchValues[o].toLowerCase()===h&&(m=!0);f===!0?(document.getElementById("CustomSalutation-Mrs").checked=!0,document.getElementById("CustomSalutation-Mr").checked=!1):m===!0&&(document.getElementById("CustomSalutation-Mrs").checked=!1,document.getElementById("CustomSalutation-Mr").checked=!0)}document.getElementById("CustomSalutation-Mrs").addEventListener("change",function(e){var t=document.getElementById("formItem-mbtext-salutation");t.value=s.SalutationMrs_Value}),document.getElementById("CustomSalutation-Mr").addEventListener("change",function(e){var t=document.getElementById("formItem-mbtext-salutation");t.value=s.SalutationMr_Value})}document.getElementById(s.FieldContainer.TeachingLevel).style.display="none",document.getElementById(s.FieldContainer.TeachingClass).style.display="none",document.getElementById(s.FieldContainer.TeachingSubject).style.display="none";var g=document.querySelectorAll("#"+s.FieldContainer.TeachingLevel+" .formSelectionMultipleValueForMultipleLines input");for(o=0;o<g.length;o++){var v=!1,y=g[o].id.split("_")[1];for(j=0;j<s.CustomTeachingUI.Groups.length;j++)y===s.CustomTeachingUI.Groups[j].TeachingLevelValue&&(v=!0);v===!1&&(g[o].parentElement.parentElement.style.display="none")}for(o=0;o<s.CustomTeachingUI.Groups.length;o++){var x=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[o].TeachingLevelValue),b="";for(j=0;j<s.CustomTeachingUI.Groups[o].TeachingClassValues.length;j++){var w=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingClassFieldId+"_"+s.CustomTeachingUI.Groups[o].TeachingClassValues[j]);b+='<div class="TeachingClassValue">'+w.parentElement.parentElement.innerHTML+"</div>",w.parentElement.parentElement.innerHTML=""}if(""!==b){var C="none";
11x.checked===!0&&(C="block"),x.parentElement.innerHTML=x.parentElement.innerHTML+'<div id="formItem-mbmultiple-'+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[o].TeachingLevelValue+'_TeachingClassValues" class="TeachingClassValues" style="display:'+C+';"><div class="TeachingClassValuesContainer">'+b+"</div></div>"}for(x=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[o].TeachingLevelValue),x.addEventListener("change",function(e){var t=document.getElementById(e.target.id+"_TeachingClassValues");"undefined"!=typeof t&&null!==t&&(e.target.checked===!0?t.style.display="block":t.style.display="none"),p()}),j=0;j<s.CustomTeachingUI.Groups[o].TeachingClassValues.length;j++){var w=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingClassFieldId+"_"+s.CustomTeachingUI.Groups[o].TeachingClassValues[j]);w.addEventListener("change",function(e){p()})}}var E=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.ProfessionFieldId);E.innerHTML='<option value="">Sélectionnez votre profession</option>'+E.innerHTML,E.addEventListener("change",function(e){p()}),s.modalbox===!0&&("undefined"!=typeof E.options[E.selectedIndex]&&null!==E.options[E.selectedIndex]&&""!==E.options[E.selectedIndex].value||(document.getElementById(s.ContainerId).parentElement.style.display="block"));var I=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),S=!1;if("undefined"!=typeof I&&null!==I&&("undefined"!=typeof I.options[I.selectedIndex]&&null!==I.options[I.selectedIndex]&&""!==I.options[I.selectedIndex].value&&"france"!==I.options[I.selectedIndex].innerHTML.toLowerCase()&&"choisir"!==I.options[I.selectedIndex].innerHTML.toLowerCase()||(S=!0)),S===!0&&"undefined"!=typeof s.CustomTeachingUI.Type){var T=document.getElementById("formItem-mbsingle-"+s.CustomTeachingUI.Type.TypeFieldId);"undefined"!=typeof T&&null!==T&&T.value===s.CustomTeachingUI.Type.TypeFieldValueOther&&(S=!1)}var _='<div id="customCountry" class="clearfix"><label class="customCountryLabel"><input type="radio" id="customCountry_fr" name="customCountry" value="france"';if(S===!0&&(_+=" checked "),_+='> Établissement en France</label><label class="customCountryLabel"><input type="radio" id="customCountry_global" name="customCountry" value="global" ',S!==!0&&(_+=" checked "),_+='> <span class="otherCountryLabel" id="otherCountryLabel">Établissement dans un autre pays</span><span class="otherAdressLabel" id="otherAdressLabel" style="display:none;">Autre adresse professionnelle</span></label></div><div id="searchSchool" class="formTextInput" ><input type="text" id="searchSchoolValue" placeholder="Nom de l\'établissement, code postal ou ville"/> <button id="searchSchoolButton">Recherche</button></div><div id="searchSchoolResults"></div><div id="searchSchoolResultNotFound"><label><input type="checkbox" id="searchSchoolResultNotFoundCheckbox"/> Mon adresse professionnelle ne figure pas dans cette liste.</label></div><div id="searchSchoolResultSelected"></div>',document.getElementById(s.FieldContainer.SchoolName).insertAdjacentHTML("beforeBegin",_),S===!0&&""!==document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value){searchSchoolResultHtml="<b>"+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value+"</b><br/>"+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value+"<br/>",""!==document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value&&(searchSchoolResultHtml+=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value+"<br/>"),searchSchoolResultHtml+=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value+" "+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value+"<br/>";var k=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId);searchSchoolResultHtml+=k.options[k.selectedIndex].innerHTML,document.getElementById("searchSchoolResultSelected").innerHTML=searchSchoolResultHtml,document.getElementById("searchSchoolResultSelected").style.display="block",document.getElementById("searchSchoolResultNotFound").style.display="none"}else document.getElementById("searchSchoolResultSelected").style.display="none",document.getElementById("searchSchoolResultNotFound").style.display="none";document.getElementById("searchSchoolButton").addEventListener("click",function(e){return d(),e.preventDefault(),!1});for(var L=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),o=0;o<L.options.length;o++)if("france"===L.options[o].text.toLowerCase()){S===!0?(L.options[o].disabled=!1,L.options[o].style.display="block",L.selectedIndex=o):(L.options[o].disabled=!0,L.options[o].style.display="none");break}document.getElementById("searchSchoolResultNotFoundCheckbox").addEventListener("change",function(e){document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress3FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value="",document.getElementById("searchSchoolResultSelected").innerHTML="",document.getElementById("searchSchoolResultSelected").style.display="none"}),document.getElementById("customCountry_fr").addEventListener("change",function(e){document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress3FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value="",document.getElementById("searchSchoolResultSelected").innerHTML="",document.getElementById("searchSchoolResultSelected").style.display="none",document.getElementById("searchSchoolResultNotFound").style.display="block";for(var t=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),n=0;n<t.options.length;n++)if("france"===t.options[n].text.toLowerCase()){t.options[n].disabled=!1,t.options[n].style.display="block",t.selectedIndex=n;break}p()}),document.getElementById("customCountry_global").addEventListener("change",function(e){document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress3FieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value="",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value="",document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId).value="",document.getElementById("searchSchoolValue").value="",document.getElementById("searchSchoolResults").innerHTML="",document.getElementById("searchSchoolResultSelected").innerHTML="",document.getElementById("searchSchoolResultSelected").style.display="none",document.getElementById("searchSchoolResultNotFound").style.display="none";for(var t=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),n=0;n<t.options.length;n++)if("france"===t.options[n].text.toLowerCase()){t.options[n].disabled=!0,t.options[n].style.display="none";break}p()}),p()},c=function(e,t){const n=document.querySelectorAll(".formError");
11n.forEach(function(e){e.classList.remove("formError")});var i=document.getElementById("customErrorMessage");"undefined"!=typeof i&&null!==i&&i.remove();var o=0;""===document.getElementById("formItem-mbtext-salutation").value&&(o++,document.getElementById("formItem-mbtext-salutation").parentElement.classList.add("formError")),""===document.getElementById("formItem-mbtext-firstname").value&&(o++,document.getElementById("formItem-mbtext-firstname").classList.add("formError")),""===document.getElementById("formItem-mbtext-lastname").value&&(o++,document.getElementById("formItem-mbtext-lastname").classList.add("formError")),""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.BirthdateFieldId).value&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.BirthdateFieldId).classList.add("formError"));var r=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.ProfessionFieldId);if("undefined"==typeof r.options[r.selectedIndex]||null===r.options[r.selectedIndex]||""===r.options[r.selectedIndex].value)o++,r.classList.add("formError");else{var a=0,l=0;for(x=0;x<s.CustomTeachingUI.Groups.length;x++)for(j=0;j<s.CustomTeachingUI.Groups[x].ShowLevelForProfession.length;j++)s.CustomTeachingUI.Groups[x].ShowLevelForProfession[j]===r.options[r.selectedIndex].value&&(a++,document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[x].TeachingLevelValue).checked===!0&&l++);if(a>0&&0===l)for(o++,x=0;x<s.CustomTeachingUI.Groups.length;x++)document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[x].TeachingLevelValue).parentElement.parentElement.classList.add("formError");if("block"===document.getElementById(s.FieldContainer.TeachingSubject).style.display){var u=document.querySelectorAll("#"+s.FieldContainer.TeachingSubject+" input[type=checkbox]"),c=0,d=0;for(x=0;x<u.length;x++)c++,u[x].checked===!0&&d++;if(c>0&&0===d)for(o++,x=0;x<u.length;x++)u[x].parentElement.parentElement.classList.add("formError")}}if(document.getElementById("customCountry_fr").checked===!0){if(""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value&&document.getElementById("searchSchoolResultNotFoundCheckbox").checked===!1){var h=document.getElementById("searchSchoolResultsValues");"undefined"==typeof h||null===h?(o++,document.getElementById("searchSchoolValue").classList.add("formError")):""===h.options[h.selectedIndex].value&&(o++,h.classList.add("formError"))}}else{""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value&&document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.contains("not-required")===!1&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.add("formError")),""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).classList.add("formError")),""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).classList.add("formError")),""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).classList.add("formError")),""===document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value&&(o++,document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).classList.add("formError"));var p=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId);"undefined"!=typeof p.options[p.selectedIndex]&&null!==p.options[p.selectedIndex]&&""!==p.options[p.selectedIndex].value||(o++,p.classList.add("formError"))}if(0===o){var f=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.BirthdateFieldId);if("undefined"!=typeof f&&null!==f){var m=f.value;if(""!==m){m=m.trim(),m=m.replace(/([ /])/g,"-");var g=m.split("-");f.type="text",f.value=g[2]+"/"+g[1]+"/"+g[0]}else f.type="text"}if("block"!==document.getElementById(s.FieldContainer.TeachingLevel).style.display){var u=document.querySelectorAll("#"+s.FieldContainer.TeachingLevel+" input[type=checkbox]");for(x=0;x<u.length;x++)u[x].checked=!1}
11else{var u=document.querySelectorAll("#"+s.FieldContainer.TeachingLevel+" input[type=checkbox]");for(x=0;x<u.length;x++)u[x].checked===!0&&("none"!==u[x].style.display&&"none"!==u[x].parentElement.style.display&&"none"!==u[x].parentElement.parentElement.style.display&&"none"!==u[x].parentElement.parentElement.parentElement.style.display||(u[x].checked=!1));for(x=0;x<s.CustomTeachingUI.Groups.length;x++){var v=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[x].TeachingLevelValue);if(v.checked===!1)for(j=0;j<s.CustomTeachingUI.Groups[x].TeachingClassValues.length;j++)v=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingClassFieldId+"_"+s.CustomTeachingUI.Groups[x].TeachingClassValues[j]),v.checked=!1}}if("block"!==document.getElementById(s.FieldContainer.TeachingSubject).style.display){var u=document.querySelectorAll("#"+s.FieldContainer.TeachingSubject+" input[type=checkbox]");for(x=0;x<u.length;x++)u[x].checked=!1}for(var y=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),x=0;x<y.options.length;x++)if("france"===y.options[x].text.toLowerCase()){y.options[x].disabled=!1,y.options[x].style.display="block";break}var b="/Enseignants/_update_sendethic_data?",w={};const C=document.querySelector(".se_formEnseignant");return"undefined"!=typeof C&&null!==C&&""!==C.dataset.refererUrl&&(w.redirectReferer=encodeURI(C.dataset.refererUrl)),null!==e&&(w.userId=e),window.location.href=b+new URLSearchParams(w),!0}const E=document.querySelector(".formSubmit");return"undefined"!=typeof E&&null!==E&&E.insertAdjacentHTML("beforeBegin",'<div id="customErrorMessage" class="formError">Merci de renseigner les champs surlignés en rouge avant de valider le formulaire.</div>'),!1},d=function(){const e=document.getElementById("searchSchoolValue").value;""!==e&&(document.getElementById("searchSchoolButton").disabled=!0,document.getElementById("searchSchoolValue").disabled=!0,document.getElementById("searchSchoolResults").innerHTML='<div class="se_loader"></div>',h("https://data.education.gouv.fr/api/records/1.0/search/?dataset=fr-en-annuaire-education&q="+encodeURIComponent(e).replace("%20","+")+"&facet=etat&facet=ouvert&rows=1000",function(e){if("undefined"!=typeof e&&null!==e&&""!==e)if("undefined"!=typeof e.records&&null!==e.records&&""!==e.records&&e.records.length>0){for(i=0;i<e.records.length;i++)e.records[i].OptionText=e.records[i].fields.nom_etablissement+" - "+e.records[i].fields.code_postal+" - "+e.records[i].fields.nom_commune;e.records.sort(function(e,t){return e.OptionText<t.OptionText?-1:1});var t='<div class="formSelectionSingleValues"><select id="searchSchoolResultsValues"><option value="">Sélectionnez votre établissement</option>';for(i=0;i<e.records.length;i++){var n=e.records[i].fields.nom_etablissement.replace(/([\|"])/g," ")+"|"+e.records[i].fields.nom_commune.replace(/([\|"])/g," ")+"|"+e.records[i].fields.code_postal.replace(/([\|"])/g," ")+"|";n+="undefined"!=typeof e.records[i].fields.adresse_1&&null!==e.records[i].fields.adresse_1?e.records[i].fields.adresse_1.replace(/([\|"])/g," ")+"|":"|",n+="undefined"!=typeof e.records[i].fields.adresse_2&&null!==e.records[i].fields.adresse_2?e.records[i].fields.adresse_2.replace(/([\|"])/g," ")+"|":"|",n+="undefined"!=typeof e.records[i].fields.adresse_3&&null!==e.records[i].fields.adresse_3?e.records[i].fields.adresse_3.replace(/([\|"])/g," ")+"|":"|",t+='<option value="'+n+'">'+e.records[i].OptionText+"</option>"}t+="</select></div>",document.getElementById("searchSchoolResults").innerHTML=t,document.getElementById("searchSchoolResultNotFound").style.display="block",document.getElementById("searchSchoolResultsValues").addEventListener("change",function(e){var t=e.target.options[e.target.selectedIndex].value,n=t.split("|");if(""!==n[0]){document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value=n[0],document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value=n[3],document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value=n[4],document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress3FieldId).value=n[5],document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value=n[2],document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value=n[1];for(var i=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),o=0;o<i.options.length;o++)if("france"===i.options[o].text.toLowerCase()){i.selectedIndex=o;break}searchSchoolResultHtml="<b>"+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).value+"</b><br/>"+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress1FieldId).value+"<br/>",""!==document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value&&(searchSchoolResultHtml+=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolAddress2FieldId).value+"<br/>"),searchSchoolResultHtml+=document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolZipcodeFieldId).value+" "+document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolCityFieldId).value+"<br/>";var r=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId);searchSchoolResultHtml+=r.options[r.selectedIndex].innerHTML,document.getElementById("searchSchoolResultSelected").innerHTML=searchSchoolResultHtml,document.getElementById("searchSchoolResultSelected").style.display="block",document.getElementById("searchSchoolResultNotFound").style.display="none"}else document.getElementById("searchSchoolResultNotFound").style.display="block"})}else document.getElementById("searchSchoolResults").innerHTML='<div class="se_apiError">Aucun établissement ne correspond à votre recherche</div>';else document.getElementById("searchSchoolResults").innerHTML='<div class="se_apiError">Une erreur s\'est produite veuillez réessayer</div>';document.getElementById("searchSchoolButton").disabled=!1,document.getElementById("searchSchoolValue").disabled=!1}))},h=function(e,t){var n=document.createElement("script"),i="jsonpcallback_"+(new Date).getTime();window[i]=function(e){t(e)},n.src=e+(e.indexOf("?")>-1?"&":"?")+"callback="+i,document.getElementsByTagName("head")[0].appendChild(n)},p=function(){if(void 0!==s){var e=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.ProfessionFieldId),t=e.options[e.selectedIndex].value;if("undefined"==typeof t||null===t||""===t){if(document.getElementById(s.FieldContainer.TeachingLevel).style.display="none",document.getElementById(s.FieldContainer.TeachingSubject).style.display="none","undefined"!=typeof s.CustomTeachingUI.EnableCustomAdressForProfession){document.getElementById("otherCountryLabel").style.display="inline",document.getElementById("otherAdressLabel").style.display="none",document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.add("required"),document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.remove("not-required");for(var n=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),i=0;i<n.options.length;
11i++)if("france"===n.options[i].text.toLowerCase()){n.options[i].disabled=!0,n.options[i].style.display="none";break}}}else{document.getElementById(s.FieldContainer.TeachingLevel).style.display="block";var o=0,r=[];for(i=0;i<s.CustomTeachingUI.Groups.length;i++){var a=!1;for(j=0;j<s.CustomTeachingUI.Groups[i].ShowLevelForProfession.length;j++)s.CustomTeachingUI.Groups[i].ShowLevelForProfession[j]===t&&(a=!0);var l=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[i].TeachingLevelValue);if("undefined"!=typeof l&&null!==l)if(a===!0){if(l.parentElement.parentElement.style.display="block",l.checked===!0){var u=l.id.split("_");r.push(u[1])}o++}else l.parentElement.parentElement.style.display="none";for(a=!1,j=0;j<s.CustomTeachingUI.Groups[i].ShowClassForProfession.length;j++)s.CustomTeachingUI.Groups[i].ShowClassForProfession[j]===t&&(a=!0);l=document.getElementById("formItem-mbmultiple-"+s.CustomTeachingUI.TeachingLevelFieldId+"_"+s.CustomTeachingUI.Groups[i].TeachingLevelValue+"_TeachingClassValues"),"undefined"!=typeof l&&null!==l&&(a===!0?l.getElementsByClassName("TeachingClassValuesContainer")[0].style.display="block":l.getElementsByClassName("TeachingClassValuesContainer")[0].style.display="none")}var c=!1,d=!1;for(i=0;i<s.CustomTeachingUI.Subjects.ShowForProfession.length;i++)s.CustomTeachingUI.Subjects.ShowForProfession[i]===t&&(c=!0);if(o>0){if(document.getElementById(s.FieldContainer.TeachingLevel).style.display="block",c===!0)for(i=0;i<s.CustomTeachingUI.Subjects.ShowForLevel.length;i++)for(j=0;j<r.length;j++)s.CustomTeachingUI.Subjects.ShowForLevel[i]===r[j]&&(d=!0)}else if(document.getElementById(s.FieldContainer.TeachingLevel).style.display="none",c===!0)for(i=0;i<s.CustomTeachingUI.Subjects.ShowForLevel.length;i++)"-1"===s.CustomTeachingUI.Subjects.ShowForLevel[i]&&(d=!0);if(d===!0?document.getElementById(s.FieldContainer.TeachingSubject).style.display="block":document.getElementById(s.FieldContainer.TeachingSubject).style.display="none","undefined"!=typeof s.CustomTeachingUI.EnableCustomAdressForProfession){var h=!1;for(i=0;i<s.CustomTeachingUI.EnableCustomAdressForProfession.length;i++)t===s.CustomTeachingUI.EnableCustomAdressForProfession[i]&&(h=!0);if(h===!0){document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.remove("required"),document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.add("not-required"),document.getElementById("otherCountryLabel").style.display="none",document.getElementById("otherAdressLabel").style.display="inline";for(var n=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),i=0;i<n.options.length;i++)if("france"===n.options[i].text.toLowerCase()){n.options[i].disabled=!1,n.options[i].style.display="block";break}}else{document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.add("required"),document.getElementById("formItem-mbtext-"+s.CustomTeachingUI.Address.SchoolNameFieldId).classList.remove("not-required"),document.getElementById("otherCountryLabel").style.display="inline",document.getElementById("otherAdressLabel").style.display="none";for(var n=document.querySelector("select#formItem-mbsingle-"+s.CustomTeachingUI.Address.SchoolCountryFieldId),i=0;i<n.options.length;i++)if("france"===n.options[i].text.toLowerCase()){n.options[i].disabled=!0,n.options[i].style.display="none";break}}}}document.getElementById("customCountry_fr").checked===!0?(document.getElementById(s.FieldContainer.SchoolName).style.display="none",document.getElementById(s.FieldContainer.SchoolAddress1).style.display="none",document.getElementById(s.FieldContainer.SchoolAddress2).style.display="none",document.getElementById(s.FieldContainer.SchoolAddress3).style.display="none",document.getElementById(s.FieldContainer.SchoolZipcode).style.display="none",document.getElementById(s.FieldContainer.SchoolCity).style.display="none",document.getElementById(s.FieldContainer.SchoolCountry).style.display="none",document.getElementById("searchSchool").style.display="block",document.getElementById("searchSchoolResults").style.display="block","undefined"!=typeof s.CustomTeachingUI.Type&&(document.getElementById("formItem-mbsingle-"+s.CustomTeachingUI.Type.TypeFieldId).value=s.CustomTeachingUI.Type.TypeFieldValueFr)):(document.getElementById(s.FieldContainer.SchoolName).style.display="block",document.getElementById(s.FieldContainer.SchoolAddress1).style.display="block",document.getElementById(s.FieldContainer.SchoolAddress2).style.display="block",document.getElementById(s.FieldContainer.SchoolAddress3).style.display="block",document.getElementById(s.FieldContainer.SchoolZipcode).style.display="block",document.getElementById(s.FieldContainer.SchoolCity).style.display="block",document.getElementById(s.FieldContainer.SchoolCountry).style.display="block",document.getElementById("searchSchool").style.display="none",document.getElementById("searchSchoolResults").style.display="none",document.getElementById("searchSchoolResultSelected").style.display="none",document.getElementById("searchSchoolResultNotFound").style.display="none","undefined"!=typeof s.CustomTeachingUI.Type&&(document.getElementById("formItem-mbsingle-"+s.CustomTeachingUI.Type.TypeFieldId).value=s.CustomTeachingUI.Type.TypeFieldValueOther))}},f=function(){var e=document.getElementById(s.ContainerId),t=e.getElementsByClassName("formCompleted");t.length>0?s.modalbox===!0&&(e.parentElement.style.display="none"):u()}}},initSendethicForm=function(){const e=new MB_Form_JsApp;if(null!==document.querySelector(".se_form")){const t=document.querySelector(".se_form").dataset.typeJs;if(e.ContainerId="se_form_1",null!==document.getElementById(e.ContainerId)){e.AccountId=document.querySelector(".se_form").dataset.accountId,e.OperationId=document.querySelector(".se_form").dataset.operationId,e.OperationType="form","full"===t?e.UserData=window.location.href.indexOf("sedata=true")!==-1:e.UserData="true"===e.GetParameterByName("sedata"),e.SalutationMrs_Value="Mad
11ame",e.SalutationMrs_MatchValues=["madame","mme","mademoiselle","mlle","mrs","femme"],e.SalutationMr_Value="Monsieur",e.SalutationMr_MatchValues=["monsieur","m","m.","mr","homme"],"full"===t&&(e.SubscriptionFields=[{Id:"formItem-mbsingle-30",SubscriptionYesValue:"10",SubscriptionNoValue:"11",DateFieldId:"formItem-mbtext-32",OriginFieldId:"formItem-mbsingle-31"},{Id:"formItem-mbsingle-42",SubscriptionYesValue:"18",SubscriptionNoValue:"22",DateFieldId:"formItem-mbtext-44",OriginFieldId:"formItem-mbsingle-43"}]);const n=function(){const e=document.getElementById("formItem-mbsingle-emailoptintracking");if(null===e)return null;for(var t=e.parentElement;null!==t&&!t.classList.contains("formSelectionSingle");)t=t.parentElement;return t},i=function(){const e=n();null!==e&&e.classList.add("formSelectionSingle--trackingConsent")},o=document.getElementById(e.ContainerId),r=function(e){const t=document.getElementById(e),n=document.getElementById("labelOf-"+e),i=o.querySelectorAll('input[name="'+e+'"]');var r=!0;return i.length>0&&("radio"===i[0].type||"checkbox"===i[0].type)?r=Array.prototype.some.call(i,function(e){return e.checked}):null!==t&&(r=""!==t.value.trim()),null!==t&&t.classList.toggle("formError",!r),null!==n&&n.classList.toggle("formError",!r),r},s=function(){const e=o.querySelectorAll('input[name^="required-"][value="true"]');var t=!0;return e.forEach(function(e){const n=e.name.replace("required-","");r(n)||(t=!1)}),t},a=new MutationObserver(i);a.observe(o,{childList:!0,subtree:!0});const l=function(e){const t=o.querySelector('input[name="required-'+e.target.name+'"][value="true"]');null!==t&&r(e.target.name)}
11;o.addEventListener("input",l),o.addEventListener("change",l),e.OnSubmitEnd=function(){u()},e.OnLoadEnd=function(){u()},e.OnSubmitStart=function(){return s()},e.Init();const u=function(){const n=document.getElementById(e.ContainerId);if(null!==n){const o=n.getElementsByClassName("formText");var r;for(r=0;r<o.length;r++){const s=o[r].getElementsByTagName("label")[0],a=o[r].getElementsByClassName("formTextInput")[0],l=a.getElementsByTagName("input")[0];l.setAttribute("placeholder",s.innerHTML)}const u=document.getElementById("formItem-mbtext-salutation");if("undefined"!=typeof u&&null!==u){u.style.display="none",u.parentElement.classList.remove("formTextInput"),u.parentElement.classList.add("formSelectionSingleValues"),u.parentElement.parentElement.classList.remove("formText"),u.parentElement.parentElement.classList.add("formSelectionSingle"),u.parentElement.innerHTML=u.parentElement.innerHTML+'<div class="formSelectionSingleValueForSingleLine"><label><input type="radio" id="CustomSalutation-Mrs" name="CustomSalutation" value="'+e.SalutationMrs_Value+'">'+e.SalutationMrs_Value+'</label></div><div class="formSelectionSingleValueForSingleLine"><label><input type="radio" id="CustomSalutation-Mr" name="CustomSalutation" value="'+e.SalutationMr_Value+'">'+e.SalutationMr_Value+"</label></div>";var c=u.value;if("undefined"!=typeof c&&null!==c&&""!==c){c=c.toLowerCase();for(var d=!1,h=!1,r=0;r<e.SalutationMrs_MatchValues.length;r++)e.SalutationMrs_MatchValues[r].toLowerCase()===c&&(d=!0);for(var r=0;r<e.SalutationMr_MatchValues.length;r++)e.SalutationMr_MatchValues[r].toLowerCase()===c&&(h=!0);d===!0?(document.getElementById("CustomSalutation-Mrs").checked=!0,document.getElementById("CustomSalutation-Mr").checked=!1):h===!0&&(document.getElementById("CustomSalutation-Mrs").checked=!1,document.getElementById("CustomSalutation-Mr").checked=!0)}document.getElementById("CustomSalutation-Mrs").addEventListener("change",function(t){const n=document.getElementById("formItem-mbtext-salutation");n.value=e.SalutationMrs_Value}),document.getElementById("CustomSalutation-Mr").addEventListener("change",function(t){const n=document.getElementById("formItem-mbtext-salutation");n.value=e.SalutationMr_Value})}if(i(),"full"===t)for(var r=0;r<e.SubscriptionFields.length;r++){document.getElementById("labelOf-"+e.SubscriptionFields[r].Id).parentElement.style.margin="0 0 10px 0";const p=document.getElementById(e.SubscriptionFields[r].DateFieldId).value;document.getElementById(e.SubscriptionFields[r].DateFieldId).setAttribute("data-defaultvalue",p);const f=document.getElementById(e.SubscriptionFields[r].OriginFieldId).value;document.getElementById(e.SubscriptionFields[r].OriginFieldId).setAttribute("data-defaultvalue",f);const m=document.querySelector('input[name="'+e.SubscriptionFields[r].Id+'"]');var g="";"undefined"!=typeof m&&null!==m&&(g=m.value),e.SubscriptionFields[r].SubscriptionYesValue===g?(document.getElementById(e.SubscriptionFields[r].DateFieldId).value=document.getElementById(e.SubscriptionFields[r].DateFieldId).getAttribute("data-defaultvalue"),document.getElementById(e.SubscriptionFields[r].OriginFieldId).value=document.getElementById(e.SubscriptionFields[r].OriginFieldId).getAttribute("data-defaultvalue")):(document.getElementById(e.SubscriptionFields[r].DateFieldId).value="",document.getElementById(e.SubscriptionFields[r].OriginFieldId).value="");const v=document.querySelectorAll('input[name="'+e.SubscriptionFields[r].Id+'"]');v.forEach(function(t){t.addEventListener("change",function(t){e.SubscriptionFields.forEach(function(e){t.srcElement.id===e.Id+"_"+e.SubscriptionYesValue?(document.getElementById(e.DateFieldId).value=document.getElementById(e.DateFieldId).getAttribute("data-defaultvalue"),
12document.getElementById(e.OriginFieldId).value=document.getElementById(e.OriginFieldId).getAttribute("data-defaultvalue")):t.srcElement.id===e.Id+"_"+e.SubscriptionNoValue&&(document.getElementById(e.DateFieldId).value="",document.getElementById(e.OriginFieldId).value="")})})})}}}}}};
13/**
14 * Google Analytics
15 * @type {{init}}
16 */
17;(function () {
18
19  "use strict";
20  let CONTAINER_SEL = '[data-ga-selector]';
21  let GA_TYPE_SEND = 'send';
22  let GA_TYPE_EVENT = 'event';
23
24  let CONTAINER_FORM_OK = '[data-flag]';
25
26
27  /**
28   * Init Module
29   */
30  const initGa = function () {
31
32    if (null !== document.querySelectorAll(CONTAINER_SEL) && 0 === document.querySelectorAll(CONTAINER_SEL).length) {
33      return;
34    }
35
36    if (typeof _ga === 'undefined') {
37      return;
38    }
39
40    if (null !== document.querySelector(CONTAINER_FORM_OK) && 0 < document.querySelector(CONTAINER_FORM_OK).length) {
41      let eventCategory = document.querySelector(CONTAINER_FORM_OK).dataset.eventCategory;
42      let eventAction = document.querySelector(CONTAINER_FORM_OK).dataset.eventAction;
43      let eventLabel = document.querySelector(CONTAINER_FORM_OK).dataset.eventLabel;
44      _sendGaForm(eventCategory, eventAction, eventLabel);
45    }
46    _sendGa();
47  };
48
49  /**
50   * Send Google Analytics
51   * @private
52   */
53  const _sendGa = function() {
54    document.querySelectorAll(CONTAINER_SEL).forEach(function(link) {
55      link.onclick = function(e) {
56
57        let category = e.currentTarget.dataset.eventCategory;
58        let action = e.currentTarget.dataset.eventAction;
59        let label = e.currentTarget.dataset.eventLabel;
60
61        _ga(GA_TYPE_SEND, GA_TYPE_EVENT, {
62          eventCategory: category,
63          eventAction: action,
64          eventLabel: label,
65          transport: 'beacon'
66        });
67      };
68    });
69  };
70
71  /**
72   *
73   * @param category
74   * @param action
75   * @param label
76   * @returns {boolean}
77   * @private
78   */
79  const _sendGaForm = function(category, action, label) {
80    _ga(GA_TYPE_SEND, GA_TYPE_EVENT, category, action, label);
81  };
82
83  document.addEventListener("DOMContentLoaded", function() {
84    let klaroInterval = setInterval(function() {
85      let klaroManager = klaro.getManager();
86      if (typeof klaro != "object")
87        return;
88
89      if (klaroManager.confirmed && true === klaroManager.consents.ga) {
90        initGa();
91      }
92      klaroManager.watch({
93        update: function(obj, name, data) {
94          if (name === 'saveConsents')
95            initGa();
96        }
97      });
98      clearInterval(klaroInterval);
99    }, 100); // check every 100ms
100  });
101
102})();
103
104

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.