PageSourceSearch

https://insiteart.org/themes/insite/js/vendors.bundle.js

js insiteart.org collected 2026-10-01 11:38:32 UTC 323,953 bytes, 41 lines download raw bytes

vendor: 9,967 bytes, lines 1-39
1(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(Vt,Ut,e){var Xt,t,n;
2/*!
3 * jQuery JavaScript Library v2.2.1
4 * http://jquery.com/
5 *
6 * Includes Sizzle.js
7 * http://sizzlejs.com/
8 *
9 * Copyright jQuery Foundation and other contributors
10 * Released under the MIT license
11 * http://jquery.org/license
12 *
13 * Date: 2016-02-22T19:11Z
14 */
15/*!
16 * jQuery JavaScript Library v2.2.1
17 * http://jquery.com/
18 *
19 * Includes Sizzle.js
20 * http://sizzlejs.com/
21 *
22 * Copyright jQuery Foundation and other contributors
23 * Released under the MIT license
24 * http://jquery.org/license
25 *
26 * Date: 2016-02-22T19:11Z
27 */
28t="undefined"!=typeof window?window:this,n=function(k,e){function t(e,t){return t.toUpperCase()}var n=[],S=k.document,u=n.slice,g=n.concat,a=n.push,o=n.indexOf,i={},s=i.toString,h=i.hasOwnProperty,m={},r="2.2.1",C=function(e,t){return new C.fn.init(e,t)},l=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,d=/-([\da-z])/gi;function p(e){var t=!!e&&"length"in e&&e.length,n=C.type(e);return"function"!==n&&!C.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}C.fn=C.prototype={jquery:r,constructor:C,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return C.each(this,e)},map:function(n){return this.pushStack(C.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(u.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(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},C.extend=C.fn.extend=function(){var e,t,n,i,o,s,r=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof r&&(c=r,r=arguments[a]||{},a++),"object"==typeof r||C.isFunction(r)||(r={}),a===l&&(r=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=r[t],r!==(i=e[t])&&(c&&i&&(C.isPlainObject(i)||(o=C.isArray(i)))?(s=o?(o=!1,n&&C.isArray(n)?n:[]):n&&C.isPlainObject(n)?n:{},r[t]=C.extend(c,s,i)):void 0!==i&&(r[t]=i));return r},C.extend({expando:"jQuery"+(r+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===C.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!C.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){return"object"===C.type(e)&&!e.nodeType&&!C.isWindow(e)&&!(e.constructor&&!h.call(e.constructor.prototype,"isPrototypeOf"))},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?i[s.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=C.trim(e))&&(1===e.indexOf("use strict")?((t=S.createElement("script")).text=e,S.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(c,"ms-").replace(d,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(p(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(l,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?C.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:o.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=0,s=e.length,r=!n;o<s;o++)!t(e[o],o)!=r&&i.push(e[o]);return i},map:function(e,t,n){var i,o,s=0,r=[];if(p(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&r.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&r.push(o);return g.apply([],r)},guid:1,proxy:function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),C.isFunction(e))return i=u.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(u.call(arguments)))}).guid=e.guid=e.guid||C.guid++,o},now:Date.now,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=n[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){i["[object "+t+"]"]=t.toLowerCase()});var f=
29/*!
30 * Sizzle CSS Selector Engine v2.2.1
31 * http://sizzlejs.com/
32 *
33 * Copyright jQuery Foundation and other contributors
34 * Released under the MIT license
35 * http://jquery.org/license
36 *
37 * Date: 2015-10-17
38 */
39function(n){function d(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function o(){T()}var e,h,w,s,r,g,p,m,x,l,c,T,k,a,S,y,u,f,v,C="sizzle"+1*new Date,b=n.document,$=0,i=0,A=oe(),P=oe(),E=oe(),L=function(e,t){return e===t&&(c=!0),0},M={}.hasOwnProperty,t=[],N=t.pop,O=t.push,I=t.push,F=t.slice,D=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",q="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z="\\["+H+"*("+q+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+H+"*\\]",R=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",_=new RegExp(H+"+","g"),B=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),W=new RegExp("^"+H+"*,"+H+"*"),V=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),U=new RegExp("="+H+"*([^\\]'\"]*?)"+H+"*\\]","g"),X=new RegExp(R),Y=new RegExp("^"+q+"$"),K={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig");try{I.apply(t=F.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){I={apply:t.length?function(e,t){O.apply(e,F.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ie(e,t,n,i){var o,s,r,a,l,c,u,d,p=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:b)!==k&&T(t),t=t||k,S)){if(11!==f&&(c=Q.exec(e)))if(o=c[1]){if(9===f){if(!(r=t.getElementById(o)))return n;if(r.id===o)return n.push(r),n}else if(p&&(r=p.getElementById(o))&&v(t,r)&&r.id===o)return n.push(r),n}else{if(c[2])return I.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&h.getElementsByClassName&&t.getElementsByClassName)return I.apply(n,t.getElementsByClassName(o)),n}if(h.qsa&&!E[e+" "]&&(!y||!y.test(e))){if(1!==f)p=t,d=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=C),s=(u=g(e)).length,l=Y.test(a)?"#"+a:"[id='"+a+"']";s--;)u[s]=l+" "+he(u[s]);d=u.join(","),p=ee.test(e)&&pe(t.parentNode)||t}if(d)try{return I.apply(n,p.querySelectorAll(d)),n}catch(e){}finally{a===C&&t.removeAttribute("id")}}}return m(e.replace(B,"$1"),t,n,i)}function oe(){var i=[];return function e(t,n){return i.push(t+" ")>w.cacheLength&&delete e[i.shift()],e[t+" "]=n}}function se(e){return e[C]=!0,e}function re(e){var t=k.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var n=e.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function de(r){return se(function(s){return s=+s,se(function(e,t){for(var n,i=r([],e.length,s),o=i.length;o--;)e[n=i[o]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ie.support={},r=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},T=ie.setDocument=function(e){var t,n,i=e?e.ownerDocument||e:b;return i!==k&&9===i.nodeType&&i.documentElement&&(a=(k=i).documentElement,S=!r(k),(n=k.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",o,!1):n.attachEvent&&n.attachEvent("onunload",o)),h.attributes=re(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=re(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=J.test(k.getElementsByClassName),h.getById=re(function(e){return a.appendChild(e).id=C,!k.getElementsByName||!k.getElementsByName(C).length}),h.getById?(w.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var n=t.getElementById(e);return n?[n]:[]}},w.filter.ID=function(e){var t=e.replace(ne,d);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var n=e.replace(ne,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,s=t.getElementsByTagName(e);
vendor: 4,417 bytes, line 39
39if("*"!==e)return s;for(;n=s[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},u=[],y=[],(h.qsa=J.test(k.querySelectorAll))&&(re(function(e){a.appendChild(e).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+H+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+C+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+C+"+*").length||y.push(".#.+[+~]")}),re(function(e){var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+H+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(h.matchesSelector=J.test(f=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&re(function(e){h.disconnectedMatch=f.call(e,"div"),f.call(e,"[s!='']:x"),u.push("!=",R)}),y=y.length&&new RegExp(y.join("|")),u=u.length&&new RegExp(u.join("|")),t=J.test(a.compareDocumentPosition),v=t||J.test(a.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},L=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===n?e===k||e.ownerDocument===b&&v(b,e)?-1:t===k||t.ownerDocument===b&&v(b,t)?1:l?D(l,e)-D(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,i=0,o=e.parentNode,s=t.parentNode,r=[e],a=[t];if(!o||!s)return e===k?-1:t===k?1:o?-1:s?1:l?D(l,e)-D(l,t):0;if(o===s)return le(e,t);for(n=e;n=n.parentNode;)r.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;r[i]===a[i];)i++;return i?le(r[i],a[i]):r[i]===b?-1:a[i]===b?1:0}),k},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==k&&T(e),t=t.replace(U,"='$1']"),h.matchesSelector&&S&&!E[t+" "]&&(!u||!u.test(t))&&(!y||!y.test(t)))try{var n=f.call(e,t);if(n||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<ie(t,k,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==k&&T(e),v(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==k&&T(e);var n=w.attrHandle[t.toLowerCase()],i=n&&M.call(w.attrHandle,t.toLowerCase())?n(e,t,!S):void 0;return void 0!==i?i:h.attributes||!S?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,n=[],i=0,o=0;if(c=!h.detectDuplicates,l=!h.sortStable&&e.slice(0),e.sort(L),c){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return l=null,e},s=ie.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+=s(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=s(t);return n},(w=ie.selectors={cacheLength:50,createPseudo:se,match:K,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(ne,d),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,d),"~="===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]||ie.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]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=g(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(ne,d).toLowerCase();return"*"===e?function(){return!0}
vendor: 26,190 bytes, line 39
39:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(e){var t=ie.attr(e,n);return null==t?"!="===i:!i||(t+="","="===i?t===o:"!="===i?t!==o:"^="===i?o&&0===t.indexOf(o):"*="===i?o&&-1<t.indexOf(o):"$="===i?o&&t.slice(-o.length)===o:"~="===i?-1<(" "+t.replace(_," ")+" ").indexOf(o):"|="===i&&(t===o||t.slice(0,o.length+1)===o+"-"))}},CHILD:function(h,e,t,g,m){var y="nth"!==h.slice(0,3),v="last"!==h.slice(-4),b="of-type"===e;return 1===g&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var i,o,s,r,a,l,c=y!=v?"nextSibling":"previousSibling",u=e.parentNode,d=b&&e.nodeName.toLowerCase(),p=!n&&!b,f=!1;if(u){if(y){for(;c;){for(r=e;r=r[c];)if(b?r.nodeName.toLowerCase()===d:1===r.nodeType)return!1;l=c="only"===h&&!l&&"nextSibling"}return!0}if(l=[v?u.firstChild:u.lastChild],v&&p){for(f=(a=(i=(o=(s=(r=u)[C]||(r[C]={}))[r.uniqueID]||(s[r.uniqueID]={}))[h]||[])[0]===$&&i[1])&&i[2],r=a&&u.childNodes[a];r=++a&&r&&r[c]||(f=a=0)||l.pop();)if(1===r.nodeType&&++f&&r===e){o[h]=[$,a,f];break}}else if(p&&(f=a=(i=(o=(s=(r=e)[C]||(r[C]={}))[r.uniqueID]||(s[r.uniqueID]={}))[h]||[])[0]===$&&i[1]),!1===f)for(;(r=++a&&r&&r[c]||(f=a=0)||l.pop())&&((b?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++f||(p&&((o=(s=r[C]||(r[C]={}))[r.uniqueID]||(s[r.uniqueID]={}))[h]=[$,f]),r!==e)););return(f-=m)===g||f%g==0&&0<=f/g}}},PSEUDO:function(e,s){var t,r=w.pseudos[e]||w.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return r[C]?r(s):1<r.length?(t=[e,e,"",s],w.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,t){for(var n,i=r(e,s),o=i.length;o--;)e[n=D(e,i[o])]=!(t[n]=i[o])}):function(e){return r(e,0,t)}):r}},pseudos:{not:se(function(e){var i=[],o=[],a=p(e.replace(B,"$1"));return a[C]?se(function(e,t,n,i){for(var o,s=a(e,null,i,[]),r=e.length;r--;)(o=s[r])&&(e[r]=!(t[r]=o))}):function(e,t,n){return i[0]=e,a(i,null,n,o),i[0]=null,!o.pop()}}),has:se(function(t){return function(e){return 0<ie(t,e).length}}),contains:se(function(t){return t=t.replace(ne,d),function(e){return-1<(e.textContent||e.innerText||s(e)).indexOf(t)}}),lang:se(function(n){return Y.test(n||"")||ie.error("unsupported lang: "+n),n=n.replace(ne,d).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return G.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:de(function(){return[0]}),last:de(function(e,t){return[t-1]}),eq:de(function(e,t,n){return[n<0?n+t:n]}),even:de(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:de(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:de(function(e,t,n){for(var i=n<0?n+t:n;0<=--i;)e.push(i);return e}),gt:de(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[e]=ce(e);for(e in{submit:!0,reset:!0})w.pseudos[e]=ue(e);function fe(){}function he(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ge(a,e,t){var l=e.dir,c=t&&"parentNode"===l,u=i++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||c)return a(e,t,n)}:function(e,t,n){var i,o,s,r=[$,u];if(n){for(;e=e[l];)if((1===e.nodeType||c)&&a(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||c){if((i=(o=(s=e[C]||(e[C]={}))[e.uniqueID]||(s[e.uniqueID]={}))[l])&&i[0]===$&&i[1]===u)return r[2]=i[2];if((o[l]=r)[2]=a(e,t,n))return!0}}}function me(o){return 1<o.length?function(e,t,n){for(var i=o.length;i--;)if(!o[i](e,t,n))return!1;return!0}:o[0]}function ye(e,t,n,i,o){for(var s,r=[],a=0,l=e.length,c=null!=t;a<l;a++)(s=e[a])&&(n&&!n(s,i,o)||(r.push(s),c&&t.push(a)));return r}function ve(f,h,g,m,y,e){return m&&!m[C]&&(m=ve(m)),y&&!y[C]&&(y=ve(y,e)),se(function(e,t,n,i){var o,s,r,a=[],l=[],c=t.length,u=e||function(e,t,n){for(var i=0,o=t.length;i<o;i++)ie(e,t[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),d=!f||!e&&h?u:ye(u,a,f,n,i),p=g?y||(e?f:c||m)?[]:t:d;if(g&&g(d,p,n,i),m)for(o=ye(p,l),m(o,[],n,i),s=o.length;s--;)(r=o[s])&&(p[l[s]]=!(d[l[s]]=r));if(e){if(y||f){if(y){for(o=[],s=p.length;s--;)(r=p[s])&&o.push(d[s]=r);y(null,p=[],o,i)}for(s=p.length;s--;)(r=p[s])&&-1<(o=y?D(e,r):a[s])&&(e[o]=!(t[o]=r))}}else p=ye(p===t?p.splice(c,p.length):p),y?y(null,t,p,i):I.apply(t,p)})}function be(e){for(var o,t,n,i=e.length,s=w.relative[e[0].type],r=s||w.relative[" "],a=s?1:0,l=ge(function(e){return e===o},r,!0),c=ge(function(e){return-1<D(o,e)},r,!0),u=[function(e,t,n){var i=!s&&(n||t!==x)||((o=t).nodeType?l(e,t,n):c(e,t,n));return o=null,i}];a<i;a++)if(t=w.relative[e[a].type])u=[ge(me(u),t)];else{if((t=w.filter[e[a].type].apply(null,e[a].matches))[C]){for(n=++a;n<i&&!w.relative[e[n].type];n++);return ve(1<a&&me(u),1<a&&he(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(B,"$1"),t,a<n&&be(e.slice(a,n)),n<i&&be(e=e.slice(n)),n<i&&he(e))}u.push(t)}return me(u)}return fe.prototype=w.filters=w.pseudos,w.setFilters=new fe,g=ie.tokenize=function(e,t){var n,i,o,s,r,a,l,c=P[e+" "];if(c)return t?0:c.slice(0);for(r=e,a=[],l=w.preFilter;r;){for(s in n&&!(i=W.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=V.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),r=r.slice(n.length)),w.filter)!(i=K[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return t?r.length:r?ie.error(e):P(e,a).slice(0)},p=ie.compile=function(e,t){var n,i=[],o=[],s=E[e+" "];if(!s){for(n=(t=t||g(e)).length;n--;)(s=be(t[n]))[C]?i.push(s):o.push(s);(s=E(e,function(m,y){function e(e,t,n,i,o){var s,r,a,l=0,c="0",u=e&&[],d=[],p=x,f=e||b&&w.find.TAG("*",o),h=$+=null==p?1:Math.random()||.1,g=f.length;for(o&&(x=t===k||t||o);c!==g&&null!=(s=f[c]);c++){if(b&&s){for(r=0,t||s.ownerDocument===k||(T(s),n=!S);a=m[r++];)if(a(s,t||k,n)){i.push(s);break}o&&($=h)}v&&((s=!a&&s)&&l--,e&&u.push(s))}if(l+=c,v&&c!==l){for(r=0;a=y[r++];)a(u,d,t,n);if(e){if(0<l)for(;c--;)u[c]||d[c]||(d[c]=N.call(i));d=ye(d)}I.apply(i,d),o&&!e&&0<d.length&&1<l+y.length&&ie.uniqueSort(i)}return o&&($=h,x=p),u}var v=0<y.length,b=0<m.length;return v?se(e):e}(o,i))).selector=e}return s},m=ie.select=function(e,t,n,i){var o,s,r,a,l,c="function"==typeof e&&e,u=!i&&g(e=c.selector||e);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&h.getById&&9===t.nodeType&&S&&w.relative[s[1].type]){if(!(t=(w.find.ID(r.matches[0].replace(ne,d),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=K.needsContext.test(e)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((l=w.find[a])&&(i=l(r.matches[0].replace(ne,d),ee.test(s[0].type)&&pe(t.parentNode)||t))){if(s.splice(o,1),!(e=i.length&&he(s)))return I.apply(n,i),n;break}}return(c||p(e,u))(i,t,!S,n,!t||ee.test(e)&&pe(t.parentNode)||t),n},h.sortStable=C.split("").sort(L).join("")===C,h.detectDuplicates=!!c,T(),h.sortDetached=re(function(e){return 1&e.compareDocumentPosition(k.createElement("div"))}),re(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),h.attributes&&re(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),re(function(e){return null==e.getAttribute("disabled")})||ae(j,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),ie}(k);C.find=f,C.expr=f.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=f.uniqueSort,C.text=f.getText,C.isXMLDoc=f.isXML,C.contains=f.contains;function y(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&C(e).is(n))break;i.push(e)}return i}function v(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var b=C.expr.match.needsContext,w=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function T(e,n,i){if(C.isFunction(n))return C.grep(e,function(e,t){return!!n.call(e,t,e)!==i});if(n.nodeType)return C.grep(e,function(e){return e===n!==i});if("string"==typeof n){if(x.test(n))return C.filter(n,e,i);n=C.filter(n,e)}return C.grep(e,function(e){return-1<o.call(n,e)!==i})}C.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?C.find.matchesSelector(i,e)?[i]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n=this.length,i=[],o=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<n;t++)if(C.contains(o[t],this))return!0}));for(t=0;t<n;t++)C.find(e,o[t],i);return(i=this.pushStack(1<n?C.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?C(e):e||[],!1).length}});var $,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(C.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||$,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):C.isFunction(e)?void 0!==n.ready?n.ready(e):e(C):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),C.makeArray(e,this));if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:A.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),w.test(i[1])&&C.isPlainObject(t))for(i in t)C.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=S.getElementById(i[2]))&&o.parentNode&&(this.length=1,this[0]=o),this.context=S,this.selector=e,this}).prototype=C.fn,$=C(S);var P=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,i=0,o=this.length,s=[],r=b.test(e)||"string"!=typeof e?C(e,t||this.context):0;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&C.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(1<s.length?C.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?o.call(C(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},parentsUntil:function(e,t,n){return y(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return y(e,"nextSibling")},prevAll:function(e){return y(e,"previousSibling")},nextUntil:function(e,t,n){return y(e,"nextSibling",n)},prevUntil:function(e,t,n){return y(e,"previousSibling",n)},siblings:function(e){return v((e.parentNode||{}).firstChild,e)},children:function(e){return v(e.firstChild)},contents:function(e){return e.contentDocument||C.merge([],e.childNodes)}},function(i,o){C.fn[i]=function(e,t){var n=C.map(this,o,e);return"Until"!==i.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=C.filter(t,n)),1<this.length&&(E[i]||C.uniqueSort(n),P.test(i)&&n.reverse()),this.pushStack(n)}});var M,N=/\S+/g;function O(){S.removeEventListener("DOMContentLoaded",O),k.removeEventListener("load",O),C.ready()}C.Callbacks=function(i){i="string"==typeof i?function(e){var n={};return C.each(e.match(N)||[],function(e,t){n[t]=!0}),n}(i):C.extend({},i);function n(){for(s=i.once,t=o=!0;a.length;l=-1)for(e=a.shift();++l<r.length;)!1===r[l].apply(e[0],e[1])&&i.stopOnFalse&&(l=r.length,e=!1);i.memory||(e=!1),o=!1,s&&(r=e?[]:"")}var o,e,t,s,r=[],a=[],l=-1,c={add:function(){return r&&(e&&!o&&(l=r.length-1,a.push(e)),function n(e){C.each(e,function(e,t){C.isFunction(t)?i.unique&&c.has(t)||r.push(t):t&&t.length&&"string"!==C.type(t)&&n(t)})}(arguments),e&&!o&&n()),this},remove:function(){return C.each(arguments,function(e,t){for(var n;-1<(n=C.inArray(t,r,n));)r.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<C.inArray(e,r):0<r.length},empty:function(){return r=r&&[],this},disable:function(){return s=a=[],r=e="",this},disabled:function(){return!r},lock:function(){return s=a=[],e||(r=e=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),o||n()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},C.extend({Deferred:function(e){var s=[["resolve","done",C.Callbacks("once memory"),"resolved"],["reject","fail",C.Callbacks("once memory"),"rejected"],["notify","progress",C.Callbacks("memory")]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var o=arguments;return C.Deferred(function(i){C.each(s,function(e,t){var n=C.isFunction(o[e])&&o[e];a[t[1]](function(){var e=n&&n.apply(this,arguments);e&&C.isFunction(e.promise)?e.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[t[0]+"With"](this===r?i.promise():this,n?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},a={};return r.pipe=r.then,C.each(s,function(e,t){var n=t[2],i=t[3];r[t[1]]=n.add,i&&n.add(function(){o=i},s[1^e][2].disable,s[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?r:this,arguments),this},a[t[0]+"With"]=n.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,n,i){return function(e){n[t]=this,i[t]=1<arguments.length?u.call(arguments):e,i===o?c.notifyWith(n,i):--l||c.resolveWith(n,i)}}var o,n,i,s=0,r=u.call(arguments),a=r.length,l=1!==a||e&&C.isFunction(e.promise)?a:0,c=1===l?e:C.Deferred();if(1<a)for(o=new Array(a),n=new Array(a),i=new Array(a);s<a;s++)r[s]&&C.isFunction(r[s].promise)?r[s].promise().progress(t(s,n,o)).done(t(s,i,r)).fail(c.reject):--l;return l||c.resolveWith(i,r),c.promise()}}),C.fn.ready=function(e){return C.ready.promise().done(e),this},C.extend({isReady:!1,readyWait:1,holdReady:function(e){e?C.readyWait++:C.ready(!0)},ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0)!==e&&0<--C.readyWait||(M.resolveWith(S,[C]),C.fn.triggerHandler&&(C(S).triggerHandler("ready"),C(S).off("ready")))}}),C.ready.promise=function(e){return M||(M=C.Deferred(),"complete"===S.readyState||"loading"!==S.readyState&&!S.documentElement.doScroll?k.setTimeout(C.ready):(S.addEventListener("DOMContentLoaded",O),k.addEventListener("load",O))),M.promise(e)},C.ready.promise();function I(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}var F=function(e,t,n,i,o,s,r){var a=0,l=e.length,c=null==n;if("object"===C.type(n))for(a in o=!0,n)F(e,t,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,C.isFunction(i)||(r=!0),c&&(t=r?(t.call(e,i),null):(c=t,function(e,t,n){return c.call(C(e),n)})),t))for(;a<l;a++)t(e[a],n,r?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):s};function D(){this.expando=C.expando+D.uid++}D.uid=1,D.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!I(e))return{};var t=e[this.expando];return t||(t={},I(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[t]=n;else for(i in t)o[i]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(i=this.get(e,t))?i:this.get(e,C.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,o,s=e[this.expando];if(void 0!==s){if(void 0===t)this.register(e);else{n=(i=C.isArray(t)?t.concat(t.map(C.camelCase)):(o=C.camelCase(t),t in s?[t,o]:(i=o)in s?[i]:i.match(N)||[])).length;for(;n--;)delete s[i[n]]}void 0!==t&&!C.isEmptyObject(s)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var j=new D,H=new D,q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,z=/[A-Z]/g;function R(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:q.test(n)?C.parseJSON(n):n)}catch(e){}H.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return H.hasData(e)||j.hasData(e)},data:function(e,t,n){return H.access(e,t,n)},removeData:function(e,t){H.remove(e,t)},_data:function(e,t,n){return j.access(e,t,n)},_removeData:function(e,t){j.remove(e,t)}}),C.fn.extend({data:function(i,e){var t,n,o,s=this[0],r=s&&s.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){H.set(this,i)}):F(this,function(t){var e,n;if(s&&void 0===t)return void 0!==(e=H.get(s,i)||H.get(s,i.replace(z,"-$&").toLowerCase()))?e:(n=C.camelCase(i),void 0!==(e=H.get(s,n))?e:void 0!==(e=R(s,n,void 0))?e:void 0);n=C.camelCase(i),this.each(function(){var e=H.get(this,n);H.set(this,n,t),-1<i.indexOf("-")&&void 0!==e&&H.set(this,i,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=H.get(s),1===s.nodeType&&!j.get(s,"hasDataAttrs"))){for(t=r.length;t--;)r[t]&&0===(n=r[t].name).indexOf("data-")&&(n=C.camelCase(n.slice(5)),R(s,n,o[n]));j.set(s,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){H.remove(this,e)})}}),C.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=j.get(e,t),n&&(!i||C.isArray(n)?i=j.access(e,t,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),i=n.length,o=n.shift(),s=C._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete s.stop,o.call(e,function(){C.dequeue(e,t)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return j.get(e,n)||j.access(e,n,{empty:C.Callbacks("once memory").add(function(){j.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?C.queue(this[0],t):void 0===n?this:this.each(function(){var e=C.queue(this,t,n);C._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&C.dequeue(this,t)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--o||s.resolveWith(r,[r])}var i,o=1,s=C.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(i=j.get(r[a],e+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),s.promise(t)}});function _(e,t){return e=t||e,"none"===C.css(e,"display")||!C.contains(e.ownerDocument,e)}var B=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,W=new RegExp("^(?:([+-])=|)("+B+")([a-z%]*)$","i"),V=["Top","Right","Bottom","Left"];function U(e,t,n,i){var o,s=1,r=20,a=i?function(){return i.cur()}:function(){return C.css(e,t,"")},l=a(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),u=(C.cssNumber[t]||"px"!==c&&+l)&&W.exec(C.css(e,t));if(u&&u[3]!==c)for(c=c||u[3],n=n||[],u=+l||1;u/=s=s||".5",C.style(e,t,u+c),s!==(s=a()/l)&&1!==s&&--r;);return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var X=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,K=/^$|\/(?:java|ecma)script/i,G={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,"",""]};function Z(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&C.nodeName(e,t)?C.merge([e],n):n}function J(e,t){for(var n=0,i=e.length;n<i;n++)j.set(e[n],"globalEval",!t||j.get(t[n],"globalEval"))}G.optgroup=G.option,G.tbody=G.tfoot=G.colgroup=G.caption=G.thead,G.th=G.td;var Q,ee,te=/<|&#?\w+;/;function ne(e,t,n,i,o){for(var s,r,a,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((s=e[f])||0===s)if("object"===C.type(s))C.merge(p,s.nodeType?[s]:s);else if(te.test(s)){for(r=r||d.appendChild(t.createElement("div")),a=(Y.exec(s)||["",""])[1].toLowerCase(),l=G[a]||G._default,r.innerHTML=l[1]+C.htmlPrefilter(s)+l[2],u=l[0];u--;)r=r.lastChild;C.merge(p,r.childNodes),(r=d.firstChild).textContent=""}else p.push(t.createTextNode(s));for(d.textContent="",f=0;s=p[f++];)if(i&&-1<C.inArray(s,i))o&&o.push(s);else if(c=C.contains(s.ownerDocument,s),r=Z(d.appendChild(s),"script"),c&&J(r),n)for(u=0;s=r[u++];)K.test(s.type||"")&&n.push(s);return d}Q=S.createDocumentFragment().appendChild(S.createElement("div")),(ee=S.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),Q.appendChild(ee),m.checkClone=Q.cloneNode(!0).cloneNode(!0).lastChild.checked,Q.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Q.cloneNode(!0).lastChild.defaultValue;var ie=/^key/,oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,se=/^([^.]*)(?:\.(.+)|)/;function re(){return!0}function ae(){return!1}function le(){try{return S.activeElement}catch(e){}}function ce(e,t,n,i,o,s){var r,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)ce(e,a,n,i,t[a],s);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)),!1===o)o=ae;else if(!o)return e;return 1===s&&(r=o,(o=function(e){return C().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=C.guid++)),e.each(function(){C.event.add(this,t,o,i,n)})}C.event={global:{},add:function(t,e,n,i,o){var s,r,a,l,c,u,d,p,f,h,g,m=j.get(t);if(m)for(n.handler&&(n=(s=n).handler,o=s.selector),n.guid||(n.guid=C.guid++),(l=m.events)||(l=m.events={}),(r=m.handle)||(r=m.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(N)||[""]).length;c--;)f=g=(a=se.exec(e[c])||[])[1],h=(a[2]||"").split(".").sort(),f&&(d=C.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=C.event.special[f]||{},u=C.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:h.join(".")},s),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,h,r)||t.addEventListener&&t.addEventListener(f,r)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),C.event.global[f]=!0)},remove:function(e,t,n,i,o){var s,r,a,l,c,u,d,p,f,h,g,m=j.hasData(e)&&j.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(f=g=(a=se.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(d=C.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=p.length;s--;)u=p[s],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(s,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));r&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||C.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)C.event.remove(e,f+t[c],n,i,!0);C.isEmptyObject(l)&&j.remove(e,"handle events")}},dispatch:function(e){e=C.event.fix(e);var t,n,i,o,s,r,a=u.call(arguments),l=(j.get(this,"events")||{})[e.type]||[],c=C.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(r=C.event.handlers.call(this,e,l),t=0;(o=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(s.namespace)||(e.handleObj=s,e.data=s.data,void 0!==(i=((C.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,a))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,o,s,r=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<a;n++)void 0===i[o=(s=t[n]).selector+" "]&&(i[o]=s.needsContext?-1<C(o,this).index(l):C.find(o,this,null,[l]).length),i[o]&&i.push(s);i.length&&r.push({elem:l,handlers:i})}return a<t.length&&r.push({elem:this,handlers:t.slice(a)}),r},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
vendor: 2,408 bytes, line 39
39,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o,s=t.button;return null==e.pageX&&null!=t.clientX&&(i=(n=e.target.ownerDocument||S).documentElement,o=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)),e.which||void 0===s||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[C.expando])return e;var t,n,i,o=e.type,s=e,r=this.fixHooks[o];for(r||(this.fixHooks[o]=r=oe.test(o)?this.mouseHooks:ie.test(o)?this.keyHooks:{}),i=r.props?this.props.concat(r.props):this.props,e=new C.Event(s),t=i.length;t--;)e[n=i[t]]=s[n];return e.target||(e.target=S),3===e.target.nodeType&&(e.target=e.target.parentNode),r.filter?r.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==le()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===le()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&C.nodeName(this,"input"))return this.click(),!1},_default:function(e){return C.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?re:ae):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||C.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:ae,isPropagationStopped:ae,isImmediatePropagationStopped:ae,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=re,e&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=re,e&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=re,e&&e.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 39,918 bytes, line 39
39,C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){C.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||C.contains(this,n))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),C.fn.extend({on:function(e,t,n,i){return ce(this,e,t,n,i)},one:function(e,t,n,i){return ce(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,C(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ae),this.each(function(){C.event.remove(this,e,n,t)});for(o in e)this.off(o,t,e[o]);return this}});var ue=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,de=/<script|<style|<link/i,pe=/checked\s*(?:[^=]|=\s*.checked.)/i,fe=/^true\/(.*)/,he=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ge(e,t){return C.nodeName(e,"table")&&C.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ye(e){var t=fe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ve(e,t){var n,i,o,s,r,a,l,c;if(1===t.nodeType){if(j.hasData(e)&&(s=j.access(e),r=j.set(t,s),c=s.events))for(o in delete r.handle,r.events={},c)for(n=0,i=c[o].length;n<i;n++)C.event.add(t,o,c[o][n]);H.hasData(e)&&(a=H.access(e),l=C.extend({},a),H.set(t,l))}}function be(n,i,o,s){i=g.apply([],i);var e,t,r,a,l,c,u=0,d=n.length,p=d-1,f=i[0],h=C.isFunction(f);if(h||1<d&&"string"==typeof f&&!m.checkClone&&pe.test(f))return n.each(function(e){var t=n.eq(e);h&&(i[0]=f.call(this,e,t.html())),be(t,i,o,s)});if(d&&(t=(e=ne(i,n[0].ownerDocument,!1,n,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(a=(r=C.map(Z(e,"script"),me)).length;u<d;u++)l=e,u!==p&&(l=C.clone(l,!0,!0),a&&C.merge(r,Z(l,"script"))),o.call(n[u],l,u);if(a)for(c=r[r.length-1].ownerDocument,C.map(r,ye),u=0;u<a;u++)l=r[u],K.test(l.type||"")&&!j.access(l,"globalEval")&&C.contains(c,l)&&(l.src?C._evalUrl&&C._evalUrl(l.src):C.globalEval(l.textContent.replace(he,"")))}return n}function we(e,t,n){for(var i,o=t?C.filter(t,e):e,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||C.cleanData(Z(i)),i.parentNode&&(n&&C.contains(i.ownerDocument,i)&&J(Z(i,"script")),i.parentNode.removeChild(i));return e}C.extend({htmlPrefilter:function(e){return e.replace(ue,"<$1></$2>")},clone:function(e,t,n){var i,o,s,r,a,l,c,u=e.cloneNode(!0),d=C.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(r=Z(u),i=0,o=(s=Z(e)).length;i<o;i++)a=s[i],l=r[i],void 0,"input"===(c=l.nodeName.toLowerCase())&&X.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(s=s||Z(e),r=r||Z(u),i=0,o=s.length;i<o;i++)ve(s[i],r[i]);else ve(e,u);return 0<(r=Z(u,"script")).length&&J(r,!d&&Z(e,"script")),u},cleanData:function(e){for(var t,n,i,o=C.event.special,s=0;void 0!==(n=e[s]);s++)if(I(n)){if(t=n[j.expando]){if(t.events)for(i in t.events)o[i]?C.event.remove(n,i):C.removeEvent(n,i,t.handle);n[j.expando]=void 0}n[H.expando]&&(n[H.expando]=void 0)}}}),C.fn.extend({domManip:be,detach:function(e){return we(this,e,!0)},remove:function(e){return we(this,e)},text:function(e){return F(this,function(e){return void 0===e?C.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 be(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ge(this,e).appendChild(e)})},prepend:function(){return be(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ge(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return be(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return be(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&&(C.cleanData(Z(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return F(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&&!de.test(e)&&!G[(Y.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(Z(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return be(this,arguments,function(e){var t=this.parentNode;C.inArray(this,n)<0&&(C.cleanData(Z(this)),t&&t.replaceChild(e,this))},n)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){C.fn[e]=function(e){for(var t,n=[],i=C(e),o=i.length-1,s=0;s<=o;s++)t=s===o?this:this.clone(!0),C(i[s])[r](t),a.apply(n,t.get());return this.pushStack(n)}});var xe,Te={HTML:"block",BODY:"block"};function ke(e,t){var n=C(t.createElement(e)).appendTo(t.body),i=C.css(n[0],"display");return n.detach(),i}function Se(e){var t=S,n=Te[e];return n||("none"!==(n=ke(e,t))&&n||((t=(xe=(xe||C("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=ke(e,t),xe.detach()),Te[e]=n),n}function Ce(e,t,n,i){var o,s,r={};for(s in t)r[s]=e.style[s],e.style[s]=t[s];for(s in o=n.apply(e,i||[]),t)e.style[s]=r[s];return o}var $e,Ae,Pe,Ee,Le,Me,Ne=/^margin/,Oe=new RegExp("^("+B+")(?!px)[a-z%]+$","i"),Ie=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=k),t.getComputedStyle(e)},Fe=S.documentElement;function De(){Me.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",Me.innerHTML="",Fe.appendChild(Le);var e=k.getComputedStyle(Me);$e="1%"!==e.top,Ee="2px"===e.marginLeft,Ae="4px"===e.width,Me.style.marginRight="50%",Pe="4px"===e.marginRight,Fe.removeChild(Le)}function je(e,t,n){var i,o,s,r,a=e.style;return""!==(r=(n=n||Ie(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==r||C.contains(e.ownerDocument,e)||(r=C.style(e,t)),n&&!m.pixelMarginRight()&&Oe.test(r)&&Ne.test(t)&&(i=a.width,o=a.minWidth,s=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=n.width,a.width=i,a.minWidth=o,a.maxWidth=s),void 0!==r?r+"":r}function He(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}Le=S.createElement("div"),(Me=S.createElement("div")).style&&(Me.style.backgroundClip="content-box",Me.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===Me.style.backgroundClip,Le.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",Le.appendChild(Me),C.extend(m,{pixelPosition:function(){return De(),$e},boxSizingReliable:function(){return null==Ae&&De(),Ae},pixelMarginRight:function(){return null==Ae&&De(),Pe},reliableMarginLeft:function(){return null==Ae&&De(),Ee},reliableMarginRight:function(){var e,t=Me.appendChild(S.createElement("div"));return t.style.cssText=Me.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",Me.style.width="1px",Fe.appendChild(Le),e=!parseFloat(k.getComputedStyle(t).marginRight),Fe.removeChild(Le),Me.removeChild(t),e}}));var qe=/^(none|table(?!-c[ea]).+)/,ze={position:"absolute",visibility:"hidden",display:"block"},Re={letterSpacing:"0",fontWeight:"400"},_e=["Webkit","O","Moz","ms"],Be=S.createElement("div").style;function We(e){if(e in Be)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=_e.length;n--;)if((e=_e[n]+t)in Be)return e}function Ve(e,t,n){var i=W.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Ue(e,t,n,i,o){for(var s=n===(i?"border":"content")?4:"width"===t?1:0,r=0;s<4;s+=2)"margin"===n&&(r+=C.css(e,n+V[s],!0,o)),i?("content"===n&&(r-=C.css(e,"padding"+V[s],!0,o)),"margin"!==n&&(r-=C.css(e,"border"+V[s]+"Width",!0,o))):(r+=C.css(e,"padding"+V[s],!0,o),"padding"!==n&&(r+=C.css(e,"border"+V[s]+"Width",!0,o)));return r}function Xe(e,t,n){var i=!0,o="width"===t?e.offsetWidth:e.offsetHeight,s=Ie(e),r="border-box"===C.css(e,"boxSizing",!1,s);if(S.msFullscreenElement&&k.top!==k&&e.getClientRects().length&&(o=Math.round(100*e.getBoundingClientRect()[t])),o<=0||null==o){if(((o=je(e,t,s))<0||null==o)&&(o=e.style[t]),Oe.test(o))return o;i=r&&(m.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+Ue(e,t,n||(r?"border":"content"),i,s)+"px"}function Ye(e,t){for(var n,i,o,s=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(s[r]=j.get(i,"olddisplay"),n=i.style.display,t?(s[r]||"none"!==n||(i.style.display=""),""===i.style.display&&_(i)&&(s[r]=j.access(i,"olddisplay",Se(i.nodeName)))):(o=_(i),"none"===n&&o||j.set(i,"olddisplay",o?n:C.css(i,"display"))));for(r=0;r<a;r++)(i=e[r]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?s[r]||"":"none"));return e}function Ke(e,t,n,i,o){return new Ke.prototype.init(e,t,n,i,o)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=je(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,s,r,a=C.camelCase(t),l=e.style;if(t=C.cssProps[a]||(C.cssProps[a]=We(a)||a),r=C.cssHooks[t]||C.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(e,!1,i))?o:l[t];"string"===(s=typeof n)&&(o=W.exec(n))&&o[1]&&(n=U(e,t,o),s="number"),null!=n&&n==n&&("number"===s&&(n+=o&&o[3]||(C.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(n=r.set(e,n,i))||(l[t]=n))}},css:function(e,t,n,i){var o,s,r,a=C.camelCase(t);return t=C.cssProps[a]||(C.cssProps[a]=We(a)||a),(r=C.cssHooks[t]||C.cssHooks[a])&&"get"in r&&(o=r.get(e,!0,n)),void 0===o&&(o=je(e,t,i)),"normal"===o&&t in Re&&(o=Re[t]),""===n||n?(s=parseFloat(o),!0===n||isFinite(s)?s||0:o):o}}),C.each(["height","width"],function(e,r){C.cssHooks[r]={get:function(e,t,n){if(t)return qe.test(C.css(e,"display"))&&0===e.offsetWidth?Ce(e,ze,function(){return Xe(e,r,n)}):Xe(e,r,n)},set:function(e,t,n){var i,o=n&&Ie(e),s=n&&Ue(e,r,n,"border-box"===C.css(e,"boxSizing",!1,o),o);return s&&(i=W.exec(t))&&"px"!==(i[3]||"px")&&(e.style[r]=t,t=C.css(e,r)),Ve(0,t,s)}}}),C.cssHooks.marginLeft=He(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(je(e,"marginLeft"))||e.getBoundingClientRect().left-Ce(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.cssHooks.marginRight=He(m.reliableMarginRight,function(e,t){if(t)return Ce(e,{display:"inline-block"},je,[e,"marginRight"])}),C.each({margin:"",padding:"",border:"Width"},function(o,s){C.cssHooks[o+s]={expand:function(e){for(var t=0,n={},i="string"==typeof e?e.split(" "):[e];t<4;t++)n[o+V[t]+s]=i[t]||i[t-2]||i[0];return n}},Ne.test(o)||(C.cssHooks[o+s].set=Ve)}),C.fn.extend({css:function(e,t){return F(this,function(e,t,n){var i,o,s={},r=0;if(C.isArray(t)){for(i=Ie(e),o=t.length;r<o;r++)s[t[r]]=C.css(e,t[r],!1,i);return s}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,1<arguments.length)},show:function(){return Ye(this,!0)},hide:function(){return Ye(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){_(this)?C(this).show():C(this).hide()})}}),((C.Tween=Ke).prototype={constructor:Ke,init:function(e,t,n,i,o,s){this.elem=e,this.prop=n,this.easing=o||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=s||(C.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=C.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):Ke.propHooks._default.set(this),this}}).init.prototype=Ke.prototype,(Ke.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=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=Ke.prototype.init,C.fx.step={};var Ge,Ze,Je,Qe,et,tt=/^(?:toggle|show|hide)$/,nt=/queueHooks$/;function it(){return k.setTimeout(function(){Ge=void 0}),Ge=C.now()}function ot(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=V[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function st(e,t,n){for(var i,o=(rt.tweeners[t]||[]).concat(rt.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,t,e))return i}function rt(s,e,t){var n,r,i=0,o=rt.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Ge||it(),t=Math.max(0,c.startTime+c.duration-e),n=1-(t/c.duration||0),i=0,o=c.tweens.length;i<o;i++)c.tweens[i].run(n);return a.notifyWith(s,[c,n,t]),n<1&&o?t:(a.resolveWith(s,[c]),!1)},c=a.promise({elem:s,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ge||it(),duration:t.duration,tweens:[],createTween:function(e,t){var n=C.Tween(s,c.opts,e,t,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var t=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;t<n;t++)c.tweens[t].run(1);return e?(a.notifyWith(s,[c,1,0]),a.resolveWith(s,[c,e])):a.rejectWith(s,[c,e]),this}}),u=c.props;for(!function(e,t){var n,i,o,s,r;for(n in e)if(o=t[i=C.camelCase(n)],s=e[n],C.isArray(s)&&(o=s[1],s=e[n]=s[0]),n!==i&&(e[i]=s,delete e[n]),(r=C.cssHooks[i])&&"expand"in r)for(n in s=r.expand(s),delete e[i],s)n in e||(e[n]=s[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);i<o;i++)if(n=rt.prefilters[i].call(c,s,u,c.opts))return C.isFunction(n.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=C.proxy(n.stop,n)),n;return C.map(u,st,c),C.isFunction(c.opts.start)&&c.opts.start.call(s,c),C.fx.timer(C.extend(l,{elem:s,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}C.Animation=C.extend(rt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return U(n.elem,e,W.exec(t),n),n}]},tweener:function(e,t){for(var n,i=0,o=(e=C.isFunction(e)?(t=e,["*"]):e.match(N)).length;i<o;i++)n=e[i],rt.tweeners[n]=rt.tweeners[n]||[],rt.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var i,o,s,r,a,l,c,u=this,d={},p=t.style,f=t.nodeType&&_(t),h=j.get(t,"fxshow");for(i in n.queue||(null==(a=C._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,C.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(c=C.css(t,"display"))?j.get(t,"olddisplay")||Se(t.nodeName):c)&&"none"===C.css(t,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),e)if(o=e[i],tt.exec(o)){if(delete e[i],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!h||void 0===h[i])continue;f=!0}d[i]=h&&h[i]||C.style(t,i)}else c=void 0;if(C.isEmptyObject(d))"inline"===("none"===c?Se(t.nodeName):c)&&(p.display=c);else for(i in h?"hidden"in h&&(f=h.hidden):h=j.access(t,"fxshow",{}),s&&(h.hidden=!f),f?C(t).show():u.done(function(){C(t).hide()}),u.done(function(){var e;for(e in j.remove(t,"fxshow"),d)C.style(t,e,d[e])}),d)r=st(f?h[i]:0,i,u),i in h||(h[i]=r.start,f&&(r.end=r.start,r.start="width"===i||"height"===i?1:0))}],prefilter:function(e,t){t?rt.prefilters.unshift(e):rt.prefilters.push(e)}}),C.speed=function(e,t,n){var i=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||C.isFunction(e)&&e,duration:e,easing:n&&t||t&&!C.isFunction(t)&&t};return i.duration=C.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in C.fx.speeds?C.fx.speeds[i.duration]:C.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){C.isFunction(i.old)&&i.old.call(this),i.queue&&C.dequeue(this,i.queue)},i},C.fn.extend({fadeTo:function(e,t,n,i){return this.filter(_).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(t,e,n,i){function o(){var e=rt(this,C.extend({},t),r);(s||j.get(this,"finish"))&&e.stop(!0)}var s=C.isEmptyObject(t),r=C.speed(e,n,i);return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,e,s){function r(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof o&&(s=e,e=o,o=void 0),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",n=C.timers,i=j.get(this);if(t)i[t]&&i[t].stop&&r(i[t]);else for(t in i)i[t]&&i[t].stop&&nt.test(t)&&r(i[t]);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(n[t].anim.stop(s),e=!1,n.splice(t,1));!e&&s||C.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=j.get(this),n=t[r+"queue"],i=t[r+"queueHooks"],o=C.timers,s=n?n.length:0;for(t.finish=!0,C.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===r&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),C.each(["toggle","show","hide"],function(e,i){var o=C.fn[i];C.fn[i]=function(e,t,n){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(ot(i,!0),e,t,n)}}),C.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,i){C.fn[e]=function(e,t,n){return this.animate(i,e,t,n)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(Ge=C.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),Ge=void 0},C.fx.timer=function(e){C.timers.push(e),e()?C.fx.start():C.timers.pop()},C.fx.interval=13,C.fx.start=function(){Ze=Ze||k.setInterval(C.fx.tick,C.fx.interval)},C.fx.stop=function(){k.clearInterval(Ze),Ze=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(i,e){return i=C.fx&&C.fx.speeds[i]||i,e=e||"fx",this.queue(e,function(e,t){var n=k.setTimeout(e,i);t.stop=function(){k.clearTimeout(n)}})},Je=S.createElement("input"),Qe=S.createElement("select"),et=Qe.appendChild(S.createElement("option")),Je.type="checkbox",m.checkOn=""!==Je.value,m.optSelected=et.selected,Qe.disabled=!0,m.optDisabled=!et.disabled,(Je=S.createElement("input")).value="t",Je.type="radio",m.radioValue="t"===Je.value;var at,lt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return F(this,C.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?C.prop(e,t,n):(1===s&&C.isXMLDoc(e)||(t=t.toLowerCase(),o=C.attrHooks[t]||(C.expr.match.bool.test(t)?at:void 0)),void 0!==n?null===n?void C.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:null==(i=C.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&C.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,o=0,s=t&&t.match(N);if(s&&1===e.nodeType)for(;n=s[o++];)i=C.propFix[n]||n,C.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)}}),at={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var s=lt[t]||C.find.attr;lt[t]=function(e,t,n){var i,o;return n||(o=lt[t],lt[t]=i,i=null!=s(e,t,n)?t.toLowerCase():null,lt[t]=o),i}});var ct=/^(?:input|select|textarea|button)$/i,ut=/^(?:a|area)$/i;C.fn.extend({prop:function(e,t){return F(this,C.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var i,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&C.isXMLDoc(e)||(t=C.propFix[t]||t,o=C.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=C.find.attr(e,"tabindex");return t?parseInt(t,10):ct.test(e.nodeName)||ut.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this});var dt=/[\t\r\n\f]/g;function pt(e){return e.getAttribute&&e.getAttribute("class")||""}C.fn.extend({addClass:function(t){var e,n,i,o,s,r,a,l=0;if(C.isFunction(t))return this.each(function(e){C(this).addClass(t.call(this,e,pt(this)))});if("string"==typeof t&&t)for(e=t.match(N)||[];n=this[l++];)if(o=pt(n),i=1===n.nodeType&&(" "+o+" ").replace(dt," ")){for(r=0;s=e[r++];)i.indexOf(" "+s+" ")<0&&(i+=s+" ");o!==(a=C.trim(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,o,s,r,a,l=0;if(C.isFunction(t))return this.each(function(e){C(this).removeClass(t.call(this,e,pt(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(N)||[];n=this[l++];)if(o=pt(n),i=1===n.nodeType&&(" "+o+" ").replace(dt," ")){for(r=0;s=e[r++];)for(;-1<i.indexOf(" "+s+" ");)i=i.replace(" "+s+" "," ");o!==(a=C.trim(i))&&n.setAttribute("class",a)}return this},toggleClass:function(o,t){var s=typeof o;return"boolean"==typeof t&&"string"==s?t?this.addClass(o):this.removeClass(o):C.isFunction(o)?this.each(function(e){C(this).toggleClass(o.call(this,e,pt(this),t),t)}):this.each(function(){var e,t,n,i;if("string"==s)for(t=0,n=C(this),i=o.match(N)||[];e=i[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==o&&"boolean"!=s||((e=pt(this))&&j.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===o?"":j.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+pt(n)+" ").replace(dt," ").indexOf(t))return!0;return!1}});var ft=/\r/g;C.fn.extend({val:function(n){var i,e,o,t=this[0];return arguments.length?(o=C.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=o?n.call(this,e,C(this).val()):n)?t="":"number"==typeof t?t+="":C.isArray(t)&&(t=C.map(t,function(e){return null==e?"":e+""})),(i=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):t?(i=C.valHooks[t.type]||C.valHooks[t.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ft,""):null==e?"":e:void 0}}),C.extend({valHooks:{option:{get:function(e){return C.trim(e.value)}},select:{get:function(e){for(var t,n,i=e.options,o=e.selectedIndex,s="select-one"===e.type||o<0,r=s?null:[],a=s?o+1:i.length,l=o<0?a:s?o:0;l<a;l++)if(((n=i[l]).selected||l===o)&&(m.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!C.nodeName(n.parentNode,"optgroup"))){if(t=C(n).val(),s)return t;r.push(t)}return r},set:function(e,t){for(var n,i,o=e.options,s=C.makeArray(t),r=o.length;r--;)((i=o[r]).selected=-1<C.inArray(C.valHooks.option.get(i),s))&&(n=!0);return n||(e.selectedIndex=-1),s}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(C.isArray(t))return e.checked=-1<C.inArray(C(e).val(),t)}},m.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ht=/^(?:focusinfocus|focusoutblur)$/;C.extend(C.event,{trigger:function(e,t,n,i){var o,s,r,a,l,c,u,d=[n||S],p=h.call(e,"type")?e.type:e,f=h.call(e,"namespace")?e.namespace.split("."):[];if(s=r=n=n||S,3!==n.nodeType&&8!==n.nodeType&&!ht.test(p+C.event.triggered)&&(-1<p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),l=p.indexOf(":")<0&&"on"+p,(e=e[C.expando]?e:new C.Event(p,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),u=C.event.special[p]||{},i||!u.trigger||!1!==u.trigger.apply(n,t))){if(!i&&!u.noBubble&&!C.isWindow(n)){for(a=u.delegateType||p,ht.test(a+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),r=s;r===(n.ownerDocument||S)&&d.push(r.defaultView||r.parentWindow||k)}for(o=0;(s=d[o++])&&!e.isPropagationStopped();)e.type=1<o?a:u.bindType||p,(c=(j.get(s,"events")||{})[e.type]&&j.get(s,"handle"))&&c.apply(s,t),(c=l&&s[l])&&c.apply&&I(s)&&(e.result=c.apply(s,t),!1===e.result&&e.preventDefault());return e.type=p,i||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(d.pop(),t)||!I(n)||l&&C.isFunction(n[p])&&!C.isWindow(n)&&((r=n[l])&&(n[l]=null),n[C.event.triggered=p](),C.event.triggered=void 0,r&&(n[l]=r)),e.result}},simulate:function(e,t,n){var i=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),C.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){C.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),m.focusin="onfocusin"in k,m.focusin||C.each({focus:"focusin",blur:"focusout"},function(n,i){function o(e){C.event.simulate(i,e.target,C.event.fix(e))}C.event.special[i]={setup:function(){var e=this.ownerDocument||this,t=j.access(e,i);t||e.addEventListener(n,o,!0),j.access(e,i,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=j.access(e,i)-1;t?j.access(e,i,t):(e.removeEventListener(n,o,!0),j.remove(e,i))}}});var gt=k.location,mt=C.now(),yt=/\?/;C.parseJSON=function(e){return JSON.parse(e+"")},C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new k.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var vt=/#.*$/,bt=/([?&])_=[^&]*/,wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,xt=/^(?:GET|HEAD)$/,Tt=/^\/\//,kt={},St={},Ct="*/".concat("*"),$t=S.createElement("a");function At(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,i=0,o=e.toLowerCase().match(N)||[];if(C.isFunction(t))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(t)):(s[n]=s[n]||[]).push(t)}}function Pt(t,o,s,r){var a={},l=t===St;function c(e){var i;return a[e]=!0,C.each(t[e]||[],function(e,t){var n=t(o,s,r);return"string"!=typeof n||l||a[n]?l?!(i=n):void 0:(o.dataTypes.unshift(n),c(n),!1)}),i}return c(o.dataTypes[0])||!a["*"]&&c("*")}function Et(e,t){var n,i,o=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i=i||{})[n]=t[n]);return i&&C.extend(!0,e,i),e}$t.href=gt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ct,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":C.parseJSON,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Et(Et(e,C.ajaxSettings),t):Et(C.ajaxSettings,e)},ajaxPrefilter:At(kt),ajaxTransport:At(St),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,d,p,n,f,i,h,o,g=C.ajaxSetup({},t),m=g.context||g,y=g.context&&(m.nodeType||m.jquery)?C(m):C.event,v=C.Deferred(),b=C.Callbacks("once memory"),w=g.statusCode||{},s={},r={},x=0,a="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!n)for(n={};t=wt.exec(p);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?p:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=r[n]=r[n]||e,s[e]=t),this},overrideMimeType:function(e){return x||(g.mimeType=e),this},statusCode:function(e){var t;if(e)if(x<2)for(t in e)w[t]=[w[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||a;return u&&u.abort(t),l(0,t),this}};if(v.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,g.url=((e||g.url||gt.href)+"").replace(vt,"").replace(Tt,gt.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=C.trim(g.dataType||"*").toLowerCase().match(N)||[""],null==g.crossDomain){i=S.createElement("a");try{i.href=g.url,i.href=i.href,g.crossDomain=$t.protocol+"//"+$t.host!=i.protocol+"//"+i.host}catch(e){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=C.param(g.data,g.traditional)),Pt(kt,g,t,T),2===x)return T;for(o in(h=C.event&&g.global)&&0==C.active++&&C.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!xt.test(g.type),d=g.url,g.hasContent||(g.data&&(d=g.url+=(yt.test(d)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=bt.test(d)?d.replace(bt,"$1_="+mt++):d+(yt.test(d)?"&":"?")+"_="+mt++)),g.ifModified&&(C.lastModified[d]&&T.setRequestHeader("If-Modified-Since",C.lastModified[d]),C.etag[d]&&T.setRequestHeader("If-None-Match",C.etag[d])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&T.setRequestHeader("Content-Type",g.contentType),T.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Ct+"; q=0.01":""):g.accepts["*"]),g.headers)T.setRequestHeader(o,g.headers[o]);if(g.beforeSend&&(!1===g.beforeSend.call(m,T,g)||2===x))return T.abort();for(o in a="abort",{success:1,error:1,complete:1})T[o](g[o]);if(u=Pt(St,g,t,T)){if(T.readyState=1,h&&y.trigger("ajaxSend",[T,g]),2===x)return T;g.async&&0<g.timeout&&(f=k.setTimeout(function(){T.abort("timeout")},g.timeout));try{x=1,u.send(s,l)}catch(e){if(!(x<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,i){var o,s,r,a,l,c=t;2!==x&&(x=2,f&&k.clearTimeout(f),u=void 0,p=i||"",T.readyState=0<e?4:0,o=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var i,o,s,r,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)s=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}r=r||o}s=s||r}if(s)return s!==l[0]&&l.unshift(s),n[s]}(g,T,n)),a=function(e,t,n,i){var o,s,r,a,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(s=u.shift();s;)if(e.responseFields[s]&&(n[e.responseFields[s]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(g,a,T,o),o?(g.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(C.lastModified[d]=l),(l=T.getResponseHeader("etag"))&&(C.etag[d]=l)),204===e||"HEAD"===g.type?c="nocontent":304===e?c="notmodified":(c=a.state,s=a.data,o=!(r=a.error))):(r=c,!e&&c||(c="error",e<0&&(e=0))),T.status=e,T.statusText=(t||c)+"",o?v.resolveWith(m,[s,c,T]):v.rejectWith(m,[T,c,r]),T.statusCode(w),w=void 0,h&&y.trigger(o?"ajaxSuccess":"ajaxError",[T,g,o?s:r]),b.fireWith(m,[T,c]),h&&(y.trigger("ajaxComplete",[T,g]),--C.active||C.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,o){C[o]=function(e,t,n,i){return C.isFunction(t)&&(i=i||n,n=t,t=void 0),C.ajax(C.extend({url:e,type:o,dataType:i,data:t,success:n},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(t){var e;return C.isFunction(t)?this.each(function(e){C(this).wrapAll(t.call(this,e))}):(this[0]&&(e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return C.isFunction(n)?this.each(function(e){C(this).wrapInner(n.call(this,e))}):this.each(function(){var e=C(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=C.isFunction(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){C.nodeName(this,"body")||C(this).replaceWith(this.childNodes)}).end()}}),C.expr.filters.hidden=function(e){return!C.expr.filters.visible(e)},C.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var Lt=/%20/g,Mt=/\[\]$/,Nt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function Ft(n,e,i,o){var t;if(C.isArray(e))C.each(e,function(e,t){i||Mt.test(n)?o(n,t):Ft(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==C.type(e))o(n,e);else for(t in e)Ft(n+"["+t+"]",e[t],i,o)}C.param=function(e,t){function n(e,t){t=C.isFunction(t)?t():null==t?"":t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var i,o=[];if(void 0===t&&(t=C.ajaxSettings&&C.ajaxSettings.traditional),C.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){n(this.name,this.value)});else for(i in e)Ft(i,e[i],t,n);return o.join("&").replace(Lt,"+")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&It.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!X.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:C.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}}),C.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(e){}};var Dt={0:200,1223:204},jt=C.ajaxSettings.xhr();m.cors=!!jt&&"withCredentials"in jt,m.ajax=jt=!!jt,C.ajaxTransport(function(o){var s,r;if(m.cors||jt&&!o.crossDomain)return{send:function(e,t){var n,i=o.xhr();if(i.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(n in o.xhrFields)i[n]=o.xhrFields[n];for(n in o.mimeType&&i.overrideMimeType&&i.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)i.setRequestHeader(n,e[n]);s=function(e){return function(){s&&(s=r=i.onload=i.onerror=i.onabort=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!=typeof i.status?t(0,"error"):t(i.status,i.statusText):t(Dt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!=typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=s(),r=i.onerror=s("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&k.setTimeout(function(){s&&r()})},s=s("abort");try{i.send(o.hasContent&&o.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}}),C.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 C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(n){var i,o;if(n.crossDomain)return{send:function(e,t){i=C("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){i.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),S.head.appendChild(i[0])},abort:function(){o&&o()}}});var Ht,qt=[],zt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||C.expando+"_"+mt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var i,o,s,r=!1!==e.jsonp&&(zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=C.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(zt,"$1"+i):!1!==e.jsonp&&(e.url+=(yt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=k[i],k[i]=function(){s=arguments},n.always(function(){void 0===o?C(k).removeProp(i):k[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,qt.push(i)),s&&C.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),m.createHTMLDocument=((Ht=S.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ht.childNodes.length),C.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(m.createHTMLDocument?S.implementation.createHTMLDocument(""):S);var i=w.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=ne([e],t,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes))};var Rt=C.fn.load;function _t(e){return C.isWindow(e)?e:9===e.nodeType&&e.defaultView}C.fn.load=function(e,t,n){if("string"!=typeof e&&Rt)return Rt.apply(this,arguments);var i,o,s,r=this,a=e.indexOf(" ");return-1<a&&(i=C.trim(e.slice(a)),e=e.slice(0,a)),C.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&C.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){s=arguments,r.html(i?C("<div>").append(C.parseHTML(e)).find(i):e)}).always(n&&function(e,t){r.each(function(){n.apply(r,s||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.filters.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var i,o,s,r,a,l,c=C.css(e,"position"),u=C(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),s=C.css(e,"to
39p"),l=C.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(i=u.position()).top,i.left):(r=parseFloat(s)||0,parseFloat(l)||0),C.isFunction(t)&&(t=t.call(e,n,C.extend({},a))),null!=t.top&&(d.top=t.top-a.top+r),null!=t.left&&(d.left=t.left-a.left+o),"using"in t?t.using.call(e,d):u.css(d)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n,i=this[0],o={top:0,left:0},s=i&&i.ownerDocument;return s?(e=s.documentElement,C.contains(e,i)?(o=i.getBoundingClientRect(),n=_t(s),{top:o.top+n.pageYOffset-e.clientTop,left:o.left+n.pageXOffset-e.clientLeft}):o):void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===C.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),C.nodeName(e[0],"html")||(i=e.offset()),i.top+=C.css(e[0],"borderTopWidth",!0),i.left+=C.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-C.css(n,"marginTop",!0),left:t.left-i.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||Fe})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var s="pageYOffset"===o;C.fn[t]=function(e){return F(this,function(e,t,n){var i=_t(e);if(void 0===n)return i?i[o]:e[t];i?i.scrollTo(s?i.pageXOffset:n,s?n:i.pageYOffset):e[t]=n},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=He(m.pixelPosition,function(e,t){if(t)return t=je(e,n),Oe.test(t)?C(e).position()[n]+"px":t})}),C.each({Height:"height",Width:"width"},function(s,r){C.each({padding:"inner"+s,content:r,"":"outer"+s},function(i,e){C.fn[e]=function(e,t){var n=arguments.length&&(i||"boolean"!=typeof e),o=i||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,n){var i;return C.isWindow(e)?e.document.documentElement["client"+s]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+s],i["scroll"+s],e.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?C.css(e,t,o):C.style(e,t,n,o)},r,n?e:void 0,n,null)}})}),C.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)},size:function(){return this.length}}),C.fn.andSelf=C.fn.addBack,void 0===(Xt=function(){return C}.apply(Ut,[]))||(Vt.exports=Xt);var Bt=k.jQuery,Wt=k.$;return C.noConflict=function(e){return k.$===C&&(k.$=Wt),e&&k.jQuery===C&&(k.jQuery=Bt),C},e||(k.jQuery=k.$=C),C},"object"==typeof Vt.exports?Vt.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)},function(e,t){var a=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object"];function l(e,t){return"string"==typeof e&&(t=e,e=document),Array.prototype.slice.call(e.querySelectorAll(t))}function c(e){return"string"==typeof e?e.split(",").map(n).filter(u):function(e){return"[object Array]"===Object.prototype.toString.call(e)}(e)?function(e){return[].concat.apply([],e)}(e.map(c).filter(u)):e||[]}function u(e){return 0<e.length}function n(e){return e.replace(/^\s+|\s+$/g,"")}e.exports=function(e,t){t=t||{},function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e=e||"body")&&(t=e,e="body"),t.ignore=t.ignore||"",t.players=t.players||"";var n=l(e);if(u(n)){if(!document.getElementById("fit-vids-style"))(document.head||document.getElementsByTagName("head")[0]).appendChild(function(){var e=document.createElement("div");return e.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.childNodes[1]}());var i=c(t.players),o=c(t.ignore),s=0<o.length?o.join():null,r=a.concat(i).join();
39u(r)&&n.forEach(function(e){l(e,r).forEach(function(e){s&&e.matches(s)||function(e){if(/fluid-width-video-wrapper/.test(e.parentNode.className))return;var t=parseInt(e.getAttribute("width"),10),n=parseInt(e.getAttribute("height"),10),i=isNaN(t)?e.clientWidth:t,o=(isNaN(n)?e.clientHeight:n)/i;e.removeAttribute("width"),e.removeAttribute("height");var s=document.createElement("div");e.parentNode.insertBefore(s,e),s.className="fluid-width-video-wrapper",s.style.paddingTop=100*o+"%",s.appendChild(e)}(e)})})}}},function(e,t,n){(function(xt,Tt){"object"==typeof navigator&&(e.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function e(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){d(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(i=(r=a.next()).done)&&(n.push(r.value),!t||n.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==a.return||a.return()}finally{if(o)throw s}}return n}}(e,t)||n(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||n(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function l(o){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?a(Object(s),!0).forEach(function(e){var t,n,i;t=o,i=s[n=e],n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):a(Object(s)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(s,e))})}return o}var p={addCSS:!0,thumbWidth:15,watch:!0};var f=function(e){return null!=e?e.constructor:null},h=function(e,t){return!!(e&&t&&e instanceof t)},g=function(e){return f(e)===String},m=function(e){return Array.isArray(e)},y=function(e){return h(e,NodeList)},v=g,x=m,T=y,k=function(e){return h(e,Element)},S=function(e){return h(e,Event)},C=function(e){return function(e){return null==e}(e)||(g(e)||m(e)||y(e))&&!e.length||function(e){return f(e)===Object}(e)&&!Object.keys(e).length};var $,A,P,E=function(){function c(e,t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,c),k(e)?this.element=e:v(e)&&(this.element=document.querySelector(e)),k(this.element)&&C(this.element.rangeTouch)&&(this.config=l({},p,{},t),this.init())}return function(e,t,n){r(e.prototype,t),r(e,n)}(c,[{key:"init",value:function(){c.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){c.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(e){t.element[n](e,function(e){return t.set(e)},!1)})}},{key:"get",value:function(e){if(!c.enabled||!S(e))return null;var t,n=e.target,i=e.changedTouches[0],o=parseFloat(n.getAttribute("min"))||0,s=parseFloat(n.getAttribute("max"))||100,r=parseFloat(n.getAttribute("step"))||1,a=n.getBoundingClientRect(),l=100/a.width*(this.config.thumbWidth/2)/100;return(t=100/a.width*(i.clientX-a.left))<0?t=0:100<t&&(t=100),t<50?t-=(100-2*t)*l:50<t&&(t+=2*(t-50)*l),o+function(e,t){if(t<1){var n=function(){var e="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}();return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}(t/100*(s-o),r)}},{key:"set",value:function(e){c.enabled&&S(e)&&!e.target.disabled&&(e.preventDefault(),e.target.value=this.get(e),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(e.target,"touchend"===e.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=null;if(C(t)||v(t)?e=Array.from(document.querySelectorAll(v(t)?t:'input[type="range"]')):k(t)?e=[t]:T(t)?e=Array.from(t):x(t)&&(e=t.filter(k)),C(e))return null;var i=l({},p,{},n);if(v(t)&&i.watch){var o=new MutationObserver(function(e){Array.from(e).forEach(function(e){Array.from(e.addedNodes).forEac
39h(function(e){k(e)&&function(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}(e,t)&&new c(e,i)})})});o.observe(document.body,{childList:!0,subtree:!0})}return e.map(function(e){return new c(e,n)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),c}(),L=function(e){return null!=e?e.constructor:null},M=function(e,t){return Boolean(e&&t&&e instanceof t)},N=function(e){return null==e},O=function(e){return L(e)===Object},I=function(e){return L(e)===String},F=function(e){return L(e)===Function},D=function(e){return Array.isArray(e)},j=function(e){return M(e,NodeList)},H=function(e){return N(e)||(I(e)||D(e)||j(e))&&!e.length||O(e)&&!Object.keys(e).length},q=N,z=O,R=function(e){return L(e)===Number&&!Number.isNaN(e)},_=I,B=function(e){return L(e)===Boolean},W=F,V=D,U=j,X=function(e){return null!==e&&"object"===t(e)&&1===e.nodeType&&"object"===t(e.style)&&"object"===t(e.ownerDocument)},Y=function(e){return M(e,Event)},K=function(e){return M(e,KeyboardEvent)},G=function(e){return M(e,TextTrack)||!N(e)&&I(e.kind)},Z=function(e){return M(e,Promise)&&F(e.then)},J=function(e){if(M(e,window.URL))return!0;if(!I(e))return!1;var t=e;e.startsWith("http://")&&e.startsWith("https://")||(t="http://".concat(e));try{return!H(new URL(t).hostname)}catch(e){return!1}},Q=H,ee=($=document.createElement("span"),A={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},P=Object.keys(A).find(function(e){return void 0!==$.style[e]}),!!_(P)&&A[P]);function te(e,t){setTimeout(function(){try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}var ne={isIE:
40/* @cc_on!@ */
41!!document.documentMode,isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function ie(e,t){return t.split(".").reduce(function(e,t){return e&&e[t]},e)}function oe(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!n.length)return t;var o=n.shift();return z(o)?(Object.keys(o).forEach(function(e){z(o[e])?(Object.keys(t).includes(e)||Object.assign(t,d({},e,{})),oe(t[e],o[e])):Object.assign(t,d({},e,o[e]))}),oe.apply(void 0,[t].concat(n))):t}function se(e,s){var t=e.length?e:[e];Array.from(t).reverse().forEach(function(e,t){var n=0<t?s.cloneNode(!0):s,i=e.parentNode,o=e.nextSibling;n.appendChild(e),o?i.insertBefore(n,o):i.appendChild(n)})}function re(o,e){X(o)&&!Q(e)&&Object.entries(e).filter(function(e){var t=w(e,2)[1];return!q(t)}).forEach(function(e){var t=w(e,2),n=t[0],i=t[1];return o.setAttribute(n,i)})}function ae(e,t,n){var i=document.createElement(e);return z(t)&&re(i,t),_(n)&&(i.innerText=n),i}
41function le(e,t,n,i){X(t)&&t.appendChild(ae(e,n,i))}function ce(e){U(e)||V(e)?Array.from(e).forEach(ce):X(e)&&X(e.parentNode)&&e.parentNode.removeChild(e)}function ue(e){if(X(e))for(var t=e.childNodes.length;0<t;)e.removeChild(e.lastChild),t-=1}function de(e,t){return X(t)&&X(t.parentNode)&&X(e)?(t.parentNode.replaceChild(e,t),e):null}function pe(e,t){if(!_(e)||Q(e))return{};var r={},a=oe({},t);return e.split(",").forEach(function(e){var t=e.trim(),n=t.replace(".",""),i=t.replace(/[[\]]/g,"").split("="),o=w(i,1)[0],s=1<i.length?i[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":_(a.class)?r.class="".concat(a.class," ").concat(n):r.class=n;break;case"#":r.id=t.replace("#","");break;case"[":r[o]=s}}),oe(a,r)}function fe(e,t){if(X(e)){var n=t;B(n)||(n=!e.hidden),e.hidden=n}}function he(e,t,n){if(U(e))return Array.from(e).map(function(e){return he(e,t,n)});if(X(e)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function ge(e,t){return X(e)&&e.classList.contains(t)}function me(e,t){var n=Element.prototype;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function ye(e){return this.elements.container.querySelectorAll(e)}function ve(e){return this.elements.container.querySelector(e)}function be(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];X(e)&&(e.focus({preventScroll:!0}),t&&he(e,this.config.classNames.tabFocus))}var we,xe={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},Te={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(e,t,n){var i=ne.isIPhone&&n&&Te.playsinline,o=Te[e]||"html5"!==t;return{api:o,ui:o&&Te.rangeInput&&("video"!==e||!ne.isIPhone||i)}},pip:!(ne.isIPhone||!W(ae("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||ae("video").disablePictureInPicture)),airplay:W(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(e){if(Q(e))return!1;var t=w(e.split("/"),1)[0],n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(xe).includes(n)&&(n+='; codecs="'.concat(xe[e],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(we=document.createElement("input"),we.type="range","range"===we.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==ee,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},ke=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function Se(t,e,n){var i=this,o=3<arguments.length&&void 0!==arguments[3]&&arguments[3],s=!(4<arguments.length&&void 0!==arguments[4])||arguments[4],r=5<arguments.length&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!Q(e)&&W(n)){var a=e.split(" "),l=r;ke&&(l={passive:s,capture:r}),a.forEach(function(e){i&&i.eventListeners&&o&&i.eventListeners.push({element:t,type:e,callback:n,options:l}),t[o?"addEventListener":"removeEventListener"](e,n,l)})}}function Ce(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length?arguments[2]:void 0,i=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],o=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Se.call(this,e,t,n,!0,i,o)}function $e(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length?arguments[2]:void 0,i=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],o=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Se.call(this,e,t,n,!1,i,o)}function Ae(o){var s=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",a=2<arguments.length?arguments[2]:void 0,l=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],c=4<arguments.length&&void 0!==arguments[4]&&arguments[4];Se.call(this,o,r,function e(){$e(o,r,e,l,c);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];a.apply(s,n)},!0,l,c)}function Pe(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};if(X(e)&&!Q(t)){var o=new CustomEvent(t,{bubbles:n,detail:b(b({},i),{},{plyr:this})});e.dispatchEvent(o)}}function Ee(e){Z(e)&&e.then(null,function(){})}function Le(e){return!!(V(e)||_(e)&&e.includes(":"))&&(V(e)?e:e.split(":")).map(Number).every(R)}function Me(e){if(!V(e)||!e.every(R))return null;var t=w(e,2),n=t[0],i=t[1],o=function e(t,n){return 0===n?t:e(n,t%n)}(n,i);return[n/o,i/o]}function Ne(e){var t=function(e){return Le(e)?e.split(":").map(Number):null},n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!Q(this.embed)&&V(this.embed.ratio)&&(n=this.embed.ratio),null===n&&this.isHTML5){var i=this.media;n=Me([i.videoWidth,i.videoHeight])}return n}function Oe(e){if(!this.isVideo)return{};var t=this.elements.wrapper,n=Ne.call(this,e),i=w(V(n)?n:[0,0],2),o=100/i[0]*i[1];if(t.style.paddingBottom="".concat(o,"%"),this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){var s=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),r=(s-o)/(s/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform="translateY(-".concat(r,"%)")}else this.isHTML5&&t.classList.toggle(this.config.classNames.videoFixedRatio,null!==n);return{padding:o,ratio:n}}var Ie={getSources:function(){var n=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(e){var t=e.getAttribute("type");return!!Q(t)||Te.mime.call(n,t)}):[]},getQualityOptions:function(){return this.config.quality.forced?this.config.quality.options:Ie.getSources.call(this).map(function(e){return Number(e.getAttribute("size"))}
41).filter(Boolean)},setup:function(){if(this.isHTML5){var l=this;l.options.speed=l.config.speed.options,Q(this.config.ratio)||Oe.call(l),Object.defineProperty(l.media,"quality",{get:function(){var e=Ie.getSources.call(l).find(function(e){return e.getAttribute("src")===l.source});return e&&Number(e.getAttribute("size"))},set:function(t){if(l.quality!==t){if(l.config.quality.forced&&W(l.config.quality.onChange))l.config.quality.onChange(t);else{var e=Ie.getSources.call(l).find(function(e){return Number(e.getAttribute("size"))===t});if(!e)return;var n=l.media,i=n.currentTime,o=n.paused,s=n.preload,r=n.readyState,a=n.playbackRate;l.media.src=e.getAttribute("src"),"none"===s&&!r||(l.once("loadedmetadata",function(){l.speed=a,l.currentTime=i,o||Ee(l.play())}),l.media.load())}Pe.call(l,l.media,"qualitychange",!1,{quality:t})}}})}},cancelRequests:function(){this.isHTML5&&(ce(Ie.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function Fe(n){return V(n)?n.filter(function(e,t){return n.indexOf(e)===t}):n}function De(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return Q(e)?e:e.toString().replace(/{(\d+)}/g,function(e,t){return n[t].toString()})}var je=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())},He=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})};function qe(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}var ze={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Re=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(Q(e)||Q(t))return"";var o=ie(t.i18n,e);if(Q(o))return Object.keys(ze).includes(e)?ze[e]:"";var n={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(n).forEach(function(e){var t=w(e,2),n=t[0],i=t[1];o=je(o,n,i)}),o},_e=function(){function o(e){var i=this;c(this,o),d(this,"get",function(e){if(!o.supported||!i.enabled)return null;var t=window.localStorage.getItem(i.key);if(Q(t))return null;var n=JSON.parse(t);return _(e)&&e.length?n[e]:n}),d(this,"set",function(e){if(o.supported&&i.enabled&&z(e)){var t=i.get();Q(t)&&(t={}),oe(t,e),window.localStorage.setItem(i.key,JSON.stringify(t))}}),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}return e(o,null,[{key:"supported",get:function(){try{if(!("localStorage"in window))return!1;var e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}]),o}();function Be(e){var o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(t,n){try{var i=new XMLHttpRequest;if(!("withCredentials"in i))return;i.addEventListener("load",function(){if("text"===o)try{t(JSON.parse(i.responseText))}catch(e){t(i.responseText)}else t(i.response)}),i.addEventListener("error",function(){throw new Error(i.status)}),i.open("GET",e,!0),i.responseType=o,i.send()}catch(e){n(e)}})}function We(e,t){if(_(e)){var n=_(t),i=function(){return null!==document.getElementById(t)},o=function(e,t){e.innerHTML=t,n&&i()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!i()){var s=_e.supported,r=document.createElement("div");if(r.setAttribute("hidden",""),n&&r.setAttribute("id",t),s){var a=window.localStorage.getItem("".concat("cache","-").concat(t));if(null!==a){var l=JSON.parse(a);o(r,l.content)}}Be(e).then(function(e){Q(e)||(s&&window.localStorage.setItem("".concat("cache","-").concat(t),JSON.stringify({content:e})),o(r,e))}).catch(function(){})}}}var Ve=function(e){return Math.trunc(e/60/60%60,10)},Ue=function(e){return Math.trunc(e/60%60,10)},Xe=function(e){return Math.trunc(e%60,10)};function Ye(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];if(!R(e))return Ye(void 0,t,n);var i=function(e){return"0".concat(e).slice(-2)},o=Ve(e),s=Ue(e),r=Xe(e);return o=t||0<o?"".concat(o,":"):"","".concat(n&&0<e?"-":"").concat(o).concat(i(s),":").concat(i(r))}var Ke={getIconUrl:function(){var e=new URL(this.config.iconUrl,window.location).host!==window.location.host||ne.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:e}},findElements:function(){try{return this.elements.controls=ve.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:ye.call(this,this.config.selectors.buttons.play),pause:ve.call(this,this.config.selectors.buttons.pause),restart:ve.call(this,this.config.selectors.buttons.restart),rewind:ve.call(this,this.config.selectors.buttons.rewind),fastForward:ve.call(this,this.config.selectors.buttons.fastForward),mute:ve.call(this,this.config.selectors.buttons.mute),pip:ve.call(this,this.config.selectors.buttons.pip),airplay:ve.call(this,this.config.selectors.buttons.airplay),settings:ve.call(this,this.config.selectors.buttons.settings),captions:ve.call(this,this.config.selectors.buttons.captions),fullscreen:ve.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=ve.call(this,this.config.selectors.progress),this.elements.inputs={seek:ve.call(this,this.config.selectors.inputs.seek),volume:ve.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:ve.call(this,this.config.selectors.display.buffer),currentTime:ve.call(this,this.config.selectors.display.currentTime),duration:ve.call(this,this.config.selectors.display.duration)},X(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon:function(e,t){var n="http://www.w3.org/2000/svg",i=Ke.getIconUrl.call(this),o="".concat(i.cors?"":i.url,"#").concat(this.config.iconPrefix),s=document.createElementNS(n,"svg");re(s,oe(t,{"aria-hidden":"true",focusable:"false"}));var r=document.createElementNS(n,"use"),a="".concat(o,"-").concat(e);return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",a),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),s.appendChild(r),s},createLabel:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=Re(e,this.config),i=b(b({},t),{}
vendor: 13,694 bytes, line 41
41,{class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")});return ae("span",i,n)},createBadge:function(e){if(Q(e))return null;var t=ae("span",{class:this.config.classNames.menu.value});return t.appendChild(ae("span",{class:this.config.classNames.menu.badge},e)),t},createButton:function(e,t){var n=this,i=oe({},t),o=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString();return(e=function(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").toString();return e=je(e,"-"," "),e=je(e,"_"," "),e=He(e),je(e," ","")}(e)).charAt(0).toLowerCase()+e.slice(1)}(e),s={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(e){Object.keys(i).includes(e)&&(s[e]=i[e],delete i[e])}),"button"!==s.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(function(e){return e===n.config.classNames.control})||oe(i,{class:"".concat(i.class," ").concat(this.config.classNames.control)}):i.class=this.config.classNames.control,e){case"play":s.toggle=!0,s.label="play",s.labelPressed="pause",s.icon="play",s.iconPressed="pause";break;case"mute":s.toggle=!0,s.label="mute",s.labelPressed="unmute",s.icon="volume",s.iconPressed="muted";break;case"captions":s.toggle=!0,s.label="enableCaptions",s.labelPressed="disableCaptions",s.icon="captions-off",s.iconPressed="captions-on";break;case"fullscreen":s.toggle=!0,s.label="enterFullscreen",s.labelPressed="exitFullscreen",s.icon="enter-fullscreen",s.iconPressed="exit-fullscreen";break;case"play-large":i.class+=" ".concat(this.config.classNames.control,"--overlaid"),o="play",s.label="play",s.icon="play";break;default:Q(s.label)&&(s.label=o),Q(s.icon)&&(s.icon=e)}var r=ae(s.element);return s.toggle?(r.appendChild(Ke.createIcon.call(this,s.iconPressed,{class:"icon--pressed"})),r.appendChild(Ke.createIcon.call(this,s.icon,{class:"icon--not-pressed"})),r.appendChild(Ke.createLabel.call(this,s.labelPressed,{class:"label--pressed"})),r.appendChild(Ke.createLabel.call(this,s.label,{class:"label--not-pressed"}))):(r.appendChild(Ke.createIcon.call(this,s.icon)),r.appendChild(Ke.createLabel.call(this,s.label))),oe(i,pe(this.config.selectors.buttons[o],i)),re(r,i),"play"===o?(V(this.elements.buttons[o])||(this.elements.buttons[o]=[]),this.elements.buttons[o].push(r)):this.elements.buttons[o]=r,r},createRange:function(e,t){var n=ae("input",oe(pe(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Re(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,Ke.updateRangeFill.call(this,n),E.setup(n),n},createProgress:function(e,t){var n=ae("progress",oe(pe(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(ae("span",null,"0"));var i={played:"played",buffer:"buffered"}[e],o=i?Re(i,this.config):"";n.innerText="% ".concat(o.toLowerCase())}return this.elements.display[e]=n},createTime:function(e,t){var n=pe(this.config.selectors.display[e],t),i=ae("div",oe(n,{class:"".concat(n.class?n.class:""," ").concat(this.config.classNames.display.time," ").trim(),"aria-label":Re(e,this.config)}),"00:00");return this.elements.display[e]=i},bindMenuItemShortcuts:function(i,o){var s=this;Ce.call(this,i,"keydown keyup",function(e){if([32,38,39,40].includes(e.which)&&(e.preventDefault(),e.stopPropagation(),"keydown"!==e.type)){var t,n=me(i,'[role="menuitemradio"]');!n&&[32,39].includes(e.which)?Ke.showMenuPanel.call(s,o,!0):32!==e.which&&(40===e.which||n&&39===e.which?(t=i.nextElementSibling,X(t)||(t=i.parentNode.firstElementChild)):(t=i.previousElementSibling,X(t)||(t=i.parentNode.lastElementChild)),be.call(s,t,!0))}},!1),Ce.call(this,i,"keyup",function(e){13===e.which&&Ke.focusFirstMenuItem.call(s,null,!0)})},createMenuItem:function(e){var t=this,n=e.value,i=e.list,o=e.type,s=e.title,r=e.badge,a=void 0===r?null:r,l=e.checked,c=void 0!==l&&l,u=pe(this.config.selectors.inputs[o]),d=ae("button",oe(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),p=ae("span");p.innerHTML=s,X(a)&&p.appendChild(a),d.appendChild(p),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(e){e&&Array.from(d.parentNode.children).filter(function(e){return me(e,'[role="menuitemradio"]')}).forEach(function(e){return e.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(d,"click keyup",function(e){if(!K(e)||32===e.which){switch(e.preventDefault(),e.stopPropagation(),d.checked=!0,o){case"language":t.currentTrack=Number(n);break;case"quality":t.quality=n;break;case"speed":t.speed=parseFloat(n)}Ke.showMenuPanel.call(t,"home",K(e))}},o,!1),Ke.bindMenuItemShortcuts.call(this,d,o),i.appendChild(d)},formatTime:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!R(e))return e;var n=0<Ve(this.duration);return Ye(e,n,t)},updateTimeDisplay:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2];X(e)&&R(t)&&(e.innerText=Ke.formatTime(t,n))},updateVolume:function(){this.supported.ui&&(X(this.elements.inputs.volume)&&Ke.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),X(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;X(e)&&(e.value=t,Ke.updateRangeFill.call(this,e))},updateProgress:function(e){var s=this;if(this.supported.ui&&Y(e)){var t,n,i=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=this.currentTime,n=this.duration,i=0===t||0===n||Number.isNaN(t)||Number.isNaN(n)?0:(t/n*100).toFixed(2),"timeupdate"===e.type&&Ke.setRange.call(this,this.elements.inputs.seek,i);break;case"playing":case"progress":!function(e,t){var n=R(t)?t:0,i=X(e)?e:s.elements.display.buffer;if(X(i)){i.value=n;var o=i.getElementsByTagName("span")[0];X(o)&&(o.childNodes[0].nodeValue=n)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(e){var t=Y(e)?e.target:e;if(X(t)&&"range"===t.getAttribute("type")){if(me(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);var n=Ke.formatTime(this.currentTime),i=Ke.formatTime(this.duration),o=Re("seekLabel",this.config);t.setAttribute("aria-valuetext",o.replace("{currentTime}",n).replace("{duration}",i))}else if(me(t,this.config.selectors.inputs.volume)){var s=100*t.value;t.setAttribute("aria-valuenow",s),t.setAttribute("aria-valuetext","".concat(s.toFixed(1),"%"))}else t.setAttribute("aria-valuenow",t.value);ne.isWebkit&&t.style.setProperty("--value","".concat(t.value/t.max*100,"%"))}},updateSeekTooltip:function(e){var t=this;if(this.config.tooltips.seek&&X(this.elements.inputs.seek)&&X(this.elements.display.seekTooltip)&&0!==this.duration){var n="".concat(this.config.classNames.tooltip,"--visible"),i=function(e){return he(t.elements.display.seekTooltip,n,e)};if(this.touch)i(!1);else{var o=0,s=this.elements.progress.getBoundingClientRect();if(Y(e))o=100/s.width*(e.pageX-s.left);else{if(!ge(this.elements.display.seekTooltip,n))return;o=parseFloat(this.elements.display.seekTooltip.style.left,10)}o<0?o=0:100<o&&(o=100),Ke.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*o),this.elements.display.seekTooltip.style.left="".concat(o,"%"),Y(e)&&["mouseenter","mouseleave"].includes(e.type)&&i("mouseenter"===e.type)}}},timeUpdate:function(e){var t=!X(this.elements.display.duration)&&this.config.invertTime;Ke.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||Ke.updateProgress.call(this,e)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return fe(this.elements.display.currentTime,!0),void fe(this.elements.progress,!0);X(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var e=X(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&Ke.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&Ke.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),Ke.updateSeekTooltip.call(this)}},toggleMenuButton:function(e,t){fe(this.elements.settings.buttons[e],!t)},updateSetting:function(e,t,n){var i=this.elements.settings.panels[e],o=null,s=t;if("captions"===e)o=this.currentTrack;else{if(o=Q(n)?this[e]:n,Q(o)&&(o=this.config[e].default),!Q(this.options[e])&&!this.options[e].includes(o))return void this.debug.warn("Unsupported value of '".concat(o,"' for ").concat(e));if(!this.config[e].options.includes(o))return void this.debug.warn("Disabled value of '".concat(o,"' for ").concat(e))}if(X(s)||(s=i&&i.querySelector('[role="menu"]')),X(s)){this.elements.settings.buttons[e].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=Ke.getLabel.call(this,e,o);var r=s&&s.querySelector('[value="'.concat(o,'"]'));X(r)&&(r.checked=!0)}},getLabel:function(e,t){switch(e){case"speed":return 1===t?Re("normal",this.config):"".concat(t,"&times;");case"quality":if(R(t)){var n=Re("qualityLabel.".concat(t),this.config);return n.length?n:"".concat(t,"p")}return He(t);case"captions":return Je.getLabel.call(this);default:return null}},setQualityMenu:function(e){var i=this;if(X(this.elements.settings.panels.quality)){var t="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');V(e)&&(this.options.quality=Fe(e).filter(function(e){return i.config.quality.options.includes(e)}));var o=!Q(this.options.quality)&&1<this.options.quality.length;if(Ke.toggleMenuButton.call(this,t,o),ue(n),Ke.checkMenu.call(this),o){this.options.quality.sort(function(e,t){var n=i.config.quality.options;return n.indexOf(e)>n.indexOf(t)?1:-1}).forEach(function(e){Ke.createMenuItem.call(i,{value:e,list:n,type:t,title:Ke.getLabel.call(i,"quality",e),badge:function(e){var t=Re("qualityBadge.".concat(e),i.config);return t.length?Ke.createBadge.call(i,t):null}(e)})}),Ke.updateSetting.call(this,t,n)}}},setCaptionsMenu:function(){var n=this;if(X(this.elements.settings.panels.captions)){var e="captions",i=this.elements.settings.panels.captions.querySelector('[role="menu"]'),t=Je.getTracks.call(this),o=Boolean(t.length);if(Ke.toggleMenuButton.call(this,e,o),ue(i),Ke.checkMenu.call(this),o){var s=t.map(function(e,t){return{value:t,checked:n.captions.toggled&&n.currentTrack===t,title:Je.getLabel.call(n,e),badge:e.language&&Ke.createBadge.call(n,e.language.toUpperCase()),list:i,type:"language"}});s.unshift({value:-1,checked:!this.captions.toggled,title:Re("disabled",this.config),list:i,type:"language"}),s.forEach(Ke.createMenuItem.bind(this)),Ke.updateSetting.call(this,e,i)}}},setSpeedMenu:function(){var t=this;if(X(this.elements.settings.panels.speed)){var n="speed",i=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(function(e){return e>=t.minimumSpeed&&e<=t.maximumSpeed});var e=!Q(this.options.speed)&&1<this.options.speed.length;Ke.toggleMenuButton.call(this,n,e),ue(i),Ke.checkMenu.call(this),e&&(this.options.speed.forEach(function(e){Ke.createMenuItem.call(t,{value:e,list:i,type:n,title:Ke.getLabel.call(t,"speed",e)})}),Ke.updateSetting.call(this,n,i))}},checkMenu:function(){var e=this.elements.settings.buttons,t=!Q(e)&&Object.values(e).some(function(e){return!e.hidden});fe(this.elements.settings.menu,!t)},focusFirstMenuItem:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=e;X(n)||(n=Object.values(this.elements.settings.panels).find(function(e){return!e.hidden}));var i=n.querySelector('[role^="menuitem"]');be.call(this,i,t)}},toggleMenu:function(e){var t=this.elements.settings.popup,n=this.elements.buttons.settings;if(X(t)&&X(n)){var i=t.hidden,o=i;if(B(e))o=e;else if(K(e)&&27===e.which)o=!1;else if(Y(e)){var s=W(e.composedPath)?e.composedPath()[0]:e.target,r=t.contains(s);if(r||!r&&e.target!==n&&o)return}n.setAttribute("aria-expanded",o),fe(t,!o),he(this.elements.container,this.config.classNames.menu.open,o),o&&K(e)?Ke.focusFirstMenuItem.call(this,null,!0):o||i||be.call(this,n,K(e))}},getMenuSize:function(e){var t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);var n=t.scrollWidth,i=t.scrollHeight;return ce(t),{width:n,height:i}},showMenuPanel:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],i=this.elements.container.querySelector("#plyr-settings-".concat(this.id,"-").concat(e));if(X(i)){var o=i.parentNode,s=Array.from(o.children).find(function(e){return!e.hidden});if(Te.transitions&&!Te.reducedMotion){o.style.width="".concat(s.scrollWidth,"px"),o.style.height="".concat(s.scrollHeight,"px");var r=Ke.getMenuSize.call(this,i);Ce.call(this,o,ee,function e(t){t.target===o&&["width","height"].includes(t.propertyName)&&(o.style.width="",o.style.height="",$e.call(n,o,ee,e))}),o.style.width="".concat(r.width,"px"),o.style.height="".concat(r.height,"px")}
41fe(s,!0),fe(i,!1),Ke.focusFirstMenuItem.call(this,i,t)}},setDownloadUrl:function(){var e=this.elements.buttons.download;X(e)&&e.setAttribute("href",this.download)},create:function(f){var h=this,g=Ke.bindMenuItemShortcuts,m=Ke.createButton,y=Ke.createProgress,v=Ke.createRange,b=Ke.createTime,e=Ke.setQualityMenu,t=Ke.setSpeedMenu,w=Ke.showMenuPanel;this.elements.controls=null,V(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(m.call(this,"play-large"));var x=ae("div",pe(this.config.selectors.controls.wrapper));this.elements.controls=x;var T={class:"plyr__controls__item"};return Fe(V(this.config.controls)?this.config.controls:[]).forEach(function(e){if("restart"===e&&x.appendChild(m.call(h,"restart",T)),"rewind"===e&&x.appendChild(m.call(h,"rewind",T)),"play"===e&&x.appendChild(m.call(h,"play",T)),"fast-forward"===e&&x.appendChild(m.call(h,"fast-forward",T)),"progress"===e){var t=ae("div",{class:"".concat(T.class," plyr__progress__container")}),n=ae("div",pe(h.config.selectors.progress));if(n.appendChild(v.call(h,"seek",{id:"plyr-seek-".concat(f.id)})),n.appendChild(y.call(h,"buffer")),h.config.tooltips.seek){var i=ae("span",{class:h.config.classNames.tooltip},"00:00");n.appendChild(i),h.elements.display.seekTooltip=i}h.elements.progress=n,t.appendChild(h.elements.progress),x.appendChild(t)}if("current-time"===e&&x.appendChild(b.call(h,"currentTime",T)),"duration"===e&&x.appendChild(b.call(h,"duration",T)),"mute"===e||"volume"===e){var o=h.elements.volume;if(X(o)&&x.contains(o)||(o=ae("div",oe({},T,{class:"".concat(T.class," plyr__volume").trim()})),h.elements.volume=o,x.appendChild(o)),"mute"===e&&o.appendChild(m.call(h,"mute")),"volume"===e&&!ne.isIos){var s={max:1,step:.05,value:h.config.volume};o.appendChild(v.call(h,"volume",oe(s,{id:"plyr-volume-".concat(f.id)})))}}if("captions"===e&&x.appendChild(m.call(h,"captions",T)),"settings"===e&&!Q(h.config.settings)){var r=ae("div",oe({},T,{class:"".concat(T.class," plyr__menu").trim(),hidden:""}));r.appendChild(m.call(h,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(f.id),"aria-expanded":!1}));var a=ae("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(f.id),hidden:""}),l=ae("div"),c=ae("div",{id:"plyr-settings-".concat(f.id,"-home")}),u=ae("div",{role:"menu"});c.appendChild(u),l.appendChild(c),h.elements.settings.panels.home=c,h.config.settings.forEach(function(e){var t=ae("button",oe(pe(h.config.selectors.buttons.settings),{type:"button",class:"".concat(h.config.classNames.control," ").concat(h.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));g.call(h,t,e),Ce.call(h,t,"click",function(){w.call(h,e,!1)});var n=ae("span",null,Re(e,h.config)),i=ae("span",{class:h.config.classNames.menu.value});i.innerHTML=f[e],n.appendChild(i),t.appendChild(n),u.appendChild(t);var o=ae("div",{id:"plyr-settings-".concat(f.id,"-").concat(e),hidden:""}),s=ae("button",{type:"button",class:"".concat(h.config.classNames.control," ").concat(h.config.classNames.control,"--back")});s.appendChild(ae("span",{"aria-hidden":!0},Re(e,h.config))),s.appendChild(ae("span",{class:h.config.classNames.hidden},Re("menuBack",h.config))),Ce.call(h,o,"keydown",function(e){37===e.which&&(e.preventDefault(),e.stopPropagation(),w.call(h,"home",!0))},!1),Ce.call(h,s,"click",function(){w.call(h,"home",!1)}),o.appendChild(s),o.appendChild(ae("div",{role:"menu"})),l.appendChild(o),h.elements.settings.buttons[e]=t,h.elements.settings.panels[e]=o}),a.appendChild(l),r.appendChild(a),x.appendChild(r),h.elements.settings.popup=a,h.elements.settings.menu=r}if("pip"===e&&Te.pip&&x.appendChild(m.call(h,"pip",T)),"airplay"===e&&Te.airplay&&x.appendChild(m.call(h,"airplay",T)),"download"===e){var d=oe({},T,{element:"a",href:h.download,target:"_blank"});h.isHTML5&&(d.download="");var p=h.config.urls.download;!J(p)&&h.isEmbed&&oe(d,{icon:"logo-".concat(h.provider),label:h.provider}),x.appendChild(m.call(h,"download",d))}"fullscreen"===e&&x.appendChild(m.call(h,"fullscreen",T))}),this.isHTML5&&e.call(this,Ie.getQualityOptions.call(this)),t.call(this),x}
41,inject:function(){var i=this;if(this.config.loadSprite){var e=Ke.getIconUrl.call(this);e.cors&&We(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var t=null;this.elements.controls=null;var o,n,s={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;if(W(this.config.controls)&&(this.config.controls=this.config.controls.call(this,s)),this.config.controls||(this.config.controls=[]),X(this.config.controls)||_(this.config.controls)?t=this.config.controls:(t=Ke.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Je.getLabel.call(this)}),r=!1),r&&_(this.config.controls)&&(o=t,Object.entries(s).forEach(function(e){var t=w(e,2),n=t[0],i=t[1];o=je(o,"{".concat(n,"}"),i)}),t=o),_(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),X(n)||(n=this.elements.container),n[X(t)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",t),X(this.elements.controls)||Ke.findElements.call(this),!Q(this.elements.buttons)){var a=function(t){var n=i.config.classNames.controlPressed;Object.defineProperty(t,"pressed",{enumerable:!0,get:function(){return ge(t,n)},set:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];he(t,n,e)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(e){V(e)||U(e)?Array.from(e).filter(Boolean).forEach(a):a(e)})}if(ne.isEdge&&te(n),this.config.tooltips.controls){var l=this.config,c=l.classNames,u=l.selectors,d="".concat(u.controls.wrapper," ").concat(u.labels," .").concat(c.hidden),p=ye.call(this,d);Array.from(p).forEach(function(e){he(e,i.config.classNames.hidden,!1),he(e,i.config.classNames.tooltip,!0)})}}};function Ge(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=e;if(t){var i=document.createElement("a");i.href=n,n=i.href}try{return new URL(n)}catch(e){return null}}function Ze(e){var o=new URLSearchParams;return z(e)&&Object.entries(e).forEach(function(e){var t=w(e,2),n=t[0],i=t[1];o.set(n,i)}),o}var Je={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!Te.textTracks)V(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ke.setCaptionsMenu.call(this);else{if(X(this.elements.captions)||(this.elements.captions=ae("div",pe(this.config.selectors.captions)),function(e,t){X(e)&&X(t)&&t.parentNode.insertBefore(e,t.nextSibling)}(this.elements.captions,this.elements.wrapper)),ne.isIE&&window.URL){var e=this.media.querySelectorAll("track");Array.from(e).forEach(function(t){var e=t.getAttribute("src"),n=Ge(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Be(e,"blob").then(function(e){t.setAttribute("src",window.URL.createObjectURL(e))}).catch(function(){ce(t)})})}var t=Fe((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(e){return e.split("-")[0]})),n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===n&&(n=w(t,1)[0]);var i=this.storage.get("captions");if(B(i)||(i=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:i,language:n,languages:t}),this.isHTML5){var o=this.config.captions.update?"addtrack removetrack":"removetrack";Ce.call(this,this.media.textTracks,o,Je.update.bind(this))}setTimeout(Je.update.bind(this),0)}},update:function(){var t=this,e=Je.getTracks.call(this,!0),n=this.captions,i=n.active,o=n.language,s=n.meta,r=n.currentTrackNode,a=Boolean(e.find(function(e){return e.language===o}));this.isHTML5&&this.isVideo&&e.filter(function(e){return!s.get(e)}).forEach(function(e){t.debug.log("Track added",e),s.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),Ce.call(t,e,"cuechange",function(){return Je.updateCues.call(t)})}),(a&&this.language!==o||!e.includes(r))&&(Je.setLanguage.call(this,o),Je.toggle.call(this,i&&a)),he(this.elements.container,this.config.classNames.captions.enabled,!Q(e)),V(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ke.setCaptionsMenu.call(this)},toggle:function(e){var t=this,n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var i=this.captions.toggled,o=this.config.classNames.captions.active,s=q(e)?!i:e;if(s!==i){if(n||(this.captions.active=s,this.storage.set({captions:s})),!this.language&&s&&!n){var r=Je.getTracks.call(this),a=Je.findTrack.call(this,[this.captions.language].concat(u(this.captions.languages)
41),!0);return this.captions.language=a.language,void Je.set.call(this,r.indexOf(a))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=s),he(this.elements.container,o,s),this.captions.toggled=s,Ke.updateSetting.call(this,"captions"),Pe.call(this,this.media,s?"captionsenabled":"captionsdisabled")}setTimeout(function(){s&&t.captions.toggled&&(t.captions.currentTrackNode.mode="hidden")})}},set:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],n=Je.getTracks.call(this);if(-1!==e)if(R(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;var i=n[e],o=i||{},s=o.language;this.captions.currentTrackNode=i,Ke.updateSetting.call(this,"captions"),t||(this.captions.language=s,this.storage.set({language:s})),this.isVimeo&&this.embed.enableTextTrack(s),Pe.call(this,this.media,"languagechange")}Je.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Je.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Je.toggle.call(this,!1,t)},setLanguage:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];if(_(e)){var n=e.toLowerCase();this.captions.language=n;var i=Je.getTracks.call(this),o=Je.findTrack.call(this,[n]);Je.set.call(this,i.indexOf(o),t)}else this.debug.warn("Invalid language argument",e)},getTracks:function(){var t=this,n=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=Array.from((this.media||{}).textTracks||[]);return e.filter(function(e){return!t.isHTML5||n||t.captions.meta.has(e)}).filter(function(e){return["captions","subtitles"].includes(e.kind)})},findTrack:function(e){var n,t=this,i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=Je.getTracks.call(this),s=function(e){return Number((t.captions.meta.get(e)||{}).default)},r=Array.from(o).sort(function(e,t){return s(t)-s(e)});return e.every(function(t){return!(n=r.find(function(e){return e.language===t}))}),n||(i?r[0]:void 0)},getCurrentTrack:function(){return Je.getTracks.call(this)[this.currentTrack]},getLabel:function(e){var t=e;return!G(t)&&Te.textTracks&&this.captions.toggled&&(t=Je.getCurrentTrack.call(this)),G(t)?Q(t.label)?Q(t.language)?Re("enabled",this.config):e.language.toUpperCase():t.label:Re("disabled",this.config)},updateCues:function(e){if(this.supported.ui)if(X(this.elements.captions))if(q(e)||Array.isArray(e)){var t=e;if(!t){var n=Je.getCurrentTrack.call(this);t=Array.from((n||{}).activeCues||[]).map(function(e){return e.getCueAsHTML()}).map(qe)}var i=t.map(function(e){return e.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){ue(this.elements.captions);var o=ae("span",pe(this.config.selectors.caption));o.innerHTML=i,this.elements.captions.appendChild(o),Pe.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",e);else this.debug.warn("No captions element to render to")}},Qe={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.4/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"S
41D"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},et="picture-in-picture",tt={html5:"html5",youtube:"youtube",vimeo:"vimeo"},nt=function(){},it=function(){function t(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];c(this,t),this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}return e(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):nt}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):nt}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):nt}}]),t}(),ot=function(){function t(e){var s=this;c(this,t),d(this,"onChange",function(){if(s.enabled){var e=s.player.elements.buttons.fullscreen;X(e)&&(e.pressed=s.active);var t=s.target===s.player.media?s.target:s.player.elements.container;Pe.call(s.player,t,s.active?"enterfullscreen":"exitfullscreen",!0)}}),d(this,"toggleFallback",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];if(e?s.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(s.scrollPosition.x,s.scrollPosition.y),document.body.style.overflow=e?"hidden":"",he(s.target,s.player.config.classNames.fullscreen.fallback,e),ne.isIos){var t=document.head.querySelector('meta[name="viewport"]'),n="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");var i=_(t.content)&&t.content.includes(n);e?(s.cleanupViewport=!i,i||(t.content+=",".concat(n))):s.cleanupViewport&&(t.content=t.content.split(",").filter(function(e){return e.trim()!==n}).join(","))}s.onChange()}),d(this,"trapFocus",function(e){if(!ne.isIos&&s.active&&"Tab"===e.key&&9===e.keyCode){var t=document.activeElement,n=ye.call(s.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),i=w(n,1)[
410],o=n[n.length-1];t!==o||e.shiftKey?t===i&&e.shiftKey&&(o.focus(),e.preventDefault()):(i.focus(),e.preventDefault())}}),d(this,"update",function(){var e;s.enabled?(e=s.forceFallback?"Fallback (forced)":t.native?"Native":"Fallback",s.player.debug.log("".concat(e," fullscreen enabled"))):s.player.debug.log("Fullscreen not supported and fallback disabled"),he(s.player.elements.container,s.player.config.classNames.fullscreen.enabled,s.enabled)}),d(this,"enter",function(){s.enabled&&(ne.isIos&&s.player.config.fullscreen.iosNative?s.player.isVimeo?s.player.embed.requestFullscreen():s.target.webkitEnterFullscreen():!t.native||s.forceFallback?s.toggleFallback(!0):s.prefix?Q(s.prefix)||s.target["".concat(s.prefix,"Request").concat(s.property)]():s.target.requestFullscreen({navigationUI:"hide"}))}),d(this,"exit",function(){if(s.enabled)if(ne.isIos&&s.player.config.fullscreen.iosNative)s.target.webkitExitFullscreen(),Ee(s.player.play());else if(!t.native||s.forceFallback)s.toggleFallback(!1);else if(s.prefix){if(!Q(s.prefix)){var e="moz"===s.prefix?"Cancel":"Exit";document["".concat(s.prefix).concat(e).concat(s.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}),d(this,"toggle",function(){s.active?s.exit():s.enter()}),this.player=e,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===e.config.fullscreen.fallback,this.player.elements.fullscreen=e.config.fullscreen.container&&function(e,t){return(Element.prototype.closest||function(){var e=this;do{if(me.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,e.config.fullscreen.container),Ce.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){s.onChange()}),Ce.call(this.player,this.player.elements.container,"dblclick",function(e){X(s.player.elements.controls)&&s.player.elements.controls.contains(e.target)||s.player.listeners.proxy(e,s.toggle,"fullscreen")}),Ce.call(this,this.player.elements.container,"keydown",function(e){return s.trapFocus(e)}),this.update()}return e(t,[{key:"usingNative",get:function(){return t.native&&!this.forceFallback}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){if(!this.enabled)return!1;if(!t.native||this.forceFallback)return ge(this.target,this.player.config.classNames.fullscreen.fallback);var e=this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}},{key:"target",get:function(){return ne.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(W(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some(function(e){return!(!W(document["".concat(e,"ExitFullscreen")])&&!W(document["".concat(e,"CancelFullScreen")])||(t=e,0))}),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function st(o){var s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(e,t){var n=new Image,i=function(){delete n.onload,delete n.onerror,(n.naturalWidth>=s?e:t)(n)};Object.assign(n,{onload:i,onerror:i,src:o})})}var rt={addStyleHook:function(){he(this.elements.container,this.config.selectors.container.replace(".",""),!0),he(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var e=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.t
41ype)),void rt.toggleNativeControls.call(this,!0);X(this.elements.controls)||(Ke.inject.call(this),this.listeners.controls()),rt.toggleNativeControls.call(this),this.isHTML5&&Je.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,Ke.updateVolume.call(this),Ke.timeUpdate.call(this),rt.checkPlaying.call(this),he(this.elements.container,this.config.classNames.pip.supported,Te.pip&&this.isHTML5&&this.isVideo),he(this.elements.container,this.config.classNames.airplay.supported,Te.airplay&&this.isHTML5),he(this.elements.container,this.config.classNames.isIos,ne.isIos),he(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){Pe.call(e,e.media,"ready")},0),rt.setTitle.call(this),this.poster&&rt.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&&Ke.durationUpdate.call(this)},setTitle:function(){var t=Re("play",this.config);if(_(this.config.title)&&!Q(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.setAttribute("aria-label",t)}),this.isEmbed){var e=ve.call(this,"iframe");if(!X(e))return;var n=Q(this.config.title)?"video":this.config.title,i=Re("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(e){he(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster:function(t){var n=this,e=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return e&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",t),this.elements.poster.removeAttribute("hidden"),function(){var t=this;return new Promise(function(e){return t.ready?setTimeout(e,0):Ce.call(t,t.elements.container,"ready",e)}).then(function(){})}.call(this).then(function(){return st(t)}).catch(function(e){throw t===n.poster&&rt.togglePoster.call(n,!1),e}).then(function(){if(t!==n.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(n.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),rt.togglePoster.call(n,!0),t}))},checkPlaying:function(e){var t=this;he(this.elements.container,this.config.classNames.playing,this.playing),he(this.elements.container,this.config.classNames.paused,this.paused),he(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(e){Object.assign(e,{pressed:t.playing}),e.setAttribute("aria-label",Re(t.playing?"pause":"play",t.config))}),Y(e)&&"timeupdate"===e.type||rt.toggleControls.call(this)},checkLoading:function(e){var t=this;this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){he(t.elements.container,t.config.classNames.loading,t.loading),rt.toggleControls.call(t)},this.loading?250:0)},toggleControls:function(e){var t=this.elements.controls;if(t&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles:function(){var t=this;Object.values(b({},this.media.style)).filter(function(e){return!Q(e)&&_(e)&&e.startsWith("--plyr")}).forEach(function(e){t.elements.container.style.setProperty(e,t.media.style.getPropertyValue(e)),t.media.style.removeProperty(e)}),Q(this.media.style)&&this.media.removeAttribute("style")}},at=function(){function t(e){var u=this;c(this,t),d(this,"firstTouch",function(){var e=u.player,t=e.elements;e.touch=!0,he(t.container,e.config.classNames.isTouch,!0)}),d(this,"setTabFocus",function(e){var t=u.player,n=t.elements;if(clearTimeout(u.focusTimer),"keydown"!==e.type||9===e.which){"keydown"===e.type&&(u.lastKeyDown=e.timeStamp);var i,o=e.timeStamp-u.lastKeyDown<=20;"focus"===e.type&&!o||(i=t.config.classNames.tabFocus,he(ye.call(t,".".concat(i)),i,!1),"focusout"!==e.type&&(u.focusTimer=setTimeout(function(){var e=document.activeElement;n.container.contains(e)&&he(document.activeElement,t.config.classNames.tabFocus,!0)},10)))}}),d(this,"global",function(){var e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0],t=u.player;t.config.keyboard.global&&Se.call(t,window,"keydown keyup",u.handleKey,e,!1),Se.call(t,document.body,"click",u.toggleMenu,e),Ae.call(t,document.body,"touchstart",u.firstTouch),Se.call(t,document.body,"keydown focus blur focusout",u.setTabFocus,e,!1,!0)}),d(this,"container",function(){var l=u.player,e=l.config,r=l.elements,i=l.timers;!e.keyboard.global&&e.keyboard.focused&&Ce.call(l,r.container,"keydown keyup",u.handleKey,!1),Ce.call(l,r.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(e){var t=r.controls;t&&"enterfullscreen"===e.type&&(t.pressed=!1,t.hover=!1);var n=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(rt.toggleControls.call(l,!0),n=l.touch?3e3:2e3),clearTimeout(i.controls),i.controls=setTimeout(function(){return rt.toggleControls.call(l,!1)},n)});var a=function(e){if(!e)return Oe.call(l);
41var t=r.container.getBoundingClientRect(),n=t.width,i=t.height;return Oe.call(l,"".concat(n,":").concat(i))},c=function(){clearTimeout(i.resized),i.resized=setTimeout(a,50)};Ce.call(l,r.container,"enterfullscreen exitfullscreen",function(e){var t=l.fullscreen,n=t.target,i=t.usingNative;if(n===r.container&&(l.isEmbed||!Q(l.config.ratio))){var o="enterfullscreen"===e.type,s=a(o);s.padding,function(e,t,n){if(l.isVimeo&&!l.config.vimeo.premium){var i=l.elements.wrapper.firstChild,o=w(e,2)[1],s=w(Ne.call(l),2),r=s[0],a=s[1];i.style.maxWidth=n?"".concat(o/a*r,"px"):null,i.style.margin=n?"0 auto":null}}(s.ratio,0,o),o&&setTimeout(function(){return te(r.container)},100),i||(o?Ce.call(l,window,"resize",c):$e.call(l,window,"resize",c))}})}),d(this,"media",function(){var i=u.player,o=i.elements;if(Ce.call(i,i.media,"timeupdate seeking seeked",function(e){return Ke.timeUpdate.call(i,e)}),Ce.call(i,i.media,"durationchange loadeddata loadedmetadata",function(e){return Ke.durationUpdate.call(i,e)}),Ce.call(i,i.media,"ended",function(){i.isHTML5&&i.isVideo&&i.config.resetOnEnd&&(i.restart(),i.pause())}),Ce.call(i,i.media,"progress playing seeking seeked",function(e){return Ke.updateProgress.call(i,e)}),Ce.call(i,i.media,"volumechange",function(e){return Ke.updateVolume.call(i,e)}),Ce.call(i,i.media,"playing play pause ended emptied timeupdate",function(e){return rt.checkPlaying.call(i,e)}),Ce.call(i,i.media,"waiting canplay seeked playing",function(e){return rt.checkLoading.call(i,e)}),i.supported.ui&&i.config.clickToPlay&&!i.isAudio){var t=ve.call(i,".".concat(i.config.classNames.video));if(!X(t))return;Ce.call(i,o.container,"click",function(e){([o.container,t].includes(e.target)||t.contains(e.target))&&(i.touch&&i.config.hideControls||(i.ended?(u.proxy(e,i.restart,"restart"),u.proxy(e,function(){Ee(i.play())},"play")):u.proxy(e,function(){Ee(i.togglePlay())},"play")))})}i.supported.ui&&i.config.disableContextMenu&&Ce.call(i,o.wrapper,"contextmenu",function(e){e.preventDefault()},!1),Ce.call(i,i.media,"volumechange",function(){i.storage.set({volume:i.volume,muted:i.muted})}),Ce.call(i,i.media,"ratechange",function(){Ke.updateSetting.call(i,"speed"),i.storage.set({speed:i.speed})}),Ce.call(i,i.media,"qualitychange",function(e){Ke.updateSetting.call(i,"quality",null,e.detail.quality)}),Ce.call(i,i.media,"ready qualitychange",function(){Ke.setDownloadUrl.call(i)});var e=i.config.events.concat(["keyup","keydown"]).join(" ");Ce.call(i,i.media,e,function(e){var t=e.detail,n=void 0===t?{}:t;"error"===e.type&&(n=i.media.error),Pe.call(i,o.container,e.type,!0,n)})}),d(this,"proxy",function(e,t,n){var i=u.player,o=i.config.listeners[n],s=!0;W(o)&&(s=o.call(i,e)),!1!==s&&W(t)&&t.call(i,e)}),d(this,"bind",function(e,t,n,i){var o=!(4<arguments.length&&void 0!==arguments[4])||arguments[4],s=u.player,r=s.config.listeners[i],a=W(r);Ce.call(s,e,t,function(e){return u.proxy(e,n,i)},o&&!a)}),d(this,"controls",function(){var a=u.player,i=a.elements,t=ne.isIE?"change":"input";if(i.buttons.play&&Array.from(i.buttons.play).forEach(function(e){u.bind(e,"click",function(){Ee(a.togglePlay())},"play")}),u.bind(i.buttons.restart,"click",a.restart,"restart"),u.bind(i.buttons.rewind,"click",function(){a.lastSeekTime=Date.now(),a.rewind()},"rewind"),u.bind(i.buttons.fastForward,"click",function(){a.lastSeekTime=Date.now(),a.forward()},"fastForward"),u.bind(i.buttons.mute,"click",function(){a.muted=!a.muted},"mute"),u.bind(i.buttons.captions,"click",function(){return a.toggleCaptions()}),u.bind(i.buttons.download,"click",function(){Pe.call(a,a.media,"download")},"download"),u.bind(i.buttons.fullscreen,"click",function(){a.fullscreen.toggle()},"fullscreen"),u.bind(i.buttons.pip,"click",function(){a.pip="toggle"},"pip"),u.bind(i.buttons.airplay,"click",a.airplay,"airplay"),u.bind(i.buttons.settings,"click",function(e){e.stopPropagation(),e.preventDefault(),Ke.toggleMenu.call(a,e)}
41,null,!1),u.bind(i.buttons.settings,"keyup",function(e){var t=e.which;[13,32].includes(t)&&(13!==t?(e.preventDefault(),e.stopPropagation(),Ke.toggleMenu.call(a,e)):Ke.focusFirstMenuItem.call(a,null,!0))},null,!1),u.bind(i.settings.menu,"keydown",function(e){27===e.which&&Ke.toggleMenu.call(a,e)}),u.bind(i.inputs.seek,"mousedown mousemove",function(e){var t=i.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);e.currentTarget.setAttribute("seek-value",n)}),u.bind(i.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(e){var t=e.currentTarget,n=e.keyCode?e.keyCode:e.which,i="play-on-seeked";if(!K(e)||39===n||37===n){a.lastSeekTime=Date.now();var o=t.hasAttribute(i),s=["mouseup","touchend","keyup"].includes(e.type);o&&s?(t.removeAttribute(i),Ee(a.play())):!s&&a.playing&&(t.setAttribute(i,""),a.pause())}}),ne.isIos){var e=ye.call(a,'input[type="range"]');Array.from(e).forEach(function(e){return u.bind(e,t,function(e){return te(e.target)})})}u.bind(i.inputs.seek,t,function(e){var t=e.currentTarget,n=t.getAttribute("seek-value");Q(n)&&(n=t.value),t.removeAttribute("seek-value"),a.currentTime=n/t.max*a.duration},"seek"),u.bind(i.progress,"mouseenter mouseleave mousemove",function(e){return Ke.updateSeekTooltip.call(a,e)}),u.bind(i.progress,"mousemove touchmove",function(e){var t=a.previewThumbnails;t&&t.loaded&&t.startMove(e)}),u.bind(i.progress,"mouseleave touchend click",function(){var e=a.previewThumbnails;e&&e.loaded&&e.endMove(!1,!0)}),u.bind(i.progress,"mousedown touchstart",function(e){var t=a.previewThumbnails;t&&t.loaded&&t.startScrubbing(e)}),u.bind(i.progress,"mouseup touchend",function(e){var t=a.previewThumbnails;t&&t.loaded&&t.endScrubbing(e)}),ne.isWebkit&&Array.from(ye.call(a,'input[type="range"]')).forEach(function(e){u.bind(e,"input",function(e){return Ke.updateRangeFill.call(a,e.target)})}),a.config.toggleInvert&&!X(i.display.duration)&&u.bind(i.display.currentTime,"click",function(){0!==a.currentTime&&(a.config.invertTime=!a.config.invertTime,Ke.timeUpdate.call(a))}),u.bind(i.inputs.volume,t,function(e){a.volume=e.target.value},"volume"),u.bind(i.controls,"mouseenter mouseleave",function(e){i.controls.hover=!a.touch&&"mouseenter"===e.type}),i.fullscreen&&Array.from(i.fullscreen.children).filter(function(e){return!e.contains(i.container)}).forEach(function(e){u.bind(e,"mouseenter mouseleave",function(e){i.controls.hover=!a.touch&&"mouseenter"===e.type})}),u.bind(i.controls,"mousedown mouseup touchstart touchend touchcancel",function(e){i.controls.pressed=["mousedown","touchstart"].includes(e.type)}),u.bind(i.controls,"focusin",function(){var e=a.config,t=a.timers;he(i.controls,e.classNames.noTransition,!0),rt.toggleControls.call(a,!0),setTimeout(function(){he(i.controls,e.classNames.noTransition,!1)},0);var n=u.touch?3e3:4e3;clearTimeout(t.controls),t.controls=setTimeout(function(){return rt.toggleControls.call(a,!1)},n)}),u.bind(i.inputs.volume,"wheel",function(e){var t=e.webkitDirectionInvertedFromDevice,n=w([e.deltaX,-e.deltaY].map(function(e){return t?-e:e}),2),i=n[0],o=n[1],s=Math.sign(Math.abs(i)>Math.abs(o)?i:o);a.increaseVolume(s/50);var r=a.media.volume;(1===s&&r<1||-1===s&&0<r)&&e.preventDefault()},"volume",!1)}),this.player=e,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return e(t,[{key:"handleKey",value:function(e){var t=this.player,n=t.elements,i=e.keyCode?e.keyCode:e.which,o="keydown"===e.type,s=o&&i===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&R(i))if(o){var r=document.activeElement;if(X(r)){var a=t.config.selectors.editable;if(r!==n.inputs.seek&&me(r,a))return;if(32===e.which&&me(r,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(e.preventDefault(),e.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s||(t.currentTime=t.duration/10*(i-48));break;case 32:case 75:s||Ee(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:s||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:s||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===i&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(e){Ke.toggleMenu.call(this.player,e)}
41}]),t}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==xt||"undefined"!=typeof self&&self;var lt=function(e,t){return function(e){e.exports=function(){var p=function(){},r={},l={},c={};function n(e,n){e=e.push?e:[e];var t,i,o,s=[],r=e.length,a=r;for(t=function(e,t){t.length&&s.push(e),--a||n(s)};r--;)i=e[r],(o=l[i])?t(i,o):(c[i]=c[i]||[]).push(t)}function a(e,t){if(e){var n=c[e];if(l[e]=t,n)for(;n.length;)n[0](e,t),n.splice(0,1)}}function u(e,t){e.call&&(e={success:e}),t.length?(e.error||p)(t):(e.success||p)(e)}function f(n,i,o,s){var r,a,e=document,t=o.async,l=(o.numRetries||0)+1,c=o.before||p,u=n.replace(/[\?|#].*$/,""),d=n.replace(/^(css|img)!/,"");s=s||0,/(^css!|\.css$)/.test(u)?((a=e.createElement("link")).rel="stylesheet",a.href=d,(r="hideFocus"in a)&&a.relList&&(r=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(u)?(a=e.createElement("img")).src=d:((a=e.createElement("script")).src=n,a.async=void 0===t||t),a.onload=a.onerror=a.onbeforeload=function(e){var t=e.type[0];if(r)try{a.sheet.cssText.length||(t="e")}catch(e){18!=e.code&&(t="e")}if("e"==t){if((s+=1)<l)return f(n,i,o,s)}else if("preload"==a.rel&&"style"==a.as)return a.rel="stylesheet";i(n,t,e.defaultPrevented)},!1!==c(n,a)&&e.head.appendChild(a)}function d(e,i,t){var n,o,s=(e=e.push?e:[e]).length,r=s,a=[];for(n=function(e,t,n){if("e"==t&&a.push(e),"b"==t){if(!n)return;a.push(e)}--s||i(a)},o=0;o<r;o++)f(e[o],n,t)}function i(e,t,n){var i,o;if(t&&t.trim&&(i=t),o=(i?n:t)||{},i){if(i in r)throw"LoadJS";r[i]=!0}function s(t,n){d(e,function(e){u(o,e),t&&u({success:t,error:n},e),a(i,e)},o)}if(o.returnPromise)return new Promise(s);s()}return i.ready=function(e,t){return n(e,function(e){u(t,e)}),i},i.done=function(e){a(e,[])},i.reset=function(){r={},l={},c={}},i.isDefined=function(e){return e in r},i}()}(t={exports:{}},t.exports),t.exports}();function ct(n){return new Promise(function(e,t){lt(n,{success:e,error:t})})}function ut(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,Pe.call(this,this.media,e?"play":"pause"))}var dt={setup:function(){var t=this;he(t.elements.wrapper,t.config.classNames.embed,!0),t.options.speed=t.config.speed.options,Oe.call(t),z(window.Vimeo)?dt.ready.call(t):ct(t.config.urls.vimeo.sdk).then(function(){dt.ready.call(t)}).catch(function(e){t.debug.warn("Vimeo SDK (player.js) failed to load",e)})},ready:function(){var o=this,r=this,e=r.config.vimeo,t=e.premium,n=e.referrerPolicy,i=function(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["premium","referrerPolicy"]);t&&Object.assign(i,{controls:!1,sidedock:!1});var s=Ze(b({loop:r.config.loop.active,autoplay:r.autoplay,muted:r.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative},i)),a=r.media.getAttribute("src");Q(a)&&(a=r.media.getAttribute(r.config.attributes.embed.id));var l,c=Q(l=a)?null:R(Number(l))?l:l.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:l,u=ae("iframe"),d=De(r.config.urls.vimeo.iframe,c,s);if(u.setAttribute("src",d),u.setAttribute("allowfullscreen",""),u.setAttribute("allow",["autoplay","fullscreen","picture-in-picture"].join("; ")),Q(n)||u.setAttribute("referrerPolicy",n),t||!e.customControls)u.setAttribute("data-poster",r.poster),r.media=de(u,r.media);else{var p=ae("div",{class:r.config.classNames.embedContainer,"data-poster":r.poster});p.appendChild(u),r.media=de(p,r.media)}e.customControls||Be(De(r.config.urls.vimeo.api,d)).then(function(e){!Q(e)&&e.thumbnail_url&&rt.setPoster.call(r,e.thumbnail_url).catch(function(){})}),r.embed=new window.Vimeo.Player(u,{autopause:r.config.autopause,muted:r.muted}),r.media.paused=!0,r.media.currentTime=0,r.supported.ui&&r.embed.disableTextTrack(),r.media.play=function(){return ut.call(r,!0),r.embed.play()},r.media.pause=function(){return ut.call(r,!1),r.embed.pause()},r.media.stop=function(){r.pause(),r.currentTime=0};var f=r.media.currentTime;Object.defineProperty(r.media,"currentTime",{get:function(){return f},set:function(e){var t=r.embed,n=r.media,i=r.paused,o=r.volume,s=i&&!t.hasPlayed;n.seeking=!0,Pe.call(r,n,"seeking"),Promise.resolve(s&&t.setVolume(0)).then(function(){return t.setCurrentTime(e)}).then(function(){return s&&t.pause()}).then(function(){return s&&t.setVolume(o)}).catch(function(){})}});var h=r.config.speed.selected;Object.defineProperty(r.media,"playbackRate",{get:function(){return h},set:function(e){r.embed.setPlaybackRate(e).then(function(){h=e,Pe.call(r,r.media,"ratechange")}).catch(function(){r.options.speed=[1]})}});var g=r.config.volume;Object.defineProperty(r.media,"volume",{get:function(){return g},set:function(e){r.embed.setVolume(e).then(function(){g=e,Pe.call(r,r.media,"volumechange")})}});var m=r.config.muted;Object.defineProperty(r.media,"muted",{get:function(){return m},set:function(e){var t=!!B(e)&&e;r.embed.setVolume(t?0:r.config.volume).then(function(){m=t,Pe.call(r,r.media,"volumechange")})}});var y,v=r.config.loop;Object.defineProperty(r.media,"loop",{get:function(){return v},set:function(e){var t=B(e)?e:r.config.loop.active;r.embed.setLoop(t).then(function(){v=t})}}),r.embed.getVideoUrl().then(function(e){y=e,Ke.setDownloadUrl.call(r)}
41).catch(function(e){o.debug.warn(e)}),Object.defineProperty(r.media,"currentSrc",{get:function(){return y}}),Object.defineProperty(r.media,"ended",{get:function(){return r.currentTime===r.duration}}),Promise.all([r.embed.getVideoWidth(),r.embed.getVideoHeight()]).then(function(e){var t=w(e,2),n=t[0],i=t[1];r.embed.ratio=[n,i],Oe.call(o)}),r.embed.setAutopause(r.config.autopause).then(function(e){r.config.autopause=e}),r.embed.getVideoTitle().then(function(e){r.config.title=e,rt.setTitle.call(o)}),r.embed.getCurrentTime().then(function(e){f=e,Pe.call(r,r.media,"timeupdate")}),r.embed.getDuration().then(function(e){r.media.duration=e,Pe.call(r,r.media,"durationchange")}),r.embed.getTextTracks().then(function(e){r.media.textTracks=e,Je.setup.call(r)}),r.embed.on("cuechange",function(e){var t=e.cues,n=(void 0===t?[]:t).map(function(e){return function(e){var t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)});Je.updateCues.call(r,n)}),r.embed.on("loaded",function(){r.embed.getPaused().then(function(e){ut.call(r,!e),e||Pe.call(r,r.media,"playing")}),X(r.embed.element)&&r.supported.ui&&r.embed.element.setAttribute("tabindex",-1)}),r.embed.on("bufferstart",function(){Pe.call(r,r.media,"waiting")}),r.embed.on("bufferend",function(){Pe.call(r,r.media,"playing")}),r.embed.on("play",function(){ut.call(r,!0),Pe.call(r,r.media,"playing")}),r.embed.on("pause",function(){ut.call(r,!1)}),r.embed.on("timeupdate",function(e){r.media.seeking=!1,f=e.seconds,Pe.call(r,r.media,"timeupdate")}),r.embed.on("progress",function(e){r.media.buffered=e.percent,Pe.call(r,r.media,"progress"),1===parseInt(e.percent,10)&&Pe.call(r,r.media,"canplaythrough"),r.embed.getDuration().then(function(e){e!==r.media.duration&&(r.media.duration=e,Pe.call(r,r.media,"durationchange"))})}),r.embed.on("seeked",function(){r.media.seeking=!1,Pe.call(r,r.media,"seeked")}),r.embed.on("ended",function(){r.media.paused=!0,Pe.call(r,r.media,"ended")}),r.embed.on("error",function(e){r.media.error=e,Pe.call(r,r.media,"error")}),e.customControls&&setTimeout(function(){return rt.build.call(r)},0)}};function pt(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,Pe.call(this,this.media,e?"play":"pause"))}var ft,ht={setup:function(){var t=this;if(he(this.elements.wrapper,this.config.classNames.embed,!0),z(window.YT)&&W(window.YT.Player))ht.ready.call(this);else{var e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){W(e)&&e(),ht.ready.call(t)},ct(this.config.urls.youtube.sdk).catch(function(e){t.debug.warn("YouTube API failed to load",e)})}},getTitle:function(e){var o=this;Be(De(this.config.urls.youtube.api,e)).then(function(e){if(z(e)){var t=e.title,n=e.height,i=e.width;o.config.title=t,rt.setTitle.call(o),o.embed.ratio=[i,n]}Oe.call(o)}).catch(function(){Oe.call(o)})},ready:function(){var s=this,r=s.config.youtube,e=s.media&&s.media.getAttribute("id");if(Q(e)||!e.startsWith("youtube-")){var t=s.media.getAttribute("src");Q(t)&&(t=s.media.getAttribute(this.config.attributes.embed.id));var n,i,a=Q(n=t)?null:n.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:n,o=ae("div",{id:(i=s.provider,"".concat(i,"-").concat(Math.floor(1e4*Math.random()))),"data-poster":r.customControls?s.poster:void 0});if(s.media=de(o,s.media),r.customControls){var l=function(e){return"https://i.ytimg.com/vi/".concat(a,"/").concat(e,"default.jpg")};st(l("maxres"),121).catch(function(){return st(l("sd"),121)}).catch(function(){return st(l("hq"))}).then(function(e){return rt.setPoster.call(s,e.src)}).then(function(e){e.includes("maxres")||(s.elements.poster.style.backgroundSize="cover")}).catch(function(){})}s.embed=new window.YT.Player(s.media,{videoId:a,host:function(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}(r),playerVars:oe({},{autoplay:s.config.autoplay?1:0,hl:s.config.hl,controls:s.supported.ui&&r.customControls?0:1,disablekb:1,playsinline:s.config.fullscreen.iosNative?0:1,cc_load_policy:s.captions.active?1:0,cc_lang_pref:s.config.captions.language,widget_referrer:window?window.location.href:null},r),events:{onError:function(e){if(!s.media.error){var t=e.data,n={2:"The request contains an invali
41d parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[t]||"An unknown error occured";s.media.error={code:t,message:n},Pe.call(s,s.media,"error")}},onPlaybackRateChange:function(e){var t=e.target;s.media.playbackRate=t.getPlaybackRate(),Pe.call(s,s.media,"ratechange")},onReady:function(e){if(!W(s.media.play)){var n=e.target;ht.getTitle.call(s,a),s.media.play=function(){pt.call(s,!0),n.playVideo()},s.media.pause=function(){pt.call(s,!1),n.pauseVideo()},s.media.stop=function(){n.stopVideo()},s.media.duration=n.getDuration(),s.media.paused=!0,s.media.currentTime=0,Object.defineProperty(s.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(e){s.paused&&!s.embed.hasPlayed&&s.embed.mute(),s.media.seeking=!0,Pe.call(s,s.media,"seeking"),n.seekTo(e)}}),Object.defineProperty(s.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(e){n.setPlaybackRate(e)}});var i=s.config.volume;Object.defineProperty(s.media,"volume",{get:function(){return i},set:function(e){i=e,n.setVolume(100*i),Pe.call(s,s.media,"volumechange")}});var o=s.config.muted;Object.defineProperty(s.media,"muted",{get:function(){return o},set:function(e){var t=B(e)?e:o;n[(o=t)?"mute":"unMute"](),n.setVolume(100*i),Pe.call(s,s.media,"volumechange")}}),Object.defineProperty(s.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(s.media,"ended",{get:function(){return s.currentTime===s.duration}});var t=n.getAvailablePlaybackRates();s.options.speed=t.filter(function(e){return s.config.speed.options.includes(e)}),s.supported.ui&&r.customControls&&s.media.setAttribute("tabindex",-1),Pe.call(s,s.media,"timeupdate"),Pe.call(s,s.media,"durationchange"),clearInterval(s.timers.buffering),s.timers.buffering=setInterval(function(){s.media.buffered=n.getVideoLoadedFraction(),(null===s.media.lastBuffered||s.media.lastBuffered<s.media.buffered)&&Pe.call(s,s.media,"progress"),s.media.lastBuffered=s.media.buffered,1===s.media.buffered&&(clearInterval(s.timers.buffering),Pe.call(s,s.media,"canplaythrough"))},200),r.customControls&&setTimeout(function(){return rt.build.call(s)},50)}},onStateChange:function(e){var t=e.target;switch(clearInterval(s.timers.playing),s.media.seeking&&[1,2].includes(e.data)&&(s.media.seeking=!1,Pe.call(s,s.media,"seeked")),e.data){case-1:Pe.call(s,s.media,"timeupdate"),s.media.buffered=t.getVideoLoadedFraction(),Pe.call(s,s.media,"progress");break;case 0:pt.call(s,!1),s.media.loop?(t.stopVideo(),t.playVideo()):Pe.call(s,s.media,"ended");break;case 1:r.customControls&&!s.config.autoplay&&s.media.paused&&!s.embed.hasPlayed?s.media.pause():(pt.call(s,!0),Pe.call(s,s.media,"playing"),s.timers.playing=setInterval(function(){Pe.call(s,s.media,"timeupdate")},50),s.media.duration!==t.getDuration()&&(s.media.duration=t.getDuration(),Pe.call(s,s.media,"durationchange")));break;case 2:s.muted||s.embed.unMute(),pt.call(s,!1);break;case 3:Pe.call(s,s.media,"waiting")}Pe.call(s,s.elements.container,"statechange",!1,{code:e.data})}}})}}},gt={setup:function(){this.media?(he(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),he(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&he(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=ae("div",{class:this.config.classNames.video}),se(this.media,this.elements.wrapper),this.elements.poster=ae("div",{class:this.config.classNames.poster,hidden:""}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Ie.setup.call(this):this.isYouTube?ht.setup.call(this):this.isVimeo&&dt.setup.call(this)):this.debug.warn("No media element found!")}},mt=function(){function t(e){var s=this;c(this,t),d(this,"load",function(){s.enabled&&(z(window.google)&&z(window.google.ima)?s.ready():ct(s.player.config.urls.googleIMA.sdk).then(function(){s.ready()}).catch(function(){s.trigger("error",new Error("Google IMA SDK failed to load"))}))}),d(this,"ready",function(){var e;s.enabled||((e=s).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),s.startSafetyTimer(12e3,"ready()"),s.managerPromise.then(function(){s.clearSafetyTimer("onAdsManagerLoaded()")}),s.listeners(),s.setupIMA()}),d(this,"setupIMA",function(){s.elements.container=ae("div",{class:s.player.config.classNames.ads}),s.player.elements.container.appendChild(s.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(s.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(s.player.config.playsinline),s.elements.displayContainer=new google.ima.AdDisplayContainer(s.elements.container,s.player.media),s.loader=new google.ima.AdsLoader(s.elements.displayContainer),s.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(e){return s.onAdsManagerLoaded(e)},!1),s.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return s.onAdError(e)},!1),s.requestAds()}),d(this,"requestAds",function(){var e=s.player.elements.container;try{var t=new google.ima.AdsRequest;t.adTagUrl=s.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!s.player.muted),s.loader.requestAds(t)}catch(e){s.onAdError(e)}}),d(this,"pollCountdown",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0];if(!e)return clearInterval(s.countdownTimer),void s.elements.container.removeAttribute("data-badge-text");s.countdownTimer=setInterval(function(){var e=Ye(Math.max(s.manager.getRemainingTime(),0)),t="".concat(Re("advertisement",s.player.config)," - ").concat(e);s.elements.container.setAttribute("data-badge-text",t)},100)}),d(this,"onAdsManagerLoaded",function(e){if(s.enabled){var t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,s.manager=e.getAdsManager(s.player,t),s.cuePoints=s.manager.getCuePoints(),s.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,function(e){return s.onAdError(e)}),Object.keys(google.ima.AdEvent.Type).forEach(function(e){s.manager.addEventListener(google.ima.AdEvent.Type[e],function(e){return s.onAdEvent(e)})}),s.trigger("loaded")}}),d(this,"addCuePoints",function(){Q(s.cuePoints)||s.cuePoints.forEac
41h(function(e){if(0!==e&&-1!==e&&e<s.player.duration){var t=s.player.elements.progress;if(X(t)){var n=100/s.player.duration*e,i=ae("span",{class:s.player.config.classNames.cues});i.style.left="".concat(n.toString(),"%"),t.appendChild(i)}}})}),d(this,"onAdEvent",function(e){var t=s.player.elements.container,n=e.getAd(),i=e.getAdData();switch(function(e){Pe.call(s.player,s.player.media,"ads".concat(e.replace(/_/g,"").toLowerCase()))}(e.type),e.type){case google.ima.AdEvent.Type.LOADED:s.trigger("loaded"),s.pollCountdown(!0),n.isLinear()||(n.width=t.offsetWidth,n.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:s.manager.setVolume(s.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:s.player.ended?s.loadAds():s.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:s.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:s.pollCountdown(),s.resumeContent();break;case google.ima.AdEvent.Type.LOG:i.adError&&s.player.debug.warn("Non-fatal ad error: ".concat(i.adError.getMessage()))}}),d(this,"onAdError",function(e){s.cancel(),s.player.debug.warn("Ads error",e)}),d(this,"listeners",function(){var i,e=s.player.elements.container;s.player.on("canplay",function(){s.addCuePoints()}),s.player.on("ended",function(){s.loader.contentComplete()}),s.player.on("timeupdate",function(){i=s.player.currentTime}),s.player.on("seeked",function(){var n=s.player.currentTime;Q(s.cuePoints)||s.cuePoints.forEach(function(e,t){i<e&&e<n&&(s.manager.discardAdBreak(),s.cuePoints.splice(t,1))})}),window.addEventListener("resize",function(){s.manager&&s.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)})}),d(this,"play",function(){var e=s.player.elements.container;s.managerPromise||s.resumeContent(),s.managerPromise.then(function(){s.manager.setVolume(s.player.volume),s.elements.displayContainer.initialize();try{s.initialized||(s.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),s.manager.start()),s.initialized=!0}catch(e){s.onAdError(e)}}).catch(function(){})}),d(this,"resumeContent",function(){s.elements.container.style.zIndex="",s.playing=!1,Ee(s.player.media.play())}),d(this,"pauseContent",function(){s.elements.container.style.zIndex=3,s.playing=!0,s.player.media.pause()}),d(this,"cancel",function(){s.initialized&&s.resumeContent(),s.trigger("error"),s.loadAds()}),d(this,"loadAds",function(){s.managerPromise.then(function(){s.manager&&s.manager.destroy(),s.managerPromise=new Promise(function(e){s.on("loaded",e),s.player.debug.log(s.manager)}),s.initialized=!1,s.requestAds()}).catch(function(){})}),d(this,"trigger",function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=s.events[e];V(o)&&o.forEach(function(e){W(e)&&e.apply(s,n)})}),d(this,"on",function(e,t){return V(s.events[e])||(s.events[e]=[]),s.events[e].push(t),s}),d(this,"startSafetyTimer",function(e,t){s.player.debug.log("Safety timer invoked from: ".concat(t)),s.safetyTimer=setTimeout(function(){s.cancel(),s.clearSafetyTimer("startSafetyTimer()")},e)}),d(this,"clearSafetyTimer",function(e){q(s.safetyTimer)||(s.player.debug.log("Safety timer cleared from: ".concat(e)),clearTimeout(s.safetyTimer),s.safetyTimer=null)}),this.player=e,this.config=e.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(function(e,t){s.on("loaded",e),s.on("error",t)}),this.load()}return e(t,[{key:"enabled",get:function(){var e=this.config;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!Q(e.publisherId)||J(e.tagUrl))}},{key:"tagUrl",get:function(){var e=this.config;if(J(e.tagUrl))return e.tagUrl;var t={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId};return"".concat("https://go.aniview.com/api/adserver6/vast/","?").concat(Ze(t))}}]),t}(),yt=function(e,t){var n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n},vt=function(){function t(e){var l=this;c(this,t),d(this,"load",function(){l.player.elements.display.seekTooltip&&(l.player.elements.display.seekTooltip.hidden=l.enabled),l.enabled&&l.getThumbnails().then(function(){l.enabled&&(l.render(),l.determineContainerAutoSizing(),l.loaded=!0)})}),d(this,"getThumbnails",function(){return new Promise(function(e){var t=l.player.config.previewThumbnails.src;if(Q(t))throw new Error("Missing previewThumbnails.src config attribute");var n=function(){l.thumbnails.sort(function(e,t){return e.height-t.height}),l.player.debug.log("Preview thumbnails",l.thumbnails),e()};if(W(t))t(function(e){l.thumbnails=e,n()});else{var i=(_(t)?[t]:t).map(function(e){return l.getThumbnail(e)});Promise.all(i).then(n)}})}),d(this,"getThumbnail",function(r){return new Promise(function(s){Be(r).then(function(e){var t,n,i={frames:(t=e,n=[],t.split(/\r\n\r\n|\n\n|\r\r/).forEac
41h(function(e){var s={};e.split(/\r\n|\n|\r/).forEach(function(e){if(R(s.startTime)){if(!Q(e.trim())&&Q(s.text)){var t=e.trim().split("#xywh="),n=w(t,1);if(s.text=n[0],t[1]){var i=w(t[1].split(","),4);s.x=i[0],s.y=i[1],s.w=i[2],s.h=i[3]}}}else{var o=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);o&&(s.startTime=60*Number(o[1]||0)*60+60*Number(o[2])+Number(o[3])+Number("0.".concat(o[4])),s.endTime=60*Number(o[6]||0)*60+60*Number(o[7])+Number(o[8])+Number("0.".concat(o[9])))}}),s.text&&n.push(s)}),n),height:null,urlPrefix:""};i.frames[0].text.startsWith("/")||i.frames[0].text.startsWith("http://")||i.frames[0].text.startsWith("https://")||(i.urlPrefix=r.substring(0,r.lastIndexOf("/")+1));var o=new Image;o.onload=function(){i.height=o.naturalHeight,i.width=o.naturalWidth,l.thumbnails.push(i),s()},o.src=i.urlPrefix+i.frames[0].text})})}),d(this,"startMove",function(e){if(l.loaded&&Y(e)&&["touchmove","mousemove"].includes(e.type)&&l.player.media.duration){if("touchmove"===e.type)l.seekTime=l.player.media.duration*(l.player.elements.inputs.seek.value/100);else{var t=l.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);l.seekTime=l.player.media.duration*(n/100),l.seekTime<0&&(l.seekTime=0),l.seekTime>l.player.media.duration-1&&(l.seekTime=l.player.media.duration-1),l.mousePosX=e.pageX,l.elements.thumb.time.innerText=Ye(l.seekTime)}l.showImageAtCurrentTime()}}),d(this,"endMove",function(){l.toggleThumbContainer(!1,!0)}),d(this,"startScrubbing",function(e){!q(e.button)&&!1!==e.button&&0!==e.button||(l.mouseDown=!0,l.player.media.duration&&(l.toggleScrubbingContainer(!0),l.toggleThumbContainer(!1,!0),l.showImageAtCurrentTime()))}),d(this,"endScrubbing",function(){l.mouseDown=!1,Math.ceil(l.lastTime)===Math.ceil(l.player.media.currentTime)?l.toggleScrubbingContainer(!1):Ae.call(l.player,l.player.media,"timeupdate",function(){l.mouseDown||l.toggleScrubbingContainer(!1)})}),d(this,"listeners",function(){l.player.on("play",function(){l.toggleThumbContainer(!1,!0)}),l.player.on("seeked",function(){l.toggleThumbContainer(!1)}),l.player.on("timeupdate",function(){l.lastTime=l.player.media.currentTime})}),d(this,"render",function(){l.elements.thumb.container=ae("div",{class:l.player.config.classNames.previewThumbnails.thumbContainer}),l.elements.thumb.imageContainer=ae("div",{class:l.player.config.classNames.previewThumbnails.imageContainer}),l.elements.thumb.container.appendChild(l.elements.thumb.imageContainer);var e=ae("div",{class:l.player.config.classNames.previewThumbnails.timeContainer});l.elements.thumb.time=ae("span",{},"00:00"),e.appendChild(l.elements.thumb.time),l.elements.thumb.container.appendChild(e),X(l.player.elements.progress)&&l.player.elements.progress.appendChild(l.elements.thumb.container),l.elements.scrubbing.container=ae("div",{class:l.player.config.classNames.previewThumbnails.scrubbingContainer}),l.player.elements.wrapper.appendChild(l.elements.scrubbing.container)}),d(this,"destroy",function(){l.elements.thumb.container&&l.elements.thumb.container.remove(),l.elements.scrubbing.container&&l.elements.scrubbing.container.remove()}),d(this,"showImageAtCurrentTime",function(){l.mouseDown?l.setScrubbingContainerSize():l.setThumbContainerSizeAndPos();var n=l.thumbnails[0].frames.findIndex(function(e){return l.seekTime>=e.startTime&&l.seekTime<=e.endTime}),e=0<=n,i=0;l.mouseDown||l.toggleThumbContainer(e),e&&(l.thumbnails.forEach(function(e,t){l.loadedImages.includes(e.frames[n].text)&&(i=t)}),n!==l.showingThumb&&(l.showingThumb=n,l.loadImage(i)))}),d(this,"loadImage",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=l.showingThumb,n=l.thumbnails[e],i=n.urlPrefix,o=n.frames[t],s=n.frames[t].text,r=i+s;if(l.currentImageElement&&l.currentImageElement.dataset.filename===s)l.showImage(l.currentImageElement,o,e,t,s,!1),l.currentImageElement.dataset.index=t,l.removeOldImages(l.currentImageElement);else{l.loadingImage&&l.usingSprites&&(l.loadingImage.onload=null);var a=new Image;
41a.src=r,a.dataset.index=t,a.dataset.filename=s,l.showingThumbFilename=s,l.player.debug.log("Loading image: ".concat(r)),a.onload=function(){return l.showImage(a,o,e,t,s,!0)},l.loadingImage=a,l.removeOldImages(a)}}),d(this,"showImage",function(e,t,n,i,o){var s=!(5<arguments.length&&void 0!==arguments[5])||arguments[5];l.player.debug.log("Showing thumb: ".concat(o,". num: ").concat(i,". qual: ").concat(n,". newimg: ").concat(s)),l.setImageSizeAndOffset(e,t),s&&(l.currentImageContainer.appendChild(e),l.currentImageElement=e,l.loadedImages.includes(o)||l.loadedImages.push(o)),l.preloadNearby(i,!0).then(l.preloadNearby(i,!1)).then(l.getHigherQuality(n,e,t,o))}),d(this,"removeOldImages",function(i){Array.from(l.currentImageContainer.children).forEach(function(e){if("img"===e.tagName.toLowerCase()){var t=l.usingSprites?500:1e3;if(e.dataset.index!==i.dataset.index&&!e.dataset.deleting){e.dataset.deleting=!0;var n=l.currentImageContainer;setTimeout(function(){n.removeChild(e),l.player.debug.log("Removing thumb: ".concat(e.dataset.filename))},t)}}})}),d(this,"preloadNearby",function(t){var n=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return new Promise(function(r){setTimeout(function(){var o=l.thumbnails[0].frames[t].text;if(l.showingThumbFilename===o){var e;e=n?l.thumbnails[0].frames.slice(t):l.thumbnails[0].frames.slice(0,t).reverse();var s=!1;e.forEach(function(e){var t=e.text;if(t!==o&&!l.loadedImages.includes(t)){s=!0,l.player.debug.log("Preloading thumb filename: ".concat(t));var n=l.thumbnails[0].urlPrefix+t,i=new Image;i.src=n,i.onload=function(){l.player.debug.log("Preloaded thumb filename: ".concat(t)),l.loadedImages.includes(t)||l.loadedImages.push(t),r()}}}),s||r()}},300)})}),d(this,"getHigherQuality",function(e,t,n,i){if(e<l.thumbnails.length-1){var o=t.naturalHeight;l.usingSprites&&(o=n.h),o<l.thumbContainerHeight&&setTimeout(function(){l.showingThumbFilename===i&&(l.player.debug.log("Showing higher quality thumb for: ".concat(i)),l.loadImage(e+1))},300)}}),d(this,"toggleThumbContainer",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=l.player.config.classNames.previewThumbnails.thumbContainerShown;l.elements.thumb.container.classList.toggle(n,e),!e&&t&&(l.showingThumb=null,l.showingThumbFilename=null)}),d(this,"toggleScrubbingContainer",function(){var e=0<arguments.length&&void 0!==arguments[0]&&arguments[0],t=l.player.config.classNames.previewThumbnails.scrubbingContainerShown;l.elements.scrubbing.container.classList.toggle(t,e),e||(l.showingThumb=null,l.showingThumbFilename=null)}),d(this,"determineContainerAutoSizing",function(){(20<l.elements.thumb.imageContainer.clientHeight||20<l.elements.thumb.imageContainer.clientWidth)&&(l.sizeSpecifiedInCSS=!0)}),d(this,"setThumbContainerSizeAndPos",function(){if(l.sizeSpecifiedInCSS){if(20<l.elements.thumb.imageContainer.clientHeight&&l.elements.thumb.imageContainer.clientWidth<20){var e=Math.floor(l.elements.thumb.imageContainer.clientHeight*l.thumbAspectRatio);l.elements.thumb.imageContainer.style.width="".concat(e,"px")}else if(l.elements.thumb.imageContainer.clientHeight<20&&20<l.elements.thumb.imageContainer.clientWidth){var t=Math.floor(l.elements.thumb.imageContainer.clientWidth/l.thumbAspectRatio);l.elements.thumb.imageContainer.style.height="".concat(t,"px")}}else{var n=Math.floor(l.thumbContainerHeight*l.thumbAspectRatio);l.elements.thumb.imageContainer.style.height="".concat(l.thumbContainerHeight,"px"),l.elements.thumb.imageContainer.style.width="".concat(n,"px")}l.setThumbContainerPos()}),d(this,"setThumbContainerPos",function(){var e=l.player.elements.progress.getBoundingClientRect(),t=l.player.elements.container.getBoundingClientRect(),n=l.elements.thumb.container,i=t.left-e.left+10,o=t.right-e.left-n.clientWidth-10,s=l.mousePosX-e.left-n.clientWidth/2;s<i&&(s=i),o<s&&(s=o),n.style.left="".concat(s,"px")}),d(this,"setScrubbingContainerSize",function(){var e=yt(l.thumbAspectRatio,{width:l.player.media.clientWidth,height:l.player.media.clientHeight}
41),t=e.width,n=e.height;l.elements.scrubbing.container.style.width="".concat(t,"px"),l.elements.scrubbing.container.style.height="".concat(n,"px")}),d(this,"setImageSizeAndOffset",function(e,t){if(l.usingSprites){var n=l.thumbContainerHeight/t.h;e.style.height="".concat(e.naturalHeight*n,"px"),e.style.width="".concat(e.naturalWidth*n,"px"),e.style.left="-".concat(t.x*n,"px"),e.style.top="-".concat(t.y*n,"px")}}),this.player=e,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}return e(t,[{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}},{key:"currentImageContainer",get:function(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}},{key:"usingSprites",get:function(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}},{key:"thumbAspectRatio",get:function(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}},{key:"thumbContainerHeight",get:function(){return this.mouseDown?yt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight}).height:this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}},{key:"currentImageElement",get:function(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement},set:function(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}]),t}(),bt={insertElements:function(t,e){var n=this;_(e)?le(t,this.media,{src:e}):V(e)&&e.forEach(function(e){le(t,n.media,e)})},change:function(l){var c=this;ie(l,"sources.length")?(Ie.cancelRequests.call(this),this.destroy.call(this,function(){c.options.quality=[],ce(c.media),c.media=null,X(c.elements.container)&&c.elements.container.removeAttribute("class");var e=l.sources,t=l.type,n=w(e,1)[0],i=n.provider,o=void 0===i?tt.html5:i,s=n.src,r="html5"===o?t:"div",a="html5"===o?{}:{src:s};Object.assign(c,{provider:o,type:t,supported:Te.check(t,o,c.config.playsinline),media:ae(r,a)}),c.elements.container.appendChild(c.media),B(l.autoplay)&&(c.config.autoplay=l.autoplay),c.isHTML5&&(c.config.crossorigin&&c.media.setAttribute("crossorigin",""),c.config.autoplay&&c.media.setAttribute("autoplay",""),Q(l.poster)||(c.poster=l.poster),c.config.loop.active&&c.media.setAttribute("loop",""),c.config.muted&&c.media.setAttribute("muted",""),c.config.playsinline&&c.media.setAttribute("playsinline","")),rt.addStyleHook.call(c),c.isHTML5&&bt.insertElements.call(c,"source",e),c.config.title=l.title,gt.setup.call(c),c.isHTML5&&Object.keys(l).includes("tracks")&&bt.insertElements.call(c,"track",l.tracks),(c.isHTML5||c.isEmbed&&!c.supported.ui)&&rt.build.call(c),c.isHTML5&&c.media.load(),Q(l.previewThumbnails)||(Object.assign(c.config.previewThumbnails,l.previewThumbnails),c.previewThumbnails&&c.previewThumbnails.loaded&&(c.previewThumbnails.destroy(),c.previewThumbnails=null),c.config.previewThumbnails.enabled&&(c.previewThumbnails=new vt(c))),c.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}},wt=function(){function l(e,t){var s=this;if(c(this,l),d(this,"play",function(){return W(s.media.play)?(s.ads&&s.ads.enabled&&s.ads.managerPromise.then(function(){return s.ads.play()}).catch(function(){return Ee(s.media.play())}),s.media.play()):null}),d(this,"pause",function(){return s.playing&&W(s.media.pause)?s.media.pause():null}),d(this,"togglePlay",function(e){return(B(e)?e:!s.playing)?s.play():s.pause()}),d(this,"stop",function(){s.isHTML5?(s.pause(),s.restart()):W(s.media.stop)&&s.media.stop()}),d(this,"restart",function(){s.currentTime=0}),d(this,"rewind",function(e){s.currentTime-=R(e)?e:s.config.seekTime}),d(this,"forward",function(e){s.currentTime+=R(e)?e:s.config.seekTime}),d(this,"increaseVolume",function(e){var t=s.media.muted?0:s.volume;s.volume=t+(R(e)?e:0)}),d(this,"decreaseVolume",function(e){s.increaseVolume(-e)}),d(this,"airplay",function(){Te.airplay&&s.media.webkitShowPlaybackTargetPicker()}),d(this,"toggleControls",function(e){if(!s.supported.ui||s.isAudio)return!1;var t=ge(s.elements.container,s.config.classNames.hideControls),n=void 0===e?void 0:!e,i=he(s.elements.container,s.config.classNames.hideControls,n);if(i&&V(s.config.controls)&&s.config.controls.includes("settings")&&!Q(s.config.settings)&&Ke.toggleMenu.call(s,!1),i!==t){var o=i?"controlshidden":"controlsshown";Pe.call(s,s.media,o)}return!i}),d(this,"on",function(e,t){Ce.call(s,s.elements.container,e,t)}),d(this,"once",function(e,t){Ae.call(s,s.elements.container,e,t)}),d(this,"off",function(e,t){$e(s.elements.container,e,t)}),d(this,"destroy",function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(s.ready){var n=function(){document.body.style.overflow="",s.embed=null,t?(Object.keys(s.elements).length&&(ce(s.elements.buttons.play),ce(s.elements.captions),ce(s.elements.controls),ce(s.elements.wrapper),s.elements.buttons.play=null,s.elements.captions=null,s.elements.controls=null,
41s.elements.wrapper=null),W(e)&&e()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(e){var t=e.element,n=e.type,i=e.callback,o=e.options;t.removeEventListener(n,i,o)}),this.eventListeners=[])}.call(s),Ie.cancelRequests.call(s),de(s.elements.original,s.elements.container),Pe.call(s,s.elements.original,"destroyed",!0),W(e)&&e.call(s.elements.original),s.ready=!1,setTimeout(function(){s.elements=null,s.media=null},200))};s.stop(),clearTimeout(s.timers.loading),clearTimeout(s.timers.controls),clearTimeout(s.timers.resized),s.isHTML5?(rt.toggleNativeControls.call(s,!0),n()):s.isYouTube?(clearInterval(s.timers.buffering),clearInterval(s.timers.playing),null!==s.embed&&W(s.embed.destroy)&&s.embed.destroy(),n()):s.isVimeo&&(null!==s.embed&&s.embed.unload().then(n),setTimeout(n,200))}}),d(this,"supports",function(e){return Te.mime.call(s,e)}),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=Te.touch,this.media=e,_(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof Tt||U(this.media)||V(this.media))&&(this.media=this.media[0]),this.config=oe({},Qe,l.defaults,t||{},function(){try{return JSON.parse(s.media.getAttribute("data-plyr-config"))}catch(e){return{}}}()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new it(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",Te),!q(this.media)&&X(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(Te.check().api){var n=this.media.cloneNode(!0);n.autoplay=!1,this.elements.original=n;var i=this.media.tagName.toLowerCase(),o=null,r=null;switch(i){case"div":if(o=this.media.querySelector("iframe"),X(o)){if(r=Ge(o.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?tt.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?tt.vimeo:null}(r.toString()),this.elements.container=this.media,this.media=o,this.elements.container.className="",r.search.length){var a=["1","true"];a.includes(r.searchParams.get("autoplay"))&&(this.config.autoplay=!0),a.includes(r.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=a.includes(r.searchParams.get("playsinline")),this.config.youtube.hl=r.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(Q(this.provider)||!Object.values(tt).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type="video";break;case"video":case"audio":this.type=i,this.provider=tt.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=Te.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new at(this),this.storage=new _e(this),this.media.plyr=this,X(this.elements.container)||(this.elements.container=ae("div",{tabindex:0}),se(this.media,this.elements.container)),rt.migrateStyles.call(this),rt.addStyleHook.call(this),gt.setup.call(this),this.config.debug&&Ce.call(this,this.elements.container,this.config.events.join(" "),function(e){s.debug.log("event: ".concat(e.type))}),this.fullscreen=new ot(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&rt.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new mt(this)),this.isHTML5&&this.config.auto
41play&&this.once("canplay",function(){return Ee(s.play())}),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new vt(this))):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return e(l,[{key:"toggleCaptions",value:function(e){Je.toggle.call(this,e,!1)}},{key:"isHTML5",get:function(){return this.provider===tt.html5}},{key:"isEmbed",get:function(){return this.isYouTube||this.isVimeo}},{key:"isYouTube",get:function(){return this.provider===tt.youtube}},{key:"isVimeo",get:function(){return this.provider===tt.vimeo}},{key:"isVideo",get:function(){return"video"===this.type}},{key:"isAudio",get:function(){return"audio"===this.type}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(e){if(this.duration){var t=R(e)&&0<e;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var e=this.media.buffered;return R(e)?e:e&&e.length&&0<this.duration?e.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=R(t)&&t!==1/0?t:0;return e||n}},{key:"volume",set:function(e){var t=e;_(t)&&(t=Number(t)),R(t)||(t=this.storage.get("volume")),R(t)||(t=this.config.volume),1<t&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!Q(e)&&this.muted&&0<t&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(e){var t=e;B(t)||(t=this.storage.get("muted")),B(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(e){var t=this,n=null;R(e)&&(n=e),R(n)||(n=this.storage.get("speed")),R(n)||(n=this.config.speed.selected);var i=this.minimumSpeed,o=this.maximumSpeed;n=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:255;return Math.min(Math.max(e,t),n)}(n,i,o),this.config.speed.selected=n,setTimeout(function(){t.media.playbackRate=n},0)},get:function(){return Number(this.media.playbackRate)}},{key:"minimumSpeed",get:function(){return this.isYouTube?Math.min.apply(Math,u(this.options.speed)):this.isVimeo?.5:.0625}},{key:"maximumSpeed",get:function(){return this.isYouTube?Math.max.apply(Math,u(this.options.speed)):this.isVimeo?2:16}},{key:"quality",set:function(e){var t=this.config.quality,n=this.options.quality;if(n.length){var i=[!Q(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(R),o=!0;if(!n.includes(i)){var s=function(e,n){return V(e)&&e.length?e.reduce(function(e,t){return Math.abs(t-n)<Math.abs(e-n)?t:e}):null}(n,i);this.debug.warn("Unsupported quality option: ".concat(i,", using ").concat(s," instead")),i=s,o=!1}t.selected=i,this.media.quality=i,o&&this.storage.set({quality:i})}},get:function(){return this.media.quality}},{key:"loop",set:function(e){var t=B(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(e){bt.change.call(this,e)},get:function(){return this.media.currentSrc}},{key:"download",get:function(){var e=this.config.urls.download;return J(e)?e:this.source},set:function(e){J(e)&&(this.config.urls.download=e,Ke.setDownloadUrl.call(this))}},{key:"poster",set:function(e){this.isVideo?rt.setPoster.call(this,e,!1).catch(function(){}):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}},{key:"ratio",get:function(){if(!this.isVideo)return null;var e=Me(Ne.call(this));return V(e)?e.join(":"):e},set:function(e){this.isVideo?_(e)&&Le(e)?(this.config.ratio=e,Oe.call(this)):this.debug.error("Invalid aspect ratio specified (".concat(e,")")):this.debug.warn("Aspect ratio can only be set for video")}}
41,{key:"autoplay",set:function(e){var t=B(e)?e:this.config.autoplay;this.config.autoplay=t},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(e){Je.set.call(this,e,!1)},get:function(){var e=this.captions,t=e.toggled,n=e.currentTrack;return t?n:-1}},{key:"language",set:function(e){Je.setLanguage.call(this,e,!1)},get:function(){return(Je.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(e){if(Te.pip){var t=B(e)?e:!this.pip;W(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?et:"inline"),W(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}},get:function(){return Te.pip?Q(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===et:null}}],[{key:"supported",value:function(e,t,n){return Te.check(e,t,n)}},{key:"loadSprite",value:function(e,t){return We(e,t)}},{key:"setup",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;return _(e)?n=Array.from(document.querySelectorAll(e)):U(e)?n=Array.from(e):V(e)&&(n=e.filter(X)),Q(n)?null:n.map(function(e){return new l(e,t)})}}]),l}();return wt.defaults=(ft=Qe,JSON.parse(JSON.stringify(ft))),wt}())}).call(this,n(6),n(0))},,function(e,t,n){var i,o,s;!function(){"use strict";o=[n(0)],void 0===(s="function"==typeof(i=function(u){"use strict";var r=window.Slick||{};(r=function(){var o=0;function e(e,t){var n=this,i;n.defaults={accessibility:true,adaptiveHeight:false,appendArrows:u(e),appendDots:u(e),arrows:true,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:false,autoplaySpeed:3e3,centerMode:false,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return u('<button type="button" />').text(t+1)},dots:false,dotsClass:"slick-dots",draggable:true,easing:"linear",edgeFriction:.35,fade:false,focusOnSelect:false,focusOnChange:false,infinite:true,initialSlide:0,lazyLoad:"ondemand",mobileFirst:false,pauseOnHover:true,pauseOnFocus:true,pauseOnDotsHover:false,respondTo:"window",responsive:null,rows:1,rtl:false,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:true,swipeToSlide:false,touchMove:true,touchThreshold:5,useCSS:true,useTransform:true,variableWidth:false,vertical:false,verticalSwiping:false,waitForAnimate:true,zIndex:1e3};n.initials={animating:false,dragging:false,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:false,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:false,slideOffset:0,swipeLeft:null,swiping:false,$list:null,touchObject:{},transformsEnabled:false,unslicked:false};u.extend(n,n.initials);n.activeBreakpoint=null;n.animType=null;n.animProp=null;n.breakpoints=[];n.breakpointSettings=[];n.cssTransitions=false;n.focussed=false;n.interrupted=false;n.hidden="hidden";n.paused=true;n.positionProp=null;n.respondTo=null;n.rowCount=1;n.shouldClick=true;n.$slider=u(e);n.$slidesCache=null;n.transformType=null;n.transitionType=null;n.visibilityChange="visibilitychange";n.windowWidth=0;n.windowTimer=null;i=u(e).data("slick")||{};n.options=u.extend({},n.defaults,t,i);n.currentSlide=n.options.initialSlide;n.originalSettings=n.options;if(typeof document.mozHidden!=="undefined"){n.hidden="mozHidden";n.visibilityChange="mozvisibilitychange"}else if(typeof document.webkitHidden!=="undefined"){n.hidden="webkitHidden";n.visibilityChange="webkitvisibilitychange"}n.autoPlay=u.proxy(n.autoPlay,n);n.autoPlayClear=u.proxy(n.autoPlayClear,n);n.autoPlayIterator=u.proxy(n.autoPlayIterator,n);n.changeSlide=u.proxy(n.changeSlide,n);n.clickHandler=u.proxy(n.clickHandler,n);n.selectHandler=u.proxy(n.selectHandler,n);n.setPosition=u.proxy(n.setPosition,n);n.swipeHandler=u.proxy(n.swipeHandler,n);n.dragHandler=u.proxy(n.dragHandler,n);n.keyHandler=u.proxy(n.keyHandler,n);n.instanceUid=o++;n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;n.registerBreakpoints();n.init(true)}return e}()).prototype.activateADA=function(){var e=this;e.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(e,t,n){var i=this;if(typeof t==="boolean"){n=t;t=null}else if(t<0||t>=i.slideCount){return false}i.unload();if(typeof t==="number"){if(t===0&&i.$slides.length===0){u(e).appendTo(i.$slideTrack)}else if(n){u(e).insertBefore(i.$slides.eq(t))}else{u(e).insertAfter(i.$slides.eq(t))}}else{if(n===true){u(e).prependTo(i.$slideTrack)}else{u(e).appendTo(i.$slideTrack)}}i.$slides=i.$slideTrack.children(this.options.slide);i.$slideTrack.children(this.options.slide).detach();i.$slideTrack.append(i.$slides);i.$slides.each(function(e,t){u(t).attr("data-slick-index",e)});i.$slidesCache=i.$slides;i.reinit()},r.prototype.animateHeight=function(){var e=this;if(e.options.slidesToShow===1&&e.options.adaptiveHeight===true&&e.options.vertical===false){var t=e.$slides.eq(e.currentSlide).outerHeight(true);e.$list.animate({height:t},e.options.speed)}},r.prototype.animateSlide=function(e,t){var n={},i=this;i.animateHeight();if(i.options.rtl===true&&i.options.vertical===false){e=-e}if(i.transformsEnabled===false){if(i.options.vertical===false){i.$slideTrack.animate({left:e},i.options.speed,i.options.easing,t)}else{i.$slideTrack.animate({top:e},i.options.speed,i.options.easing,t)}}else{if(i.cssTransitions===false){if(i.options.rtl===true){i.currentLeft=-i.
vendor: 40,712 bytes, line 41
41currentLeft}u({animStart:i.currentLeft}).animate({animStart:e},{duration:i.options.speed,easing:i.options.easing,step:function(e){e=Math.ceil(e);if(i.options.vertical===false){n[i.animType]="translate("+e+"px, 0px)";i.$slideTrack.css(n)}else{n[i.animType]="translate(0px,"+e+"px)";i.$slideTrack.css(n)}},complete:function(){if(t){t.call()}}})}else{i.applyTransition();e=Math.ceil(e);if(i.options.vertical===false){n[i.animType]="translate3d("+e+"px, 0px, 0px)"}else{n[i.animType]="translate3d(0px,"+e+"px, 0px)"}i.$slideTrack.css(n);if(t){setTimeout(function(){i.disableTransition();t.call()},i.options.speed)}}}},r.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;if(t&&t!==null){t=u(t).not(e.$slider)}return t},r.prototype.asNavFor=function(t){var e=this,n=e.getNavTarget();if(n!==null&&typeof n==="object"){n.each(function(){var e=u(this).slick("getSlick");if(!e.unslicked){e.slideHandler(t,true)}})}},r.prototype.applyTransition=function(e){var t=this,n={};if(t.options.fade===false){n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase}else{n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase}if(t.options.fade===false){t.$slideTrack.css(n)}else{t.$slides.eq(e).css(n)}},r.prototype.autoPlay=function(){var e=this;e.autoPlayClear();if(e.slideCount>e.options.slidesToShow){e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed)}},r.prototype.autoPlayClear=function(){var e=this;if(e.autoPlayTimer){clearInterval(e.autoPlayTimer)}},r.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;if(!e.paused&&!e.interrupted&&!e.focussed){if(e.options.infinite===false){if(e.direction===1&&e.currentSlide+1===e.slideCount-1){e.direction=0}else if(e.direction===0){t=e.currentSlide-e.options.slidesToScroll;if(e.currentSlide-1===0){e.direction=1}}}e.slideHandler(t)}},r.prototype.buildArrows=function(){var e=this;if(e.options.arrows===true){e.$prevArrow=u(e.options.prevArrow).addClass("slick-arrow");e.$nextArrow=u(e.options.nextArrow).addClass("slick-arrow");if(e.slideCount>e.options.slidesToShow){e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex");if(e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.prependTo(e.options.appendArrows)}if(e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.appendTo(e.options.appendArrows)}if(e.options.infinite!==true){e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")}}else{e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"})}}},r.prototype.buildDots=function(){var e=this,t,n;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$slider.addClass("slick-dotted");n=u("<ul />").addClass(e.options.dotsClass);for(t=0;t<=e.getDotCount();t+=1){n.append(u("<li />").append(e.options.customPaging.call(this,e,t)))}e.$dots=n.appendTo(e.options.appendDots);e.$dots.find("li").first().addClass("slick-active")}},r.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide");e.slideCount=e.$slides.length;e.$slides.each(function(e,t){u(t).attr("data-slick-index",e).data("originalStyling",u(t).attr("style")||"")});e.$slider.addClass("slick-slider");e.$slideTrack=e.slideCount===0?u('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent();e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent();e.$slideTrack.css("opacity",0);if(e.options.centerMode===true||e.options.swipeToSlide===true){e.options.slidesToScroll=1}u("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading");e.setupInfinite();e.buildArrows();e.buildDots();e.updateDots();e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);if(e.options.draggable===true){e.$list.addClass("draggable")}},r.prototype.buildRows=function(){var e=this,t,n,i,o,s,r,a;o=document.createDocumentFragment();r=e.$slider.children();if(e.options.rows>0){a=e.options.slidesPerRow*e.options.rows;s=Math.ceil(r.length/a);for(t=0;t<s;t++){var l=document.createElement("div");for(n=0;n<e.options.rows;n++){var c=document.createElement("div");for(i=0;i<e.options.slidesPerRow;i++){var u=t*a+(n*e.options.slidesPerRow+i);if(r.get(u)){c.appendChild(r.get(u))}}l.appendChild(c)}o.appendChild(l)}e.$slider.empty().append(o);e.$slider.children().children().children().css({width:100/e.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(e,t){var n=this,i,o,s,r=false;var a=n.$slider.width();var l=window.innerWidth||u(window).width();if(n.respondTo==="window"){s=l}else if(n.respondTo==="slider"){s=a}else if(n.respondTo==="min"){s=Math.min(l,a)}if(n.options.responsive&&n.options.responsive.length&&n.options.responsive!==null){o=null;for(i in n.breakpoints){if(n.breakpoints.hasOwnProperty(i)){if(n.originalSettings.mobileFirst===false){if(s<n.breakpoints[i]){o=n.breakpoints[i]}}else{if(s>n.breakpoints[i]){o=n.breakpoints[i]}}}}if(o!==null){if(n.activeBreakpoint!==null){if(o!==n.activeBreakpoint||t){n.activeBreakpoint=o;if(n.breakpointSettings[o]==="unslick"){n.unslick(o)}else{n.options=u.extend({},n.originalSettings,n.breakpointSettings[o]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}r=o}}else{n.activeBreakpoint=o;if(n.breakpointSettings[o]==="unslick"){n.unslick(o)}else{n.options=u.extend({},n.originalSettings,n.breakpointSettings[o]);if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e)}r=o}}else{if(n.activeBreakpoint!==null){n.activeBreakpoint=null;n.options=n.originalSettings;if(e===true){n.currentSlide=n.options.initialSlide}n.refresh(e);r=o}}if(!e&&r!==false){n.$slider.trigger("breakpoint",[n,r])}}},r.prototype.changeSlide=function(e,t){var n=this,i=u(e.currentTarget),o,s,r;if(i.is("a")){e.preventDefault()}if(!i.is("li")){i=i.closest("li")}r=n.slideCount%n.options.slidesToScroll!==0;o=r?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll;switch(e.data.message){case"previous":s=o===0?n.options.slidesToScroll:n.options.slidesToShow-o;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide-s,false,t)}break;case"next":s=o===0?n.options.slidesToScroll:o;if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide+s,false,t)}break;case"index":var a=e.data.index===0?0:e.data.index||i.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(a),false,t);i.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(e){var t=this,n,i;n=t.getNavigableIndexes();i=0;if(e>n[n.length-1]){e=n[n.length-1]}else{for(var o in n){if(e<n[o]){e=i;break}i=n[o]}}return e},r.prototype.cleanUpEvents=function(){var e=this;if(e.options.dots&&e.$dots!==null){u("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",u.proxy(e.interrupt,e,true)).off("mouseleave.slick",u.proxy(e.interrupt,e,false));if(e.options.accessibility===true){e.$dots.off("keydown.slick",e.keyHandler)}}e.$slider.off("focus.slick blur.slick");if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide);e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide);if(e.options.accessibility===true){e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler);e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler)}}e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler);e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler);e.$list.off("touchend.slick mouseup.slick",e.swipeHandler);e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler);e.$list.off("click.slick",e.clickHandler);u(document).off(e.visibilityChange,e.visibility);e.cleanUpSlideEvents();if(e.options.accessibility===true){e.$list.off("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){u(e.$slideTrack).children().off("click.slick",e.selectHandler)}u(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange);u(window).off("resize.slick.slick-"+e.instanceUid,e.resize);u("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault);u(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},r.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",u.proxy(e.interrupt,e,true));e.$list.off("mouseleave.slick",u.proxy(e.interrupt,e,false))},r.prototype.cleanUpRows=function(){var e=this,t;if(e.options.rows>0){t=e.$slides.children().children();t.removeAttr("style");e.$slider.empty().append(t)}},r.prototype.clickHandler=function(e){var t=this;if(t.shouldClick===false){e.stopImmediatePropagation();e.stopPropagation();e.preventDefault()}},r.prototype.destroy=function(e){var t=this;t.autoPlayClear();t.touchObject={};t.cleanUpEvents();u(".slick-cloned",t.$slider).detach();if(t.$dots){t.$dots.remove()}if(t.$prevArrow&&t.$prevArrow.length){t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(t.htmlExpr.test(t.options.prevArrow)){t.$prevArrow.remove()}}if(t.$nextArrow&&t.$nextArrow.length){t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display","");if(t.htmlExpr.test(t.options.nextArrow)){t.$nextArrow.remove()}}if(t.$slides){t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){u(this).attr("style",u(this).data("originalStyling"))});t.$slideTrack.children(this.options.slide).detach();t.$slideTrack.detach();t.$list.detach();t.$slider.append(t.$slides)}t.cleanUpRows();t.$slider.removeClass("slick-slider");t.$slider.removeClass("slick-initialized");t.$slider.removeClass("slick-dotted");t.unslicked=true;if(!e){t.$slider.trigger("destroy",[t])}},r.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="";if(t.options.fade===false){t.$slideTrack.css(n)}else{t.$slides.eq(e).css(n)}},r.prototype.fadeSlide=function(e,t){var n=this;if(n.cssTransitions===false){n.$slides.eq(e).css({zIndex:n.options.zIndex});n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)}else{n.applyTransition(e);n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex});if(t){setTimeout(function(){n.disableTransition(e);t.call()},n.options.speed)}}},r.prototype.fadeSlideOut=function(e){var t=this;if(t.cssTransitions===false){t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing)}else{t.applyTransition(e);t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2})}},r.prototype.filterSlides=r.prototype.slickFilter=function(e){var t=this;if(e!==null){t.$slidesCache=t.$slides;t.unload();t.$slideTrack.children(this.options.slide).detach();t.$slidesCache.filter(e).appendTo(t.$slideTrack);t.reinit()}},r.prototype.focusHandler=function(){var n=this;n.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var t=u(this);setTimeout(function(){if(n.options.pauseOnFocus){n.focussed=t.is(":focus");n.autoPlay()}},0)})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){var e=this;return e.currentSlide},r.prototype.getDotCount=function(){var e=this;var t=0;var n=0;var i=0;if(e.options.infinite===true){if(e.slideCount<=e.options.slidesToShow){++i}else{while(t<e.slideCount){++i;t=n+e.options.slidesToScroll;n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow}}}else if(e.options.centerMode===true){i=e.slideCount}else if(!e.options.asNavFor){i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll)}else{while(t<e.slideCount){++i;t=n+e.options.slidesToScroll;n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow}}return i-1},r.prototype.getLeft=function(e){var t=this,n,i,o=0,s,r;t.slideOffset=0;i=t.$slides.first().outerHeight(true);if(t.options.infinite===true){if(t.slideCount>t.options.slidesToShow){t.slideOffset=t.slideWidth*t.options.slidesToShow*-1;r=-1;if(t.options.vertical===true&&t.options.centerMode===true){if(t.options.slidesToShow===2){r=-1.5}else if(t.options.slidesToShow===1){r=-2}}o=i*t.options.slidesToShow*r}if(t.slideCount%t.options.slidesToScroll!==0){if(e+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow){if(e>t.slideCount){t.slideOffset=(t.options.slidesToShow-(e-t.slideCount))*t.slideWidth*-1;o=(t.options.slidesToShow-(e-t.slideCount))*i*-1}else{t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1;o=t.slideCount%t.options.slidesToScroll*i*-1}}}}else{if(e+t.options.slidesToShow>t.slideCount){t.slideOffset=(e+t.options.slidesToShow-t.slideCount)*t.slideWidth;o=(e+t.options.slidesToShow-t.slideCount)*i}}if(t.slideCount<=t.options.slidesToShow){t.slideOffset=0;o=0}if(t.options.centerMode===true&&t.slideCount<=t.options.slidesToShow){t.slideOffset=t.slideWidth*Math.floor(t.options.slidesToShow)/2-t.slideWidth*t.slideCount/2}else if(t.options.centerMode===true&&t.options.infinite===true){t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth}else if(t.options.centerMode===true){t.slideOffset=0;t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)}if(t.options.vertical===false){n=e*t.slideWidth*-1+t.slideOffset}else{n=e*i*-1+o}if(t.options.variableWidth===true){if(t.slideCount<=t.options.slidesToShow||t.options.infinite===false){s=t.$slideTrack.children(".slick-slide").eq(e)}else{s=t.$slideTrack.children(".slick-slide").eq(e+t.options.slidesToShow)}if(t.options.rtl===true){if(s[0]){n=(t.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{n=0}}else{n=s[0]?s[0].offsetLeft*-1:0}if(t.options.centerMode===true){if(t.slideCount<=t.options.slidesToShow||t.options.infinite===false){s=t.$slideTrack.children(".slick-slide").eq(e)}else{s=t.$slideTrack.children(".slick-slide").eq(e+t.options.slidesToShow+1)}if(t.options.rtl===true){if(s[0]){n=(t.$slideTrack.width()-s[0].offsetLeft-s.width())*-1}else{n=0}}else{n=s[0]?s[0].offsetLeft*-1:0}n+=(t.$list.width()-s.outerWidth())/2}}return n},r.prototype.getOption=r.prototype.slickGetOption=function(e){var t=this;return t.options[e]},r.prototype.getNavigableIndexes=function(){var e=this,t=0,n=0,i=[],o;if(e.options.infinite===false){o=e.slideCount}else{t=e.options.slidesToScroll*-1;n=e.options.slidesToScroll*-1;o=e.slideCount*2}while(t<o){i.push(t);t=n+e.options.slidesToScroll;n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow}return i},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var n=this,e,i,o;o=n.options.centerMode===true?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;if(n.options.swipeToSlide===true){n.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-o+u(t).outerWidth()/2>n.swipeLeft*-1){i=t;return false}});e=Math.abs(u(i).attr("data-slick-index")-n.currentSlide)||1;return e}else{return n.options.slidesToScroll}},r.prototype.goTo=r.prototype.slickGoTo=function(e,t){var n=this;n.changeSlide({data:{message:"index",index:parseInt(e)}},t)},r.prototype.init=function(e){var t=this;if(!u(t.$slider).hasClass("slick-initialized")){u(t.$slider).addClass("slick-initialized");t.buildRows();t.buildOut();t.setProps();t.startLoad();t.loadSlider();t.initializeEvents();t.updateArrows();t.updateDots();t.checkResponsive(true);t.focusHandler()}if(e){t.$slider.trigger("init",[t])}if(t.options.accessibility===true){t.initADA()}if(t.options.autoplay){t.paused=false;t.autoPlay()}},r.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(e){return e>=0&&e<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"});if(i.$dots!==null){i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(e){var t=o.indexOf(e);u(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+e,tabindex:-1});if(t!==-1){var n="slick-slide-control"+i.instanceUid+t;if(u("#"+n).length){u(this).attr({"aria-describedby":n})}}});i.$dots.attr("role","tablist").find("li").each(function(e){var t=o[e];u(this).attr({role:"presentation"});u(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+e,"aria-controls":"slick-slide"+i.instanceUid+t,"aria-label":e+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end()}for(var e=i.currentSlide,t=e+i.options.slidesToShow;e<t;e++){if(i.options.focusOnChange){i.$slides.eq(e).attr({tabindex:"0"})}else{i.$slides.eq(e).removeAttr("tabindex")}}i.activateADA()},r.prototype.initArrowEvents=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide);e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide);if(e.options.accessibility===true){e.$prevArrow.on("keydown.slick",e.keyHandler);e.$nextArrow.on("keydown.slick",e.keyHandler)}}},r.prototype.initDotEvents=function(){var e=this;if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){u("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide);if(e.options.accessibility===true){e.$dots.on("keydown.slick",e.keyHandler)}}if(e.options.dots===true&&e.options.pauseOnDotsHover===true&&e.slideCount>e.options.slidesToShow){u("li",e.$dots).on("mouseenter.slick",u.proxy(e.interrupt,e,true)).on("mouseleave.slick",u.proxy(e.interrupt,e,false))}},r.prototype.initSlideEvents=function(){var e=this;if(e.options.pauseOnHover){e.$list.on("mouseenter.slick",u.proxy(e.interrupt,e,true));e.$list.on("mouseleave.slick",u.proxy(e.interrupt,e,false))}},r.prototype.initializeEvents=function(){var e=this;e.initArrowEvents();e.initDotEvents();e.initSlideEvents();e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler);e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler);e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler);e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler);e.$list.on("click.slick",e.clickHandler);u(document).on(e.visibilityChange,u.proxy(e.visibility,e));if(e.options.accessibility===true){e.$list.on("keydown.slick",e.keyHandler)}if(e.options.focusOnSelect===true){u(e.$slideTrack).children().on("click.slick",e.selectHandler)}u(window).on("orientationchange.slick.slick-"+e.instanceUid,u.proxy(e.orientationChange,e));u(window).on("resize.slick.slick-"+e.instanceUid,u.proxy(e.resize,e));u("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault);u(window).on("load.slick.slick-"+e.instanceUid,e.setPosition);u(e.setPosition)},r.prototype.initUI=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.show();e.$nextArrow.show()}if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$dots.show()}},r.prototype.keyHandler=function(e){var t=this;if(!e.target.tagName.match("TEXTAREA|INPUT|SELECT")){if(e.keyCode===37&&t.options.accessibility===true){t.changeSlide({data:{message:t.options.rtl===true?"next":"previous"}})}else if(e.keyCode===39&&t.options.accessibility===true){t.changeSlide({data:{message:t.options.rtl===true?"previous":"next"}})}}},r.prototype.lazyLoad=function(){var s=this,e,t,n,i;function o(e){u("img[data-lazy]",e).each(function(){var e=u(this),t=u(this).attr("data-lazy"),n=u(this).attr("data-srcset"),i=u(this).attr("data-sizes")||s.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0},100,function(){if(n){e.attr("srcset",n);if(i){e.attr("sizes",i)}}e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")});s.$slider.trigger("lazyLoaded",[s,e,t])})};o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");s.$slider.trigger("lazyLoadError",[s,e,t])};o.src=t})}if(s.options.centerMode===true){if(s.options.infinite===true){n=s.currentSlide+(s.options.slidesToShow/2+1);i=n+s.options.slidesToShow+2}else{n=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1));i=2+(s.options.slidesToShow/2+1)+s.currentSlide}}else{n=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide;i=Math.ceil(n+s.options.slidesToShow);if(s.options.fade===true){if(n>0)n--;if(i<=s.slideCount)i++}}e=s.$slider.find(".slick-slide").slice(n,i);if(s.options.lazyLoad==="anticipated"){var r=n-1,a=i,l=s.$slider.find(".slick-slide");for(var c=0;c<s.options.slidesToScroll;c++){if(r<0)r=s.slideCount-1;e=e.add(l.eq(r));e=e.add(l.eq(a));r--;a++}}o(e);if(s.slideCount<=s.options.slidesToShow){t=s.$slider.find(".slick-slide");o(t)}else if(s.currentSlide>=s.slideCount-s.options.slidesToShow){t=s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow);o(t)}else if(s.currentSlide===0){t=s.$slider.find(".slick-cloned").slice(s.options.slidesToShow*-1);o(t)}},r.prototype.loadSlider=function(){var e=this;e.setPosition();e.$slideTrack.css({opacity:1});e.$slider.removeClass("slick-loading");e.initUI();if(e.options.lazyLoad==="progressive"){e.progressiveLazyLoad()}},r.prototype.next=r.prototype.slickNext=function(){var e=this;e.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){var e=this;e.checkResponsive();e.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){var e=this;e.autoPlayClear();e.paused=true},r.prototype.play=r.prototype.slickPlay=function(){var e=this;e.autoPlay();e.options.autoplay=true;e.paused=false;e.focussed=false;e.interrupted=false},r.prototype.postSlide=function(e){var t=this;if(!t.unslicked){t.$slider.trigger("afterChange",[t,e]);t.animating=false;if(t.slideCount>t.options.slidesToShow){t.setPosition()}t.swipeLeft=null;if(t.options.autoplay){t.autoPlay()}if(t.options.accessibility===true){t.initADA();if(t.options.focusOnChange){var n=u(t.$slides.get(t.currentSlide));n.attr("tabindex",0).focus()}}}},r.prototype.prev=r.prototype.slickPrev=function(){var e=this;e.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(e){e.preventDefault()},r.prototype.progressiveLazyLoad=function(e){e=e||1;var t=this,n=u("img[data-lazy]",t.$slider),i,o,s,r,a;if(n.length){i=n.first();o=i.attr("data-lazy");s=i.attr("data-srcset");r=i.attr("data-sizes")||t.$slider.attr("data-sizes");a=document.createElement("img");a.onload=function(){if(s){i.attr("srcset",s);if(r){i.attr("sizes",r)}}i.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");if(t.options.adaptiveHeight===true){t.setPosition()}t.$slider.trigger("lazyLoaded",[t,i,o]);t.progressiveLazyLoad()};a.onerror=function(){if(e<3){setTimeout(function(){t.progressiveLazyLoad(e+1)},500)}else{i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,o]);t.progressiveLazyLoad()}};a.src=o}else{t.$slider.trigger("allImagesLoaded",[t])}},r.prototype.refresh=function(e){var t=this,n,i;i=t.slideCount-t.options.slidesToShow;if(!t.options.infinite&&t.currentSlide>i){t.currentSlide=i}if(t.slideCount<=t.options.slidesToShow){t.currentSlide=0}n=t.currentSlide;t.destroy(true);u.extend(t,t.initials,{currentSlide:n});t.init();if(!e){t.changeSlide({data:{message:"index",index:n}},false)}},r.prototype.registerBreakpoints=function(){var n=this,e,t,i,o=n.options.responsive||null;if(u.type(o)==="array"&&o.length){n.respondTo=n.options.respondTo||"window";for(e in o){i=n.breakpoints.length-1;if(o.hasOwnProperty(e)){t=o[e].breakpoint;while(i>=0){if(n.breakpoints[i]&&n.breakpoints[i]===t){n.breakpoints.splice(i,1)}i--}n.breakpoints.push(t);n.breakpointSettings[t]=o[e].settings}}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e})}},r.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide");e.slideCount=e.$slides.length;if(e.currentSlide>=e.slideCount&&e.currentSlide!==0){e.currentSlide=e.currentSlide-e.options.slidesToScroll}if(e.slideCount<=e.options.slidesToShow){e.currentSlide=0}e.registerBreakpoints();e.setProps();e.setupInfinite();e.buildArrows();e.updateArrows();e.initArrowEvents();e.buildDots();e.updateDots();e.initDotEvents();e.cleanUpSlideEvents();e.initSlideEvents();e.checkResponsive(false,true);if(e.options.focusOnSelect===true){u(e.$slideTrack).children().on("click.slick",e.selectHandler)}e.setSlideClasses(typeof e.currentSlide==="number"?e.currentSlide:0);e.setPosition();e.focusHandler();e.paused=!e.options.autoplay;e.autoPlay();e.$slider.trigger("reInit",[e])},r.prototype.resize=function(){var e=this;if(u(window).width()!==e.windowWidth){clearTimeout(e.windowDelay);e.windowDelay=window.setTimeout(function(){e.windowWidth=u(window).width();e.checkResponsive();if(!e.unslicked){e.setPosition()}},50)}},r.prototype.removeSlide=r.prototype.slickRemove=function(e,t,n){var i=this;if(typeof e==="boolean"){t=e;e=t===true?0:i.slideCount-1}else{e=t===true?--e:e}if(i.slideCount<1||e<0||e>i.slideCount-1){return false}i.unload();if(n===true){i.$slideTrack.children().remove()}else{i.$slideTrack.children(this.options.slide).eq(e).remove()}i.$slides=i.$slideTrack.children(this.options.slide);i.$slideTrack.children(this.options.slide).detach();i.$slideTrack.append(i.$slides);i.$slidesCache=i.$slides;i.reinit()},r.prototype.setCSS=function(e){var t=this,n={},i,o;if(t.options.rtl===true){e=-e}i=t.positionProp=="left"?Math.ceil(e)+"px":"0px";o=t.positionProp=="top"?Math.ceil(e)+"px":"0px";n[t.positionProp]=e;if(t.transformsEnabled===false){t.$slideTrack.css(n)}else{n={};if(t.cssTransitions===false){n[t.animType]="translate("+i+", "+o+")";t.$slideTrack.css(n)}else{n[t.animType]="translate3d("+i+", "+o+", 0px)";t.$slideTrack.css(n)}}},r.prototype.setDimensions=function(){var e=this;if(e.options.vertical===false){if(e.options.centerMode===true){e.$list.css({padding:"0px "+e.options.centerPadding})}}else{e.$list.height(e.$slides.first().outerHeight(true)*e.options.slidesToShow);if(e.options.centerMode===true){e.$list.css({padding:e.options.centerPadding+" 0px"})}}e.listWidth=e.$list.width();e.listHeight=e.$list.height();if(e.options.vertical===false&&e.options.variableWidth===false){e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow);e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))}else if(e.options.variableWidth===true){e.$slideTrack.width(5e3*e.slideCount)}else{e.slideWidth=Math.ceil(e.listWidth);e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(true)*e.$slideTrack.children(".slick-slide").length))}var t=e.$slides.first().outerWidth(true)-e.$slides.first().width();if(e.options.variableWidth===false)e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},r.prototype.setFade=function(){var n=this,i;n.$slides.each(function(e,t){i=n.slideWidth*e*-1;if(n.options.rtl===true){u(t).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}else{u(t).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}});n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var e=this;if(e.options.slidesToShow===1&&e.options.adaptiveHeight===true&&e.options.vertical===false){var t=e.$slides.eq(e.currentSlide).outerHeight(true);e.$list.css("height",t)}},r.prototype.setOption=r.prototype.slickSetOption=function(){var n=this,e,t,i,o,s=false,r;if(u.type(arguments[0])==="object"){i=arguments[0];s=arguments[1];r="multiple"}else if(u.type(arguments[0])==="string"){i=arguments[0];o=arguments[1];s=arguments[2];if(arguments[0]==="responsive"&&u.type(arguments[1])==="array"){r="responsive"}else if(typeof arguments[1]!=="undefined"){r="single"}}if(r==="single"){n.options[i]=o}else if(r==="multiple"){u.each(i,function(e,t){n.options[e]=t})}else if(r==="responsive"){for(t in o){if(u.type(n.options.responsive)!=="array"){n.options.responsive=[o[t]]}else{e=n.options.responsive.length-1;while(e>=0){if(n.options.responsive[e].breakpoint===o[t].breakpoint){n.options.responsive.splice(e,1)}e--}n.options.responsive.push(o[t])}}}if(s){n.unload();n.reinit()}},r.prototype.setPosition=function(){var e=this;e.setDimensions();e.setHeight();if(e.options.fade===false){e.setCSS(e.getLeft(e.currentSlide))}else{e.setFade()}e.$slider.trigger("setPosition",[e])},r.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=e.options.vertical===true?"top":"left";if(e.positionProp==="top"){e.$slider.addClass("slick-vertical")}else{e.$slider.removeClass("slick-vertical")}if(t.WebkitTransition!==undefined||t.MozTransition!==undefined||t.msTransition!==undefined){if(e.options.useCSS===true){e.cssTransitions=true}}if(e.options.fade){if(typeof e.options.zIndex==="number"){if(e.options.zIndex<3){e.options.zIndex=3}}else{e.options.zIndex=e.defaults.zIndex}}if(t.OTransform!==undefined){e.animType="OTransform";e.transformType="-o-transform";e.transitionType="OTransition";if(t.perspectiveProperty===undefined&&t.webkitPerspective===undefined)e.animType=false}if(t.MozTransform!==undefined){e.animType="MozTransform";e.transformType="-moz-transform";e.transitionType="MozTransition";if(t.perspectiveProperty===undefined&&t.MozPerspective===undefined)e.animType=false}if(t.webkitTransform!==undefined){e.animType="webkitTransform";e.transformType="-webkit-transform";e.transitionType="webkitTransition";if(t.perspectiveProperty===undefined&&t.webkitPerspective===undefined)e.animType=false}if(t.msTransform!==undefined){e.animType="msTransform";e.transformType="-ms-transform";e.transitionType="msTransition";if(t.msTransform===undefined)e.animType=false}if(t.transform!==undefined&&e.animType!==false){e.animType="transform";e.transformType="transform";e.transitionType="transition"}e.transformsEnabled=e.options.useTransform&&(e.animType!==null&&e.animType!==false)},r.prototype.setSlideClasses=function(e){var t=this,n,i,o,s;i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");t.$slides.eq(e).addClass("slick-current");if(t.options.centerMode===true){var r=t.options.slidesToShow%2===0?1:0;n=Math.floor(t.options.slidesToShow/2);if(t.options.infinite===true){if(e>=n&&e<=t.slideCount-1-n){t.$slides.slice(e-n+r,e+n+1).addClass("slick-active").attr("aria-hidden","false")}else{o=t.options.slidesToShow+e;i.slice(o-n+1+r,o+n+2).addClass("slick-active").attr("aria-hidden","false")}if(e===0){i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center")}else if(e===t.slideCount-1){i.eq(t.options.slidesToShow).addClass("slick-center")}}t.$slides.eq(e).addClass("slick-center")}else{if(e>=0&&e<=t.slideCount-t.options.slidesToShow){t.$slides.slice(e,e+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}else if(i.length<=t.options.slidesToShow){i.addClass("slick-active").attr("aria-hidden","false")}else{s=t.slideCount%t.options.slidesToShow;o=t.options.infinite===true?t.options.slidesToShow+e:e;if(t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-e<t.options.slidesToShow){i.slice(o-(t.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false")}else{i.slice(o,o+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")}}}if(t.options.lazyLoad==="ondemand"||t.options.lazyLoad==="anticipated"){t.lazyLoad()}},r.prototype.setupInfinite=function(){var e=this,t,n,i;if(e.options.fade===true){e.options.centerMode=false}if(e.options.infinite===true&&e.options.fade===false){n=null;if(e.slideCount>e.options.slidesToShow){if(e.options.centerMode===true){i=e.options.slidesToShow+1}else{i=e.options.slidesToShow}for(t=e.slideCount;t>e.slideCount-i;t-=1){n=t-1;u(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n-e.slideCount).prependTo(e.$slideTrack).addClass("slick-cloned")}for(t=0;t<i+e.slideCount;t+=1){n=t;u(e.$slides[n]).clone(true).attr("id","").attr("data-slick-index",n+e.slideCount).appendTo(e.$slideTrack).addClass("slick-cloned")}e.$slideTrack.find(".slick-cloned").find("[id]").each(function(){u(this).attr("id","")})}}},r.prototype.interrupt=function(e){var t=this;if(!e){t.autoPlay()}t.interrupted=e},r.prototype.selectHandler=function(e){var t=this;var n=u(e.target).is(".slick-slide")?u(e.target):u(e.target).parents(".slick-slide");var i=parseInt(n.attr("data-slick-index"));if(!i)i=0;if(t.slideCount<=t.options.slidesToShow){t.slideHandler(i,false,true);return}t.slideHandler(i)},r.prototype.slideHandler=function(e,t,n){var i,o,s,r,a=null,l=this,c;t=t||false;if(l.animating===true&&l.options.waitForAnimate===true){return}if(l.options.fade===true&&l.currentSlide===e){return}if(t===false){l.asNavFor(e)}i=e;a=l.getLeft(i);r=l.getLeft(l.currentSlide);l.currentLeft=l.swipeLeft===null?r:l.swipeLeft;if(l.options.infinite===false&&l.options.centerMode===false&&(e<0||e>l.getDotCount()*l.options.slidesToScroll)){if(l.options.fade===false){i=l.currentSlide;if(n!==true&&l.slideCount>l.options.slidesToShow){l.animateSlide(r,function(){l.postSlide(i)})}else{l.postSlide(i)}}return}else if(l.options.infinite===false&&l.options.centerMode===true&&(e<0||e>l.slideCount-l.options.slidesToScroll)){if(l.options.fade===false){i=l.currentSlide;if(n!==true&&l.slideCount>l.options.slidesToShow){l.animateSlide(r,function(){l.postSlide(i)})}else{l.postSlide(i)}}return}if(l.options.autoplay){clearInterval(l.autoPlayTimer)}if(i<0){if(l.slideCount%l.options.slidesToScroll!==0){o=l.slideCount-l.slideCount%l.options.slidesToScroll}else{o=l.slideCount+i}}else if(i>=l.slideCount){if(l.slideCount%l.options.slidesToScroll!==0){o=0}else{o=i-l.slideCount}}else{o=i}l.animating=true;l.$slider.trigger("beforeChange",[l,l.currentSlide,o]);s=l.currentSlide;l.currentSlide=o;l.setSlideClasses(l.currentSlide);if(l.options.asNavFor){c=l.getNavTarget();c=c.slick("getSlick");if(c.slideCount<=c.options.slidesToShow){c.setSlideClasses(l.currentSlide)}}l.updateDots();l.updateArrows();if(l.options.fade===true){if(n!==true){l.fadeSlideOut(s);l.fadeSlide(o,function(){l.postSlide(o)})}else{l.postSlide(o)}l.animateHeight();return}if(n!==true&&l.slideCount>l.options.slidesToShow){l.animateSlide(a,function(){l.postSlide(o)})}else{l.postSlide(o)}},r.prototype.startLoad=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.hide();e.$nextArrow.hide()}if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$dots.hide()}e.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var e,t,n,i,o=this;e=o.touchObject.startX-o.touchObject.curX;t=o.touchObject.startY-o.touchObject.curY;n=Math.atan2(t,e);i=Math.round(n*180/Math.PI);if(i<0){i=360-Math.abs(i)}if(i<=45&&i>=0){return o.options.rtl===false?"left":"right"}if(i<=360&&i>=315){return o.options.rtl===false?"left":"right"}if(i>=135&&i<=225){return o.options.rtl===false?"right":"left"}if(o.options.verticalSwiping===true){if(i>=35&&i<=135){return"down"}else{return"up"}}return"vertical"},r.prototype.swipeEnd=function(e){var t=this,n,i;t.dragging=false;t.swiping=false;if(t.scrolling){t.scrolling=false;return false}t.interrupted=false;t.shouldClick=t.touchObject.swipeLength>10?false:true;if(t.touchObject.curX===undefined){return false}if(t.touchObject.edgeHit===true){t.$slider.trigger("edge",[t,t.swipeDirection()])}if(t.touchObject.swipeLength>=t.touchObject.minSwipe){i=t.swipeDirection();switch(i){case"left":case"down":n=t.options.swipeToSlide?t.checkNavigable(t.currentSlide+t.getSlideCount()):t.currentSlide+t.getSlideCount();t.currentDirection=0;break;case"right":case"up":n=t.options.swipeToSlide?t.checkNavigable(t.currentSlide-t.getSlideCount()):t.currentSlide-t.getSlideCount();t.currentDirection=1;break;default:}if(i!="vertical"){t.slideHandler(n);t.touchObject={};t.$slider.trigger("swipe",[t,i])}}else{if(t.touchObject.startX!==t.touchObject.curX){t.slideHandler(t.currentSlide);t.touchObject={}}}},r.prototype.swipeHandler=function(e){var t=this;if(t.options.swipe===false||"ontouchend"in document&&t.options.swipe===false){return}else if(t.options.draggable===false&&e.type.indexOf("mouse")!==-1){return}t.touchObject.fingerCount=e.originalEvent&&e.originalEvent.touches!==undefined?e.originalEvent.touches.length:1;t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold;if(t.options.verticalSwiping===true){t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold}switch(e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e);break}},r.prototype.swipeMove=function(e){var t=this,n=false,i,o,s,r,a,l;a=e.originalEvent!==undefined?e.originalEvent.touches:null;if(!t.dragging||t.scrolling||a&&a.length!==1){return false}i=t.getLeft(t.currentSlide);t.touchObject.curX=a!==undefined?a[0].pageX:e.clientX;t.touchObject.curY=a!==undefined?a[0].pageY:e.clientY;t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2)));l=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2)));if(!t.options.verticalSwiping&&!t.swiping&&l>4){t.scrolling=true;return false}if(t.options.verticalSwiping===true){t.touchObject.swipeLength=l}o=t.swipeDirection();if(e.originalEvent!==undefined&&t.touchObject.swipeLength>4){t.swiping=true;e.preventDefault()}r=(t.options.rtl===false?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1);if(t.options.verticalSwiping===true){r=t.touchObject.curY>t.touchObject.startY?1:-1}s=t.touchObject.swipeLength;t.touchObject.edgeHit=false;if(t.options.infinite===false){if(t.currentSlide===0&&o==="right"||t.currentSlide>=t.getDotCount()&&o==="left"){s=t.touchObject.swipeLength*t.options.edgeFriction;t.touchObject.edgeHit=true}}if(t.options.vertical===false){t.swipeLeft=i+s*r}else{t.swipeLeft=i+s*(t.$list.height()/t.listWidth)*r}if(t.options.verticalSwiping===true){t.swipeLeft=i+s*r}if(t.options.fade===true||t.options.touchMove===false){return false}if(t.animating===true){t.swipeLeft=null;return false}t.setCSS(t.swipeLeft)},r.prototype.swipeStart=function(e){var t=this,n;t.interrupted=true;if(t.touchObject.fingerCount!==1||t.slideCount<=t.options.slidesToShow){t.touchObject={};return false}if(e.originalEvent!==undefined&&e.originalEvent.touches!==undefined){n=e.originalEvent.touches[0]}t.touchObject.startX=t.touchObject.curX=n!==undefined?n.pageX:e.clientX;t.touchObject.startY=t.touchObject.curY=n!==undefined?n.pageY:e.clientY;t.dragging=true},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){var e=this;if(e.$slidesCache!==null){e.unload();e.$slideTrack.children(this.options.slide).detach();e.$slidesCache.appendTo(e.$slideTrack);e.reinit()}},r.prototype.unload=function(){var e=this;u(".slick-cloned",e.$slider).remove();if(e.$dots){e.$dots.remove()}if(e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)){e.$prevArrow.remove()}if(e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)){e.$nextArrow.remove()}e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},r.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]);t.destroy()},r.prototype.updateArrows=function(){var e=this,t;t=Math.floor(e.options.slidesToShow/2);if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow&&!e.options.infinite){e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false");e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false");if(e.currentSlide===0){e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true");e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===false){e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}else if(e.currentSlide>=e.slideCount-1&&e.options.centerMode===true){e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true");e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")}}},r.prototype.updateDots=function(){var e=this;if(e.$dots!==null){e.$dots.find("li").removeClass("slick-active").end();e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active")}},r.prototype.visibility=function(){var e=this;if(e.options.autoplay){if(document[e.hidden]){e.interrupted=true}else{e.interrupted=false}}},u.fn.slick=function(){var e=this,t=arguments[0],n=Array.prototype.slice.call(arguments,1
41),i=e.length,o,s;for(o=0;o<i;o++){if(typeof t=="object"||typeof t=="undefined")e[o].slick=new r(e[o],t);else s=e[o].slick[t].apply(e[o].slick,n);if(typeof s!="undefined")return s}return e}})?i.apply(t,o):i)||(e.exports=s)}()},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(e){var A;(A=e).isScrollToFixed=function(e){return!!A(e).data("ScrollToFixed")},A.ScrollToFixed=function(e,t){var o=this;o.$el=A(e),o.el=e,o.$el.data("ScrollToFixed",o);var s,r,n,i,a=!1,l=o.$el,c=0,u=0,d=-1,p=-1,f=null;function h(){var e=o.options.limit;return e?"function"==typeof e?e.apply(l):e:0}function g(){return"fixed"===s}function m(){return"absolute"===s}function y(){return!(g()||m())}function v(){g()||(f.css({display:l.css("display"),width:l.outerWidth(!0),height:l.outerHeight(!0),float:l.css("float")}),cssOptions={"z-index":o.options.zIndex,position:"fixed",top:-1==o.options.bottom?T():"",bottom:-1==o.options.bottom?"":o.options.bottom,"margin-left":"0px"},o.options.dontSetWidth||(cssOptions.width=l.css("width")),l.css(cssOptions),l.addClass(o.options.baseClassName),o.options.className&&l.addClass(o.options.className),s="fixed")}function b(){var e=h(),t=u;o.options.removeOffsets&&(t="",e-=c),cssOptions={position:"absolute",top:e,left:t,"margin-left":"0px",bottom:""},o.options.dontSetWidth||(cssOptions.width=l.css("width")),l.css(cssOptions),s="absolute"}function w(){y()||(p=-1,f.css("display","none"),l.css({"z-index":i,width:"",position:r,left:"",top:n,"margin-left":""}),l.removeClass("scroll-to-fixed-fixed"),o.options.className&&l.removeClass(o.options.className),s=null)}function x(e){e!=p&&(l.css("left",u-e),p=e)}function T(){var e=o.options.marginTop;return e?"function"==typeof e?e.apply(l):e:0}function k(){if(A.isScrollToFixed(l)){var e=a;a?y()&&(c=l.offset().top,u=l.offset().left):(l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed"),p=-1,c=l.offset().top,u=l.offset().left,o.options.offsets&&(u+=l.offset().left-l.position().left),-1==d&&(d=u),s=l.css("position"),a=!0,-1!=o.options.bottom&&(l.trigger("preFixed.ScrollToFixed"),v(),l.trigger("fixed.ScrollToFixed")));var t=A(window).scrollLeft(),n=A(window).scrollTop(),i=h();o.options.minWidth&&A(window).width()<o.options.minWidth?y()&&e||(S(),l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed")):o.options.maxWidth&&A(window).width()>o.options.maxWidth?y()&&e||(S(),l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed")):-1==o.options.bottom?0<i&&n>=i-T()?m()&&e||(S(),l.trigger("preAbsolute.ScrollToFixed"),b(),l.trigger("unfixed.ScrollToFixed")):n>=c-T()?(g()&&e||(S(),l.trigger("preFixed.ScrollToFixed"),v(),p=-1,l.trigger("fixed.ScrollToFixed")),x(t)):y()&&e||(S(),l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed")):0<i?n+A(window).height()-l.outerHeight(!0)>=i-(T()||-(o.options.bottom?o.options.bottom:0))?g()&&(S(),l.trigger("preUnfixed.ScrollToFixed"),"absolute"===r?b():w(),l.trigger("unfixed.ScrollToFixed")):(g()||(S(),l.trigger("preFixed.ScrollToFixed"),v()),x(t),l.trigger("fixed.ScrollToFixed")):x(t)}}function S(){var e=l.css("position");"absolute"==e?l.trigger("postAbsolute.ScrollToFixed"):"fixed"==e?l.trigger("postFixed.ScrollToFixed"):l.trigger("postUnfixed.ScrollToFixed")}function C(e){l.is(":visible")&&(a=!1,k())}function $(e){window.requestAnimationFrame?requestAnimationFrame(k):k()}o.init=function(){o.options=A.extend({},A.ScrollToFixed.defaultOptions,t),i=l.css("z-index"),o.$el.css("z-index",o.options.zIndex),f=A("<div />"),s=l.css("position"),r=l.css("position"),n=l.css("top"),y()&&o.$el.after(f),A(window).bind("resize.ScrollToFixed",C),A(window).bind("scroll.ScrollToFixed",$),"ontouchmove"in window&&A(window).bind("touchmove.ScrollToFixed",k),o.options.preFixed&&l.bind("preFixed.ScrollToFixed",o.options.preFixed),o.options.postFixed&&l.bind("postFixed.ScrollToFixed",o.options.postFixed),o.options.preUnfixed&&l.bind("preUnfixed.ScrollToFixed",o.options.preUnfixed),o.options.postUnfixed&&l.bind("postUnfixed.ScrollToFixed",o.options.postUnfixed),o.options.preAbsolute&&l.bind("preAbsolute.ScrollToFixed",o.options.preAbsolute),o.options.postAbsolute&&l.bind("postAbsolute.ScrollToFixed",o.options.postAbsolute),o.options.fixed&&l.bind("fixed.ScrollToFixed",o.options.fixed),o.options.unfixed&&l.bind("unfixed.ScrollToFixed",o.options.unfixed),o.options.spacerClass&&f.addClass(o.options.spacerClass),l.bind("resize.ScrollToFixed",function(){f.height(l.height())}),l.bind("scroll.ScrollToFixed",function(){l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed"),k()}),l.bind("detach.ScrollToFixed",function(e){!function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}(e),l.trigger("preUnfixed.ScrollToFixed"),w(),l.trigger("unfixed.ScrollToFixed"),A(window).unbind("resize.ScrollToFixed",C),A(window).unbind("scroll.ScrollToFixed",$),l.unbind(".ScrollToFixed"),f.remove(),o.$el.removeData("ScrollToFixed")}),C()},o.init()},A.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1e3,baseClassName:"scroll-to-fixed-fixed"},A.fn.scrollToFixed=function(e){return this.each(function(){new A.ScrollToFixed(this,e)})}}).call(this,n(0))},function(e,t,n){(function(e){!function(l,c,g,m){"use strict";if(l.console=l.console||{info:function(e){}},g)if(g.fn.fancybox)console.info("fancyBox already initialized");else{var e,t,n,i,o={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
41<path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:g.noop,beforeLoad:g.noop,afterLoad:g.noop,beforeShow:g.noop,afterShow:g.noop,beforeClose:g.noop,afterClose:g.noop,onActivate:g.noop,onDeactivate:g.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schlie&szlig;en",NEXT:"Weiter",PREV:"Zur&uuml;ck",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergr&ouml;&szlig;ern"}}},s=g(l),r=g(c),a=0,p=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||function(e){return l.setTimeout(e,1e3/60)},u=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||function(e){l.clearTimeout(e)},d=function(){var e,t=c.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in n)if(t.style[e]!==m)return n[e];return"transitionend"}(),f=function(e){return e&&e.length&&e[0].offsetHeight},h=function(e,t){var n=g.extend(!0,{},e,t);return g.each(t,function(e,t){g.isArray(t)&&(n[e]=t)}),n},y=function(e,t,n){var i=this;i.opts=h({index:n},g.fancybox.defaults),g.isPlainObject(t)&&(i.opts=h(i.opts,t)),g.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++a,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(e),i.group.length&&i.init()};g.extend(y.prototype,{init:function(){var t,n,i=this,o=i.group[i.currIndex].opts;o.closeExisting&&g.fancybox.close(!0),g("body").addClass("fancybox-active"),!g.fancybox.getInstance()&&!1!==o.hideScrollbar&&!g.fancybox.isMobile&&c.body.scrollHeight>
vendor: 9,032 bytes, line 41
41l.innerHeight&&(g("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(l.innerWidth-c.documentElement.clientWidth)+"px;}</style>"),g("body").addClass("compensate-for-scrollbar")),n="",g.each(o.buttons,function(e,t){n+=o.btnTpl[t]||""}),t=g(i.translate(i,o.baseTpl.replace("{{buttons}}",n).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+i.id).addClass(o.baseClass).data("FancyBox",i).appendTo(o.parentEl),i.$refs={container:t},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){i.$refs[e]=t.find(".fancybox-"+e)}),i.trigger("onInit"),i.activate(),i.jumpTo(i.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(e,t){return n[t]===m?e:n[t]})},addContent:function(e){var t,c=this,n=g.makeArray(e);g.each(n,function(e,t){var n,i,o,s,r,a={},l={};g.isPlainObject(t)?l=(a=t).opts||t:"object"===g.type(t)&&g(t).length?(l=(n=g(t)).data()||{},(l=g.extend(!0,{},l,l.options)).$orig=n,a.src=c.opts.src||l.src||n.attr("href"),a.type||a.src||(a.type="inline",a.src=t)):a={type:"html",src:t+""},a.opts=g.extend(!0,{},c.opts,l),g.isArray(l.buttons)&&(a.opts.buttons=l.buttons),g.fancybox.isMobile&&a.opts.mobile&&(a.opts=h(a.opts,a.opts.mobile)),i=a.type||a.opts.type,s=a.src||"",!i&&s&&((o=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i="video",a.opts.video.format||(a.opts.video.format="video/"+("ogv"===o[1]?"ogg":o[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i="image":s.match(/\.(pdf)((\?|#).*)?$/i)?(i="iframe",a=g.extend(!0,a,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===s.charAt(0)&&(i="inline")),i?a.type=i:c.trigger("objectNeedsType",a),a.contentType||(a.contentType=-1<g.inArray(a.type,["html","inline","ajax"])?"html":a.type),a.index=c.group.length,"auto"==a.opts.smallBtn&&(a.opts.smallBtn=-1<g.inArray(a.type,["html","inline","ajax"])),"auto"===a.opts.toolbar&&(a.opts.toolbar=!a.opts.smallBtn),a.$thumb=a.opts.$thumb||null,a.opts.$trigger&&a.index===c.opts.index&&(a.$thumb=a.opts.$trigger.find("img:first"),a.$thumb.length&&(a.opts.$orig=a.opts.$trigger)),a.$thumb&&a.$thumb.length||!a.opts.$orig||(a.$thumb=a.opts.$orig.find("img:first")),a.$thumb&&!a.$thumb.length&&(a.$thumb=null),a.thumb=a.opts.thumb||(a.$thumb?a.$thumb[0].src:null),"function"===g.type(a.opts.caption)&&(a.opts.caption=a.opts.caption.apply(t,[c,a])),"function"===g.type(c.opts.caption)&&(a.opts.caption=c.opts.caption.apply(t,[c,a])),a.opts.caption instanceof g||(a.opts.caption=a.opts.caption===m?"":a.opts.caption+""),"ajax"===a.type&&1<(r=s.split(/\s+/,2)).length&&(a.src=r.shift(),a.opts.filter=r.shift()),a.opts.modal&&(a.opts=g.extend(!0,a.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),c.group.push(a)}),Object.keys(c.slides).length&&(c.updateControls(),(t=c.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var i=this;i.removeEvents(),i.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),i.close(e)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),i.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),i.next()}).on("click.fb","[data-fancybox-zoom]",function(e){i[i.isScaledDown()?"scaleToActual":"scaleToFit"]()}),s.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(i.requestId&&u(i.requestId),i.requestId=p(function(){i.update(e)})):(i.current&&"iframe"===i.current.type&&i.$refs.stage.hide(),setTimeout(function(){i.$refs.stage.show(),i.update(e)},g.fancybox.isMobile?600:250))}),r.on("keydown.fb",function(e){var t=(g.fancybox?g.fancybox.getInstance():null).current,n=e.keyCode||e.which;if(9!=n){if(!(!t.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||g(e.target).is("input,textarea,video,audio,select")))return 8===n||27===n?(e.preventDefault(),void i.close(e)):37===n||38===n?(e.preventDefault(),void i.previous()):39===n||40===n?(e.preventDefault(),void i.next()):void i.trigger("afterKeydown",e,n)}else t.opts.trapFocus&&i.focus(e)}),i.group[i.currIndex].opts.idleTime&&(i.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){i.idleSecondsCounter=0,i.isIdle&&i.showControls(),i.isIdle=!1}),i.idleInterval=l.setInterval(function(){i.idleSecondsCounter++,i.idleSecondsCounter>=i.group[i.currIndex].opts.idleTime&&!i.isDragging&&(i.isIdle=!0,i.idleSecondsCounter=0,i.hideControls())},1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),r.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(l.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,i){var t,n,o,s,r,a,l,c,u,d=this,p=d.group.length;if(!(d.isDragging||d.isClosing||d.isAnimating&&d.firstRun)){if(e=parseInt(e,10),!(o=d.current?d.current.opts.loop:d.opts.loop)&&(e<0||p<=e))return!1;if(t=d.firstRun=!Object.keys(d.slides).length,r=d.current,d.prevIndex=d.currIndex,d.prevPos=d.currPos,s=d.createSlide(e),1<p&&((o||s.index<p-1)&&d.createSlide(e+1),(o||0<s.index)&&d.createSlide(e-1)),d.current=s,d.currIndex=s.index,d.currPos=s.pos,d.trigger("beforeShow",t),d.updateControls(),s.forcedDuration=m,g.isNumeric(i)?s.forcedDuration=i:i=s.opts[t?"animationDuration":"transitionDuration"],i=parseInt(i,10),n=d.isMoved(s),s.$slide.addClass("fancybox-slide--current"),t)return s.opts.animationEffect&&i&&d.$refs.container.css("transition-duration",i+"ms"),d.$refs.container.addClass("fancybox-is-open").trigger("focus"),d.loadSlide(s),void d.preload("image");a=g.fancybox.getTranslate(r.$slide),l=g.fancybox.getTranslate(d.$refs.stage),g.each(d.slides,function(e,t){g.fancybox.stop(t.$slide,!0)}),r.pos!==s.pos&&(r.isComplete=!1),r.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),n?(u=a.left-(r.pos*a.width+r.pos*r.opts.gutter),g.each(d.slides,function(e,t){t.$slide.removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var n=t.pos*a.width+t.pos*t.opts.gutter;g.fancybox.setTranslate(t.$slide,{top:0,left:n-l.left+u}),t.pos!==s.pos&&t.$slide.addClass("fancybox-slide--"+(t.pos>s.pos?"next":"previous")),f(t.$slide),g.fancybox.animate(t.$slide,{top:0,left:(t.pos-s.pos)*a.width+(t.pos-s.pos)*t.opts.gutter},i,function(){t.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),t.pos===d.currPos&&d.complete()})})):i&&s.opts.transitionEffect&&(c="fancybox-animated fancybox-fx-"+s.opts.transitionEffect,r.$slide.addClass("fancybox-slide--"+(r.pos>s.pos?"next":"previous")),g.fancybox.animate(r.$slide,c,i,function(){r.$slide.removeClass(c).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),s.isLoaded?d.revealContent(s):d.loadSlide(s),d.preload("image")}},createSlide:function(e){var t,n,i=this;return n=(n=e%i.group.length)<0?i.group.length+n:n,!i.slides[e]&&i.group[n]&&(t=g('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[e]=g.extend(!0,{},i.group[n],{pos:e,$slide:t,isLoaded:!1}),i.updateSlide(i.slides[e])),i.slides[e]},scaleToActual:function(e,t,n){var i,o,s,r,a,l=this,c=l.current,u=c.$content,d=g.fancybox.getTranslate(c.$slide).width,p=g.fancybox.getTranslate(c.$slide).height,f=c.width,h=c.height;l.isAnimating||l.isMoved()||!u||"image"!=c.type||!c.isLoaded||c.hasError||(l.isAnimating=!0,g.fancybox.stop(u),e=e===m?.5*d:e,t=t===m?.5*p:t,(i=g.fancybox.getTranslate(u)).top-=g.fancybox.getTranslate(c.$slide).top,i.left-=g.fancybox.getTranslate(c.$slide).left,r=f/i.width,a=h/i.height,o=.5*d-.5*f,s=.5*p-.5*h,d<f&&(0<(o=i.left*r-(e*r-e))&&(o=0),o<d-f&&(o=d-f)),p<h&&(0<(s=i.top*a-(t*a-t))&&(s=0),s<p-h&&(s=p-h)),l.updateCursor(f,h),g.fancybox.animate(u,{top:s,left:o,scaleX:r,scaleY:a},n||366,function(){l.isAnimating=!1}),l.SlideShow&&l.SlideShow.isActive&&l.SlideShow.stop())},scaleToFit:function(e){var t,n=this,i=n.current,o=i.$content;n.isAnimating||n.isMoved()||!o||"image"!=i.type||!i.isLoaded||i.hasError||(n.isAnimating=!0,g.fancybox.stop(o),t=n.getFitPos(i),n.updateCursor(t.width,t.height),g.fancybox.animate(o,{top:t.top,left:t.left,scaleX:t.width/o.width(),scaleY:t.height/o.height()},e||366,function(){n.isAnimating=!1}))},getFitPos:function(e){var t,n,i,o,s=e.$content,r=e.$slide,a=e.width||e.opts.width,l=e.height||e.opts.height,c={};return!!(e.isLoaded&&s&&s.length)&&(t=g.fancybox.getTranslate(this.$refs.stage).width,n=g.fancybox.getTranslate(this.$refs.stage).height,t-=p
41arseFloat(r.css("paddingLeft"))+parseFloat(r.css("paddingRight"))+parseFloat(s.css("marginLeft"))+parseFloat(s.css("marginRight")),n-=parseFloat(r.css("paddingTop"))+parseFloat(r.css("paddingBottom"))+parseFloat(s.css("marginTop"))+parseFloat(s.css("marginBottom")),a&&l||(a=t,l=n),t-.5<(a*=i=Math.min(1,t/a,n/l))&&(a=t),n-.5<(l*=i)&&(l=n),"image"===e.type?(c.top=Math.floor(.5*(n-l))+parseFloat(r.css("paddingTop")),c.left=Math.floor(.5*(t-a))+parseFloat(r.css("paddingLeft"))):"video"===e.contentType&&(a/(o=e.opts.width&&e.opts.height?a/l:e.opts.ratio||16/9)<l?l=a/o:l*o<a&&(a=l*o)),c.width=a,c.height=l,c)},update:function(n){var i=this;g.each(i.slides,function(e,t){i.updateSlide(t,n)})},updateSlide:function(e,t){var n=this,i=e&&e.$content,o=e.width||e.opts.width,s=e.height||e.opts.height,r=e.$slide;n.adjustCaption(e),i&&(o||s||"video"===e.contentType)&&!e.hasError&&(g.fancybox.stop(i),g.fancybox.setTranslate(i,n.getFitPos(e)),e.pos===n.currPos&&(n.isAnimating=!1,n.updateCursor())),n.adjustLayout(e),r.length&&(r.trigger("refresh"),e.pos===n.currPos&&n.$refs.toolbar.add(n.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight)),n.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,n=t.current,i=n.$slide;!t.isClosing&&n&&(i.siblings().css({transform:"",opacity:""}),i.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),g.fancybox.animate(i,{top:0,left:0,opacity:1},e===m?0:e,function(){i.css({transform:"",opacity:""}),n.isComplete||t.complete()},!1))},isMoved:function(e){var t,n,i=e||this.current;return!!i&&(n=g.fancybox.getTranslate(this.$refs.stage),t=g.fancybox.getTranslate(i.$slide),!i.$slide.hasClass("fancybox-animated")&&(.5<Math.abs(t.top-n.top)||.5<Math.abs(t.left-n.left)))},updateCursor:function(e,t){var n,i,o=this.current,s=this.$refs.container;o&&!this.isClosing&&this.Guestures&&(s.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),i=!!(n=this.canPan(e,t))||this.isZoomable(),s.toggleClass("fancybox-is-zoomable",i),g("[data-fancybox-zoom]").prop("disabled",!i),n?s.addClass("fancybox-can-pan"):i&&("zoom"===o.opts.clickContent||g.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?s.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||1<this.group.length)&&"video"!==o.contentType&&s.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing&&"image"===t.type&&!t.hasError){if(!t.isLoaded)return!0;if((e=this.getFitPos(t))&&(t.width>e.width||t.height>e.height))return!0}return!1},isScaledDown:function(e,t){var n=!1,i=this.current,o=i.$content;return e!==m&&t!==m?n=e<i.width&&t<i.height:o&&(n=(n=g.fancybox.getTranslate(o)).width<i.width&&n.height<i.height),n},canPan:function(e,t){var n=this.current,i=null,o=!1;return"image"===n.type&&(n.isComplete||e&&t)&&!n.hasError&&(o=this.getFitPos(n),e!==m&&t!==m?i={width:e,height:t}:n.isComplete&&(i=g.fancybox.getTranslate(n.$content)),i&&o&&(o=1.5<Math.abs(i.width-o.width)||1.5<Math.abs(i.height-o.height))),o},loadSlide:function(n){var e,t,i,o=this;if(!n.isLoading&&!n.isLoaded){if(!(n.isLoading=!0)===o.trigger("beforeLoad",n))return n.isLoading=!1;switch(e=n.type,(t=n.$slide).off("refresh").trigger("onReset").addClass(n.opts.slideClass),e){case"image":o.setImage(n);break;case"iframe":o.setIframe(n);break;case"html":o.setContent(n,n.src||n.content);break;case"video":o.setContent(n,n.opts.video.tpl.replace(/\{\{src\}\}/gi,n.src).replace("{{format}}",n.opts.videoFormat||n.opts.video.format||"").replace("{{poster}}",n.thumb||""));break;case"inline":g(n.src).length?o.setContent(n,g(n.src)):o.setError(n);break;case"ajax":o.showLoading(n),i=g.ajax(g.extend({},n.opts.ajax.settings,{url:n.src,success:function(e,t){"success"===t&&o.setContent(n,e)},error:function(e,t){e&&"abort"!==t&&o.setError(n)}})),t.one("onReset",function(){i.abort()});break;default:o.setError(n)}return!0}},setImage:function(t){var e,n=this;setTimeout(function(){var e=t.$image;n.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||n.showLoading(t)}
vendor: 10,040 bytes, line 41
41,50),n.checkSrcset(t),t.$content=g('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(e=c.createElement("img")).onerror=function(){g(this).remove(),t.$ghost=null},e.onload=function(){n.afterLoad(t)},t.$ghost=g(e).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),n.setBigImage(t)},checkSrcset:function(e){var t,n,i,o,s=e.opts.srcset||e.opts.image.srcset;if(s){i=l.devicePixelRatio||1,o=l.innerWidth*i,(n=s.split(",").map(function(e){var i={};return e.trim().split(/\s+/).forEach(function(e,t){var n=parseInt(e.substring(0,e.length-1),10);if(0===t)return i.url=e;n&&(i.value=n,i.postfix=e[e.length-1])}),i})).sort(function(e,t){return e.value-t.value});for(var r=0;r<n.length;r++){var a=n[r];if("w"===a.postfix&&a.value>=o||"x"===a.postfix&&a.value>=i){t=a;break}}!t&&n.length&&(t=n[n.length-1]),t&&(e.src=t.url,e.width&&e.height&&"w"==t.postfix&&(e.height=e.width/e.height*t.value,e.width=t.value),e.opts.srcset=s)}},setBigImage:function(t){var n=this,e=c.createElement("img"),i=g(e);t.$image=i.one("error",function(){n.setError(t)}).one("load",function(){var e;t.$ghost||(n.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),n.afterLoad(t)),n.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(1<t.width/t.height&&1<s.width()/s.height()?"100":Math.round(t.width/t.height*100))+"vw"),i.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!n.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),n.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(e.complete||"complete"==e.readyState)&&i.naturalWidth&&i.naturalHeight?i.trigger("load"):e.error&&i.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),o=parseInt(e.opts.height,10);e.width=t,e.height=n,0<i&&(e.width=i,e.height=Math.floor(i*n/t)),0<o&&(e.width=Math.floor(o*t/n),e.height=o)},setIframe:function(o){var s,t=this,r=o.opts.iframe,a=o.$slide;o.$content=g('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+o.contentType),o.$iframe=s=g(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(o.$content),r.preload?(t.showLoading(o),s.on("load.fb error.fb",function(e){this.isReady=1,o.$slide.trigger("refresh"),t.afterLoad(o)}),a.on("refresh.fb",function(){var e,t=o.$content,n=r.css.width,i=r.css.height;if(1===s[0].isReady){try{e=s.contents().find("body")}catch(e){}e&&e.length&&e.children().length&&(a.css("overflow","visible"),t.css({width:"100%","max-width":"100%",height:"9999px"}),n===m&&(n=Math.ceil(Math.max(e[0].clientWidth,e.outerWidth(!0)))),t.css("width",n||"").css("max-width",""),i===m&&(i=Math.ceil(Math.max(e[0].clientHeight,e.outerHeight(!0)))),t.css("height",i||""),a.css("overflow","auto")),t.removeClass("fancybox-is-hidden")}})):t.afterLoad(o),s.attr("src",o.src),a.one("onReset",function(){try{g(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}g(this).off("refresh.fb").empty(),o.isLoaded=!1,o.isRevealed=!1})},setContent:function(e,t){this.isClosing||(this.hideLoading(e),e.$content&&g.fancybox.stop(e.$content),e.$slide.empty(),function(e){return e&&e.hasOwnProperty&&e instanceof g}(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=g("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===g.type(t)&&(t=g("<div>").append(g.trim(t)).contents()),e.opts.filter&&(t=g("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){g(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(g(this).empty(),e.isLoaded=!1,e.isRevealed=!1)}),g(t).appendTo(e.$slide),g(t).is("video,audio")&&(g(t).addClass("fancybox-video"),g(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||g(t).attr("width"),e.opts.height=e.opts.height||g(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=g(this.translate(this,this.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){this.isClosing||(e.isLoading=!1,e.isLoaded=!0,this.trigger("afterLoad",e),this.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=g(this.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type&&g('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),this.adjustCaption(e),this.adjustLayout(e),e.pos===this.currPos&&this.updateCursor(),this.revealContent(e))},adjustCaption:function(e){var t,n=e||this.current,i=n.opts.caption,o=n.opts.preventCaptionOverlap,s=this.$refs.caption,r=!1;s.toggleClass("fancybox-caption--separate",o),o&&i&&i.length&&(n.pos!==this.currPos?((t=s.clone().appendTo(s.parent())).children().eq(0).empty().html(i),r=t.outerHeight(!0),t.empty().remove()):this.$caption&&(r=this.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",r||""))},adjustLayout:function(e){var t,n,i,o,s=e||this.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css("margin-bottom",""),s.$content.outerHeight()>s.$slide.height()+.5&&(i=s.$slide[0].style["padding-bottom"],o=s.$slide.css("padding-bottom"),0<parseFloat(o)&&(t=s.$slide[0].scrollHeight,s.$slide.css("padding-bottom",0),Math.abs(t-s.$slide[0].scrollHeight)<1&&(n=o),s.$slide.css("padding-bottom",i))),s.$content.css("margin-bottom",n))},revealContent:function(e){var t,n,i,o,s=this,r=e.$slide,a=!1,l=!1,c=s.isMoved(e),u=e.isRevealed;return e.isRevealed=!0,t=e.opts[s.firstRun?"animationEffect":"transitionEffect"],i=e.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(e.forcedDuration===m?i:e.forcedDuration,10),!c&&e.pos===s.currPos&&i||(t=!1),"zoom"===t&&(e.pos===s.currPos&&i&&"image"===e.type&&!e.hasError&&(l=s.getThumbPos(e))?a=s.getFitPos(e):t="fade"),"zoom"===t?(s.isAnimating=!0,a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,"auto"==(o=e.opts.zoomOpacity)&&(o=.1<Math.abs(e.width/e.height-l.width/l.height)),o&&(l.opacity=.1,a.opacity=1),g.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),f(e.$content),void g.fancybox.animate(e.$content,a,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(e),t?(g.fancybox.stop(r),n="fancybox-slide--"+(e.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,r.addClass(n).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),f(r),"image"!==e.type&&e.$content.hide().show(0),void g.fancybox.animate(r,"fancybox-slide--current",i,function(){r.removeClass(n).css({transform:"",opacity:""}),e.pos===s.currPos&&s.complete()},!0)):(e.$content.removeClass("fancybox-is-hidden"),u||!c||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===s.currPos&&s.complete())))},getThumbPos:function(e){var t,n,i,o,s,r,a=e.$thumb;return!(!a||!function(e){var t,n;return!(!e||e.ownerDocument!==c)&&(g(".fancybox-container").css("pointer-events","none"),t={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},n=c.elementFromPoint(t.x,t.y)===e,g(".fancybox-container").css("pointer-events",""),n)}(a[0]))&&(n=g.fancybox.getTranslate(a),i=parseFloat(a.css("border-top-width")||0),o=parseFloat(a.css("border-right-width")||0),s=parseFloat(a.css("border-bottom-width")||0),r=parseFloat(a.css("border-left-width")||0),t={top:n.top+i,left:n.left+r,width:n.width-o-r,height:n.height-i-s,scaleX:1,scaleY:1},0<n.width&&0<n.height&&t)},complete:function(){var e,n=this,t=n.current,i={};!n.isMoved()&&t.isLoaded&&(t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),n.preload("inline"),f(t.$slide),t.$slide.addClass("fancybox-slide--complete"),g.each(n.slides,function(e,t){t.pos>=n.currPos-1&&t.pos<=n.currPos+1?i[t.pos]=t:t&&(g.fancybox.stop(t.$slide),t.$slide.off().remove())}),n.slides=i),n.isAnimating=!1,n.updateCursor(),n.trigger("afterShow"),t.opts.video.autoStart&&t.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),n.next()}),t.opts.autoFocus&&"html"===t.contentType&&((e=t.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):n.focus(null,!0)),t.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n;this.group.length<2||(n=this.slides[this.currPos+1],(t=this.slides[this.currPos-1])&&t.type===e&&this.loadSlide(t),n&&n.type===e&&this.loadSlide(n))},focus:function(e,t){var n,i,o=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
41([tabindex^="-"])'].join(",");this.isClosing||((n=(n=!e&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(t?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(o).filter(function(){return"hidden"!==g(this).css("visibility")&&!g(this).hasClass("disabled")})).length?(i=n.index(c.activeElement),e&&e.shiftKey?(i<0||0==i)&&(e.preventDefault(),n.eq(n.length-1).trigger("focus")):(i<0||i==n.length-1)&&(e&&e.preventDefault(),n.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var t=this;g(".fancybox-container").each(function(){var e=g(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(e,t){function n(){u.cleanUp(e)}var i,o,s,r,a,l,c,u=this,d=u.current;return!u.isClosing&&(!(u.isClosing=!0)===u.trigger("beforeClose",e)?(u.isClosing=!1,p(function(){u.update()}),!1):(u.removeEvents(),s=d.$content,i=d.opts.animationEffect,o=g.isNumeric(t)?t:i?d.opts.animationDuration:0,d.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?g.fancybox.stop(d.$slide):i=!1,d.$slide.siblings().trigger("onReset").remove(),o&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),u.hideLoading(d),u.hideControls(!0),u.updateCursor(),"zoom"!==i||s&&o&&"image"===d.type&&!u.isMoved()&&!d.hasError&&(c=u.getThumbPos(d))||(i="fade"),"zoom"===i?(g.fancybox.stop(s),l={top:(r=g.fancybox.getTranslate(s)).top,left:r.left,scaleX:r.width/c.width,scaleY:r.height/c.height,width:c.width,height:c.height},"auto"==(a=d.opts.zoomOpacity)&&(a=.1<Math.abs(d.width/d.height-c.width/c.height)),a&&(c.opacity=0),g.fancybox.setTranslate(s,l),f(s),g.fancybox.animate(s,c,o,n)):i&&o?g.fancybox.animate(d.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,n):!0===e?setTimeout(n,o):n(),!0))},cleanUp:function(e){var t,n,i,o=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",e),this.current.opts.backFocus&&(o&&o.length&&o.is(":visible")||(o=this.$trigger),o&&o.length&&(n=l.scrollX,i=l.scrollY,o.trigger("focus"),g("html, body").scrollTop(i).scrollLeft(n))),this.current=null,(t=g.fancybox.getInstance())?t.activate():(g("body").removeClass("fancybox-active compensate-for-scrollbar"),g("#fancybox-style-noscroll").remove())},trigger:function(e,t){var n,i=Array.prototype.slice.call(arguments,1),o=t&&t.opts?t:this.current;if(o?i.unshift(o):o=this,i.unshift(this),g.isFunction(o.opts[e])&&(n=o.opts[e].apply(o,i)),!1===n)return n;"afterClose"!==e&&this.$refs?this.$refs.container.trigger(e+".fb",i):r.trigger(e+".fb",i)},updateControls:function(){var e=this,t=e.current,n=t.index,i=e.$refs.container,o=e.$refs.caption,s=t.opts.caption;t.$slide.trigger("refresh"),s&&s.length?(e.$caption=o).children().eq(0).html(s):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),i.find("[data-fancybox-count]").html(e.group.length),i.find("[data-fancybox-index]").html(n+1),i.find("[data-fancybox-prev]").prop("disabled",!t.opts.loop&&n<=0),i.find("[data-fancybox-next]").prop("disabled",!t.opts.loop&&n>=e.group.length-1),"image"===t.type?i.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",t.opts.image.src||t.src).show():t.opts.toolbar&&i.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),g(c.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map(function(e){return"fancybox-show-"+e}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this.current?this.current.opts:this.opts,t=this.$refs.container;this.hasHiddenControls=!1,this.idleSecondsCounter=0,t.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&1<this.group.length)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&1<this.group.length)).toggleClass("fancybox-is-modal",!!e.modal)}
vendor: 12,860 bytes, line 41
41,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),g.fancybox={version:"3.5.7",defaults:o,getInstance:function(e){var t=g('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),n=Array.prototype.slice.call(arguments,1);return t instanceof y&&("string"===g.type(e)?t[e].apply(t,n):"function"===g.type(e)&&e.apply(t,n),t)},open:function(e,t,n){return new y(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(e=c.createElement("div"),l.getComputedStyle&&l.getComputedStyle(e)&&l.getComputedStyle(e).getPropertyValue("transform")&&!(c.documentMode&&c.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",i={};if(e&&t)return t.left===m&&t.top===m||(n=(t.left===m?e.position().left:t.left)+"px, "+(t.top===m?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==m&&t.scaleY!==m?n+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==m&&(n+=" scaleX("+t.scaleX+")"),n.length&&(i.transform=n),t.opacity!==m&&(i.opacity=t.opacity),t.width!==m&&(i.width=t.width),t.height!==m&&(i.height=t.height),e.css(i)},animate:function(t,n,i,o,s){var r,a=this;g.isFunction(i)&&(o=i,i=null),a.stop(t),r=a.getTranslate(t),t.on(d,function(e){e&&e.originalEvent&&(!t.is(e.originalEvent.target)||"z-index"==e.originalEvent.propertyName)||(a.stop(t),g.isNumeric(i)&&t.css("transition-duration",""),g.isPlainObject(n)?n.scaleX!==m&&n.scaleY!==m&&a.setTranslate(t,{top:n.top,left:n.left,width:r.width*n.scaleX,height:r.height*n.scaleY,scaleX:1,scaleY:1}):!0!==s&&t.removeClass(n),g.isFunction(o)&&o(e))}),g.isNumeric(i)&&t.css("transition-duration",i+"ms"),g.isPlainObject(n)?(n.scaleX!==m&&n.scaleY!==m&&(delete n.width,delete n.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),g.fancybox.setTranslate(t,n)):t.addClass(n),t.data("timer",setTimeout(function(){t.trigger(d)},i+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(d),e.off(d).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},g.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?g("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},v):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},v),this},r.on("click.fb-start","[data-fancybox]",v),r.on("click.fb-start","[data-fancybox-trigger]",function(e){g('[data-fancybox="'+g(this).attr("data-fancybox-trigger")+'"]').eq(g(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:g(this)})}),t=".fancybox-button",n="fancybox-focus",i=null,r.on("mousedown mouseup focus blur",t,function(e){switch(e.type){case"mousedown":i=g(this);break;case"mouseup":i=null;break;case"focusin":g(t).removeClass(n),g(this).is(i)||g(this).is("[disabled]")||g(this).addClass(n);break;case"focusout":g(t).removeClass(n)}})}function v(e,t){var n,i,o,s=[],r=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=h(e.data.options,t)),n=t.$target||g(e.currentTarget).trigger("blur"),(o=g.fancybox.getInstance())&&o.$trigger&&o.$trigger.is(n)||(s=t.selector?g(t.selector):(i=n.attr("data-fancybox")||"")?(s=e.data?e.data.items:[]).length?s.filter('[data-fancybox="'+i+'"]'):g('[data-fancybox="'+i+'"]'):[n],(r=g(s).index(n))<0&&(r=0),(o=g.fancybox.open(s,t,r)).$trigger=n))}}(window,document,e),function(f){"use strict";function h(n,e,t){if(n)return t=t||"","object"===f.type(t)&&(t=f.param(t,!0)),f.each(e,function(e,t){n=n.replace("$"+e,t||"")}),t.length&&(n+=(0<n.indexOf("?")?"&":"?")+t),n}var i={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&0<e[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}};f(document).on("objectNeedsType.fb",function(e,t,o){var n,s,r,a,l,c,u,d=o.src||"",p=!1;n=f.extend(!0,{},i,o.opts.media),f.each(n,function(e,t){if(r=d.match(t.matcher)){if(p=t.type,u=e,c={},t.paramPlace&&r[t.paramPlace]){"?"==(l=r[t.paramPlace])[0]&&(l=l.substring(1)),l=l.split("&");for(var n=0;n<l.length;++n){var i=l[n].split("=",2);2==i.length&&(c[i[0]]=decodeURIComponent(i[1].replace(/\+/g," ")))}}return a=f.extend(!0,{},t.params,o.opts[e],c),d="function"===f.type(t.url)?t.url.call(this,r,a,o):h(t.url,r,a),s="function"===f.type(t.thumb)?t.thumb.call(this,r,a,o):h(t.thumb,r),"youtube"===e?d=d.replace(/&t=((\d+)m)?(\d+)s/,function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))}):"vimeo"===e&&(d=d.replace("&%23","#")),!1}}),p?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===p&&(o.opts=f.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),f.extend(o,{type:p,src:d,origSrc:o.src,contentSource:u,contentType:"image"===p?"image":"gmap_place"==u||"gmap_search"==u?"map":"video"})):d&&(o.type=o.opts.defaultType)});var o={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,n=this;this[e].loaded?setTimeout(function(){n.done(e)}):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(e){var t,n;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(t=f.fancybox.getInstance())&&(n=t.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(n.attr("id"),{events:{onStateChange:function(e){0==e.data&&t.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(n).on("ended",function(){t.next()}))}};f(document).on({"afterShow.fb":function(e,t,n){1<t.group.length&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&o.load(n.contentSource)}})}(e),function(g,l,m){"use strict";function u(e){var t=[];for(var n in e=(e=e.originalEvent||e||g.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[n].pageX?t.push({x:e[n].pageX,y:e[n].pageY}):e[n].clientX&&t.push({x:e[n].clientX,y:e[n].clientY});return t}function y(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function c(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||m.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,n=e[0].attributes,i=n.length;t<i;t++)if("data-fancybox-"===n[t].nodeName.substr(0,14))return!0;return!1}function d(e){for(var t,n,i,o,s,r=!1;t=e.get(0),void 0,n=g.getComputedStyle(t)["overflow-y"],i=g.getComputedStyle(t)["overflow-x"],o=("scroll"===n||"auto"===n)&&t.scrollHeight>t.clientHeight,s=("scroll"===i||"auto"===i)&&t.scrollWidth>t.clientWidth,!(r=o||s)&&(e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body"););return r}function n(e){this.instance=e,this.$bg=e.$refs.bg,this.$stage=e.$refs.stage,this.$container=e.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",m.proxy(this,"ontouchstart"))}var v=g.requestAnimationFrame||g.webkitRequestAnimationFrame||g.mozRequestAnimationFrame||g.oRequestAnimationFrame||function(e){return g.setTimeout(e,1e3/60)},b=g.cancelAnimationFrame||g.webkitCancelAnimationFrame||g.mozCancelAnimationFrame||g.oCancelAnimationFrame||function(e){g.clearTimeout(e)};n.prototype.destroy=function(){this.$container.off(".fb.touch"),m(l).off(".fb.touch"),this.requestId&&(b(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},n.prototype.ontouchstart=function(e){var t=this,n=m(e.target),i=t.instance,o=i.current,s=o.$slide,r=o.$content,a="touchstart"==e.type;if(a&&t.$container.off("mousedown.fb.touch"),(!e.originalEvent||2!=e.originalEvent.button)&&s.length&&n.length&&!c(n)&&!c(n.parent())&&(n.is("img")||!(e.originalEvent.clientX>n[0].clientWidth+n.offset().left))){if(!o||i.isAnimating||o.$slide.hasClass("fancybox-animated"))return e.stopPropagation(),void e.preventDefault();t.realPoints=t.startPoints=u(e),t.startPoints.length&&(o.touch&&e.stopPropagation(),t.startEvent=e,t.canTap=!0,t.$target=n,t.$content=r,t.opts=o.opts.touch,t.isPanning=!1,t.isSwiping=!1,t.isZooming=!1,t.isScrolling=!1,t.canPan=i.canPan(),t.startTime=(new Date).getTime(),t.distanceX=t.distanceY=t.distance=0,t.canvasWidth=Math.round(s[0].clientWidth),t.canvasHeight=Math.round(s[0].clientHeight),t.contentLastPos=null,t.contentStartPos=m.fancybox.getTranslate(t.$content)||{top:0,left:0},t.sliderStartPos=m.fancybox.getTranslate(s),t.stagePos=m.fancybox.getTranslate(i.$refs.stage),t.sliderStartPos.top-=t.stagePos.top,t.sliderStartPos.left-=t.stagePos.left,t.contentStartPos.top-=t.stagePos.top,t.contentStartPos.left-=t.stagePos.left,m(l).off(".fb.touch").on(a?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",m.proxy(t,"ontouchend")).on(a?"touchmove.fb.touch":"mousemove.fb.touch",m.proxy(t,"ontouchmove")),m.fancybox.isMobile&&l.addEventListener("scroll",t.onscroll,!0),((t.opts||t.canPan)&&(n.is(t.$stage)||t.$stage.find(n).length)||(n.is(".fancybox-image")&&e.preventDefault(),m.fancybox.isMobile&&n.parents(".fancybox-caption").length))&&(t.isScrollable=d(n)||d(n.parent()),m.fancybox.isMobile&&t.isScrollable||e.preventDefault(),1!==t.startPoints.length&&!o.hasError||(t.canPan?(m.fancybox.stop(t.$content),t.isPanning=!0):t.isSwiping=!0,t.$container.addClass("fancybox-is-grabbing")),2===t.startPoints.length&&"image"===o.type&&(o.isLoaded||o.$ghost)&&(t.canTap=!1,t.isSwiping=!1,t.isPanning=!1,t.isZooming=!0,m.fancybox.stop(t.$content),t.centerPointStartX=.5*(t.startPoints[0].x+t.startPoints[1].x)-m(g).scrollLeft(),t.centerPointStartY=.5*(t.startPoints[0].y+t.startPoints[1].y)-m(g).scrollTop(),t.percentageOfImageAtPinchPointX=(t.centerPointStartX-t.contentStartPos.left)/t.contentStartPos.width,t.percentageOfImageAtPinchPointY=(t.centerPointStartY-t.contentStartPos.top)/t.contentStartPos.height,t.startDistanceBetweenFingers=y(t.startPoints[0],t.startPoints[1]))))}},n.prototype.onscroll=function(e){this.isScrolling=!0,l.removeEventListener("scroll",this.onscroll,!0)},n.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=u(e),(t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=y(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=y(t.newPoints[0],t.startPoints[0],"y"),t.distance=y(t.newPoints[0],t.startPoints[0]),0<t.distance&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))):t.ontouchend(e)},n.prototype.onSwipe=function(e){var t,o=this,s=o.instance,n=o.isSwiping,i=o.sliderStartPos.left||0;if(!0!==n)"x"==n&&(0<o.distanceX&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?i+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?i-=Math.pow(-o.distanceX,.8):i+=o.distanceX),o.sliderLastPos={top:"x"==n?0:o.sliderStartPos.top+o.distanceY,left:i},o.requestId&&(b(o.requestId),o.requestId=null),o.requestId=v(function(){o.sliderLastPos&&(m.each(o.instance.slides,function(e,t){var n=t.pos-o.instance.currPos;
41m.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+n*o.canvasWidth+n*t.opts.gutter})}),o.$container.addClass("fancybox-is-sliding"))});else if(10<Math.abs(o.distance)){if(o.canTap=!1,s.group.length<2&&o.opts.vertical?o.isSwiping="y":s.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&800<m(g).width()?o.isSwiping="x":(t=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=45<t&&t<135?"y":"x"),"y"===o.isSwiping&&m.fancybox.isMobile&&o.isScrollable)return void(o.isScrolling=!0);s.isDragging=o.isSwiping,o.startPoints=o.newPoints,m.each(s.slides,function(e,t){var n,i;m.fancybox.stop(t.$slide),n=m.fancybox.getTranslate(t.$slide),i=m.fancybox.getTranslate(s.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),t.pos===s.current.pos&&(o.sliderStartPos.top=n.top-i.top,o.sliderStartPos.left=n.left-i.left),m.fancybox.setTranslate(t.$slide,{top:n.top-i.top,left:n.left-i.left})}),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},n.prototype.onPan=function(){var e=this;y(e.newPoints[0],e.realPoints[0])<(m.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&b(e.requestId),e.requestId=v(function(){m.fancybox.setTranslate(e.$content,e.contentLastPos)}))},n.prototype.limitMovement=function(){var e,t,n,i,o,s,r=this.canvasWidth,a=this.canvasHeight,l=this.distanceX,c=this.distanceY,u=this.contentStartPos,d=u.left,p=u.top,f=u.width,h=u.height;return o=r<f?d+l:d,s=p+c,e=Math.max(0,.5*r-.5*f),t=Math.max(0,.5*a-.5*h),n=Math.min(r-f,.5*r-.5*f),i=Math.min(a-h,.5*a-.5*h),0<l&&e<o&&(o=e-1+Math.pow(-e+d+l,.8)||0),l<0&&o<n&&(o=n+1-Math.pow(n-d-l,.8)||0),0<c&&t<s&&(s=t-1+Math.pow(-t+p+c,.8)||0),c<0&&s<i&&(s=i+1-Math.pow(i-p-c,.8)||0),{top:s,left:o}},n.prototype.limitPosition=function(e,t,n,i){var o=this.canvasWidth,s=this.canvasHeight;return e=o<n?(e=0<e?0:e)<o-n?o-n:e:Math.max(0,o/2-n/2),{top:t=s<i?(t=0<t?0:t)<s-i?s-i:t:Math.max(0,s/2-i/2),left:e}},n.prototype.onZoom=function(){var e=this,t=e.contentStartPos,n=t.width,i=t.height,o=t.left,s=t.top,r=y(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,a=Math.floor(n*r),l=Math.floor(i*r),c=(n-a)*e.percentageOfImageAtPinchPointX,u=(i-l)*e.percentageOfImageAtPinchPointY,d=(e.newPoints[0].x+e.newPoints[1].x)/2-m(g).scrollLeft(),p=(e.newPoints[0].y+e.newPoints[1].y)/2-m(g).scrollTop(),f=d-e.centerPointStartX,h={top:s+(u+(p-e.centerPointStartY)),left:o+(c+f),scaleX:r,scaleY:r};e.canTap=!1,e.newWidth=a,e.newHeight=l,e.contentLastPos=h,e.requestId&&b(e.requestId),e.requestId=v(function(){m.fancybox.setTranslate(e.$content,e.contentLastPos)})},n.prototype.ontouchend=function(e){var t=this,n=t.isSwiping,i=t.isPanning,o=t.isZooming,s=t.isScrolling;if(t.endPoints=u(e),t.dMs=Math.max((new Date).getTime()-t.startTime,1),t.$container.removeClass("fancybox-is-grabbing"),m(l).off(".fb.touch"),l.removeEventListener("scroll",t.onscroll,!0),t.requestId&&(b(t.requestId),t.requestId=null),t.isSwiping=!1,t.isPanning=!1,t.isZooming=!1,t.isScrolling=!1,t.instance.isDragging=!1,t.canTap)return t.onTap(e);t.speed=100,t.velocityX=t.distanceX/t.dMs*.5,t.velocityY=t.distanceY/t.dMs*.5,i?t.endPanning():o?t.endZooming():t.endSwiping(n,s)},n.prototype.endSwiping=function(e,t){var n=this,i=!1,o=n.instance.group.length,s=Math.abs(n.distanceX),r="x"==e&&1<o&&(130<n.dMs&&10<s||50<s);n.sliderLastPos=null,"y"==e&&!t&&50<Math.abs(n.distanceY)?(m.fancybox.animate(n.instance.current.$slide,{top:n.sliderStartPos.top+n.distanceY+150*n.velocityY,opacity:0},200),i=n.instance.close(!0,250)):r&&0<n.distanceX?i=n.instance.previous(300):r&&n.distanceX<0&&(i=n.instance.next(300)),!1!==i||"x"!=e&&"y"!=e||n.instance.centerSlide(200),n.$container.removeClass("fancybox-is-sliding")},n.prototype.endPanning=function(){var e,t,n,i=this;i.contentLastPos&&(t=!1===i.opts.momentum||350<i.dMs?(e=i.contentLastPos.left,i.contentLastPos.top):(e=i.contentLastPos.left+500*i.velocityX,i.contentLastPos.top+500*i.velocityY),(n=i.limitPosition(e,t,i.contentStartPos.width,i.contentStartPos.height)).width=i.contentStartPos.width,n.height=i.contentStartPos.height,m.fancybox.animate(i.$content,n,366))},n.prototype.endZooming=function(){var e,t,n,i,o=this,s=o.instance.current,r=o.newWidth,a=o.newHeight;o.contentLastPos&&(e=o.contentLastPos.left,i={top:t=o.contentLastPos.top,left
vendor: 4,705 bytes, line 41
41:e,width:r,height:a,scaleX:1,scaleY:1},m.fancybox.setTranslate(o.$content,i),r<o.canvasWidth&&a<o.canvasHeight?o.instance.scaleToFit(150):r>s.width||a>s.height?o.instance.scaleToActual(o.centerPointStartX,o.centerPointStartY,150):(n=o.limitPosition(e,t,r,a),m.fancybox.animate(o.$content,n,150)))},n.prototype.onTap=function(n){function e(e){var t=r.opts[e];if(m.isFunction(t)&&(t=t.apply(s,[r,n])),t)switch(t){case"close":s.close(i.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":1<s.group.length?s.next():s.close(i.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(l,c):s.group.length<2&&s.close(i.startEvent))}}var t,i=this,o=m(n.target),s=i.instance,r=s.current,a=n&&u(n)||i.startPoints,l=a[0]?a[0].x-m(g).scrollLeft()-i.stagePos.left:0,c=a[0]?a[0].y-m(g).scrollTop()-i.stagePos.top:0;if((!n.originalEvent||2!=n.originalEvent.button)&&(o.is("img")||!(l>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))t="Outside";else if(o.is(".fancybox-slide"))t="Slide";else{if(!s.current.$content||!s.current.$content.find(o).addBack().filter(o).length)return;t="Content"}if(i.tapped){if(clearTimeout(i.tapped),i.tapped=null,50<Math.abs(l-i.tapX)||50<Math.abs(c-i.tapY))return this;e("dblclick"+t)}else i.tapX=l,i.tapY=c,r.opts["dblclick"+t]&&r.opts["dblclick"+t]!==r.opts["click"+t]?i.tapped=setTimeout(function(){i.tapped=null,s.isAnimating||e("click"+t)},500):e("click"+t);return this}},m(l).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new n(t))}).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,e),function(r,a){"use strict";a.extend(!0,a.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});function n(e){this.instance=e,this.init()}a.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,t=e.instance,n=t.group[t.currIndex].opts.slideShow;e.$button=t.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),t.group.length<2||!n?e.$button.hide():n.progress&&(e.$progress=a('<div class="fancybox-progress"></div>').appendTo(t.$refs.inner))},set:function(e){var t=this.instance,n=t.current;n&&(!0===e||n.opts.loop||t.currIndex<t.group.length-1)?this.isActive&&"video"!==n.contentType&&(this.$progress&&a.fancybox.animate(this.$progress.show(),{scaleX:1},n.opts.slideShow.speed),this.timer=setTimeout(function(){t.current.opts.loop||t.current.index!=t.group.length-1?t.next():t.jumpTo(0)},n.opts.slideShow.speed)):(this.stop(),t.idleSecondsCounter=0,t.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var e=this.instance.current;e&&(this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,e.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this.instance.current;this.clear(),this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),a(r).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){var o=t&&t.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(e,t,n,i,o){var s=t&&t.SlideShow;!s||!n.opts.slideShow||80!==o&&32!==o||a(r.activeElement).is("button,a,input")||(i.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),a(r).on("visibilitychange",function(){var e=a.fancybox.getInstance(),t=e&&e.SlideShow;t&&t.isActive&&(r.hidden?t.clear():t.set())})}(document,e),function(s,n){"use strict";var i=function(){for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
41webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],t={},n=0;n<e.length;n++){var i=e[n];if(i&&i[1]in s){for(var o=0;o<i.length;o++)t[e[0][o]]=i[o];return t}}return!1}();if(i){var o={request:function(e){(e=e||s.documentElement)[i.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){s[i.exitFullscreen]()},toggle:function(e){e=e||s.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(s[i.fullscreenElement])},enabled:function(){return Boolean(s[i.fullscreenEnabled])}};n.extend(!0,n.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),n(s).on(i.fullscreenchange,function(){var e=o.isFullscreen(),t=n.fancybox.getInstance();t&&(t.current&&"image"===t.current.type&&t.isAnimating&&(t.isAnimating=!1,t.update(!0,!0,0),t.isComplete||t.complete()),t.trigger("onFullscreenChange",e),t.$refs.container.toggleClass("fancybox-is-fullscreen",e),t.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))})}n(s).on({"onInit.fb":function(e,t){i?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),o.toggle()}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&o.request(),t.FullScreen=o):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,o){t&&t.FullScreen&&70===o&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&o.exit()}})}(document,e),function(e,s){"use strict";var r="fancybox-thumbs",a=r+"-active";s.fancybox.defaults=s.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},s.fancybox.defaults);function i(e){this.init(e)}s.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,(e.Thumbs=t).$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,s=n.length;o<s&&(n[o].thumb&&i++,!(1<i));o++);1<i&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var n,e=this,t=e.instance,i=e.opts.parentEl,o=[];e.$grid||(e.$grid=s('<div class="'+r+" "+r+"-"+e.opts.axis+'"></div>').appendTo(t.$refs.container.find(i).addBack().filter(i)),e.$grid.on("click","a",function(){t.jumpTo(s(this).attr("data-index"))})),e.$list||(e.$list=s('<div class="'+r+'__list">').appendTo(e.$grid)),s.each(t.group,function(e,t){(n=t.thumb)||"image"!==t.type||(n=t.src),o.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(n&&n.length?' style="background-image:url('+n+')"':'class="fancybox-thumbs-missing"')+"></a>")}),e.$list[0].innerHTML=o.join(""),"x"===e.opts.axis&&e.$list.width(parseInt(e.$grid.css("padding-right"),10)+t.group.length*e.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,i=this.$list,o=this.$grid;this.instance.current&&(n=(t=i.children().removeClass(a).filter('[data-index="'+this.instance.current.index+'"]').addClass(a)).position(),"y"===this.opts.axis&&(n.top<0||n.top>i.height()-t.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},e):"x"===this.opts.axis&&(n.left<o.scrollLeft()||n.left>o.scrollLeft()+(o.width()-t.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},e))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
vendor: 6,265 bytes, line 41
41)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new i(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var o=t&&t.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,o){var s=t&&t.Thumbs;s&&s.isActive&&71===o&&(i.preventDefault(),s.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,e),function(e,o){"use strict";o.extend(!0,o.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),o(e).on("click","[data-fancybox-share]",function(){var e,t,n=o.fancybox.getInstance(),i=n.current||null;i&&("function"===o.type(i.opts.share.url)&&(e=i.opts.share.url.apply(i,[n,i])),t=i.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===i.type?encodeURIComponent(i.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,function(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};return String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]})}(e)).replace(/\{\{descr\}\}/g,n.$caption?encodeURIComponent(n.$caption.text()):""),o.fancybox.open({src:n.translate(n,t),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){n.$refs.container.one("beforeClose.fb",function(){e.close(null,0)}),t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,e),function(s,r,o){"use strict";function a(){var e=s.location.hash.substr(1),t=e.split("-"),n=1<t.length&&/^\+?\d+$/.test(t[t.length-1])&&parseInt(t.pop(-1),10)||1;return{hash:e,index:n<1?1:n,gallery:t.join("-")}}function t(e){""!==e.gallery&&o("[data-fancybox='"+o.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function l(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}o.escapeSelector||(o.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e})}),o(function(){!1!==o.fancybox.defaults.hash&&(o(r).on({"onInit.fb":function(e,t){var n,i;!1!==t.group[t.currIndex].opts.hash&&(n=a(),(i=l(t))&&n.gallery&&i==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(e,t,n,i){var o;n&&!1!==n.opts.hash&&(o=l(t))&&(t.currentHash=o+(1<t.group.length?"-"+(n.index+1):""),s.location.hash!=="#"+t.currentHash&&(i&&!t.origHash&&(t.origHash=s.location.hash),t.hashTimer&&clearTimeout(t.hashTimer),t.hashTimer=setTimeout(function(){"replaceState"in s.history?(s.history[i?"pushState":"replaceState"]({},r.title,s.location.pathname+s.location.search+"#"+t.currentHash),i&&(t.hasCreatedHistory=!0)):s.location.hash=t.currentHash,t.hashTimer=null},300)))},"beforeClose.fb":function(e,t,n){n&&!1!==n.opts.hash&&(clearTimeout(t.hashTimer),t.currentHash&&t.hasCreatedHistory?s.history.back():t.currentHash&&("replaceState"in s.history?s.history.replaceState({},r.title,s.location.pathname+s.location.search+(t.origHash||"")):s.location.hash=t.origHash),t.currentHash=null)}}),o(s).on("hashchange.fb",function(){var e=a(),i=null;o.each(o(".fancybox-container").get().reverse(),function(e,t){var n=o(t).data("FancyBox");if(n&&n.currentHash)return i=n,!1}),i?i.currentHash===e.gallery+"-"+e.index||1===e.index&&i.currentHash==e.gallery||(i.currentHash=null,i.close()):""!==e.gallery&&t(e)}),setTimeout(function(){o.fancybox.getInstance()||t(a())},50))})}(window,document,e),function(e,t){"use strict";var o=(new Date).getTime();t(e).on({"onInit.fb":function(e,i,t){i.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var t=i.current,n=(new Date).getTime();i.group.length<2||!1===t.opts.wheel||"auto"===t.opts.wheel&&"image"!==t.type||(e.preventDefault(),e.stopPropagation(),t.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,n-o<250||(o=n,i[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))})}})}(document,e)}).call(this,n(0))}]]);

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.