
!function(e){function t(t){for(var n,i,l=t[0],a=t[1],f=t[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(p&&p(t);s.length;)s.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,l=1;l<r.length;l++){var a=r[l];0!==o[a]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={runtime:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/typo3conf/ext/koe_theme/Resources/Public/Dist/nationalpark-zentrum-koenigsstuhl/";var l=window.webpackJsonp=window.webpackJsonp||[],a=l.push.bind(l);l.push=t,l=l.slice();for(var f=0;f<l.length;f++)t(l[f]);var p=a;r()}([]);
(window.webpackJsonp=window.webpackJsonp||[]).push([["JavaScript/main"],{"03A+":function(t,e,n){var i=n("JTzB"),r=n("ExA7"),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,l=i(function(){return arguments}())?i:function(t){return r(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=l},"2gN3":function(t,e,n){var i=n("Kz5y")["__core-js_shared__"];t.exports=i},"3Fdi":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"6qam":function(t,e){t.exports=function(t){return null===t}},"6sVZ":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},A90E:function(t,e,n){var i=n("6sVZ"),r=n("V6Ve"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return r(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},AP2z:function(t,e,n){var i=n("nmnc"),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var i=!0}catch(t){}var r=s.call(t);return i&&(e?t[a]=n:delete t[a]),r}},B8du:function(t,e){t.exports=function(){return!1}},Cwc5:function(t,e,n){var i=n("NKxu"),r=n("Npjl");t.exports=function(t,e){var n=r(t,e);return i(n)?n:void 0}},DSRE:function(t,e,n){(function(t){var i=n("Kz5y"),r=n("B8du"),o=e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o?i.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;t.exports=l}).call(this,n("YuTi")(t))},"E+oP":function(t,e,n){var i=n("A90E"),r=n("QqLw"),o=n("03A+"),s=n("Z0cm"),a=n("MMmD"),l=n("DSRE"),c=n("6sVZ"),u=n("c6wG"),d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(a(t)&&(s(t)||"string"==typeof t||"function"==typeof t.splice||l(t)||u(t)||o(t)))return!t.length;var e=r(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(c(t))return!i(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},E2jh:function(t,e,n){var i,r=n("2gN3"),o=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!o&&o in t}},EVdn:function(t,e,n){var i;
/*!
 * jQuery JavaScript Library v3.6.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2021-03-02T17:08Z
 */!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,u=o.indexOf,d={},h=d.toString,f=d.hasOwnProperty,p=f.toString,g=p.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(t,e,n){var i,r,o=(n=n||b).createElement("script");if(o.text=t,e)for(i in w)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?d[h.call(t)]||"object":typeof t}var E=function(t,e){return new E.fn.init(t,e)};function S(t){var e=!!t&&"length"in t&&t.length,n=_(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}E.fn=E.prototype={jquery:"3.6.0",constructor:E,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(E.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||E.isPlainObject(n)?n:{},r=!1,s[e]=E.extend(c,o,i)):void 0!==i&&(s[e]=i));return s},E.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==h.call(t))&&(!(e=s(t))||"function"==typeof(n=f.call(e,"constructor")&&e.constructor)&&p.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){x(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(S(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(S(Object(t))?E.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;r<o;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,s=[];if(S(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&s.push(r);return l(s)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var C=
/*!
 * Sizzle CSS Selector Engine v2.3.6
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2021-02-16
 */
function(t){var e,n,i,r,o,s,a,l,c,u,d,h,f,p,g,m,v,y,b,w="sizzle"+1*new Date,x=t.document,_=0,E=0,S=lt(),C=lt(),T=lt(),k=lt(),A=function(t,e){return t===e&&(d=!0),0},L={}.hasOwnProperty,D=[],O=D.pop,N=D.push,F=D.push,j=D.slice,P=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",q="\\["+M+"*("+B+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+M+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",z=new RegExp(M+"+","g"),R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),W=new RegExp("^"+M+"*,"+M+"*"),V=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),X=new RegExp(M+"|>"),Y=new RegExp(H),$=new RegExp("^"+B+"$"),U={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},st=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{F.apply(D=j.call(x.childNodes),x.childNodes),D[x.childNodes.length].nodeType}catch(t){F={apply:D.length?function(t,e){N.apply(t,j.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function at(t,e,i,r){var o,a,c,u,d,p,v,y=e&&e.ownerDocument,x=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==x&&9!==x&&11!==x)return i;if(!r&&(h(e),e=e||f,g)){if(11!==x&&(d=J.exec(t)))if(o=d[1]){if(9===x){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return i.push(c),i}else{if(d[2])return F.apply(i,e.getElementsByTagName(t)),i;if((o=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return F.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!k[t+" "]&&(!m||!m.test(t))&&(1!==x||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===x&&(X.test(t)||V.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(it,rt):e.setAttribute("id",u=w)),a=(p=s(t)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+bt(p[a]);v=p.join(",")}try{return F.apply(i,y.querySelectorAll(v)),i}catch(e){k(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(R,"$1"),e,i,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ct(t){return t[w]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function ht(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},o=at.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},h=at.setDocument=function(t){var e,r,s=t?t.ownerDocument||t:x;return s!=f&&9===s.nodeType&&s.documentElement?(p=(f=s).documentElement,g=!o(f),x!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.scope=ut((function(t){return p.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=ut((function(t){return p.appendChild(t).id=w,!f.getElementsByName||!f.getElementsByName(w).length})),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(n.qsa=Z.test(f.querySelectorAll))&&(ut((function(t){var e;p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+I+")"),t.querySelectorAll("[id~="+w+"-]").length||m.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",H)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=Z.test(p.compareDocumentPosition),b=e||Z.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==f||t.ownerDocument==x&&b(x,t)?-1:e==f||e.ownerDocument==x&&b(x,e)?1:u?P(u,t)-P(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!r||!o)return t==f?-1:e==f?1:r?-1:o?1:u?P(u,t)-P(u,e):0;if(r===o)return ht(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ht(s[i],a[i]):s[i]==x?-1:a[i]==x?1:0},f):f},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(h(t),n.matchesSelector&&g&&!k[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){k(e,!0)}return at(e,f,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=f&&h(t),b(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=f&&h(t);var r=i.attrHandle[e.toLowerCase()],o=r&&L.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},at.escape=function(t){return(t+"").replace(it,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(A),d){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return u=null,t},r=at.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=at.selectors={cacheLength:50,createPseudo:ct,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Y.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&S(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=at.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(z," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,h,f,p,g=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(o){for(;g;){for(h=e;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(b=(f=(c=(u=(d=(h=m)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===_&&c[1])&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){u[t]=[_,f,b];break}}else if(y&&(b=f=(c=(u=(d=(h=e)[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===_&&c[1]),!1===b)for(;(h=++f&&h&&h[g]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((u=(d=h[w]||(h[w]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[_,b]),h!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[w]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var i,o=r(t,e),s=o.length;s--;)t[i=P(t,o[s])]=!(n[i]=o[s])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ct((function(t){var e=[],n=[],i=a(t.replace(R,"$1"));return i[w]?ct((function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return at(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ct((function(t){return $.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return Q.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:mt((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function wt(t,e,n){var i=e.dir,r=e.next,o=r||i,s=n&&"parentNode"===o,a=E++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,l){var c,u,d,h=[_,a];if(l){for(;e=e[i];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||s)if(u=(d=e[w]||(e[w]={}))[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[o])&&c[0]===_&&c[1]===a)return h[2]=c[2];if(u[o]=h,h[2]=t(e,n,l))return!0}return!1}}function xt(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function _t(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,i,r)||(s.push(o),c&&e.push(a)));return s}function Et(t,e,n,i,r,o){return i&&!i[w]&&(i=Et(i)),r&&!r[w]&&(r=Et(r,o)),ct((function(o,s,a,l){var c,u,d,h=[],f=[],p=s.length,g=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)at(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),m=!t||!o&&e?g:_t(g,h,t,a,l),v=n?r||(o?t:p||i)?[]:s:m;if(n&&n(m,v,a,l),i)for(c=_t(v,f),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(m[f[u]]=d));if(o){if(r||t){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?P(o,d):h[u])>-1&&(o[c]=!(s[c]=d))}}else v=_t(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):F.apply(s,v)}))}function St(t){for(var e,n,r,o=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],l=s?1:0,u=wt((function(t){return t===e}),a,!0),d=wt((function(t){return P(e,t)>-1}),a,!0),h=[function(t,n,i){var r=!s&&(i||n!==c)||((e=n).nodeType?u(t,n,i):d(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])h=[wt(xt(h),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[w]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return Et(l>1&&xt(h),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(R,"$1"),n,l<r&&St(t.slice(l,r)),r<o&&St(t=t.slice(r)),r<o&&bt(t))}h.push(n)}return xt(h)}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,s=at.tokenize=function(t,e){var n,r,o,s,a,l,c,u=C[t+" "];if(u)return e?0:u.slice(0);for(a=t,l=[],c=i.preFilter;a;){for(s in n&&!(r=W.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=V.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(R," ")}),a=a.slice(n.length)),i.filter)!(r=U[s].exec(a))||c[s]&&!(r=c[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):C(t,l).slice(0)},a=at.compile=function(t,e){var n,r=[],o=[],a=T[t+" "];if(!a){for(e||(e=s(t)),n=e.length;n--;)(a=St(e[n]))[w]?r.push(a):o.push(a);(a=T(t,function(t,e){var n=e.length>0,r=t.length>0,o=function(o,s,a,l,u){var d,p,m,v=0,y="0",b=o&&[],w=[],x=c,E=o||r&&i.find.TAG("*",u),S=_+=null==x?1:Math.random()||.1,C=E.length;for(u&&(c=s==f||s||u);y!==C&&null!=(d=E[y]);y++){if(r&&d){for(p=0,s||d.ownerDocument==f||(h(d),a=!g);m=t[p++];)if(m(d,s||f,a)){l.push(d);break}u&&(_=S)}n&&((d=!m&&d)&&v--,o&&b.push(d))}if(v+=y,n&&y!==v){for(p=0;m=e[p++];)m(b,w,s,a);if(o){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=O.call(l));w=_t(w)}F.apply(l,w),u&&!o&&w.length>0&&v+e.length>1&&at.uniqueSort(l)}return u&&(_=S,c=x),b};return n?ct(o):o}(o,r))).selector=t}return a},l=at.select=function(t,e,n,r){var o,l,c,u,d,h="function"==typeof t&&t,f=!r&&s(t=h.selector||t);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=U.needsContext.test(t)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(r=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&bt(l)))return F.apply(n,r),n;break}}return(h||a(t,f))(r,e,!g,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=w.split("").sort(A).join("")===w,n.detectDuplicates=!!d,h(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||dt(I,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),at}(n);E.find=C,E.expr=C.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=C.uniqueSort,E.text=C.getText,E.isXMLDoc=C.isXML,E.contains=C.contains,E.escapeSelector=C.escape;var T=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&E(t).is(n))break;i.push(t)}return i},k=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},A=E.expr.match.needsContext;function L(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(t,e,n){return v(e)?E.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?E.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?E.grep(t,(function(t){return u.call(e,t)>-1!==n})):E.filter(e,t,n)}E.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?E.find.matchesSelector(i,t)?[i]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<i;e++)if(E.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)E.find(t,r[e],n);return i>1?E.uniqueSort(n):n},filter:function(t){return this.pushStack(O(this,t||[],!1))},not:function(t){return this.pushStack(O(this,t||[],!0))},is:function(t){return!!O(this,"string"==typeof t&&A.test(t)?E(t):t||[],!1).length}});var N,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||N,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:F.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),D.test(i[1])&&E.isPlainObject(e))for(i in e)v(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,N=E(b);var j=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function I(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],s="string"!=typeof t&&E(t);if(!A.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&E.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(E(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return T(t,"parentNode")},parentsUntil:function(t,e,n){return T(t,"parentNode",n)},next:function(t){return I(t,"nextSibling")},prev:function(t){return I(t,"previousSibling")},nextAll:function(t){return T(t,"nextSibling")},prevAll:function(t){return T(t,"previousSibling")},nextUntil:function(t,e,n){return T(t,"nextSibling",n)},prevUntil:function(t,e,n){return T(t,"previousSibling",n)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(L(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(n,i){var r=E.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=E.filter(i,r)),this.length>1&&(P[t]||E.uniqueSort(r),j.test(t)&&r.reverse()),this.pushStack(r)}}));var M=/[^\x20\t\r\n\f]+/g;function B(t){return t}function q(t){throw t}function H(t,e,n,i){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(n):t&&v(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match(M)||[],(function(t,n){e[n]=!0})),e}(t):E.extend({},t);var e,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){E.each(n,(function(n,i){v(i)?t.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==_(i)&&e(i)}))}(arguments),n&&!e&&l()),this},remove:function(){return E.each(arguments,(function(t,e){for(var n;(n=E.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(t){return t?E.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(n){E.each(e,(function(e,i){var r=v(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var o=0;function s(t,e,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<o)){if((n=i.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(c)?r?c.call(n,s(o,e,B,r),s(o,e,q,r)):(o++,c.call(n,s(o,e,B,r),s(o,e,q,r),s(o,e,B,e.notifyWith))):(i!==B&&(a=void 0,l=[n]),(r||e.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,u.stackTrace),t+1>=o&&(i!==q&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?u():(E.Deferred.getStackHook&&(u.stackTrace=E.Deferred.getStackHook()),n.setTimeout(u))}}return E.Deferred((function(n){e[0][3].add(s(0,n,v(r)?r:B,n.notifyWith)),e[1][3].add(s(0,n,v(t)?t:B)),e[2][3].add(s(0,n,v(i)?i:q))})).promise()},promise:function(t){return null!=t?E.extend(t,r):r}},o={};return E.each(e,(function(t,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add((function(){i=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=a.call(arguments),o=E.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(H(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)H(r[n],s(n),o.reject);return o.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&z.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){n.setTimeout((function(){throw t}))};var R=E.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),E.ready()}E.fn.ready=function(t){return R.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||R.resolveWith(b,[E]))}}),E.ready.then=R.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var V=function(t,e,n,i,r,o,s){var a=0,l=t.length,c=null==n;if("object"===_(n))for(a in r=!0,n)V(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,v(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(E(t),n)})),e))for(;a<l;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:c?e.call(t):l?e(t[0],n):o},X=/^-ms-/,Y=/-([a-z])/g;function $(t,e){return e.toUpperCase()}function U(t){return t.replace(X,"ms-").replace(Y,$)}var G=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function K(){this.expando=E.expando+K.uid++}K.uid=1,K.prototype={cache:function(t){var e=t[this.expando];return e||(e={},G(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[U(e)]=n;else for(i in e)r[U(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][U(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(U):(e=U(e))in i?[e]:e.match(M)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||E.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var Q=new K,Z=new K,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:J.test(t)?JSON.parse(t):t)}(n)}catch(t){}Z.set(t,e,n)}else n=void 0;return n}E.extend({hasData:function(t){return Z.hasData(t)||Q.hasData(t)},data:function(t,e,n){return Z.access(t,e,n)},removeData:function(t,e){Z.remove(t,e)},_data:function(t,e,n){return Q.access(t,e,n)},_removeData:function(t,e){Q.remove(t,e)}}),E.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=Z.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=U(i.slice(5)),et(o,i,r[i]));Q.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){Z.set(this,t)})):V(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=Z.get(o,t))||void 0!==(n=et(o,t))?n:void 0;this.each((function(){Z.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),E.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Q.get(t,e),n&&(!i||Array.isArray(n)?i=Q.access(t,e,E.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=E.queue(t,e),i=n.length,r=n.shift(),o=E._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,(function(){E.dequeue(t,e)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:E.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",n])}))})}}),E.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?E.queue(this[0],t):void 0===e?this:this.each((function(){var n=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=E.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=Q.get(o[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],ot=b.documentElement,st=function(t){return E.contains(t.ownerDocument,t)},at={composed:!0};ot.getRootNode&&(st=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===E.css(t,"display")};function ct(t,e,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return E.css(t,e,"")},l=a(),c=n&&n[3]||(E.cssNumber[e]?"":"px"),u=t.nodeType&&(E.cssNumber[e]||"px"!==c&&+l)&&it.exec(E.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)E.style(t,e,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,E.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var ut={};function dt(t){var e,n=t.ownerDocument,i=t.nodeName,r=ut[i];return r||(e=n.body.appendChild(n.createElement(i)),r=E.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ut[i]=r,r)}function ht(t,e){for(var n,i,r=[],o=0,s=t.length;o<s;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=Q.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&lt(i)&&(r[o]=dt(i))):"none"!==n&&(r[o]="none",Q.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}E.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){lt(this)?E(this).show():E(this).hide()}))}});var ft,pt,gt=/^(?:checkbox|radio)$/i,mt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;ft=b.createDocumentFragment().appendChild(b.createElement("div")),(pt=b.createElement("input")).setAttribute("type","radio"),pt.setAttribute("checked","checked"),pt.setAttribute("name","t"),ft.appendChild(pt),m.checkClone=ft.cloneNode(!0).cloneNode(!0).lastChild.checked,ft.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!ft.cloneNode(!0).lastChild.defaultValue,ft.innerHTML="<option></option>",m.option=!!ft.lastChild;var yt={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 bt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&L(t,e)?E.merge([t],n):n}function wt(t,e){for(var n=0,i=t.length;n<i;n++)Q.set(t[n],"globalEval",!e||Q.get(e[n],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,m.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var xt=/<|&#?\w+;/;function _t(t,e,n,i,r){for(var o,s,a,l,c,u,d=e.createDocumentFragment(),h=[],f=0,p=t.length;f<p;f++)if((o=t[f])||0===o)if("object"===_(o))E.merge(h,o.nodeType?[o]:o);else if(xt.test(o)){for(s=s||d.appendChild(e.createElement("div")),a=(mt.exec(o)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,s.innerHTML=l[1]+E.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;E.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(e.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(i&&E.inArray(o,i)>-1)r&&r.push(o);else if(c=st(o),s=bt(d.appendChild(o),"script"),c&&wt(s),n)for(u=0;o=s[u++];)vt.test(o.type||"")&&n.push(o);return d}var Et=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function Ct(){return!1}function Tt(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function kt(t,e,n,i,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)kt(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ct;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return E().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=E.guid++)),t.each((function(){E.event.add(this,e,r,i,n)}))}function At(t,e,n){n?(Q.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=a.call(arguments),Q.set(this,e,o),i=n(this,e),this[e](),o!==(r=Q.get(this,e))||i?Q.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r&&r.value}else o.length&&(Q.set(this,e,{value:E.event.trigger(E.extend(o[0],E.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&E.event.add(t,e,St)}E.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=Q.get(t);if(G(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&E.find.matchesSelector(ot,r),n.guid||(n.guid=E.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(M)||[""]).length;c--;)f=g=(a=Et.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=E.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=E.event.special[f]||{},u=E.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&E.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),E.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=Q.hasData(t)&&Q.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(M)||[""]).length;c--;)if(f=g=(a=Et.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=E.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,m.handle)||E.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)E.event.remove(t,f+e[c],n,i,!0);E.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s,a=new Array(arguments.length),l=E.event.fix(t),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=E.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=E.event.handlers.call(this,l,c),e=0;(r=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((E.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,s,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=e[n]).selector+" "]&&(s[r]=i.needsContext?E(r,this).index(c)>-1:E.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return gt.test(e.type)&&e.click&&L(e,"input")&&At(e,"click",St),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&L(e,"input")&&At(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&L(e,"input")&&Q.get(e,"click")||L(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?St:Ct,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:Ct,isPropagationStopped:Ct,isImmediatePropagationStopped:Ct,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=St,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=St,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=St,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){E.event.special[t]={setup:function(){return At(this,t,Tt),!1},trigger:function(){return At(this,t),!0},_default:function(){return!0},delegateType:e}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||E.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),E.fn.extend({on:function(t,e,n,i){return kt(this,t,e,n,i)},one:function(t,e,n,i){return kt(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,E(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ct),this.each((function(){E.event.remove(this,t,n,e)}))}});var Lt=/<script|<style|<link/i,Dt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Nt(t,e){return L(t,"table")&&L(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ft(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function jt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,i,r,o,s,a;if(1===e.nodeType){if(Q.hasData(t)&&(a=Q.get(t).events))for(r in Q.remove(e,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)E.event.add(e,r,a[r][n]);Z.hasData(t)&&(o=Z.access(t),s=E.extend({},o),Z.set(e,s))}}function It(t,e){var n=e.nodeName.toLowerCase();"input"===n&&gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Mt(t,e,n,i){e=l(e);var r,o,s,a,c,u,d=0,h=t.length,f=h-1,p=e[0],g=v(p);if(g||h>1&&"string"==typeof p&&!m.checkClone&&Dt.test(p))return t.each((function(r){var o=t.eq(r);g&&(e[0]=p.call(this,r,o.html())),Mt(o,e,n,i)}));if(h&&(o=(r=_t(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=E.map(bt(r,"script"),Ft)).length;d<h;d++)c=r,d!==f&&(c=E.clone(c,!0,!0),a&&E.merge(s,bt(c,"script"))),n.call(t[d],c,d);if(a)for(u=s[s.length-1].ownerDocument,E.map(s,jt),d=0;d<a;d++)c=s[d],vt.test(c.type||"")&&!Q.access(c,"globalEval")&&E.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?E._evalUrl&&!c.noModule&&E._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Ot,""),c,u))}return t}function Bt(t,e,n){for(var i,r=e?E.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||E.cleanData(bt(i)),i.parentNode&&(n&&st(i)&&wt(bt(i,"script")),i.parentNode.removeChild(i));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,s,a=t.cloneNode(!0),l=st(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(s=bt(a),i=0,r=(o=bt(t)).length;i<r;i++)It(o[i],s[i]);if(e)if(n)for(o=o||bt(t),s=s||bt(a),i=0,r=o.length;i<r;i++)Pt(o[i],s[i]);else Pt(t,a);return(s=bt(a,"script")).length>0&&wt(s,!l&&bt(t,"script")),a},cleanData:function(t){for(var e,n,i,r=E.event.special,o=0;void 0!==(n=t[o]);o++)if(G(n)){if(e=n[Q.expando]){if(e.events)for(i in e.events)r[i]?E.event.remove(n,i):E.removeEvent(n,i,e.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),E.fn.extend({detach:function(t){return Bt(this,t,!0)},remove:function(t){return Bt(this,t)},text:function(t){return V(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Mt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Nt(this,t).appendChild(t)}))},prepend:function(){return Mt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Nt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Mt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Mt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return V(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Lt.test(t)&&!yt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(E.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Mt(this,arguments,(function(e){var n=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(bt(this)),n&&n.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var n,i=[],r=E(t),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),E(r[s])[e](n),c.apply(i,n.get());return this.pushStack(i)}}));var qt=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),Ht=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},zt=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},Rt=new RegExp(rt.join("|"),"i");function Wt(t,e,n){var i,r,o,s,a=t.style;return(n=n||Ht(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||st(t)||(s=E.style(t,e)),!m.pixelBoxStyles()&&qt.test(s)&&Rt.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Vt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(c).appendChild(u);var t=n.getComputedStyle(u);i="1%"!==t.top,l=12===e(t.marginLeft),u.style.right="60%",s=36===e(t.right),r=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),ot.removeChild(c),u=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,s,a,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,E.extend(m,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==a&&(t=b.createElement("table"),e=b.createElement("tr"),i=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",i.style.height="9px",i.style.display="block",ot.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===e.offsetHeight,ot.removeChild(t)),a}}))}();var Xt=["Webkit","Moz","ms"],Yt=b.createElement("div").style,$t={};function Ut(t){var e=E.cssProps[t]||$t[t];return e||(t in Yt?t:$t[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Xt.length;n--;)if((t=Xt[n]+e)in Yt)return t}(t)||t)}var Gt=/^(none|table(?!-c[ea]).+)/,Kt=/^--/,Qt={position:"absolute",visibility:"hidden",display:"block"},Zt={letterSpacing:"0",fontWeight:"400"};function Jt(t,e,n){var i=it.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function te(t,e,n,i,r,o){var s="width"===e?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=E.css(t,n+rt[s],!0,r)),i?("content"===n&&(l-=E.css(t,"padding"+rt[s],!0,r)),"margin"!==n&&(l-=E.css(t,"border"+rt[s]+"Width",!0,r))):(l+=E.css(t,"padding"+rt[s],!0,r),"padding"!==n?l+=E.css(t,"border"+rt[s]+"Width",!0,r):a+=E.css(t,"border"+rt[s]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function ee(t,e,n){var i=Ht(t),r=(!m.boxSizingReliable()||n)&&"border-box"===E.css(t,"boxSizing",!1,i),o=r,s=Wt(t,e,i),a="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&L(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===E.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===E.css(t,"boxSizing",!1,i),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+te(t,e,n||(r?"border":"content"),o,i,s)+"px"}function ne(t,e,n,i,r){return new ne.prototype.init(t,e,n,i,r)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Wt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=U(e),l=Kt.test(e),c=t.style;if(l||(e=Ut(a)),s=E.cssHooks[e]||E.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:c[e];"string"===(o=typeof n)&&(r=it.exec(n))&&r[1]&&(n=ct(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(E.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,o,s,a=U(e);return Kt.test(e)||(e=Ut(a)),(s=E.cssHooks[e]||E.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=Wt(t,e,i)),"normal"===r&&e in Zt&&(r=Zt[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,n,i){if(n)return!Gt.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ee(t,e,i):zt(t,Qt,(function(){return ee(t,e,i)}))},set:function(t,n,i){var r,o=Ht(t),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===E.css(t,"boxSizing",!1,o),l=i?te(t,e,i,a,o):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-te(t,e,"border",!1,o)-.5)),l&&(r=it.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=E.css(t,e)),Jt(0,n,l)}}})),E.cssHooks.marginLeft=Vt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-zt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+rt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(E.cssHooks[t+e].set=Jt)})),E.fn.extend({css:function(t,e){return V(this,(function(t,e,n){var i,r,o={},s=0;if(Array.isArray(e)){for(i=Ht(t),r=e.length;s<r;s++)o[e[s]]=E.css(t,e[s],!1,i);return o}return void 0!==n?E.style(t,e,n):E.css(t,e)}),t,e,arguments.length>1)}}),E.Tween=ne,ne.prototype={constructor:ne,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var t=ne.propHooks[this.prop];return t&&t.get?t.get(this):ne.propHooks._default.get(this)},run:function(t){var e,n=ne.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ne.propHooks._default.set(this),this}},ne.prototype.init.prototype=ne.prototype,ne.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[Ut(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},ne.propHooks.scrollTop=ne.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=ne.prototype.init,E.fx.step={};var ie,re,oe=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function ae(){re&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,E.fx.interval),E.fx.tick())}function le(){return n.setTimeout((function(){ie=void 0})),ie=Date.now()}function ce(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=rt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function ue(t,e,n){for(var i,r=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,e,t))return i}function de(t,e,n){var i,r,o=0,s=de.prefilters.length,a=E.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=ie||le(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(t,[c,i,n]),i<1&&s?n:(s||a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c]),!1)},c=a.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||le(),duration:n.duration,tweens:[],createTween:function(e,n){var i=E.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?(a.notifyWith(t,[c,1,0]),a.resolveWith(t,[c,e])):a.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var n,i,r,o,s;for(n in t)if(r=e[i=U(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=E.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(u,c.opts.specialEasing);o<s;o++)if(i=de.prefilters[o].call(c,t,u,c.opts))return v(i.stop)&&(E._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return E.map(u,ue,c),v(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),E.fx.timer(E.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}E.Animation=E.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ct(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(M);for(var n,i=0,r=t.length;i<r;i++)n=t[i],de.tweeners[n]=de.tweeners[n]||[],de.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,s,a,l,c,u,d="width"in e||"height"in e,h=this,f={},p=t.style,g=t.nodeType&&lt(t),m=Q.get(t,"fxshow");for(i in n.queue||(null==(s=E._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,E.queue(t,"fx").length||s.empty.fire()}))}))),e)if(r=e[i],oe.test(r)){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}f[i]=m&&m[i]||E.style(t,i)}if((l=!E.isEmptyObject(e))||!E.isEmptyObject(f))for(i in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Q.get(t,"display")),"none"===(u=E.css(t,"display"))&&(c?u=c:(ht([t],!0),c=t.style.display||c,u=E.css(t,"display"),ht([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===E.css(t,"float")&&(l||(h.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=Q.access(t,"fxshow",{display:c}),o&&(m.hidden=!g),g&&ht([t],!0),h.done((function(){for(i in g||ht([t]),Q.remove(t,"fxshow"),f)E.style(t,i,f[i])}))),l=ue(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),E.speed=function(t,e,n){var i=t&&"object"==typeof t?E.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return E.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in E.fx.speeds?i.duration=E.fx.speeds[i.duration]:i.duration=E.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&E.dequeue(this,i.queue)},i},E.fn.extend({fadeTo:function(t,e,n,i){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=E.isEmptyObject(t),o=E.speed(e,n,i),s=function(){var e=de(this,E.extend({},t),o);(r||Q.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=E.timers,s=Q.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&se.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=Q.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=E.timers,s=i?i.length:0;for(n.finish=!0,E.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var n=E.fn[e];E.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ce(e,!0),t,i,r)}})),E.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),E.timers=[],E.fx.tick=function(){var t,e=0,n=E.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||E.fx.stop(),ie=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){re||(re=!0,ae())},E.fx.stop=function(){re=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var he,fe=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return V(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?E.prop(t,e,n):(1===o&&E.isXMLDoc(t)||(r=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?he:void 0)),void 0!==n?null===n?void E.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=E.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&L(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(M);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),he={set:function(t,e,n){return!1===e?E.removeAttr(t,n):t.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=fe[e]||E.find.attr;fe[e]=function(t,e,i){var r,o,s=e.toLowerCase();return i||(o=fe[s],fe[s]=r,r=null!=n(t,e,i)?s:null,fe[s]=o),r}}));var pe=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(M)||[]).join(" ")}function ve(t){return t.getAttribute&&t.getAttribute("class")||""}function ye(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(M)||[]}E.fn.extend({prop:function(t,e){return V(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(t)||(e=E.propFix[e]||e,r=E.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,n,i,r,o,s,a,l=0;if(v(t))return this.each((function(e){E(this).addClass(t.call(this,e,ve(this)))}));if((e=ye(t)).length)for(;n=this[l++];)if(r=ve(n),i=1===n.nodeType&&" "+me(r)+" "){for(s=0;o=e[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=me(i))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,i,r,o,s,a,l=0;if(v(t))return this.each((function(e){E(this).removeClass(t.call(this,e,ve(this)))}));if(!arguments.length)return this.attr("class","");if((e=ye(t)).length)for(;n=this[l++];)if(r=ve(n),i=1===n.nodeType&&" "+me(r)+" "){for(s=0;o=e[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=me(i))&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){E(this).toggleClass(t.call(this,n,ve(this),e),e)})):this.each((function(){var e,r,o,s;if(i)for(r=0,o=E(this),s=ye(t);e=s[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ve(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Q.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+me(ve(n))+" ").indexOf(e)>-1)return!0;return!1}});var be=/\r/g;E.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=v(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,E(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=E.map(r,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=E.valHooks[r.type]||E.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(be,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:me(E.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!L(n.parentNode,"optgroup"))){if(e=E(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=E.makeArray(e),s=r.length;s--;)((i=r[s]).selected=E.inArray(E.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},m.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,i,r){var o,s,a,l,c,u,d,h,p=[i||b],g=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=a=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!we.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:E.makeArray(e,[t]),d=E.event.special[g]||{},r||!d.trigger||!1!==d.trigger.apply(i,e))){if(!r&&!d.noBubble&&!y(i)){for(l=d.delegateType||g,we.test(l+g)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(i.ownerDocument||b)&&p.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=p[o++])&&!t.isPropagationStopped();)h=s,t.type=o>1?l:d.bindType||g,(u=(Q.get(s,"events")||Object.create(null))[t.type]&&Q.get(s,"handle"))&&u.apply(s,e),(u=c&&s[c])&&u.apply&&G(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),e)||!G(i)||c&&v(i[g])&&!y(i)&&((a=i[c])&&(i[c]=null),E.event.triggered=g,t.isPropagationStopped()&&h.addEventListener(g,xe),i[g](),t.isPropagationStopped()&&h.removeEventListener(g,xe),E.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(t,e,n){var i=E.extend(new E.Event,n,{type:t,isSimulated:!0});E.event.trigger(i,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return E.event.trigger(t,e,n,!0)}}),m.focusin||E.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){E.event.simulate(e,t.target,E.event.fix(t))};E.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Q.access(i,e);r||i.addEventListener(t,n,!0),Q.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Q.access(i,e)-1;r?Q.access(i,e,r):(i.removeEventListener(t,n,!0),Q.remove(i,e))}}}));var _e=n.location,Ee={guid:Date.now()},Se=/\?/;E.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||E.error("Invalid XML: "+(i?E.map(i.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Ce=/\[\]$/,Te=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;function Le(t,e,n,i){var r;if(Array.isArray(e))E.each(e,(function(e,r){n||Ce.test(t)?i(t,r):Le(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==_(e))i(t,e);else for(r in e)Le(t+"["+r+"]",e[r],n,i)}E.param=function(t,e){var n,i=[],r=function(t,e){var n=v(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){r(this.name,this.value)}));else for(n in t)Le(n,t[n],e,r);return i.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&Ae.test(this.nodeName)&&!ke.test(t)&&(this.checked||!gt.test(t))})).map((function(t,e){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(t){return{name:e.name,value:t.replace(Te,"\r\n")}})):{name:e.name,value:n.replace(Te,"\r\n")}})).get()}});var De=/%20/g,Oe=/#.*$/,Ne=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Pe=/^\/\//,Ie={},Me={},Be="*/".concat("*"),qe=b.createElement("a");function He(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(M)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function ze(t,e,n,i){var r={},o=t===Me;function s(a){var l;return r[a]=!0,E.each(t[a]||[],(function(t,a){var c=a(e,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!r["*"]&&s("*")}function Re(t,e){var n,i,r=E.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&E.extend(!0,t,i),t}qe.href=_e.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_e.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_e.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Re(Re(t,E.ajaxSettings),e):Re(E.ajaxSettings,t)},ajaxPrefilter:He(Ie),ajaxTransport:He(Me),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,s,a,l,c,u,d,h,f=E.ajaxSetup({},e),p=f.context||f,g=f.context&&(p.nodeType||p.jquery)?E(p):E.event,m=E.Deferred(),v=E.Callbacks("once memory"),y=f.statusCode||{},w={},x={},_="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Fe.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)S.always(t[S.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||_;return i&&i.abort(e),C(0,e),this}};if(m.promise(S),f.url=((t||f.url||_e.href)+"").replace(Pe,_e.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(M)||[""],null==f.crossDomain){l=b.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=qe.protocol+"//"+qe.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=E.param(f.data,f.traditional)),ze(Ie,f,e,S),c)return S;for(d in(u=E.event&&f.global)&&0==E.active++&&E.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!je.test(f.type),r=f.url.replace(Oe,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(De,"+")):(h=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(Se.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Ne,"$1"),h=(Se.test(r)?"&":"?")+"_="+Ee.guid+++h),f.url=r+h),f.ifModified&&(E.lastModified[r]&&S.setRequestHeader("If-Modified-Since",E.lastModified[r]),E.etag[r]&&S.setRequestHeader("If-None-Match",E.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Be+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,S,f)||c))return S.abort();if(_="abort",v.add(f.complete),S.done(f.success),S.fail(f.error),i=ze(Me,f,e,S)){if(S.readyState=1,u&&g.trigger("ajaxSend",[S,f]),c)return S;f.async&&f.timeout>0&&(a=n.setTimeout((function(){S.abort("timeout")}),f.timeout));try{c=!1,i.send(w,C)}catch(t){if(c)throw t;C(-1,t)}}else C(-1,"No Transport");function C(t,e,s,l){var d,h,b,w,x,_=e;c||(c=!0,a&&n.clearTimeout(a),i=void 0,o=l||"",S.readyState=t>0?4:0,d=t>=200&&t<300||304===t,s&&(w=function(t,e,n){for(var i,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,S,s)),!d&&E.inArray("script",f.dataTypes)>-1&&E.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),w=function(t,e,n,i){var r,o,s,a,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(f,w,S,d),d?(f.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(E.lastModified[r]=x),(x=S.getResponseHeader("etag"))&&(E.etag[r]=x)),204===t||"HEAD"===f.type?_="nocontent":304===t?_="notmodified":(_=w.state,h=w.data,d=!(b=w.error))):(b=_,!t&&_||(_="error",t<0&&(t=0))),S.status=t,S.statusText=(e||_)+"",d?m.resolveWith(p,[h,_,S]):m.rejectWith(p,[S,_,b]),S.statusCode(y),y=void 0,u&&g.trigger(d?"ajaxSuccess":"ajaxError",[S,f,d?h:b]),v.fireWith(p,[S,_]),u&&(g.trigger("ajaxComplete",[S,f]),--E.active||E.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,n){return E.get(t,e,n,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),E.ajax(E.extend({url:t,type:e,dataType:r,data:n,success:i},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,n){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,n)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){E(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Ve=E.ajaxSettings.xhr();m.cors=!!Ve&&"withCredentials"in Ve,m.ajax=Ve=!!Ve,E.ajaxTransport((function(t){var e,i;if(m.cors||Ve&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);e=function(t){return function(){e&&(e=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(We[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),i=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){e&&i()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Xe,Ye=[],$e=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||E.expando+"_"+Ee.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,i){var r,o,s,a=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace($e,"$1"+r):!1!==t.jsonp&&(t.url+=(Se.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||E.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always((function(){void 0===o?E(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(r)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((Xe=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),E.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((i=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(i)):e=b),o=!n&&[],(r=D.exec(t))?[e.createElement(r[1])]:(r=_t([t],e,o),o&&o.length&&E(o).remove(),E.merge([],r.childNodes)));var i,r,o},E.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return a>-1&&(i=me(t.slice(a)),t=t.slice(0,a)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&E.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(i?E("<div>").append(E.parseHTML(t)).find(i):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,n){var i,r,o,s,a,l,c=E.css(t,"position"),u=E(t),d={};"static"===c&&(t.style.position="relative"),a=u.offset(),o=E.css(t,"top"),l=E.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v(e)&&(e=e.call(t,n,E.extend({},a))),null!=e.top&&(d.top=e.top-a.top+s),null!=e.left&&(d.left=e.left-a.left+r),"using"in e?e.using.call(t,d):u.css(d)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===E.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),r.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-E.css(i,"marginTop",!0),left:e.left-r.left-E.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||ot}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;E.fn[t]=function(i){return V(this,(function(t,i,r){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=Vt(m.pixelPosition,(function(t,n){if(n)return n=Wt(t,e),qt.test(n)?E(t).position()[e]+"px":n}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){E.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return V(this,(function(e,n,r){var o;return y(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?E.css(e,n,a):E.style(e,n,r,a)}),e,s?r:void 0,s)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){E.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Ue=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return i=a.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(a.call(arguments)))}).guid=t.guid=t.guid||E.guid++,r},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=L,E.isFunction=v,E.isWindow=y,E.camelCase=U,E.type=_,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(Ue,"")},void 0===(i=function(){return E}.apply(e,[]))||(t.exports=i);var Ge=n.jQuery,Ke=n.$;return E.noConflict=function(t){return n.$===E&&(n.$=Ke),t&&n.jQuery===E&&(n.jQuery=Ge),E},void 0===r&&(n.jQuery=n.$=E),E}))},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},HOxn:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Promise");t.exports=i},JTzB:function(t,e,n){var i=n("NykK"),r=n("ExA7");t.exports=function(t){return r(t)&&"[object Arguments]"==i(t)}},KfNM:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},Kz5y:function(t,e,n){var i=n("WFqU"),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},MMmD:function(t,e,n){var i=n("lSCD"),r=n("shjB");t.exports=function(t){return null!=t&&r(t.length)&&!i(t)}},NKxu:function(t,e,n){var i=n("lSCD"),r=n("E2jh"),o=n("GoyQ"),s=n("3Fdi"),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||r(t))&&(i(t)?h:a).test(s(t))}},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var i=n("nmnc"),r=n("AP2z"),o=n("KfNM"),s=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?r(t):o(t)}},"Of+w":function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=i},QczR:function(t,e,n){window.eve=n("oRA+");var i=function(t){var e,n={},i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16,(new Date).getTime()),!0},r=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},o=0,s="M"+(+new Date).toString(36),a=Date.now||function(){return+new Date},l=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},c=function(t){if(null==t)return this.spd;this.spd=t},u=function(t){var e=this;if(null==t)return e.dur;e.s=e.s*t/e.dur,e.dur=t},d=function(){var e=this;delete n[e.id],e.update(),t("mina.stop."+e.id,e)},h=function(){var t=this;t.pdif||(delete n[t.id],t.update(),t.pdif=t.get()-t.b)},f=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,n[t.id]=t,g())},p=function(){var t,e=this;if(r(e.start)){t=[];for(var n=0,i=e.start.length;n<i;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s)}else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},g=function(r){if(r){var o=0;for(var s in n)if(n.hasOwnProperty(s)){var a=n[s],l=a.get();o++,a.s=(l-a.b)/(a.dur/a.spd),a.s>=1&&(delete n[s],a.s=1,o--,function(e){setTimeout((function(){t("mina.finish."+e.id,e)}))}(a)),a.update()}e=!!o&&i(g)}else e||(e=i(g))},m=function(t,e,i,r,a,v,y){var b={id:s+(o++).toString(36),start:t,end:e,b:i,s:0,dur:r-i,spd:1,get:a,set:v,easing:y||m.linear,status:l,speed:c,duration:u,stop:d,pause:h,resume:f,update:p};n[b.id]=b;var w,x=0;for(w in n)if(n.hasOwnProperty(w)&&2==++x)break;return 1==x&&g(),b};return m.time=a,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),i=n-e,r=-n-e,o=Math.pow(Math.abs(i),1/3)*(i<0?-1:1)+Math.pow(Math.abs(r),1/3)*(r<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.bounce=function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},window.mina=m,m}("undefined"==typeof eve?function(){}:eve),r=function(t){function e(t,i){if(t){if(t.nodeType)return Y(t);if(L(t,"array")&&e.set)return e.set.apply(e,t);if(t instanceof R)return t;if(null==i)try{return Y(t=n.doc.querySelector(String(t)))}catch(t){return null}}return new X(t=null==t?"100%":t,i=null==i?"100%":i)}e.version="0.5.1",e.toString=function(){return"Snap v"+this.version},e._={};var n={win:t.window,doc:t.window.document};e._.glob=n;var i,r,o="hasOwnProperty",s=String,a=parseFloat,l=parseInt,c=Math,u=c.max,d=c.min,h=c.abs,f=(c.pow,c.PI),p=(c.round,Object.prototype.toString),m=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,v=(e._.separator=/[,\s]+/,/[\s]*,[\s]*/),y={hs:1,rg:1},b=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,w=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,x=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/gi,_=0,E="S"+(+new Date).toString(36),S=function(t){return(t&&t.type?t.type:"")+E+(_++).toString(36)},C="http://www.w3.org/1999/xlink",T="http://www.w3.org/2000/svg",k={};e.url=function(t){return"url('#"+t+"')"};function A(t,e){if(e){if("#text"==t&&(t=n.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=n.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=A(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(C,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(T,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var i in e)if(e[o](i)){var r=s(e[i]);r?"xlink:"==i.substring(0,6)?t.setAttributeNS(C,i.substring(6),r):"xml:"==i.substring(0,4)?t.setAttributeNS(T,i.substring(4),r):t.setAttribute(i,r):t.removeAttribute(i)}}else"text"in e&&(t.nodeValue=e.text)}else t=n.doc.createElementNS(T,t);return t}function L(t,e){return"finite"==(e=s.prototype.toLowerCase.call(e))?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||p.call(t).slice(8,-1).toLowerCase()==e)}function D(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function O(t,e,n){return function i(){var r=Array.prototype.slice.call(arguments,0),s=r.join("␀"),a=i.cache=i.cache||{},l=i.count=i.count||[];return a[o](s)?(D(l,s),n?n(a[s]):a[s]):(l.length>=1e3&&delete a[l.shift()],l.push(s),a[s]=t.apply(e,r),n?n(a[s]):a[s])}}function N(t){return t%360*f/180}e._.$=A,e._.id=S,e.format=(i=/\{([^\}]+)\}/g,r=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return s(t).replace(i,(function(t,n){return function(t,e,n){var i=n;return e.replace(r,(function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))})),i=(null==i||i==n?t:i)+""}(t,n,e)}))}),e._.clone=function t(e){if("function"==typeof e||Object(e)!==e)return e;var n=new e.constructor;for(var i in e)e[o](i)&&(n[i]=t(e[i]));return n},e._.cacher=O,e.rad=N,e.deg=function(t){return 180*t/f%360},e.sin=function(t){return c.sin(e.rad(t))},e.tan=function(t){return c.tan(e.rad(t))},e.cos=function(t){return c.cos(e.rad(t))},e.asin=function(t){return e.deg(c.asin(t))},e.acos=function(t){return e.deg(c.acos(t))},e.atan=function(t){return e.deg(c.atan(t))},e.atan2=function(t){return e.deg(c.atan2(t))},e.angle=function t(e,n,i,r,o,s){if(null==o){var a=e-i,l=n-r;return a||l?(180+180*c.atan2(-l,-a)/f+360)%360:0}return t(e,n,o,s)-t(i,r,o,s)},e.len=function(t,n,i,r){return Math.sqrt(e.len2(t,n,i,r))},e.len2=function(t,e,n,i){return(t-n)*(t-n)+(e-i)*(e-i)},e.closestPoint=function(t,e,n){function i(t){var i=t.x-e,r=t.y-n;return i*i+r*r}for(var r,o,s,a,l=t.node,c=l.getTotalLength(),u=c/l.pathSegList.numberOfItems*.125,d=1/0,h=0;h<=c;h+=u)(a=i(s=l.getPointAtLength(h)))<d&&(r=s,o=h,d=a);for(u*=.5;u>.5;){var f,p,g,m,v,y;(g=o-u)>=0&&(v=i(f=l.getPointAtLength(g)))<d?(r=f,o=g,d=v):(m=o+u)<=c&&(y=i(p=l.getPointAtLength(m)))<d?(r=p,o=m,d=y):u*=.5}return r={x:r.x,y:r.y,length:o,distance:Math.sqrt(d)}},e.is=L,e.snapTo=function(t,e,n){if(n=L(n,"finite")?n:10,L(t,"array")){for(var i=t.length;i--;)if(h(t[i]-e)<=n)return t[i]}else{var r=e%(t=+t);if(r<n)return e-r;if(r>t-n)return e-r+t}return e},e.getRGB=O((function(t){if(!t||(t=s(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:I};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:I};if(!y[o](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=F(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:I};var n,i,r,h,f,p,g=t.match(m);return g?(g[2]&&(r=l(g[2].substring(5),16),i=l(g[2].substring(3,5),16),n=l(g[2].substring(1,3),16)),g[3]&&(r=l((f=g[3].charAt(3))+f,16),i=l((f=g[3].charAt(2))+f,16),n=l((f=g[3].charAt(1))+f,16)),g[4]&&(p=g[4].split(v),n=a(p[0]),"%"==p[0].slice(-1)&&(n*=2.55),i=a(p[1]),"%"==p[1].slice(-1)&&(i*=2.55),r=a(p[2]),"%"==p[2].slice(-1)&&(r*=2.55),"rgba"==g[1].toLowerCase().slice(0,4)&&(h=a(p[3])),p[3]&&"%"==p[3].slice(-1)&&(h/=100)),g[5]?(p=g[5].split(v),n=a(p[0]),"%"==p[0].slice(-1)&&(n/=100),i=a(p[1]),"%"==p[1].slice(-1)&&(i/=100),r=a(p[2]),"%"==p[2].slice(-1)&&(r/=100),("deg"==p[0].slice(-3)||"°"==p[0].slice(-1))&&(n/=360),"hsba"==g[1].toLowerCase().slice(0,4)&&(h=a(p[3])),p[3]&&"%"==p[3].slice(-1)&&(h/=100),e.hsb2rgb(n,i,r,h)):g[6]?(p=g[6].split(v),n=a(p[0]),"%"==p[0].slice(-1)&&(n/=100),i=a(p[1]),"%"==p[1].slice(-1)&&(i/=100),r=a(p[2]),"%"==p[2].slice(-1)&&(r/=100),("deg"==p[0].slice(-3)||"°"==p[0].slice(-1))&&(n/=360),"hsla"==g[1].toLowerCase().slice(0,4)&&(h=a(p[3])),p[3]&&"%"==p[3].slice(-1)&&(h/=100),e.hsl2rgb(n,i,r,h)):(n=d(c.round(n),255),i=d(c.round(i),255),r=d(c.round(r),255),h=d(u(h,0),1),(g={r:n,g:i,b:r,toString:I}).hex="#"+(16777216|r|i<<8|n<<16).toString(16).slice(1),g.opacity=L(h,"finite")?h:1,g)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:I}}),e),e.hsb=O((function(t,n,i){return e.hsb2rgb(t,n,i).hex})),e.hsl=O((function(t,n,i){return e.hsl2rgb(t,n,i).hex})),e.rgb=O((function(t,e,n,i){if(L(i,"finite")){var r=c.round;return"rgba("+[r(t),r(e),r(n),+i.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}));var F=function(t){var e=n.doc.getElementsByTagName("head")[0]||n.doc.getElementsByTagName("svg")[0],i="rgb(255, 0, 0)";return(F=O((function(t){if("red"==t.toLowerCase())return i;e.style.color=i,e.style.color=t;var r=n.doc.defaultView.getComputedStyle(e,"").getPropertyValue("color");return r==i?null:r})))(t)},j=function(){return"hsb("+[this.h,this.s,this.b]+")"},P=function(){return"hsl("+[this.h,this.s,this.l]+")"},I=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},M=function(t,n,i){if(null==n&&L(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,n=t.g,t=t.r),null==n&&L(t,string)){var r=e.getRGB(t);t=r.r,n=r.g,i=r.b}return(t>1||n>1||i>1)&&(t/=255,n/=255,i/=255),[t,n,i]},B=function(t,n,i,r){var o={r:t=c.round(255*t),g:n=c.round(255*n),b:i=c.round(255*i),opacity:L(r,"finite")?r:1,hex:e.rgb(t,n,i),toString:I};return L(r,"finite")&&(o.opacity=r),o};e.color=function(t){var n;return L(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):L(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):(L(t,"string")&&(t=e.getRGB(t)),L(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.b):((t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=I,t},e.hsb2rgb=function(t,e,n,i){var r,o,s,a,l;return L(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,i=t.o,t=t.h),a=(l=n*e)*(1-h((t=(t*=360)%360/60)%2-1)),r=o=s=n-l,B(r+=[l,a,0,0,a,l][t=~~t],o+=[a,l,l,a,0,0][t],s+=[0,0,a,l,l,a][t],i)},e.hsl2rgb=function(t,e,n,i){var r,o,s,a,l;return L(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),a=(l=2*e*(n<.5?n:1-n))*(1-h((t=(t*=360)%360/60)%2-1)),r=o=s=n-l/2,B(r+=[l,a,0,0,a,l][t=~~t],o+=[a,l,l,a,0,0][t],s+=[0,0,a,l,l,a][t],i)},e.rgb2hsb=function(t,e,n){var i,r;return t=(n=M(t,e,n))[0],e=n[1],n=n[2],{h:((0==(r=(i=u(t,e,n))-d(t,e,n))?null:i==t?(e-n)/r:i==e?(n-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/i,b:i,toString:j}},e.rgb2hsl=function(t,e,n){var i,r,o,s;return t=(n=M(t,e,n))[0],e=n[1],n=n[2],i=((r=u(t,e,n))+(o=d(t,e,n)))/2,{h:((0==(s=r-o)?null:r==t?(e-n)/s:r==e?(n-t)/s+2:(t-e)/s+4)+360)%6*60/360,s:0==s?0:i<.5?s/(2*i):s/(2-2*i),l:i,toString:P}},e.parsePathString=function(t){if(!t)return null;var n=e.path(t);if(n.arr)return e.path.clone(n.arr);var i={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return L(t,"array")&&L(t[0],"array")&&(r=e.path.clone(t)),r.length||s(t).replace(b,(function(t,e,n){var o=[],s=e.toLowerCase();if(n.replace(x,(function(t,e){e&&o.push(+e)})),"m"==s&&o.length>2&&(r.push([e].concat(o.splice(0,2))),s="l",e="m"==e?"l":"L"),"o"==s&&1==o.length&&r.push([e,o[0]]),"r"==s)r.push([e].concat(o));else for(;o.length>=i[s]&&(r.push([e].concat(o.splice(0,i[s]))),i[s]););})),r.toString=e.path.toString,n.arr=e.path.clone(r),r};var q=e.parseTransformString=function(t){if(!t)return null;var n=[];return L(t,"array")&&L(t[0],"array")&&(n=e.path.clone(t)),n.length||s(t).replace(w,(function(t,e,i){var r=[];e.toLowerCase();i.replace(x,(function(t,e){e&&r.push(+e)})),n.push([e].concat(r))})),n.toString=e.path.toString,n};e._.svgTransform2string=function(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,(function(t,n,i){return i=i.split(/\s*,\s*|\s+/),"rotate"==n&&1==i.length&&i.push(0,0),"scale"==n&&(i.length>2?i=i.slice(0,2):2==i.length&&i.push(0,0),1==i.length&&i.push(i[0],0,0)),"skewX"==n?e.push(["m",1,0,c.tan(N(i[0])),1,0,0]):"skewY"==n?e.push(["m",1,c.tan(N(i[0])),0,1,0,0]):e.push([n.charAt(0)].concat(i)),t})),e},e._.rgTransform=/^[a-z][\s]*-?\.?\d/i,e._.transform2matrix=function(t,n){var i=q(t),r=new e.Matrix;if(i)for(var o=0,a=i.length;o<a;o++){var l,c,u,d,h,f=i[o],p=f.length,g=s(f[0]).toLowerCase(),m=f[0]!=g,v=m?r.invert():0;"t"==g&&2==p?r.translate(f[1],0):"t"==g&&3==p?m?(l=v.x(0,0),c=v.y(0,0),u=v.x(f[1],f[2]),d=v.y(f[1],f[2]),r.translate(u-l,d-c)):r.translate(f[1],f[2]):"r"==g?2==p?(h=h||n,r.rotate(f[1],h.x+h.width/2,h.y+h.height/2)):4==p&&(m?(u=v.x(f[2],f[3]),d=v.y(f[2],f[3]),r.rotate(f[1],u,d)):r.rotate(f[1],f[2],f[3])):"s"==g?2==p||3==p?(h=h||n,r.scale(f[1],f[p-1],h.x+h.width/2,h.y+h.height/2)):4==p?m?(u=v.x(f[2],f[3]),d=v.y(f[2],f[3]),r.scale(f[1],f[1],u,d)):r.scale(f[1],f[1],f[2],f[3]):5==p&&(m?(u=v.x(f[3],f[4]),d=v.y(f[3],f[4]),r.scale(f[1],f[2],u,d)):r.scale(f[1],f[2],f[3],f[4])):"m"==g&&7==p&&r.add(f[1],f[2],f[3],f[4],f[5],f[6])}return r},e._unit2px=function(t,e,n){var i=H(t).node,r={},o=i.querySelector(".svg---mgr");o||(o=A("rect"),A(o,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}),i.appendChild(o));function s(t){if(null==t)return"";if(t==+t)return t;A(o,{width:t});try{return o.getBBox().width}catch(t){return 0}}function a(t){if(null==t)return"";if(t==+t)return t;A(o,{height:t});try{return o.getBBox().height}catch(t){return 0}}function l(i,o){null==e?r[i]=o(t.attr(i)||0):i==e&&(r=o(null==n?t.attr(i)||0:n))}switch(t.type){case"rect":l("rx",s),l("ry",a);case"image":l("width",s),l("height",a);case"text":l("x",s),l("y",a);break;case"circle":l("cx",s),l("cy",a),l("r",s);break;case"ellipse":l("cx",s),l("cy",a),l("rx",s),l("ry",a);break;case"line":l("x1",s),l("x2",s),l("y1",a),l("y2",a);break;case"marker":l("refX",s),l("markerWidth",s),l("refY",a),l("markerHeight",a);break;case"radialGradient":l("fx",s),l("fy",a);break;case"tspan":l("dx",s),l("dy",a);break;default:l(e,s)}return i.removeChild(o),r};n.doc.contains||n.doc.compareDocumentPosition;function H(t){return t.node.ownerSVGElement&&Y(t.node.ownerSVGElement)||e.select("svg")}function z(t){L(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,i=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach((function(t){i.appendChild(t.node)})):i.appendChild(t[e].node);var r=i.childNodes;for(e=0;e<r.length;e++)this[n++]=Y(r[e]);return this}function R(t){if(t.snap in k)return k[t.snap];var e;try{e=t.ownerSVGElement}catch(t){}this.node=t,e&&(this.paper=new X(e)),this.type=t.tagName||t.nodeName;var n=this.id=S(this);if(this.anims={},this._={transform:[]},t.snap=n,k[n]=this,"g"==this.type&&(this.add=z),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var i in X.prototype)X.prototype[o](i)&&(this[i]=X.prototype[i])}function W(t){this.node=t}function V(t,e){var n=A(t);return e.appendChild(n),Y(n)}function X(t,e){var i,r,s,a=X.prototype;if(t&&t.tagName&&"svg"==t.tagName.toLowerCase()){if(t.snap in k)return k[t.snap];var l=t.ownerDocument;for(var c in i=new R(t),r=t.getElementsByTagName("desc")[0],s=t.getElementsByTagName("defs")[0],r||((r=A("desc")).appendChild(l.createTextNode("Created with Snap")),i.node.appendChild(r)),s||(s=A("defs"),i.node.appendChild(s)),i.defs=s,a)a[o](c)&&(i[c]=a[c]);i.paper=i.root=i}else A((i=V("svg",n.doc.body)).node,{height:e,version:1.1,width:t,xmlns:T});return i}function Y(t){return t?t instanceof R||t instanceof W?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new X(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new X(t.contentDocument.getElementsByTagName("svg")[0]):new R(t):t}e._.getSomeDefs=function(t){var n=t.node.ownerSVGElement&&Y(t.node.ownerSVGElement)||t.node.parentNode&&Y(t.node.parentNode)||e.select("svg")||e(0,0),i=n.select("defs"),r=null!=i&&i.node;return r||(r=V("defs",n.node).node),r},e._.getSomeSVG=H,e.select=function(t){return t=s(t).replace(/([^\\]):/g,"$1\\:"),Y(n.doc.querySelector(t))},e.selectAll=function(t){for(var i=n.doc.querySelectorAll(t),r=(e.set||Array)(),o=0;o<i.length;o++)r.push(Y(i[o]));return r},setInterval((function(){for(var t in k)if(k[o](t)){var e=k[t],n=e.node;("svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete k[t]}}),1e4),R.prototype.attr=function(t,e){var n=this,i=n.node;if(!t){if(1!=i.nodeType)return{text:i.nodeValue};for(var r=i.attributes,s={},a=0,l=r.length;a<l;a++)s[r[a].nodeName]=r[a].nodeValue;return s}if(L(t,"string")){if(!(arguments.length>1))return eve("snap.util.getattr."+t,n).firstDefined();var c={};c[t]=e,t=c}for(var u in t)t[o](u)&&eve("snap.util.attr."+u,n,t[u]);return n},e.parse=function(t){var e=n.doc.createDocumentFragment(),i=!0,r=n.doc.createElement("div");if((t=s(t)).match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",i=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(i)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new W(e)},e.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),i=n.doc.createDocumentFragment(),r=0,o=t.length;r<o;r++){var s=t[r];s.node&&s.node.nodeType&&i.appendChild(s.node),s.nodeType&&i.appendChild(s),"string"==typeof s&&i.appendChild(e.parse(s).node)}return new W(i)},e._.make=V,e._.wrap=Y,X.prototype.el=function(t,e){var n=V(t,this.node);return e&&n.attr(e),n},R.prototype.children=function(){for(var t=[],n=this.node.childNodes,i=0,r=n.length;i<r;i++)t[i]=e(n[i]);return t},R.prototype.toJSON=function(){var t=[];return function t(e,n){for(var i=0,r=e.length;i<r;i++){var o={type:e[i].type,attr:e[i].attr()},s=e[i].children();n.push(o),s.length&&t(s,o.childNodes=[])}}([this],t),t[0]},eve.on("snap.util.getattr",(function(){var t=eve.nt(),e=(t=t.substring(t.lastIndexOf(".")+1)).replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));return $[o](e)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(e):A(this.node,t)}));var $={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};eve.on("snap.util.attr",(function(t){var e=eve.nt(),n={};n[e=e.substring(e.lastIndexOf(".")+1)]=t;var i=e.replace(/-(\w)/gi,(function(t,e){return e.toUpperCase()})),r=e.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));$[o](r)?this.node.style[i]=null==t?"":t:A(this.node,n)})),X.prototype,e.ajax=function(t,e,n,i){var r=new XMLHttpRequest,o=S();if(r){if(L(e,"function"))i=n,n=e,e=null;else if(L(e,"object")){var s=[];for(var a in e)e.hasOwnProperty(a)&&s.push(encodeURIComponent(a)+"="+encodeURIComponent(e[a]));e=s.join("&")}return r.open(e?"POST":"GET",t,!0),e&&(r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded")),n&&(eve.once("snap.ajax."+o+".0",n),eve.once("snap.ajax."+o+".200",n),eve.once("snap.ajax."+o+".304",n)),r.onreadystatechange=function(){4==r.readyState&&eve("snap.ajax."+o+"."+r.status,i,r)},4==r.readyState?r:(r.send(e),r)}},e.load=function(t,n,i){e.ajax(t,(function(t){var r=e.parse(t.responseText);i?n.call(i,r):n(r)}))};return e.getElementByPoint=function(t,e){this.canvas;var i,r,o,s,a,l,c,u=n.doc.elementFromPoint(t,e);if(n.win.opera&&"svg"==u.tagName){var d=(r=(i=u).getBoundingClientRect(),o=i.ownerDocument,s=o.body,a=o.documentElement,l=a.clientTop||s.clientTop||0,c=a.clientLeft||s.clientLeft||0,{y:r.top+(g.win.pageYOffset||a.scrollTop||s.scrollTop)-l,x:r.left+(g.win.pageXOffset||a.scrollLeft||s.scrollLeft)-c}),h=u.createSVGRect();h.x=t-d.x,h.y=e-d.y,h.width=h.height=1;var f=u.getIntersectionList(h,null);f.length&&(u=f[f.length-1])}return u?Y(u):null},e.plugin=function(t){t(e,R,X,n,W)},n.win.Snap=e,e}(window||this);r.plugin((function(t,e,n,i,r){var o=e.prototype,s=t.is,a=String,l=t._unit2px,c=t._.$,u=t._.make,d=t._.getSomeDefs,h="hasOwnProperty",f=t._.wrap;o.getBBox=function(e){if("tspan"==this.type)return t._.box(this.node.getClientRects().item(0));if(!t.Matrix||!t.path)return this.node.getBBox();var n=this,i=new t.Matrix;if(n.removed)return t._.box();for(;"use"==n.type;)if(e||(i=i.add(n.transform().localMatrix.translate(n.attr("x")||0,n.attr("y")||0))),n.original)n=n.original;else{var r=n.attr("xlink:href");n=n.original=n.node.ownerDocument.getElementById(r.substring(r.indexOf("#")+1))}var o=n._,s=t.path.get[n.type]||t.path.get.deflt;try{return e?(o.bboxwt=s?t.path.getBBox(n.realPath=s(n)):t._.box(n.node.getBBox()),t._.box(o.bboxwt)):(n.realPath=s(n),n.matrix=n.transform().localMatrix,o.bbox=t.path.getBBox(t.path.map(n.realPath,i.add(n.matrix))),t._.box(o.bbox))}catch(e){return t._.box()}};var p=function(){return this.string};function g(e,n){if(null==n){var i=!0;if(!(n="linearGradient"==e.type||"radialGradient"==e.type?e.node.getAttribute("gradientTransform"):"pattern"==e.type?e.node.getAttribute("patternTransform"):e.node.getAttribute("transform")))return new t.Matrix;n=t._.svgTransform2string(n)}else n=t._.rgTransform.test(n)?a(n).replace(/\.{3}|\u2026/g,e._.transform||""):t._.svgTransform2string(n),s(n,"array")&&(n=t.path?t.path.toString.call(n):a(n)),e._.transform=n;var r=t._.transform2matrix(n,e.getBBox(1));if(i)return r;e.matrix=r}o.transform=function(e){var n=this._;if(null==e){for(var i,r=this,o=new t.Matrix(this.node.getCTM()),s=g(this),l=[s],u=new t.Matrix,d=s.toTransformString(),h=a(s)==a(this.matrix)?a(n.transform):d;"svg"!=r.type&&(r=r.parent());)l.push(g(r));for(i=l.length;i--;)u.add(l[i]);return{string:h,globalMatrix:o,totalMatrix:u,localMatrix:s,diffMatrix:o.clone().add(s.invert()),global:o.toTransformString(),total:u.toTransformString(),local:d,toString:p}}return e instanceof t.Matrix?(this.matrix=e,this._.transform=e.toTransformString()):g(this,e),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?c(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?c(this.node,{patternTransform:this.matrix}):c(this.node,{transform:this.matrix})),this},o.parent=function(){return f(this.node.parentNode)},o.append=o.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach((function(t){e.add(t)})),this}t=f(t),this.node.appendChild(t.node),t.paper=this.paper}return this},o.appendTo=function(t){return t&&(t=f(t)).append(this),this},o.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach((function(t){e?e.after(t):n.prepend(t),e=t})),this}var i=(t=f(t)).parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),i&&i.add()}return this},o.prependTo=function(t){return(t=f(t)).prepend(this),this},o.before=function(t){if("set"==t.type){var e=this;return t.forEach((function(t){var n=t.parent();e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()})),this.parent().add(),this}var n=(t=f(t)).parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},o.after=function(t){var e=(t=f(t)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},o.insertBefore=function(t){t=f(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.insertAfter=function(t){t=f(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},o.select=function(t){return f(this.node.querySelector(t))},o.selectAll=function(e){for(var n=this.node.querySelectorAll(e),i=(t.set||Array)(),r=0;r<n.length;r++)i.push(f(n[r]));return i},o.asPX=function(t,e){return null==e&&(e=this.attr(t)),+l(this,t,e)},o.use=function(){var t,e=this.node.id;return e||(e=this.id,c(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?u(this.type,this.node.parentNode):u("use",this.node.parentNode),c(t.node,{"xlink:href":"#"+e}),t.original=this,t},o.clone=function(){var e=f(this.node.cloneNode(!0));return c(e.node,"id")&&c(e.node,{id:e.id}),function(e){var n,i=e.selectAll("*"),r=/^\s*url\(("|'|)(.*)\1\)\s*$/,o=[],s={};function a(e,n){var i=c(e.node,n);(i=(i=i&&i.match(r))&&i[2])&&"#"==i.charAt()&&(i=i.substring(1))&&(s[i]=(s[i]||[]).concat((function(i){var r={};r[n]=t.url(i),c(e.node,r)})))}function l(t){var e=c(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1))&&(s[e]=(s[e]||[]).concat((function(e){t.attr("xlink:href","#"+e)})))}for(var u=0,d=i.length;u<d;u++){a(n=i[u],"fill"),a(n,"stroke"),a(n,"filter"),a(n,"mask"),a(n,"clip-path"),l(n);var h=c(n.node,"id");h&&(c(n.node,{id:n.id}),o.push({old:h,id:n.id}))}for(u=0,d=o.length;u<d;u++){var f=s[o[u].old];if(f)for(var p=0,g=f.length;p<g;p++)f[p](o[u].id)}}(e),e.insertAfter(this),e},o.toDefs=function(){return d(this).appendChild(this.node),this},o.pattern=o.toPattern=function(t,e,n,i){var r=u("pattern",d(this));return null==t&&(t=this.getBBox()),s(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,t=t.x),c(r.node,{x:t,y:e,width:n,height:i,patternUnits:"userSpaceOnUse",id:r.id,viewBox:[t,e,n,i].join(" ")}),r.node.appendChild(this.node),r},o.marker=function(t,e,n,i,r,o){var a=u("marker",d(this));return null==t&&(t=this.getBBox()),s(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,r=t.refX||t.cx,o=t.refY||t.cy,t=t.x),c(a.node,{viewBox:[t,e,n,i].join(" "),markerWidth:n,markerHeight:i,orient:"auto",refX:r||0,refY:o||0,id:a.id}),a.node.appendChild(this.node),a};var m={};function v(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,i=this.node.childNodes;if(t)for(var r=0,o=n.length;r<o;r++)e+=" "+n[r].name+'="'+n[r].value.replace(/"/g,'\\"')+'"';if(i.length){for(t&&(e+=">"),r=0,o=i.length;r<o;r++)3==i[r].nodeType?e+=i[r].nodeValue:1==i[r].nodeType&&(e+=f(i[r]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}o.data=function(e,n){var i=m[this.id]=m[this.id]||{};if(0==arguments.length)return eve("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(t.is(e,"object")){for(var r in e)e[h](r)&&this.data(r,e[r]);return this}return eve("snap.data.get."+this.id,this,i[e],e),i[e]}return i[e]=n,eve("snap.data.set."+this.id,this,n,e),this},o.removeData=function(t){return null==t?m[this.id]={}:m[this.id]&&delete m[this.id][t],this},o.outerSVG=o.toString=v(1),o.innerSVG=v(),o.toDataURL=function(){if(window&&window.btoa){var e=this.getBBox(),n=t.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},r.prototype.select=o.select,r.prototype.selectAll=o.selectAll})),r.plugin((function(t,e,n,i,r){var o=Object.prototype.toString,s=String,a=Math;function l(t,e,n,i,r,s){if(null==e&&"[object SVGMatrix]"==o.call(t))return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f);null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+i,this.e=+r,this.f=+s):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=a.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.add(t.a,t.b,t.c,t.d,t.e,t.f);var s=t*this.a+e*this.c,a=t*this.b+e*this.d;return this.e+=r*this.a+o*this.c,this.f+=r*this.b+o*this.d,this.c=n*this.a+i*this.c,this.d=n*this.b+i*this.d,this.a=s,this.b=a,this},l.prototype.multLeft=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.multLeft(t.a,t.b,t.c,t.d,t.e,t.f);var s=t*this.a+n*this.b,a=t*this.c+n*this.d,c=t*this.e+n*this.f+r;return this.b=e*this.a+i*this.b,this.d=e*this.c+i*this.d,this.f=e*this.e+i*this.f+o,this.a=s,this.c=a,this.e=c,this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new l(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new l(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.e+=t*this.a+e*this.c,this.f+=t*this.b+e*this.d,this},e.scale=function(t,e,n,i){return null==e&&(e=t),(n||i)&&this.translate(n,i),this.a*=t,this.b*=t,this.c*=e,this.d*=e,(n||i)&&this.translate(-n,-i),this},e.rotate=function(e,n,i){e=t.rad(e),n=n||0,i=i||0;var r=+a.cos(e).toFixed(9),o=+a.sin(e).toFixed(9);return this.add(r,o,-o,r,n,i),this.add(1,0,0,1,-n,-i)},e.skewX=function(t){return this.skew(t,0)},e.skewY=function(t){return this.skew(0,t)},e.skew=function(e,n){e=e||0,n=n||0,e=t.rad(e),n=t.rad(n);var i=a.tan(e).toFixed(9),r=a.tan(n).toFixed(9);return this.add(1,r,i,1,0,0)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[s.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var r=[[this.a,this.b],[this.c,this.d]];e.scalex=a.sqrt(n(r[0])),i(r[0]),e.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*e.shear,r[1][1]-r[0][1]*e.shear],e.scaley=a.sqrt(n(r[1])),i(r[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=r[0][1],s=r[1][1];return s<0?(e.rotate=t.deg(a.acos(s)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(a.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:"")+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:"")+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:""))}}(l.prototype),t.Matrix=l,t.matrix=function(t,e,n,i,r,o){return new l(t,e,n,i,r,o)}})),r.plugin((function(t,e,n,i,r){var o,s=t._.make,a=t._.wrap,l=t.is,c=t._.getSomeDefs,u=/^url\((['"]?)([^)]+)\1\)$/,d=t._.$,h=t.url,f=String,p=t._.separator;function g(n){return function(i){if(eve.stop(),i instanceof r&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,c(this).appendChild(i),i=a(i)),i instanceof e)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||d(i.node,{id:i.id});var o=h(i.node.id)}else o=i.attr(n);else if((o=t.color(i)).error){var s=t(c(this).ownerSVGElement).gradient(i);s?(s.node.id||d(s.node,{id:s.id}),o=h(s.node.id)):o=i}else o=f(o);var l={};l[n]=o,d(this.node,l),this.node.style[n]=""}}t.deurl=function(t){var e=String(t).match(u);return e?e[2]:t},eve.on("snap.util.attr.mask",(function(t){if(t instanceof e||t instanceof r){if(eve.stop(),t instanceof r&&1==t.node.childNodes.length&&(t=t.node.firstChild,c(this).appendChild(t),t=a(t)),"mask"==t.type)var n=t;else(n=s("mask",c(this))).node.appendChild(t.node);!n.node.id&&d(n.node,{id:n.id}),d(this.node,{mask:h(n.id)})}})),o=function(t){if(t instanceof e||t instanceof r){eve.stop();for(var n,i=t.node;i;){if("clipPath"===i.nodeName){n=new e(i);break}if("svg"===i.nodeName){n=void 0;break}i=i.parentNode}n||((n=s("clipPath",c(this))).node.appendChild(t.node),!n.node.id&&d(n.node,{id:n.id})),d(this.node,{"clip-path":h(n.node.id||n.id)})}},eve.on("snap.util.attr.clip",o),eve.on("snap.util.attr.clip-path",o),eve.on("snap.util.attr.clipPath",o),eve.on("snap.util.attr.fill",g("fill")),eve.on("snap.util.attr.stroke",g("stroke"));var m=/^([lr])(?:\(([^)]*)\))?(.*)$/i;function v(t){eve.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function y(){return eve.stop(),this.node.style.fontSize}eve.on("snap.util.grad.parse",(function(t){var e=(t=f(t)).match(m);if(!e)return null;var n=e[1],i=e[2],r=e[3];1==(i=i.split(/\s*,\s*/).map((function(t){return+t==t?+t:t}))).length&&0==i[0]&&(i=[]);var o=(r=(r=r.split("-")).map((function(t){var e={color:(t=t.split(":"))[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}))).length,s=0,a=0;function l(t,e){for(var n=(e-s)/(t-a),i=a;i<t;i++)r[i].offset=+(+s+n*(i-a)).toFixed(2);a=t,s=e}o--;for(var c=0;c<o;c++)"offset"in r[c]&&l(c,r[c].offset);return r[o].offset=r[o].offset||100,l(o,r[o].offset),{type:n,params:i,stops:r}})),eve.on("snap.util.attr.d",(function(e){eve.stop(),l(e,"array")&&l(e[0],"array")&&(e=t.path.toString.call(e)),(e=f(e)).match(/[ruo]/i)&&(e=t.path.toAbsolute(e)),d(this.node,{d:e})}))(-1),eve.on("snap.util.attr.#text",(function(t){eve.stop(),t=f(t);for(var e=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(e)}))(-1),eve.on("snap.util.attr.path",(function(t){eve.stop(),this.attr({d:t})}))(-1),eve.on("snap.util.attr.class",(function(t){eve.stop(),this.node.className.baseVal=t}))(-1),eve.on("snap.util.attr.viewBox",(function(t){var e;e=l(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):l(t,"array")?t.join(" "):t,d(this.node,{viewBox:e}),eve.stop()}))(-1),eve.on("snap.util.attr.transform",(function(t){this.transform(t),eve.stop()}))(-1),eve.on("snap.util.attr.r",(function(t){"rect"==this.type&&(eve.stop(),d(this.node,{rx:t,ry:t}))}))(-1),eve.on("snap.util.attr.textpath",(function(t){if(eve.stop(),"text"==this.type){var n,i,r;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(l(t,"string")){var o=c(this),s=a(o.parentNode).path(t);o.appendChild(s.node),n=s.id,s.attr({id:n})}else(t=a(t))instanceof e&&((n=t.attr("id"))||(n=t.id,t.attr({id:n})));if(n)if(i=this.textPath,r=this.node,i)i.attr({"xlink:href":"#"+n});else{for(i=d("textPath",{"xlink:href":"#"+n});r.firstChild;)i.appendChild(r.firstChild);r.appendChild(i),this.textPath=a(i)}}}))(-1),eve.on("snap.util.attr.text",(function(t){if("text"==this.type){for(var e=this.node,n=function(t){var e=d("tspan");if(l(t,"array"))for(var r=0;r<t.length;r++)e.appendChild(n(t[r]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};e.firstChild;)e.removeChild(e.firstChild);for(var r=n(t);r.firstChild;)e.appendChild(r.firstChild)}eve.stop()}))(-1),eve.on("snap.util.attr.fontSize",v)(-1),eve.on("snap.util.attr.font-size",v)(-1),eve.on("snap.util.getattr.transform",(function(){return eve.stop(),this.transform()}))(-1),eve.on("snap.util.getattr.textpath",(function(){return eve.stop(),this.textPath}))(-1),function(){function e(e){return function(){eve.stop();var n=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+e);return"none"==n?n:t(i.doc.getElementById(n.match(u)[1]))}}function n(t){return function(e){eve.stop();var n="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""!=e&&e){if("marker"==e.type){var i=e.node.id;return i||d(e.node,{id:e.id}),void(this.node.style[n]=h(i))}}else this.node.style[n]="none"}}eve.on("snap.util.getattr.marker-end",e("end"))(-1),eve.on("snap.util.getattr.markerEnd",e("end"))(-1),eve.on("snap.util.getattr.marker-start",e("start"))(-1),eve.on("snap.util.getattr.markerStart",e("start"))(-1),eve.on("snap.util.getattr.marker-mid",e("mid"))(-1),eve.on("snap.util.getattr.markerMid",e("mid"))(-1),eve.on("snap.util.attr.marker-end",n("end"))(-1),eve.on("snap.util.attr.markerEnd",n("end"))(-1),eve.on("snap.util.attr.marker-start",n("start"))(-1),eve.on("snap.util.attr.markerStart",n("start"))(-1),eve.on("snap.util.attr.marker-mid",n("mid"))(-1),eve.on("snap.util.attr.markerMid",n("mid"))(-1)}(),eve.on("snap.util.getattr.r",(function(){if("rect"==this.type&&d(this.node,"rx")==d(this.node,"ry"))return eve.stop(),d(this.node,"rx")}))(-1),eve.on("snap.util.getattr.text",(function(){if("text"==this.type||"tspan"==this.type){eve.stop();var t=function t(e){for(var n=[],i=e.childNodes,r=0,o=i.length;r<o;r++){var s=i[r];3==s.nodeType&&n.push(s.nodeValue),"tspan"==s.tagName&&(1==s.childNodes.length&&3==s.firstChild.nodeType?n.push(s.firstChild.nodeValue):n.push(t(s)))}return n}(this.node);return 1==t.length?t[0]:t}}))(-1),eve.on("snap.util.getattr.#text",(function(){return this.node.textContent}))(-1),eve.on("snap.util.getattr.fill",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.fill",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.stroke",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.stroke",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.viewBox",(function(){eve.stop();var e=d(this.node,"viewBox");return e?(e=e.split(p),t._.box(+e[0],+e[1],+e[2],+e[3])):void 0}))(-1),eve.on("snap.util.getattr.points",(function(){var t=d(this.node,"points");return eve.stop(),t?t.split(p):void 0}))(-1),eve.on("snap.util.getattr.path",(function(){var t=d(this.node,"d");return eve.stop(),t}))(-1),eve.on("snap.util.getattr.class",(function(){return this.node.className.baseVal}))(-1),eve.on("snap.util.getattr.fontSize",y)(-1),eve.on("snap.util.getattr.font-size",y)(-1)})),r.plugin((function(t,e,n,i,r){var o=/\S+/g,s=String,a=e.prototype;a.addClass=function(t){var e,n,i,r=s(t||"").match(o)||[],a=this.node,l=a.className.baseVal,c=l.match(o)||[];if(r.length){for(e=0;n=r[e++];)~c.indexOf(n)||c.push(n);l!=(i=c.join(" "))&&(a.className.baseVal=i)}return this},a.removeClass=function(t){var e,n,i,r,a=s(t||"").match(o)||[],l=this.node,c=l.className.baseVal,u=c.match(o)||[];if(u.length){for(e=0;i=a[e++];)~(n=u.indexOf(i))&&u.splice(n,1);c!=(r=u.join(" "))&&(l.className.baseVal=r)}return this},a.hasClass=function(t){return!!~(this.node.className.baseVal.match(o)||[]).indexOf(t)},a.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,i,r,s,a=(t||"").match(o)||[],l=this.node,c=l.className.baseVal,u=c.match(o)||[];for(n=0;r=a[n++];)~(i=u.indexOf(r))?u.splice(i,1):u.push(r);return c!=(s=u.join(" "))&&(l.className.baseVal=s),this}})),r.plugin((function(t,e,n,i,r){var o={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},s=String,a=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;function c(t){return t}function u(t){return function(e){return+e.toFixed(3)+t}}eve.on("snap.util.attr",(function(t){var e=s(t).match(l);if(e){var n=eve.nt(),i=n.substring(n.lastIndexOf(".")+1),r=this.attr(i),c={};eve.stop();var u=e[3]||"",d=r.match(a),h=o[e[1]];if(d&&d==u?t=h(parseFloat(r),+e[2]):(r=this.asPX(i),t=h(this.asPX(i),this.asPX(i,e[2]+u))),isNaN(r)||isNaN(t))return;c[i]=t,this.attr(c)}}))(-10),eve.on("snap.util.equal",(function(t,e){var n=s(this.attr(t)||""),i=s(e).match(l);if(i){eve.stop();var r=i[3]||"",d=n.match(a),h=o[i[1]];return d&&d==r?{from:parseFloat(n),to:h(parseFloat(n),+i[2]),f:u(d)}:{from:n=this.asPX(t),to:h(n,this.asPX(t,i[2]+r)),f:c}}}))(-10)})),r.plugin((function(t,e,n,i,r){var o=n.prototype,s=t.is;o.rect=function(t,e,n,i,r,o){var a;return null==o&&(o=r),s(t,"object")&&"[object Object]"==t?a=t:null!=t&&(a={x:t,y:e,width:n,height:i},null!=r&&(a.rx=r,a.ry=o)),this.el("rect",a)},o.circle=function(t,e,n){var i;return s(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,r:n}),this.el("circle",i)};var a=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=i.doc.createElement("img"),o=i.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,o.removeChild(r)},r.onerror=t,o.appendChild(r),r.src=e}}();o.image=function(e,n,i,r,o){var l=this.el("image");if(s(e,"object")&&"src"in e)l.attr(e);else if(null!=e){var c={"xlink:href":e,preserveAspectRatio:"none"};null!=n&&null!=i&&(c.x=n,c.y=i),null!=r&&null!=o?(c.width=r,c.height=o):a(e,(function(){t._.$(l.node,{width:this.offsetWidth,height:this.offsetHeight})})),t._.$(l.node,c)}return l},o.ellipse=function(t,e,n,i){var r;return s(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,rx:n,ry:i}),this.el("ellipse",r)},o.path=function(t){var e;return s(t,"object")&&!s(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},o.group=o.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.svg=function(t,e,n,i,r,o,a,l){var c={};return s(t,"object")&&null==e?c=t:(null!=t&&(c.x=t),null!=e&&(c.y=e),null!=n&&(c.width=n),null!=i&&(c.height=i),null!=r&&null!=o&&null!=a&&null!=l&&(c.viewBox=[r,o,a,l])),this.el("svg",c)},o.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.ptrn=function(t,e,n,i,r,o,a,l){if(s(t,"object"))var c=t;else c={patternUnits:"userSpaceOnUse"},t&&(c.x=t),e&&(c.y=e),null!=n&&(c.width=n),null!=i&&(c.height=i),c.viewBox=null!=r&&null!=o&&null!=a&&null!=l?[r,o,a,l]:[t||0,e||0,n||0,i||0];return this.el("pattern",c)},o.use=function(n){return null!=n?(n instanceof e&&(n.attr("id")||n.attr({id:t._.id(n)}),n=n.attr("id")),"#"==String(n).charAt()&&(n=n.substring(1)),this.el("use",{"xlink:href":"#"+n})):e.prototype.use.call(this)},o.symbol=function(t,e,n,i){var r={};return null!=t&&null!=e&&null!=n&&null!=i&&(r.viewBox=[t,e,n,i]),this.el("symbol",r)},o.text=function(t,e,n){var i={};return s(t,"object")?i=t:null!=t&&(i={x:t,y:e,text:n||""}),this.el("text",i)},o.line=function(t,e,n,i){var r={};return s(t,"object")?r=t:null!=t&&(r={x1:t,x2:n,y1:e,y2:i}),this.el("line",r)},o.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return s(t,"object")&&!s(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},o.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return s(t,"object")&&!s(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){var e=t._.$;function n(){return this.selectAll("stop")}function i(n,i){var r=e("stop"),o={offset:+i+"%"};n=t.color(n),o["stop-color"]=n.hex,n.opacity<1&&(o["stop-opacity"]=n.opacity),e(r,o);for(var s,a=this.stops(),l=0;l<a.length;l++){if(parseFloat(a[l].attr("offset"))>i){this.node.insertBefore(r,a[l].node),s=!0;break}}return s||this.node.appendChild(r),this}function r(){if("linearGradient"==this.type){var n=e(this.node,"x1")||0,i=e(this.node,"x2")||1,r=e(this.node,"y1")||0,o=e(this.node,"y2")||0;return t._.box(n,r,math.abs(i-n),math.abs(o-r))}var s=this.node.cx||.5,a=this.node.cy||.5,l=this.node.r||0;return t._.box(s-l,a-l,2*l,2*l)}function s(e){var n=e,i=this.stops();if("string"==typeof e&&(n=eve("snap.util.grad.parse",null,"l(0,0,0,1)"+e).firstDefined().stops),t.is(n,"array")){for(var r=0;r<i.length;r++)if(n[r]){var o=t.color(n[r].color),s={offset:n[r].offset+"%"};s["stop-color"]=o.hex,o.opacity<1&&(s["stop-opacity"]=o.opacity),i[r].attr(s)}else i[r].remove();for(r=i.length;r<n.length;r++)this.addStop(n[r].color,n[r].offset);return this}}function a(o,a,l,c,u){var d=t._.make("linearGradient",o);return d.stops=n,d.addStop=i,d.getBBox=r,d.setStops=s,null!=a&&e(d.node,{x1:a,y1:l,x2:c,y2:u}),d}function l(o,s,a,l,c,u){var d=t._.make("radialGradient",o);return d.stops=n,d.addStop=i,d.getBBox=r,null!=s&&e(d.node,{cx:s,cy:a,r:l}),null!=c&&null!=u&&e(d.node,{fx:c,fy:u}),d}o.gradient=function(t){return function(t,n){var i,r=eve("snap.util.grad.parse",null,n).firstDefined();if(!r)return null;r.params.unshift(t),i="l"==r.type.toLowerCase()?a.apply(0,r.params):l.apply(0,r.params),r.type!=r.type.toLowerCase()&&e(i.node,{gradientUnits:"userSpaceOnUse"});for(var o=r.stops,s=o.length,c=0;c<s;c++){var u=o[c];i.addStop(u.color,u.offset)}return i}(this.defs,t)},o.gradientLinear=function(t,e,n,i){return a(this.defs,t,e,n,i)},o.gradientRadial=function(t,e,n,i,r){return l(this.defs,t,e,n,i,r)},o.toString=function(){var e,n=this.node.ownerDocument,i=n.createDocumentFragment(),r=n.createElement("div"),o=this.node.cloneNode(!0);return i.appendChild(r),r.appendChild(o),t._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),e=r.innerHTML,i.removeChild(i.firstChild),e},o.toDataURL=function(){if(window&&window.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},o.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):o.clear.call({node:e}),e=t}}()})),r.plugin((function(t,e,n,i){var r=e.prototype,o=t.is,s=t._.clone,a=/,?([a-z]),?/gi,l=parseFloat,c=Math,u=c.PI,d=c.min,h=c.max,f=c.pow,p=c.abs;function g(t){var e=g.ps=g.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout((function(){for(var n in e)e.hasOwnProperty(n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])})),e[t]}function m(t,e,n,i){return null==t&&(t=e=n=i=0),null==e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:i,h:i,x2:t+n,y2:e+i,cx:t+n/2,cy:e+i/2,r1:c.min(n,i)/2,r2:c.max(n,i)/2,r0:c.sqrt(n*n+i*i)/2,path:j(t,e,n,i),vb:[t,e,n,i].join(" ")}}function v(){return this.join(",").replace(a,"$1")}function y(t){var e=s(t);return e.toString=v,e}function b(t,e,n,i,r,o,s,a,l){return null==l?L(t,e,n,i,r,o,s,a):S(t,e,n,i,r,o,s,a,function(t,e,n,i,r,o,s,a,l){if(l<0||L(t,e,n,i,r,o,s,a)<l)return;var c,u=.5,d=1-u;c=L(t,e,n,i,r,o,s,a,d);for(;p(c-l)>.01;)c=L(t,e,n,i,r,o,s,a,d+=(c<l?1:-1)*(u/=2));return d}(t,e,n,i,r,o,s,a,l))}function w(n,i){function r(t){return+(+t).toFixed(3)}return t._.cacher((function(t,o,s){t instanceof e&&(t=t.attr("d"));for(var a,l,c,u,d,h="",f={},p=0,g=0,m=(t=W(t)).length;g<m;g++){if("M"==(c=t[g])[0])a=+c[1],l=+c[2];else{if(p+(u=b(a,l,c[1],c[2],c[3],c[4],c[5],c[6]))>o){if(i&&!f.start){if(h+=["C"+r((d=b(a,l,c[1],c[2],c[3],c[4],c[5],c[6],o-p)).start.x),r(d.start.y),r(d.m.x),r(d.m.y),r(d.x),r(d.y)],s)return h;f.start=h,h=["M"+r(d.x),r(d.y)+"C"+r(d.n.x),r(d.n.y),r(d.end.x),r(d.end.y),r(c[5]),r(c[6])].join(),p+=u,a=+c[5],l=+c[6];continue}if(!n&&!i)return d=b(a,l,c[1],c[2],c[3],c[4],c[5],c[6],o-p)}p+=u,a=+c[5],l=+c[6]}h+=c.shift()+c}return f.end=h,d=n?p:i?f:S(a,l,c[0],c[1],c[2],c[3],c[4],c[5],1)}),null,t._.clone)}var x=w(1),_=w(),E=w(0,1);function S(t,e,n,i,r,o,s,a,l){var d=1-l,h=f(d,3),p=f(d,2),g=l*l,m=g*l,v=t+2*l*(n-t)+g*(r-2*n+t),y=e+2*l*(i-e)+g*(o-2*i+e),b=n+2*l*(r-n)+g*(s-2*r+n),w=i+2*l*(o-i)+g*(a-2*o+i);return{x:h*t+3*p*l*n+3*d*l*l*r+m*s,y:h*e+3*p*l*i+3*d*l*l*o+m*a,m:{x:v,y:y},n:{x:b,y:w},start:{x:d*t+l*n,y:d*e+l*i},end:{x:d*r+l*s,y:d*o+l*a},alpha:90-180*c.atan2(v-b,y-w)/u}}function C(e,n,i,r,o,s,a,l){t.is(e,"array")||(e=[e,n,i,r,o,s,a,l]);var c=R.apply(null,e);return m(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function T(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function k(t,e){return t=m(t),T(e=m(e),t.x,t.y)||T(e,t.x2,t.y)||T(e,t.x,t.y2)||T(e,t.x2,t.y2)||T(t,e.x,e.y)||T(t,e.x2,e.y)||T(t,e.x,e.y2)||T(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function A(t,e,n,i,r){return t*(t*(-3*e+9*n-9*i+3*r)+6*e-12*n+6*i)-3*e+3*n}function L(t,e,n,i,r,o,s,a,l){null==l&&(l=1);for(var u=(l=l>1?1:l<0?0:l)/2,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,p=0;p<12;p++){var g=u*d[p]+u,m=A(g,t,n,r,s),v=A(g,e,i,o,a),y=m*m+v*v;f+=h[p]*c.sqrt(y)}return u*f}function D(t,e,n,i,r,o,s,a){if(!(h(t,n)<d(r,s)||d(t,n)>h(r,s)||h(e,i)<d(o,a)||d(e,i)>h(o,a))){var l=(t-n)*(o-a)-(e-i)*(r-s);if(l){var c=((t*i-e*n)*(r-s)-(t-n)*(r*a-o*s))/l,u=((t*i-e*n)*(o-a)-(e-i)*(r*a-o*s))/l,f=+c.toFixed(2),p=+u.toFixed(2);if(!(f<+d(t,n).toFixed(2)||f>+h(t,n).toFixed(2)||f<+d(r,s).toFixed(2)||f>+h(r,s).toFixed(2)||p<+d(e,i).toFixed(2)||p>+h(e,i).toFixed(2)||p<+d(o,a).toFixed(2)||p>+h(o,a).toFixed(2)))return{x:c,y:u}}}}function O(t,e,n){if(!k(C(t),C(e)))return n?0:[];for(var i=~~(L.apply(0,t)/8),r=~~(L.apply(0,e)/8),o=[],s=[],a={},l=n?0:[],c=0;c<i+1;c++){var u=S.apply(0,t.concat(c/i));o.push({x:u.x,y:u.y,t:c/i})}for(c=0;c<r+1;c++)u=S.apply(0,e.concat(c/r)),s.push({x:u.x,y:u.y,t:c/r});for(c=0;c<i;c++)for(var d=0;d<r;d++){var h=o[c],f=o[c+1],g=s[d],m=s[d+1],v=p(f.x-h.x)<.001?"y":"x",y=p(m.x-g.x)<.001?"y":"x",b=D(h.x,h.y,f.x,f.y,g.x,g.y,m.x,m.y);if(b){if(a[b.x.toFixed(4)]==b.y.toFixed(4))continue;a[b.x.toFixed(4)]=b.y.toFixed(4);var w=h.t+p((b[v]-h[v])/(f[v]-h[v]))*(f.t-h.t),x=g.t+p((b[y]-g[y])/(m[y]-g[y]))*(m.t-g.t);w>=0&&w<=1&&x>=0&&x<=1&&(n?l++:l.push({x:b.x,y:b.y,t1:w,t2:x}))}}return l}function N(t,e,n){t=W(t),e=W(e);for(var i,r,o,s,a,l,c,u,d,h,f=n?0:[],p=0,g=t.length;p<g;p++){var m=t[p];if("M"==m[0])i=a=m[1],r=l=m[2];else{"C"==m[0]?(d=[i,r].concat(m.slice(1)),i=d[6],r=d[7]):(d=[i,r,i,r,a,l,a,l],i=a,r=l);for(var v=0,y=e.length;v<y;v++){var b=e[v];if("M"==b[0])o=c=b[1],s=u=b[2];else{"C"==b[0]?(h=[o,s].concat(b.slice(1)),o=h[6],s=h[7]):(h=[o,s,o,s,c,u,c,u],o=c,s=u);var w=O(d,h,n);if(n)f+=w;else{for(var x=0,_=w.length;x<_;x++)w[x].segment1=p,w[x].segment2=v,w[x].bez1=d,w[x].bez2=h;f=f.concat(w)}}}}}return f}function F(t){var e=g(t);if(e.bbox)return s(e.bbox);if(!t)return m();for(var n,i=0,r=0,o=[],a=[],l=0,c=(t=W(t)).length;l<c;l++)if("M"==(n=t[l])[0])i=n[1],r=n[2],o.push(i),a.push(r);else{var u=R(i,r,n[1],n[2],n[3],n[4],n[5],n[6]);o=o.concat(u.min.x,u.max.x),a=a.concat(u.min.y,u.max.y),i=n[5],r=n[6]}var f=d.apply(0,o),p=d.apply(0,a),v=m(f,p,h.apply(0,o)-f,h.apply(0,a)-p);return e.bbox=s(v),v}function j(t,e,n,i,r){if(r)return[["M",+t+ +r,e],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]];var o=[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]];return o.toString=v,o}function P(t,e,n,i,r){if(null==r&&null==i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!=r)var o=Math.PI/180,s=t+n*Math.cos(-i*o),a=t+n*Math.cos(-r*o),l=[["M",s,e+n*Math.sin(-i*o)],["A",n,n,0,+(r-i>180),0,a,e+n*Math.sin(-r*o)]];else l=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return l.toString=v,l}var I=t._unit2px,M={path:function(t){return t.attr("path")},circle:function(t){var e=I(t);return P(e.cx,e.cy,e.r)},ellipse:function(t){var e=I(t);return P(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=I(t);return j(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=I(t);return j(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return j(e.x,e.y,e.width,e.height)}};function B(e){var n=g(e);if(n.abs)return y(n.abs);if(o(e,"array")&&o(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var i,r=[],s=0,a=0,l=0,c=0,u=0;"M"==e[0][0]&&(l=s=+e[0][1],c=a=+e[0][2],u++,r[0]=["M",s,a]);for(var d,h,f=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),p=u,m=e.length;p<m;p++){if(r.push(d=[]),(i=(h=e[p])[0])!=i.toUpperCase())switch(d[0]=i.toUpperCase(),d[0]){case"A":d[1]=h[1],d[2]=h[2],d[3]=h[3],d[4]=h[4],d[5]=h[5],d[6]=+h[6]+s,d[7]=+h[7]+a;break;case"V":d[1]=+h[1]+a;break;case"H":d[1]=+h[1]+s;break;case"R":for(var b=[s,a].concat(h.slice(1)),w=2,x=b.length;w<x;w++)b[w]=+b[w]+s,b[++w]=+b[w]+a;r.pop(),r=r.concat(V(b,f));break;case"O":r.pop(),(b=P(s,a,h[1],h[2])).push(b[0]),r=r.concat(b);break;case"U":r.pop(),r=r.concat(P(s,a,h[1],h[2],h[3])),d=["U"].concat(r[r.length-1].slice(-2));break;case"M":l=+h[1]+s,c=+h[2]+a;default:for(w=1,x=h.length;w<x;w++)d[w]=+h[w]+(w%2?s:a)}else if("R"==i)b=[s,a].concat(h.slice(1)),r.pop(),r=r.concat(V(b,f)),d=["R"].concat(h.slice(-2));else if("O"==i)r.pop(),(b=P(s,a,h[1],h[2])).push(b[0]),r=r.concat(b);else if("U"==i)r.pop(),r=r.concat(P(s,a,h[1],h[2],h[3])),d=["U"].concat(r[r.length-1].slice(-2));else for(var _=0,E=h.length;_<E;_++)d[_]=h[_];if("O"!=(i=i.toUpperCase()))switch(d[0]){case"Z":s=+l,a=+c;break;case"H":s=d[1];break;case"V":a=d[1];break;case"M":l=d[d.length-2],c=d[d.length-1];default:s=d[d.length-2],a=d[d.length-1]}}return r.toString=v,n.abs=y(r),r}function q(t,e,n,i){return[t,e,n,i,n,i]}function H(t,e,n,i,r,o){return[1/3*t+2/3*n,1/3*e+2/3*i,1/3*r+2/3*n,1/3*o+2/3*i,r,o]}function z(e,n,i,r,o,s,a,l,d,h){var f,g=120*u/180,m=u/180*(+o||0),v=[],y=t._.cacher((function(t,e,n){return{x:t*c.cos(n)-e*c.sin(n),y:t*c.sin(n)+e*c.cos(n)}}));if(!i||!r)return[e,n,l,d,l,d];if(h)k=h[0],A=h[1],C=h[2],T=h[3];else{e=(f=y(e,n,-m)).x,n=f.y,l=(f=y(l,d,-m)).x,d=f.y;c.cos(u/180*o),c.sin(u/180*o);var b=(e-l)/2,w=(n-d)/2,x=b*b/(i*i)+w*w/(r*r);x>1&&(i*=x=c.sqrt(x),r*=x);var _=i*i,E=r*r,S=(s==a?-1:1)*c.sqrt(p((_*E-_*w*w-E*b*b)/(_*w*w+E*b*b))),C=S*i*w/r+(e+l)/2,T=S*-r*b/i+(n+d)/2,k=c.asin(((n-T)/r).toFixed(9)),A=c.asin(((d-T)/r).toFixed(9));(k=e<C?u-k:k)<0&&(k=2*u+k),(A=l<C?u-A:A)<0&&(A=2*u+A),a&&k>A&&(k-=2*u),!a&&A>k&&(A-=2*u)}var L=A-k;if(p(L)>g){var D=A,O=l,N=d;A=k+g*(a&&A>k?1:-1),v=z(l=C+i*c.cos(A),d=T+r*c.sin(A),i,r,o,0,a,O,N,[A,D,C,T])}L=A-k;var F=c.cos(k),j=c.sin(k),P=c.cos(A),I=c.sin(A),M=c.tan(L/4),B=4/3*i*M,q=4/3*r*M,H=[e,n],R=[e+B*j,n-q*F],W=[l+B*I,d-q*P],V=[l,d];if(R[0]=2*H[0]-R[0],R[1]=2*H[1]-R[1],h)return[R,W,V].concat(v);for(var X=[],Y=0,$=(v=[R,W,V].concat(v).join().split(",")).length;Y<$;Y++)X[Y]=Y%2?y(v[Y-1],v[Y],m).y:y(v[Y],v[Y+1],m).x;return X}function R(t,e,n,i,r,o,s,a){for(var l,u,f,g,m,v,y,b,w=[],x=[[],[]],_=0;_<2;++_)if(0==_?(u=6*t-12*n+6*r,l=-3*t+9*n-9*r+3*s,f=3*n-3*t):(u=6*e-12*i+6*o,l=-3*e+9*i-9*o+3*a,f=3*i-3*e),p(l)<1e-12){if(p(u)<1e-12)continue;0<(g=-f/u)&&g<1&&w.push(g)}else y=u*u-4*f*l,b=c.sqrt(y),y<0||(0<(m=(-u+b)/(2*l))&&m<1&&w.push(m),0<(v=(-u-b)/(2*l))&&v<1&&w.push(v));for(var E,S=w.length,C=S;S--;)E=1-(g=w[S]),x[0][S]=E*E*E*t+3*E*E*g*n+3*E*g*g*r+g*g*g*s,x[1][S]=E*E*E*e+3*E*E*g*i+3*E*g*g*o+g*g*g*a;return x[0][C]=t,x[1][C]=e,x[0][C+1]=s,x[1][C+1]=a,x[0].length=x[1].length=C+2,{min:{x:d.apply(0,x[0]),y:d.apply(0,x[1])},max:{x:h.apply(0,x[0]),y:h.apply(0,x[1])}}}function W(t,e){var n=!e&&g(t);if(!e&&n.curve)return y(n.curve);for(var i=B(t),r=e&&B(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a=function(t,e,n){var i,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(z.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*e.x-e.bx,r=2*e.y-e.by):(i=e.x,r=e.y),t=["C",i,r].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(H(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(H(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(q(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(q(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(q(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(q(e.x,e.y,e.X,e.Y))}return t},c=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)d[e]="A",r&&(f[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),b=h(i.length,r&&r.length||0)}},u=function(t,e,n,o,s){t&&e&&"M"==t[s][0]&&"M"!=e[s][0]&&(e.splice(s,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=t[s][1],n.y=t[s][2],b=h(i.length,r&&r.length||0))},d=[],f=[],p="",m="",v=0,b=h(i.length,r&&r.length||0);v<b;v++){i[v]&&(p=i[v][0]),"C"!=p&&(d[v]=p,v&&(m=d[v-1])),i[v]=a(i[v],o,m),"A"!=d[v]&&"C"==p&&(d[v]="C"),c(i,v),r&&(r[v]&&(p=r[v][0]),"C"!=p&&(f[v]=p,v&&(m=f[v-1])),r[v]=a(r[v],s,m),"A"!=f[v]&&"C"==p&&(f[v]="C"),c(r,v)),u(i,r,o,s,v),u(r,i,s,o,v);var w=i[v],x=r&&r[v],_=w.length,E=r&&x.length;o.x=w[_-2],o.y=w[_-1],o.bx=l(w[_-4])||o.x,o.by=l(w[_-3])||o.y,s.bx=r&&(l(x[E-4])||s.x),s.by=r&&(l(x[E-3])||s.y),s.x=r&&x[E-2],s.y=r&&x[E-1]}return r||(n.curve=y(i)),r?[i,r]:i}function V(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?o[3]={x:+t[0],y:+t[1]}:r-2==i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}t.path=g,t.path.getTotalLength=x,t.path.getPointAtLength=_,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return E(t,e).end;var i=E(t,n,1);return e?E(i,e).end:i},r.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},r.getPointAtLength=function(t){return _(this.attr("d"),t)},r.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=m,t.path.findDotsAtSegment=S,t.path.bezierBBox=C,t.path.isPointInsideBBox=T,t.closest=function(e,n,i,r){for(var o=100,s=m(e-o/2,n-o/2,o,o),a=[],l=i[0].hasOwnProperty("x")?function(t){return{x:i[t].x,y:i[t].y}}:function(t){return{x:i[t],y:r[t]}},c=0;o<=1e6&&!c;){for(var u=0,d=i.length;u<d;u++){var h=l(u);if(T(s,h.x,h.y)){c++,a.push(h);break}}c||(s=m(e-(o*=2)/2,n-o/2,o,o))}if(1e6!=o){var f,p=1/0;for(u=0,d=a.length;u<d;u++){var g=t.len(e,n,a[u].x,a[u].y);p>g&&(p=g,a[u].len=g,f=a[u])}return f}},t.path.isBBoxIntersect=k,t.path.intersection=function(t,e){return N(t,e)},t.path.intersectionNumber=function(t,e){return N(t,e,1)},t.path.isPointInside=function(t,e,n){var i=F(t);return T(i,e,n)&&N(t,[["M",e,n],["H",i.x2+10]],1)%2==1},t.path.getBBox=F,t.path.get=M,t.path.toRelative=function(e){var n=g(e),i=String.prototype.toLowerCase;if(n.rel)return y(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var r=[],o=0,s=0,a=0,l=0,c=0;"M"==e[0][0]&&(a=o=e[0][1],l=s=e[0][2],c++,r.push(["M",o,s]));for(var u=c,d=e.length;u<d;u++){var h=r[u]=[],f=e[u];if(f[0]!=i.call(f[0]))switch(h[0]=i.call(f[0]),h[0]){case"a":h[1]=f[1],h[2]=f[2],h[3]=f[3],h[4]=f[4],h[5]=f[5],h[6]=+(f[6]-o).toFixed(3),h[7]=+(f[7]-s).toFixed(3);break;case"v":h[1]=+(f[1]-s).toFixed(3);break;case"m":a=f[1],l=f[2];default:for(var p=1,m=f.length;p<m;p++)h[p]=+(f[p]-(p%2?o:s)).toFixed(3)}else{h=r[u]=[],"m"==f[0]&&(a=f[1]+o,l=f[2]+s);for(var b=0,w=f.length;b<w;b++)r[u][b]=f[b]}var x=r[u].length;switch(r[u][0]){case"z":o=a,s=l;break;case"h":o+=+r[u][x-1];break;case"v":s+=+r[u][x-1];break;default:o+=+r[u][x-2],s+=+r[u][x-1]}}return r.toString=v,n.rel=y(r),r},t.path.toAbsolute=B,t.path.toCubic=W,t.path.map=function(t,e){if(!e)return t;var n,i,r,o,s,a,l;for(r=0,s=(t=W(t)).length;r<s;r++)for(o=1,a=(l=t[r]).length;o<a;o+=2)n=e.x(l[o],l[o+1]),i=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=i;return t},t.path.toString=v,t.path.clone=y})),r.plugin((function(t,e,n,r){var o=Math.max,s=Math.min,a=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},l=a.prototype;l.push=function(){for(var t,e,n=0,i=arguments.length;n<i;n++)(t=arguments[n])&&(this[e=this.items.length]=this.items[e]=t,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(t,e){for(var n=0,i=this.items.length;n<i;n++)if(!1===t.call(e,this.items[n],n))return this;return this},l.animate=function(e,n,r,o){"function"!=typeof r||r.length||(o=r,r=i.linear),e instanceof t._.Animation&&(o=e.callback,r=e.easing,n=r.dur,e=e.attr);var s=arguments;if(t.is(e,"array")&&t.is(s[s.length-1],"array"))var a=!0;var l,c=function(){l?this.b=l:l=this.b},u=0,d=this,h=o&&function(){++u==d.length&&o.call(this)};return this.forEach((function(t,i){eve.once("snap.animcreated."+t.id,c),a?s[i]&&t.animate.apply(t,s[i]):t.animate(e,n,r,h)}))},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(t,e,n){var i={};if("function"==typeof e)this.bindings[t]=e;else{var r=n||t;this.bindings[t]=function(t){i[r]=t,e.attr(i)}}return this},l.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var i=0,r=this.items.length;i<r;i++)this.items[i].attr(e);return this},l.clear=function(){for(;this.length;)this.pop()},l.splice=function(t,e,n){t=t<0?o(this.length+t,0):t,e=o(0,s(this.length-t,e));var i,r=[],l=[],c=[];for(i=2;i<arguments.length;i++)c.push(arguments[i]);for(i=0;i<e;i++)l.push(this[t+i]);for(;i<this.length-t;i++)r.push(this[t+i]);var u=c.length;for(i=0;i<u+r.length;i++)this.items[t+i]=this[t+i]=i<u?c[i]:r[i-u];for(i=this.items.length=this.length-=e-u;this[i];)delete this[i++];return new a(l)},l.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},l.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},l.getBBox=function(){for(var t=[],e=[],n=[],i=[],r=this.items.length;r--;)if(!this.items[r].removed){var a=this.items[r].getBBox();t.push(a.x),e.push(a.y),n.push(a.x+a.width),i.push(a.y+a.height)}return{x:t=s.apply(0,t),y:e=s.apply(0,e),x2:n=o.apply(0,n),y2:i=o.apply(0,i),width:n-t,height:i-e,cx:t+(n-t)/2,cy:e+(i-e)/2}},l.clone=function(t){t=new a;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},l.toString=function(){return"Snap‘s set"},l.type="set",t.Set=a,t.set=function(){var t=new a;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}})),r.plugin((function(t,e,n,i){var r={},o=/[%a-z]+$/i,s=String;function a(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function l(t){return t}function c(t){return t.join(" ")}function u(e){return t.rgb(e[0],e[1],e[2],e[3])}function d(t){var e,n,i,r,o,s,a=0,l=[];for(e=0,n=t.length;e<n;e++){for(o="[",s=['"'+t[e][0]+'"'],i=1,r=t[e].length;i<r;i++)s[i]="val["+a+++"]";o+=s+"]",l[e]=o}return Function("val","return Snap.path.toString.call(["+l+"])")}function h(t){for(var e=[],n=0,i=t.length;n<i;n++)for(var r=1,o=t[n].length;r<o;r++)e.push(t[n][r]);return e}function f(t){return isFinite(t)}r.stroke=r.fill="colour",e.prototype.equal=function(t,e){return eve("snap.util.equal",this,t,e).firstDefined()},eve.on("snap.util.equal",(function(e,n){var i,p,g=s(this.attr(e)||""),m=this;if("colour"==r[e])return i=t.color(g),p=t.color(n),{from:[i.r,i.g,i.b,i.opacity],to:[p.r,p.g,p.b,p.opacity],f:u};if("viewBox"==e)return{from:i=this.attr(e).vb.split(" ").map(Number),to:p=n.split(" ").map(Number),f:c};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return"string"==typeof n&&(n=s(n).replace(/\.{3}|\u2026/g,g)),function(e,n,i){e=e||new t.Matrix,n=n||new t.Matrix,e=t.parseTransformString(e.toTransformString())||[],n=t.parseTransformString(n.toTransformString())||[];for(var r,o,s,l,c=Math.max(e.length,n.length),u=[],f=[],p=0;p<c;p++){if(s=e[p]||a(n[p]),l=n[p]||a(s),s[0]!=l[0]||"r"==s[0].toLowerCase()&&(s[2]!=l[2]||s[3]!=l[3])||"s"==s[0].toLowerCase()&&(s[3]!=l[3]||s[4]!=l[4])){e=t._.transform2matrix(e,i()),n=t._.transform2matrix(n,i()),u=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],f=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(u[p]=[],f[p]=[],r=0,o=Math.max(s.length,l.length);r<o;r++)r in s&&(u[p][r]=s[r]),r in l&&(f[p][r]=l[r])}return{from:h(u),to:h(f),f:d(u)}}(g=this.matrix,n=t._.rgTransform.test(n)?t._.transform2matrix(n,this.getBBox()):t._.transform2matrix(t._.svgTransform2string(n),this.getBBox()),(function(){return m.getBBox(1)}));if("d"==e||"path"==e)return{from:h((i=t.path.toCubic(g,n))[0]),to:h(i[1]),f:d(i[0])};if("points"==e)return{from:i=s(g).split(t._.separator),to:p=s(n).split(t._.separator),f:function(t){return t}};if(f(g)&&f(n))return{from:parseFloat(g),to:parseFloat(n),f:l};var v,y,b,w=g.match(o),x=s(n).match(o);return w&&(y=w,b=x,t.is(y,"array")&&t.is(b,"array")&&y.toString()==b.toString())?{from:parseFloat(g),to:parseFloat(n),f:(v=w,function(t){return+t.toFixed(3)+v})}:{from:this.asPX(e),to:this.asPX(e,n),f:l}}))})),r.plugin((function(t,e,n,i){for(var r=e.prototype,o=("createTouch"in i.doc),s=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],a={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},l=function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]},c=function(){return this.originalEvent.preventDefault()},u=function(){return this.originalEvent.stopPropagation()},d=function(t,e,n,i){var r=o&&a[e]?a[e]:e,s=function(r){var s=l("y",i),d=l("x",i);if(o&&a.hasOwnProperty(e))for(var h=0,f=r.targetTouches&&r.targetTouches.length;h<f;h++)if(r.targetTouches[h].target==t||t.contains(r.targetTouches[h].target)){var p=r;(r=r.targetTouches[h]).originalEvent=p,r.preventDefault=c,r.stopPropagation=u;break}var g=r.clientX+d,m=r.clientY+s;return n.call(i,r,g,m)};return e!==r&&t.addEventListener(e,s,!1),t.addEventListener(r,s,!1),function(){return e!==r&&t.removeEventListener(e,s,!1),t.removeEventListener(r,s,!1),!0}},h=[],f=function(t){for(var e,n=t.clientX,i=t.clientY,r=l("y"),s=l("x"),a=h.length;a--;){if(e=h[a],o){for(var c,u=t.touches&&t.touches.length;u--;)if((c=t.touches[u]).identifier==e.el._drag.id||e.el.node.contains(c.target)){n=c.clientX,i=c.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var d=e.el.node;d.nextSibling,d.parentNode,d.style.display;n+=s,i+=r,eve("snap.drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,i-e.el._drag.y,n,i,t)}},p=function(e){t.unmousemove(f).unmouseup(p);for(var n,i=h.length;i--;)(n=h[i]).el._drag={},eve("snap.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,e),eve.off("snap.drag.*."+n.el.id);h=[]},g=s.length;g--;)!function(e){t[e]=r[e]=function(n,i){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:d(this.node||document,e,n,i||this)});else for(var r=0,o=this.events.length;r<o;r++)if(this.events[r].name==e)try{this.events[r].f.call(this)}catch(t){}return this},t["un"+e]=r["un"+e]=function(t){for(var n=this.events||[],i=n.length;i--;)if(n[i].name==e&&(n[i].f==t||!t))return n[i].unbind(),n.splice(i,1),!n.length&&delete this.events,this;return this}}(s[g]);r.hover=function(t,e,n,i){return this.mouseover(t,n).mouseout(e,i||n)},r.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var m=[];r.drag=function(e,n,i,r,o,s){var a,l=this;if(!arguments.length)return l.drag((function(t,e){this.attr({transform:a+(a?"T":"t")+[t,e]})}),(function(){a=this.transform().local}));function c(a,c,u){(a.originalEvent||a).preventDefault(),l._drag.x=c,l._drag.y=u,l._drag.id=a.identifier,!h.length&&t.mousemove(f).mouseup(p),h.push({el:l,move_scope:r,start_scope:o,end_scope:s}),n&&eve.on("snap.drag.start."+l.id,n),e&&eve.on("snap.drag.move."+l.id,e),i&&eve.on("snap.drag.end."+l.id,i),eve("snap.drag.start."+l.id,o||r||l,c,u,a)}function u(t,e,n){eve("snap.draginit."+l.id,l,t,e,n)}return eve.on("snap.draginit."+l.id,c),l._drag={},m.push({el:l,start:c,init:u}),l.mousedown(u),l},r.undrag=function(){for(var e=m.length;e--;)m[e].el==this&&(this.unmousedown(m[e].init),m.splice(e,1),eve.unbind("snap.drag.*."+this.id),eve.unbind("snap.draginit."+this.id));return!m.length&&t.unmousemove(f).unmouseup(p),this}})),r.plugin((function(t,e,n,i){e.prototype;var r=n.prototype,o=/^\s*url\((.+)\)/,s=String,a=t._.$;t.filter={},r.filter=function(n){var i=this;"svg"!=i.type&&(i=i.paper);var r=t.parse(s(n)),o=t._.id(),l=(i.node.offsetWidth,i.node.offsetHeight,a("filter"));return a(l,{id:o,filterUnits:"userSpaceOnUse"}),l.appendChild(r.node),i.defs.appendChild(l),new e(l)},eve.on("snap.util.getattr.filter",(function(){eve.stop();var e=a(this.node,"filter");if(e){var n=s(e).match(o);return n&&t.select(n[1])}})),eve.on("snap.util.attr.filter",(function(n){if(n instanceof e&&"filter"==n.type){eve.stop();var i=n.node.id;i||(a(n.node,{id:n.id}),i=n.id),a(this.node,{filter:t.url(i)})}n&&"none"!=n||(eve.stop(),this.node.removeAttribute("filter"))})),t.filter.blur=function(e,n){null==e&&(e=2);var i=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:i})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,i,r,o){return null==o&&(null==r?(o=i,i=4,r="#000"):(o=r,r=i,i=4)),null==i&&(i=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),r=t.color(r),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:e,dy:n,blur:i,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}})),r.plugin((function(t,e,n,i,r){var o=t._.box,s=t.is,a=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&s(t,"string")&&(e=t,t=null);var n=(t=t||this.paper).getBBox?t.getBBox():o(t),i=this.getBBox(),r={};switch(e=(e=e&&e.match(a))?e[1].toLowerCase():"c"){case"t":r.dx=0,r.dy=n.y-i.y;break;case"b":r.dx=0,r.dy=n.y2-i.y2;break;case"m":r.dx=0,r.dy=n.cy-i.cy;break;case"l":r.dx=n.x-i.x,r.dy=0;break;case"r":r.dx=n.x2-i.x2,r.dy=0;break;default:r.dx=n.cx-i.cx,r.dy=0}return r.toString=l,r},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}})),r.plugin((function(t,e,n,r,o){var s=e.prototype,a=t.is,l=String,c="hasOwnProperty";function u(t,e,n){return function(i){var r=i.slice(t,e);return 1==r.length&&(r=r[0]),n?n(r):r}}var d=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),this.attr=t,this.dur=e,n&&(this.easing=n),r&&(this.callback=r)};t._.Animation=d,t.animation=function(t,e,n,i){return new d(t,e,n,i)},s.inAnim=function(){var t=[];for(var e in this.anims)this.anims[c](e)&&function(e){t.push({anim:new d(e._attrs,e.dur,e.easing,e._callback),mina:e,curStatus:e.status(),status:function(t){return e.status(t)},stop:function(){e.stop()}})}(this.anims[e]);return t},t.animate=function(t,e,n,r,o,s){"function"!=typeof o||o.length||(s=o,o=i.linear);var a=i.time(),l=i(t,e,a,a+r,i.time,n,o);return s&&eve.once("mina.finish."+l.id,s),l},s.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},s.animate=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),t instanceof d&&(r=t.callback,n=t.easing,e=t.dur,t=t.attr);var o,s,h,f,p=[],g=[],m={},v=this;for(var y in t)if(t[c](y)){v.equal?(o=(f=v.equal(y,l(t[y]))).from,s=f.to,h=f.f):(o=+v.attr(y),s=+t[y]);var b=a(o,"array")?o.length:1;m[y]=u(p.length,p.length+b,h),p=p.concat(o),g=g.concat(s)}var w=i.time(),x=i(p,g,w,w+e,i.time,(function(t){var e={};for(var n in m)m[c](n)&&(e[n]=m[n](t));v.attr(e)}),n);return v.anims[x.id]=x,x._attrs=t,x._callback=r,eve("snap.animcreated."+v.id,x),eve.once("mina.finish."+x.id,(function(){eve.off("mina.*."+x.id),delete v.anims[x.id],r&&r.call(v)})),eve.once("mina.stop."+x.id,(function(){eve.off("mina.*."+x.id),delete v.anims[x.id]})),v}})),r.plugin((function(t,e,n,i){function r(t){t=t.split(/(?=#)/);var e=new String(t[5]);return e[50]=t[0],e[100]=t[1],e[200]=t[2],e[300]=t[3],e[400]=t[4],e[500]=t[5],e[600]=t[6],e[700]=t[7],e[800]=t[8],e[900]=t[9],t[10]&&(e.A100=t[10],e.A200=t[11],e.A400=t[12],e.A700=t[13]),e}t.mui={},t.flat={},t.mui.red=r("#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000"),t.mui.pink=r("#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162"),t.mui.purple=r("#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF"),t.mui.deeppurple=r("#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA"),t.mui.indigo=r("#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE"),t.mui.blue=r("#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF"),t.mui.lightblue=r("#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA"),t.mui.cyan=r("#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4"),t.mui.teal=r("#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5"),t.mui.green=r("#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853"),t.mui.lightgreen=r("#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17"),t.mui.lime=r("#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00"),t.mui.yellow=r("#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600"),t.mui.amber=r("#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00"),t.mui.orange=r("#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00"),t.mui.deeporange=r("#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00"),t.mui.brown=r("#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723"),t.mui.grey=r("#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121"),t.mui.bluegrey=r("#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238"),t.flat.turquoise="#1abc9c",t.flat.greensea="#16a085",t.flat.sunflower="#f1c40f",t.flat.orange="#f39c12",t.flat.emerland="#2ecc71",t.flat.nephritis="#27ae60",t.flat.carrot="#e67e22",t.flat.pumpkin="#d35400",t.flat.peterriver="#3498db",t.flat.belizehole="#2980b9",t.flat.alizarin="#e74c3c",t.flat.pomegranate="#c0392b",t.flat.amethyst="#9b59b6",t.flat.wisteria="#8e44ad",t.flat.clouds="#ecf0f1",t.flat.silver="#bdc3c7",t.flat.wetasphalt="#34495e",t.flat.midnightblue="#2c3e50",t.flat.concrete="#95a5a6",t.flat.asbestos="#7f8c8d",t.importMUIColors=function(){for(var e in t.mui)t.mui.hasOwnProperty(e)&&(window[e]=t.mui[e])}})),t.exports=r},QqLw:function(t,e,n){var i=n("tadb"),r=n("ebwN"),o=n("HOxn"),s=n("yGk4"),a=n("Of+w"),l=n("NykK"),c=n("3Fdi"),u=c(i),d=c(r),h=c(o),f=c(s),p=c(a),g=l;(i&&"[object DataView]"!=g(new i(new ArrayBuffer(1)))||r&&"[object Map]"!=g(new r)||o&&"[object Promise]"!=g(o.resolve())||s&&"[object Set]"!=g(new s)||a&&"[object WeakMap]"!=g(new a))&&(g=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,i=n?c(n):"";if(i)switch(i){case u:return"[object DataView]";case d:return"[object Map]";case h:return"[object Promise]";case f:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=g},RkmP:function(t,e,n){(function(t,e,n){e.fn.load=function(e){t(window).on("load",e)},e.fn.extend({live:function(t,n){return this.selector&&e(document).on(t,this.selector,n),this}}),n.$=n.jQuery=t}).call(this,n("EVdn"),n("EVdn"),n("yLpj"))},V6Ve:function(t,e,n){var i=n("kekF")(Object.keys,Object);t.exports=i},WFqU:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0cm:function(t,e){var n=Array.isArray;t.exports=n},c6wG:function(t,e,n){var i=n("dD9F"),r=n("sEf8"),o=n("mdPL"),s=o&&o.isTypedArray,a=s?r(s):i;t.exports=a},dD9F:function(t,e,n){var i=n("NykK"),r=n("shjB"),o=n("ExA7"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&r(t.length)&&!!s[i(t)]}},e2AU:function(t,e,n){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}var r=Date.now();function o(){var t={},e=!0,n=0,i=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],n++);for(var r=function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e&&"[object Object]"===Object.prototype.toString.call(n[i])?t[i]=o(!0,t[i],n[i]):t[i]=n[i])};n<i;n++){var s=arguments[n];r(s)}return t}function s(t,e){if((C(t)||t===window||t===document)&&(t=[t]),k(t)||A(t)||(t=[t]),0!=O(t))if(k(t)&&!A(t))for(var n=t.length,i=0;i<n&&!1!==e.call(t[i],t[i],i,t);i++);else if(A(t))for(var r in t)if(D(t,r)&&!1===e.call(t[r],t[r],r,t))break}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=t[r]=t[r]||[],o={all:i,evt:null,found:null};return e&&n&&O(i)>0&&s(i,(function(t,i){if(t.eventName==e&&t.fn.toString()==n.toString())return o.found=!0,o.evt=i,!1})),o}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.onElement,i=e.withCallback,r=e.avoidDuplicate,o=void 0===r||r,l=e.once,c=void 0!==l&&l,u=e.useCapture,d=void 0!==u&&u,h=arguments.length>2?arguments[2]:void 0,f=n||[];function p(t){E(i)&&i.call(h,t,this),c&&p.destroy()}return S(f)&&(f=document.querySelectorAll(f)),p.destroy=function(){s(f,(function(e){var n=a(e,t,p);n.found&&n.all.splice(n.evt,1),e.removeEventListener&&e.removeEventListener(t,p,d)}))},s(f,(function(e){var n=a(e,t,p);(e.addEventListener&&o&&!n.found||!o)&&(e.addEventListener(t,p,d),n.all.push({eventName:t,fn:p}))})),p}function c(t,e){s(e.split(" "),(function(e){return t.classList.add(e)}))}function u(t,e){s(e.split(" "),(function(e){return t.classList.remove(e)}))}function d(t,e){return t.classList.contains(e)}function h(t,e){for(;t!==document.body;){if(!(t=t.parentElement))return!1;if("function"==typeof t.matches?t.matches(e):t.msMatchesSelector(e))return t}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||""===e)return!1;if("none"==e)return E(n)&&n(),!1;var i=b(),r=e.split(" ");s(r,(function(e){c(t,"g"+e)})),l(i,{onElement:t,avoidDuplicate:!1,once:!0,withCallback:function(t,e){s(r,(function(t){u(e,"g"+t)})),E(n)&&n()}})}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""==e)return t.style.webkitTransform="",t.style.MozTransform="",t.style.msTransform="",t.style.OTransform="",t.style.transform="",!1;t.style.webkitTransform=e,t.style.MozTransform=e,t.style.msTransform=e,t.style.OTransform=e,t.style.transform=e}function g(t){t.style.display="block"}function m(t){t.style.display="none"}function v(t){var e=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.appendChild(n.firstChild);return e}function y(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function b(){var t,e=document.createElement("fakeelement"),n={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}function w(t,e,n,i){if(t())e();else{var r;n||(n=100);var o=setInterval((function(){t()&&(clearInterval(o),r&&clearTimeout(r),e())}),n);i&&(r=setTimeout((function(){clearInterval(o)}),i))}}function x(t,e,n){if(L(t))console.error("Inject assets error");else if(E(e)&&(n=e,e=!1),S(e)&&e in window)E(n)&&n();else{var i;if(-1!==t.indexOf(".css")){if((i=document.querySelectorAll('link[href="'+t+'"]'))&&i.length>0)return void(E(n)&&n());var r=document.getElementsByTagName("head")[0],o=r.querySelectorAll('link[rel="stylesheet"]'),s=document.createElement("link");return s.rel="stylesheet",s.type="text/css",s.href=t,s.media="all",o?r.insertBefore(s,o[0]):r.appendChild(s),void(E(n)&&n())}if((i=document.querySelectorAll('script[src="'+t+'"]'))&&i.length>0){if(E(n)){if(S(e))return w((function(){return void 0!==window[e]}),(function(){n()})),!1;n()}}else{var a=document.createElement("script");a.type="text/javascript",a.src=t,a.onload=function(){if(E(n)){if(S(e))return w((function(){return void 0!==window[e]}),(function(){n()})),!1;n()}},document.body.appendChild(a)}}}function _(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function E(t){return"function"==typeof t}function S(t){return"string"==typeof t}function C(t){return!(!t||!t.nodeType||1!=t.nodeType)}function T(t){return Array.isArray(t)}function k(t){return t&&t.length&&isFinite(t.length)}function A(e){return"object"===t(e)&&null!=e&&!E(e)&&!T(e)}function L(t){return null==t}function D(t,e){return null!==t&&hasOwnProperty.call(t,e)}function O(t){if(A(t)){if(t.keys)return t.keys().length;var e=0;for(var n in t)D(t,n)&&e++;return e}return t.length}function N(t){return!isNaN(parseFloat(t))&&isFinite(t)}function F(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,e=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!e.length)return!1;if(1==e.length)return e[0];"string"==typeof t&&(t=parseInt(t));var n=t<0?1:t+1;n>e.length&&(n="1");var i=[];s(e,(function(t){i.push(t.getAttribute("data-taborder"))}));var r=i.filter((function(t){return t>=parseInt(n)})),o=r.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(o,'"]'))}function j(t){if(t.events.hasOwnProperty("keyboard"))return!1;t.events.keyboard=l("keydown",{onElement:window,withCallback:function(e,n){var i=(e=e||window.event).keyCode;if(9==i){var r=document.querySelector(".gbtn.focused");if(!r){var o=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==o||"textarea"==o||"button"==o)return}e.preventDefault();var s=document.querySelectorAll(".gbtn[data-taborder]");if(!s||s.length<=0)return;if(!r){var a=F();return void(a&&(a.focus(),c(a,"focused")))}var l=F(r.getAttribute("data-taborder"));u(r,"focused"),l&&(l.focus(),c(l,"focused"))}39==i&&t.nextSlide(),37==i&&t.prevSlide(),27==i&&t.close()}})}function P(t){return Math.sqrt(t.x*t.x+t.y*t.y)}var I=function(){function t(n){e(this,t),this.handlers=[],this.el=n}return i(t,[{key:"add",value:function(t){this.handlers.push(t)}},{key:"del",value:function(t){t||(this.handlers=[]);for(var e=this.handlers.length;e>=0;e--)this.handlers[e]===t&&this.handlers.splice(e,1)}},{key:"dispatch",value:function(){for(var t=0,e=this.handlers.length;t<e;t++){var n=this.handlers[t];"function"==typeof n&&n.apply(this.el,arguments)}}}]),t}();function M(t,e){var n=new I(t);return n.add(e),n}var B=function(){function t(n,i){e(this,t),this.element="string"==typeof n?document.querySelector(n):n,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var r=function(){};this.rotate=M(this.element,i.rotate||r),this.touchStart=M(this.element,i.touchStart||r),this.multipointStart=M(this.element,i.multipointStart||r),this.multipointEnd=M(this.element,i.multipointEnd||r),this.pinch=M(this.element,i.pinch||r),this.swipe=M(this.element,i.swipe||r),this.tap=M(this.element,i.tap||r),this.doubleTap=M(this.element,i.doubleTap||r),this.longTap=M(this.element,i.longTap||r),this.singleTap=M(this.element,i.singleTap||r),this.pressMove=M(this.element,i.pressMove||r),this.twoFingerPressMove=M(this.element,i.twoFingerPressMove||r),this.touchMove=M(this.element,i.touchMove||r),this.touchEnd=M(this.element,i.touchEnd||r),this.touchCancel=M(this.element,i.touchCancel||r),this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}}return i(t,[{key:"start",value:function(t){if(t.touches){this.now=Date.now(),this.x1=t.touches[0].pageX,this.y1=t.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(t,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var e=this.preV;if(t.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var n={x:t.touches[1].pageX-this.x1,y:t.touches[1].pageY-this.y1};e.x=n.x,e.y=n.y,this.pinchStartLen=P(e),this.multipointStart.dispatch(t,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(t,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(t){if(t.touches){var e=this.preV,n=t.touches.length,i=t.touches[0].pageX,r=t.touches[0].pageY;if(this.isDoubleTap=!1,n>1){var o=t.touches[1].pageX,s=t.touches[1].pageY,a={x:t.touches[1].pageX-i,y:t.touches[1].pageY-r};null!==e.x&&(this.pinchStartLen>0&&(t.zoom=P(a)/this.pinchStartLen,this.pinch.dispatch(t,this.element)),t.angle=function(t,e){var n=function(t,e){var n=P(t)*P(e);if(0===n)return 0;var i=function(t,e){return t.x*e.x+t.y*e.y}(t,e)/n;return i>1&&(i=1),Math.acos(i)}(t,e);return function(t,e){return t.x*e.y-e.x*t.y}(t,e)>0&&(n*=-1),180*n/Math.PI}(a,e),this.rotate.dispatch(t,this.element)),e.x=a.x,e.y=a.y,null!==this.x2&&null!==this.sx2?(t.deltaX=(i-this.x2+o-this.sx2)/2,t.deltaY=(r-this.y2+s-this.sy2)/2):(t.deltaX=0,t.deltaY=0),this.twoFingerPressMove.dispatch(t,this.element),this.sx2=o,this.sy2=s}else{if(null!==this.x2){t.deltaX=i-this.x2,t.deltaY=r-this.y2;var l=Math.abs(this.x1-this.x2),c=Math.abs(this.y1-this.y2);(l>10||c>10)&&(this._preventTap=!0)}else t.deltaX=0,t.deltaY=0;this.pressMove.dispatch(t,this.element)}this.touchMove.dispatch(t,this.element),this._cancelLongTap(),this.x2=i,this.y2=r,n>1&&t.preventDefault()}}},{key:"end",value:function(t){if(t.changedTouches){this._cancelLongTap();var e=this;t.touches.length<2&&(this.multipointEnd.dispatch(t,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(t.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){e.swipe.dispatch(t,e.element)}),0)):(this.tapTimeout=setTimeout((function(){e._preventTap||e.tap.dispatch(t,e.element),e.isDoubleTap&&(e.doubleTap.dispatch(t,e.element),e.isDoubleTap=!1)}),0),e.isDoubleTap||(e.singleTapTimeout=setTimeout((function(){e.singleTap.dispatch(t,e.element)}),250))),this.touchEnd.dispatch(t,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(t){this.cancelAll(),this.touchCancel.dispatch(t,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(t,e,n,i){return Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down"}},{key:"on",value:function(t,e){this[t]&&this[t].add(e)}},{key:"off",value:function(t,e){this[t]&&this[t].del(e)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]),t}();function q(t){var e=function(){var t,e=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}(),n=d(t,"gslide-media")?t:t.querySelector(".gslide-media"),i=t.querySelector(".gslide-description");c(n,"greset"),p(n,"translate3d(0, 0, 0)"),l(e,{onElement:n,once:!0,withCallback:function(t,e){u(n,"greset")}}),n.style.opacity="",i&&(i.style.opacity="")}function H(t){if(t.events.hasOwnProperty("touch"))return!1;var e,n,i,r=y(),o=r.width,s=r.height,a=!1,l=null,f=null,g=null,m=!1,v=1,b=1,w=!1,x=!1,_=null,E=null,S=null,C=null,T=0,k=0,A=!1,L=!1,D={},O={},N=0,F=0,j=document.getElementById("glightbox-slider"),P=document.querySelector(".goverlay"),I=new B(j,{touchStart:function(e){if(a=!0,(d(e.targetTouches[0].target,"ginner-container")||h(e.targetTouches[0].target,".gslide-desc")||"a"==e.targetTouches[0].target.nodeName.toLowerCase())&&(a=!1),h(e.targetTouches[0].target,".gslide-inline")&&!d(e.targetTouches[0].target.parentNode,"gslide-inline")&&(a=!1),a){if(O=e.targetTouches[0],D.pageX=e.targetTouches[0].pageX,D.pageY=e.targetTouches[0].pageY,N=e.targetTouches[0].clientX,F=e.targetTouches[0].clientY,l=t.activeSlide,f=l.querySelector(".gslide-media"),i=l.querySelector(".gslide-inline"),g=null,d(f,"gslide-image")&&(g=f.querySelector("img")),u(P,"greset"),e.pageX>20&&e.pageX<window.innerWidth-20)return;e.preventDefault()}},touchMove:function(r){if(a&&(O=r.targetTouches[0],!w&&!x)){if(i&&i.offsetHeight>s){var l=D.pageX-O.pageX;if(Math.abs(l)<=13)return!1}m=!0;var c,u=r.targetTouches[0].clientX,d=r.targetTouches[0].clientY,h=N-u,v=F-d;if(Math.abs(h)>Math.abs(v)?(A=!1,L=!0):(L=!1,A=!0),e=O.pageX-D.pageX,T=100*e/o,n=O.pageY-D.pageY,k=100*n/s,A&&g&&(c=1-Math.abs(n)/s,P.style.opacity=c,t.settings.touchFollowAxis&&(T=0)),L&&(c=1-Math.abs(e)/o,f.style.opacity=c,t.settings.touchFollowAxis&&(k=0)),!g)return p(f,"translate3d(".concat(T,"%, 0, 0)"));p(f,"translate3d(".concat(T,"%, ").concat(k,"%, 0)"))}},touchEnd:function(){if(a){if(m=!1,x||w)return S=_,void(C=E);var e=Math.abs(parseInt(k)),n=Math.abs(parseInt(T));if(!(e>29&&g))return e<29&&n<25?(c(P,"greset"),P.style.opacity=1,q(f)):void 0;t.close()}},multipointEnd:function(){setTimeout((function(){w=!1}),50)},multipointStart:function(){w=!0,v=b||1},pinch:function(t){if(!g||m)return!1;w=!0,g.scaleX=g.scaleY=v*t.zoom;var e=v*t.zoom;if(x=!0,e<=1)return x=!1,e=1,C=null,S=null,_=null,E=null,void g.setAttribute("style","");e>4.5&&(e=4.5),g.style.transform="scale3d(".concat(e,", ").concat(e,", 1)"),b=e},pressMove:function(t){if(x&&!w){var e=O.pageX-D.pageX,n=O.pageY-D.pageY;S&&(e+=S),C&&(n+=C),_=e,E=n;var i="translate3d(".concat(e,"px, ").concat(n,"px, 0)");b&&(i+=" scale3d(".concat(b,", ").concat(b,", 1)")),p(g,i)}},swipe:function(e){if(!x)if(w)w=!1;else{if("Left"==e.direction){if(t.index==t.elements.length-1)return q(f);t.nextSlide()}if("Right"==e.direction){if(0==t.index)return q(f);t.prevSlide()}}}});t.events.touch=I}var z=function(){function t(n,i){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e(this,t),this.img=n,this.slide=i,this.onclose=o,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",(function(t){return r.dragStart(t)}),!1),this.img.addEventListener("mouseup",(function(t){return r.dragEnd(t)}),!1),this.img.addEventListener("mousemove",(function(t){return r.drag(t)}),!1),this.img.addEventListener("click",(function(t){return r.slide.classList.contains("dragging-nav")?(r.zoomOut(),!1):r.zoomedIn?void(r.zoomedIn&&!r.dragging&&r.zoomOut()):r.zoomIn()}),!1),this.img.setZoomEvents=!0}return i(t,[{key:"zoomIn",value:function(){var t=this.widowWidth();if(!(this.zoomedIn||t<=768)){var e=this.img;if(e.setAttribute("data-style",e.getAttribute("style")),e.style.maxWidth=e.naturalWidth+"px",e.style.maxHeight=e.naturalHeight+"px",e.naturalWidth>t){var n=t/2-e.naturalWidth/2;this.setTranslate(this.img.parentNode,n,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(t){t.preventDefault(),this.zoomedIn?("touchstart"===t.type?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset),t.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(t){var e=this;t.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){e.dragging=!1,e.img.isDragging=!1,e.img.classList.remove("dragging")}),100)}},{key:"drag",value:function(t){this.active&&(t.preventDefault(),"touchmove"===t.type?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(t){if(this.zoomedIn){var e=t.clientX-this.img.naturalWidth/2,n=t.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,e,n)}}},{key:"setTranslate",value:function(t,e,n){t.style.transform="translate3d("+e+"px, "+n+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),t}(),R=function(){function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t);var r=i.dragEl,o=i.toleranceX,s=void 0===o?40:o,a=i.toleranceY,l=void 0===a?65:a,c=i.slide,u=void 0===c?null:c,d=i.instance,h=void 0===d?null:d;this.el=r,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=s,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=u,this.instance=h,this.el.addEventListener("mousedown",(function(t){return n.dragStart(t)}),!1),this.el.addEventListener("mouseup",(function(t){return n.dragEnd(t)}),!1),this.el.addEventListener("mousemove",(function(t){return n.drag(t)}),!1)}return i(t,[{key:"dragStart",value:function(t){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===t.type?(this.initialX=t.touches[0].clientX-this.xOffset,this.initialY=t.touches[0].clientY-this.yOffset):(this.initialX=t.clientX-this.xOffset,this.initialY=t.clientY-this.yOffset);var e=t.target.nodeName.toLowerCase();t.target.classList.contains("nodrag")||h(t.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(e)?this.active=!1:(t.preventDefault(),(t.target===this.el||"img"!==e&&h(t.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=h(t.target,".ginner-container")))}}},{key:"dragEnd",value:function(t){var e=this;t&&t.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){e.instance.preventOutsideClick=!1,e.toleranceReached=!1,e.lastDirection=null,e.dragging=!1,e.el.isDragging=!1,e.el.classList.remove("dragging"),e.slide.classList.remove("dragging-nav"),e.dragContainer.style.transform="",e.dragContainer.style.transition=""}),100)}},{key:"drag",value:function(t){if(this.active){t.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===t.type?(this.currentX=t.touches[0].clientX-this.initialX,this.currentY=t.touches[0].clientY-this.initialY):(this.currentX=t.clientX-this.initialX,this.currentY=t.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var e=Math.abs(this.currentX),n=Math.abs(this.currentY);if(e>0&&e>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var i=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&i&&(this.doSlideChange=i),this.instance.settings.dragAutoSnap&&i)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==i&&this.instance.prevSlide(),void("left"==i&&this.instance.nextSlide())}if(this.toleranceY>0&&n>0&&n>=e&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var r=this.shouldClose();return!this.instance.settings.dragAutoSnap&&r&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&r&&this.instance.close())}}}},{key:"shouldChange",value:function(){var t=!1;if(Math.abs(this.currentX)>=this.toleranceX){var e=this.currentX>0?"right":"left";("left"==e&&this.slide!==this.slide.parentNode.lastChild||"right"==e&&this.slide!==this.slide.parentNode.firstChild)&&(t=e)}return t}},{key:"shouldClose",value:function(){var t=!1;return Math.abs(this.currentY)>=this.toleranceY&&(t=!0),t}},{key:"setTranslate",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.style.transition=i?"all .2s ease":"",t.style.transform="translate3d(".concat(e,"px, ").concat(n,"px, 0)")}}]),t}();function W(t,e,n,i){var r=t.querySelector(".gslide-media"),o=new Image,s="gSlideTitle_"+n,a="gSlideDesc_"+n;o.addEventListener("load",(function(){E(i)&&i()}),!1),o.src=e.href,o.alt="",""!==e.title&&o.setAttribute("aria-labelledby",s),""!==e.description&&o.setAttribute("aria-describedby",a),r.insertBefore(o,r.firstChild)}function V(t,e,n,i){var r=this,o=t.querySelector(".ginner-container"),s="gvideo"+n,a=t.querySelector(".gslide-media"),l=this.getAllPlayers();c(o,"gvideo-container"),a.insertBefore(v('<div class="gvideo-wrapper"></div>'),a.firstChild);var u=t.querySelector(".gvideo-wrapper");x(this.settings.plyr.css,"Plyr");var d=e.href,h=location.protocol.replace(":",""),f="",p="",g=!1;"file"==h&&(h="http"),a.style.maxWidth=e.width,x(this.settings.plyr.js,"Plyr",(function(){if(d.match(/vimeo\.com\/([0-9]*)/)){var o=/vimeo.*\/(\d+)/i.exec(d);f="vimeo",p=o[1]}if(d.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||d.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||d.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)){var a=function(t){return void 0!==(t=t.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/))[2]?t[2].split(/[^0-9a-z_\-]/i)[0]:t}(d);f="youtube",p=a}if(null!==d.match(/\.(mp4|ogg|webm|mov)$/)){f="local";var h='<video id="'+s+'" ';h+='style="background:#000; max-width: '.concat(e.width,';" '),h+='preload="metadata" ',h+='x-webkit-airplay="allow" ',h+='webkit-playsinline="" ',h+="controls ",h+='class="gvideo-local">';var m=d.toLowerCase().split(".").pop(),y={mp4:"",ogg:"",webm:""};for(var b in y[m="mov"==m?"mp4":m]=d,y)if(y.hasOwnProperty(b)){var x=y[b];e.hasOwnProperty(b)&&(x=e[b]),""!==x&&(h+='<source src="'.concat(x,'" type="video/').concat(b,'">'))}g=v(h+="</video>")}var _=g||v('<div id="'.concat(s,'" data-plyr-provider="').concat(f,'" data-plyr-embed-id="').concat(p,'"></div>'));c(u,"".concat(f,"-video gvideo")),u.appendChild(_),u.setAttribute("data-id",s),u.setAttribute("data-index",n);var S=D(r.settings.plyr,"config")?r.settings.plyr.config:{},C=new Plyr("#"+s,S);C.on("ready",(function(t){var e=t.detail.plyr;l[s]=e,E(i)&&i()})),w((function(){return t.querySelector("iframe")&&"true"==t.querySelector("iframe").dataset.ready}),(function(){r.resize(t)})),C.on("enterfullscreen",X),C.on("exitfullscreen",X)}))}function X(t){var e=h(t.target,".gslide-media");"enterfullscreen"==t.type&&c(e,"fullscreen"),"exitfullscreen"==t.type&&u(e,"fullscreen")}function Y(t,e,n,i){var r,o=this,s=t.querySelector(".gslide-media"),a=!(!D(e,"href")||!e.href)&&e.href.split("#").pop().trim(),u=!(!D(e,"content")||!e.content)&&e.content;if(u&&(S(u)&&(r=v('<div class="ginlined-content">'.concat(u,"</div>"))),C(u))){"none"==u.style.display&&(u.style.display="block");var d=document.createElement("div");d.className="ginlined-content",d.appendChild(u),r=d}if(a){var h=document.getElementById(a);if(!h)return!1;var f=h.cloneNode(!0);f.style.height=e.height,f.style.maxWidth=e.width,c(f,"ginlined-content"),r=f}if(!r)return console.error("Unable to append inline slide content",e),!1;s.style.height=e.height,s.style.width=e.width,s.appendChild(r),this.events["inlineclose"+a]=l("click",{onElement:s.querySelectorAll(".gtrigger-close"),withCallback:function(t){t.preventDefault(),o.close()}}),E(i)&&i()}function $(t,e,n,i){var r=t.querySelector(".gslide-media"),o=function(t){var e=t.url,n=t.allow,i=t.callback,r=t.appendTo,o=document.createElement("iframe");return o.className="vimeo-video gvideo",o.src=e,o.style.width="100%",o.style.height="100%",n&&o.setAttribute("allow",n),o.onload=function(){c(o,"node-ready"),E(i)&&i()},r&&r.appendChild(o),o}({url:e.href,callback:i});r.parentNode.style.maxWidth=e.width,r.parentNode.style.height=e.height,r.appendChild(o)}var U=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.defaults={href:"",title:"",type:"",description:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},A(n)&&(this.defaults=o(this.defaults,n))}return i(t,[{key:"sourceType",value:function(t){var e=t;return null!==(t=t.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|svg)$/)?"image":t.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||t.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||t.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||t.match(/vimeo\.com\/([0-9]*)/)||null!==t.match(/\.(mp4|ogg|webm|mov)$/)?"video":null!==t.match(/\.(mp3|wav|wma|aac|ogg)$/)?"audio":t.indexOf("#")>-1&&""!==e.split("#").pop().trim()?"inline":t.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(t,e){var n=this,i=o({descPosition:e.descPosition},this.defaults);if(A(t)&&!C(t)){D(t,"type")||(D(t,"content")&&t.content?t.type="inline":D(t,"href")&&(t.type=this.sourceType(t.href)));var r=o(i,t);return this.setSize(r,e),r}var a="",l=t.getAttribute("data-glightbox"),c=t.nodeName.toLowerCase();if("a"===c&&(a=t.href),"img"===c&&(a=t.src),i.href=a,s(i,(function(r,o){D(e,o)&&"width"!==o&&(i[o]=e[o]);var s=t.dataset[o];L(s)||(i[o]=n.sanitizeValue(s))})),i.content&&(i.type="inline"),!i.type&&a&&(i.type=this.sourceType(a)),L(l)){if(!i.title&&"a"==c){var u=t.title;L(u)||""===u||(i.title=u)}if(!i.title&&"img"==c){var d=t.alt;L(d)||""===d||(i.title=d)}}else{var h=[];s(i,(function(t,e){h.push(";\\s?"+e)})),h=h.join("\\s?:|"),""!==l.trim()&&s(i,(function(t,e){var r=l,o=new RegExp("s?"+e+"s?:s?(.*?)("+h+"s?:|$)"),s=r.match(o);if(s&&s.length&&s[1]){var a=s[1].trim().replace(/;\s*$/,"");i[e]=n.sanitizeValue(a)}}))}if(i.description&&"."==i.description.substring(0,1)&&document.querySelector(i.description))i.description=document.querySelector(i.description).innerHTML;else{var f=t.querySelector(".glightbox-desc");f&&(i.description=f.innerHTML)}return this.setSize(i,e),this.slideConfig=i,i}},{key:"setSize",value:function(t,e){var n="video"==t.type?this.checkSize(e.videosWidth):this.checkSize(e.width),i=this.checkSize(e.height);return t.width=D(t,"width")&&""!==t.width?this.checkSize(t.width):n,t.height=D(t,"height")&&""!==t.height?this.checkSize(t.height):i,t}},{key:"checkSize",value:function(t){return N(t)?"".concat(t,"px"):t}},{key:"sanitizeValue",value:function(t){return"true"!==t&&"false"!==t?t:"true"===t}}]),t}(),G=function(){function t(n,i,r){e(this,t),this.element=n,this.instance=i,this.index=r}return i(t,[{key:"setContent",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(d(e,"loaded"))return!1;var i=this.instance.settings,r=this.slideConfig,o=_();E(i.beforeSlideLoad)&&i.beforeSlideLoad({index:this.index,slide:e,player:!1});var s=r.type,a=r.descPosition,l=e.querySelector(".gslide-media"),u=e.querySelector(".gslide-title"),h=e.querySelector(".gslide-desc"),f=e.querySelector(".gdesc-inner"),p=n,g="gSlideTitle_"+this.index,m="gSlideDesc_"+this.index;if(E(i.afterSlideLoad)&&(p=function(){E(n)&&n(),i.afterSlideLoad({index:t.index,slide:e,player:t.instance.getSlidePlayerInstance(t.index)})}),""==r.title&&""==r.description?f&&f.parentNode.parentNode.removeChild(f.parentNode):(u&&""!==r.title?(u.id=g,u.innerHTML=r.title):u.parentNode.removeChild(u),h&&""!==r.description?(h.id=m,o&&i.moreLength>0?(r.smallDescription=this.slideShortDesc(r.description,i.moreLength,i.moreText),h.innerHTML=r.smallDescription,this.descriptionEvents(h,r)):h.innerHTML=r.description):h.parentNode.removeChild(h),c(l.parentNode,"desc-".concat(a)),c(f.parentNode,"description-".concat(a))),c(l,"gslide-".concat(s)),c(e,"loaded"),"video"!==s){if("external"!==s)return"inline"===s?(Y.apply(this.instance,[e,r,this.index,p]),void(i.draggable&&new R({dragEl:e.querySelector(".gslide-inline"),toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:e,instance:this.instance}))):void("image"!==s?E(p)&&p():W(e,r,this.index,(function(){var n=e.querySelector("img");i.draggable&&new R({dragEl:n,toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:e,instance:t.instance}),r.zoomable&&n.naturalWidth>n.offsetWidth&&(c(n,"zoomable"),new z(n,e,(function(){t.instance.resize()}))),E(p)&&p()})));$.apply(this,[e,r,this.index,p])}else V.apply(this.instance,[e,r,this.index,p])}},{key:"slideShortDesc",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.createElement("div");i.innerHTML=t;var r=i.innerText,o=n;if((t=r.trim()).length<=e)return t;var s=t.substr(0,e-1);return o?(i=null,s+'... <a href="#" class="desc-more">'+n+"</a>"):s}},{key:"descriptionEvents",value:function(t,e){var n=this,i=t.querySelector(".desc-more");if(!i)return!1;l("click",{onElement:i,withCallback:function(t,i){t.preventDefault();var r=document.body,o=h(i,".gslide-desc");if(!o)return!1;o.innerHTML=e.description,c(r,"gdesc-open");var s=l("click",{onElement:[r,h(o,".gslide-description")],withCallback:function(t,i){"a"!==t.target.nodeName.toLowerCase()&&(u(r,"gdesc-open"),c(r,"gdesc-closed"),o.innerHTML=e.smallDescription,n.descriptionEvents(o,e),setTimeout((function(){u(r,"gdesc-closed")}),400),s.destroy())}})}})}},{key:"create",value:function(){return v(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){var t=new U(this.instance.settings.slideExtraAttributes);return this.slideConfig=t.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),t}(),K=_(),Q=null!==_()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,Z=document.getElementsByTagName("html")[0],J={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.3/plyr.css",js:"https://cdn.plyr.io/3.6.3/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:'<div class="gslide">\n    <div class="gslide-inner-content">\n        <div class="ginner-container">\n            <div class="gslide-media">\n            </div>\n            <div class="gslide-description">\n                <div class="gdesc-inner">\n                    <h4 class="gslide-title"></h4>\n                    <div class="gslide-desc"></div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>',lightboxHTML:'<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">\n    <div class="gloader visible"></div>\n    <div class="goverlay"></div>\n    <div class="gcontainer">\n    <div id="glightbox-slider" class="gslider"></div>\n    <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>\n    <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>\n    <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>\n</div>\n</div>'},tt=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.settings=o(J,n),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return i(t,[{key:"init",value:function(){var t=this,e=this.getSelector();e&&(this.baseEvents=l("click",{onElement:e,withCallback:function(e,n){e.preventDefault(),t.open(n)}})),this.elements=this.getElements()}},{key:"open",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0==this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var n=N(e)?e:this.settings.startAt;if(C(t)){var i=t.getAttribute("data-gallery");i&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,i)),L(n)&&(n=this.getElementIndex(t))<0&&(n=0)}N(n)||(n=0),this.build(),f(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var r=document.body,o=window.innerWidth-document.documentElement.clientWidth;if(o>0){var s=document.createElement("style");s.type="text/css",s.className="gcss-styles",s.innerText=".gscrollbar-fixer {margin-right: ".concat(o,"px}"),document.head.appendChild(s),c(r,"gscrollbar-fixer")}c(r,"glightbox-open"),c(Z,"glightbox-open"),K&&(c(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(n,!0),1==this.elements.length?(c(this.prevButton,"glightbox-button-hidden"),c(this.nextButton,"glightbox-button-hidden")):(u(this.prevButton,"glightbox-button-hidden"),u(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),E(this.settings.onOpen)&&this.settings.onOpen(),Q&&this.settings.touchNavigation&&H(this),this.settings.keyboardNavigation&&j(this)}},{key:"openAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,t)}},{key:"showSlide",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this.loader),this.index=parseInt(e);var i=this.slidesContainer.querySelector(".current");i&&u(i,"current"),this.slideAnimateOut();var r=this.slidesContainer.querySelectorAll(".gslide")[e];if(d(r,"loaded"))this.slideAnimateIn(r,n),m(this.loader);else{g(this.loader);var o=this.elements[e],s={index:this.index,slide:r,slideNode:r,slideConfig:o.slideConfig,slideIndex:this.index,trigger:o.node,player:null};this.trigger("slide_before_load",s),o.instance.setContent(r,(function(){m(t.loader),t.resize(),t.slideAnimateIn(r,n),t.trigger("slide_after_load",s)}))}this.slideDescription=r.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&d(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(e+1),this.preloadSlide(e-1)),this.updateNavigationClasses(),this.activeSlide=r}},{key:"preloadSlide",value:function(t){var e=this;if(t<0||t>this.elements.length-1)return!1;if(L(this.elements[t]))return!1;var n=this.slidesContainer.querySelectorAll(".gslide")[t];if(d(n,"loaded"))return!1;var i=this.elements[t],r=i.type,o={index:t,slide:n,slideNode:n,slideConfig:i.slideConfig,slideIndex:t,trigger:i.node,player:null};this.trigger("slide_before_load",o),"video"==r||"external"==r?setTimeout((function(){i.instance.setContent(n,(function(){e.trigger("slide_after_load",o)}))}),200):i.instance.setContent(n,(function(){e.trigger("slide_after_load",o)}))}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(t<0||t>this.elements.length-1))return!1;t<0?t=this.elements.length-1:t>=this.elements.length&&(t=0),this.showSlide(t)}},{key:"insertSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;e<0&&(e=this.elements.length);var n=new G(t,this,e),i=n.getConfig(),r=o({},i),s=n.create(),a=this.elements.length-1;r.index=e,r.node=!1,r.instance=n,r.slideConfig=i,this.elements.splice(e,0,r);var l=null,c=null;if(this.slidesContainer){if(e>a)this.slidesContainer.appendChild(s);else{var u=this.slidesContainer.querySelectorAll(".gslide")[e];this.slidesContainer.insertBefore(s,u)}(this.settings.preload&&0==this.index&&0==e||this.index-1==e||this.index+1==e)&&this.preloadSlide(e),0==this.index&&0==e&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(".gslide")[e],c=this.getSlidePlayerInstance(e),r.slideNode=l}this.trigger("slide_inserted",{index:e,slide:l,slideNode:l,slideConfig:i,slideIndex:e,trigger:null,player:c}),E(this.settings.slideInserted)&&this.settings.slideInserted({index:e,slide:l,player:c})}},{key:"removeSlide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(t<0||t>this.elements.length-1)return!1;var e=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[t];e&&(this.getActiveSlideIndex()==t&&(t==this.elements.length-1?this.prevSlide():this.nextSlide()),e.parentNode.removeChild(e)),this.elements.splice(t,1),this.trigger("slide_removed",t),E(this.settings.slideRemoved)&&this.settings.slideRemoved(t)}},{key:"slideAnimateIn",value:function(t,e){var n=this,i=t.querySelector(".gslide-media"),r=t.querySelector(".gslide-description"),o={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:L(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:L(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},s={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(i.offsetWidth>0&&r&&(m(r),r.style.display=""),u(t,this.effectsClasses),e)f(t,this.settings.cssEfects[this.settings.openEffect].in,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(t),n.trigger("slide_changed",{prev:o,current:s}),E(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[o,s])}));else{var a=this.settings.slideEffect,l="none"!==a?this.settings.cssEfects[a].in:a;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),f(t,l,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(t),n.trigger("slide_changed",{prev:o,current:s}),E(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[o,s])}))}setTimeout((function(){n.resize(t)}),100),c(t,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var t=this.prevActiveSlide;u(t,this.effectsClasses),c(t,"prev");var e=this.settings.slideEffect,n="none"!==e?this.settings.cssEfects[e].out:e;this.slidePlayerPause(t),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:L(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:L(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),E(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(n=this.settings.cssEfects.slideBack.out),f(t,n,(function(){var e=t.querySelector(".gslide-media"),n=t.querySelector(".gslide-description");e.style.transform="",u(e,"greset"),e.style.opacity="",n&&(n.style.opacity=""),u(t,"prev")}))}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(t){var e="gvideo"+t,n=this.getAllPlayers();return!(!D(n,e)||!n[e])&&n[e]}},{key:"stopSlideVideo",value:function(t){if(C(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var n=this.getSlidePlayerInstance(t);n&&n.playing&&n.pause()}},{key:"slidePlayerPause",value:function(t){if(C(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(t);n&&n.playing&&n.pause()}},{key:"playSlideVideo",value:function(t){if(C(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var n=this.getSlidePlayerInstance(t);n&&!n.playing&&n.play()}},{key:"slidePlayerPlay",value:function(t){if(C(t)){var e=t.querySelector(".gvideo-wrapper");e&&(t=e.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(t);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}},{key:"setElements",value:function(t){var e=this;this.settings.elements=!1;var n=[];t&&t.length&&s(t,(function(t,i){var r=new G(t,e,i),s=r.getConfig(),a=o({},s);a.slideConfig=s,a.instance=r,a.index=i,n.push(a)})),this.elements=n,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(s(this.elements,(function(){var t=v(e.settings.slideHTML);e.slidesContainer.appendChild(t)})),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(t){var e=!1;return s(this.elements,(function(n,i){if(D(n,"node")&&n.node==t)return e=i,!0})),e}},{key:"getElements",value:function(){var t=this,e=[];this.elements=this.elements?this.elements:[],!L(this.settings.elements)&&T(this.settings.elements)&&this.settings.elements.length&&s(this.settings.elements,(function(n,i){var r=new G(n,t,i),s=r.getConfig(),a=o({},s);a.node=!1,a.index=i,a.instance=r,a.slideConfig=s,e.push(a)}));var n=!1;return this.getSelector()&&(n=document.querySelectorAll(this.getSelector())),n?(s(n,(function(n,i){var r=new G(n,t,i),s=r.getConfig(),a=o({},s);a.node=n,a.index=i,a.instance=r,a.slideConfig=s,a.gallery=n.getAttribute("data-gallery"),e.push(a)})),e):e}},{key:"getGalleryElements",value:function(t,e){return t.filter((function(t){return t.gallery==e}))}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var t=[];for(var e in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(e)){var n=this.settings.cssEfects[e];t.push("g".concat(n.in)),t.push("g".concat(n.out))}return t.join(" ")}},{key:"build",value:function(){var t=this;if(this.built)return!1;var e=document.body.childNodes,n=[];s(e,(function(t){t.parentNode==document.body&&"#"!==t.nodeName.charAt(0)&&t.hasAttribute&&!t.hasAttribute("aria-hidden")&&(n.push(t),t.setAttribute("aria-hidden","true"))}));var i=D(this.settings.svg,"next")?this.settings.svg.next:"",r=D(this.settings.svg,"prev")?this.settings.svg.prev:"",o=D(this.settings.svg,"close")?this.settings.svg.close:"",a=this.settings.lightboxHTML;a=v(a=(a=(a=a.replace(/{nextSVG}/g,i)).replace(/{prevSVG}/g,r)).replace(/{closeSVG}/g,o)),document.body.appendChild(a);var u=document.getElementById("glightbox-body");this.modal=u;var f=u.querySelector(".gclose");this.prevButton=u.querySelector(".gprev"),this.nextButton=u.querySelector(".gnext"),this.overlay=u.querySelector(".goverlay"),this.loader=u.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=n,this.events={},c(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&f&&(this.events.close=l("click",{onElement:f,withCallback:function(e,n){e.preventDefault(),t.close()}})),f&&!this.settings.closeButton&&f.parentNode.removeChild(f),this.nextButton&&(this.events.next=l("click",{onElement:this.nextButton,withCallback:function(e,n){e.preventDefault(),t.nextSlide()}})),this.prevButton&&(this.events.prev=l("click",{onElement:this.prevButton,withCallback:function(e,n){e.preventDefault(),t.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=l("click",{onElement:u,withCallback:function(e,n){t.preventOutsideClick||d(document.body,"glightbox-mobile")||h(e.target,".ginner-container")||h(e.target,".gbtn")||d(e.target,"gnext")||d(e.target,"gprev")||t.close()}})),s(this.elements,(function(e,n){t.slidesContainer.appendChild(e.instance.create()),e.slideNode=t.slidesContainer.querySelectorAll(".gslide")[n]})),Q&&c(document.body,"glightbox-touch"),this.events.resize=l("resize",{onElement:window,withCallback:function(){t.resize()}}),this.built=!0}},{key:"resize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((t=t||this.activeSlide)&&!d(t,"zoomed")){var e=y(),n=t.querySelector(".gvideo-wrapper"),i=t.querySelector(".gslide-image"),r=this.slideDescription,o=e.width,s=e.height;if(o<=768?c(document.body,"glightbox-mobile"):u(document.body,"glightbox-mobile"),n||i){var a=!1;if(r&&(d(r,"description-bottom")||d(r,"description-top"))&&!d(r,"gabsolute")&&(a=!0),i)if(o<=768){var l=i.querySelector("img");l.setAttribute("style","")}else if(a){var h=r.offsetHeight,f=i.querySelector("img");f.setAttribute("style","max-height: calc(100vh - ".concat(h,"px)")),r.setAttribute("style","max-width: ".concat(f.offsetWidth,"px;"))}if(n){var p=D(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!p){var g=n.clientWidth,m=n.clientHeight,v=g/m;p="".concat(g/v,":").concat(m/v)}var b=p.split(":"),w=this.settings.videosWidth,x=this.settings.videosWidth,_=(x=N(w)||-1!==w.indexOf("px")?parseInt(w):-1!==w.indexOf("vw")?o*parseInt(w)/100:-1!==w.indexOf("vh")?s*parseInt(w)/100:-1!==w.indexOf("%")?o*parseInt(w)/100:parseInt(n.clientWidth))/(parseInt(b[0])/parseInt(b[1]));if(_=Math.floor(_),a&&(s-=r.offsetHeight),x>o||_>s||s<_&&o>x){var E=n.offsetWidth,S=n.offsetHeight,C=s/S,T={width:E*C,height:S*C};n.parentNode.setAttribute("style","max-width: ".concat(T.width,"px")),a&&r.setAttribute("style","max-width: ".concat(T.width,"px;"))}else n.parentNode.style.maxWidth="".concat(x),a&&r.setAttribute("style","max-width: ".concat(x,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var t=this.loop();u(this.nextButton,"disabled"),u(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(c(this.prevButton,"disabled"),c(this.nextButton,"disabled")):0!==this.index||t?this.index!==this.elements.length-1||t||c(this.nextButton,"disabled"):c(this.prevButton,"disabled")}},{key:"loop",value:function(){var t=D(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return t=D(this.settings,"loop")?this.settings.loop:t}},{key:"close",value:function(){var t=this;if(!this.lightboxOpen){if(this.events){for(var e in this.events)this.events.hasOwnProperty(e)&&this.events[e].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&s(this.bodyHiddenChildElms,(function(t){t.removeAttribute("aria-hidden")})),c(this.modal,"glightbox-closing"),f(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),f(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(t.activeSlide=null,t.prevActiveSlideIndex=null,t.prevActiveSlide=null,t.built=!1,t.events){for(var e in t.events)t.events.hasOwnProperty(e)&&t.events[e].destroy();t.events=null}var n=document.body;u(Z,"glightbox-open"),u(n,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),t.modal.parentNode.removeChild(t.modal),t.trigger("close"),E(t.settings.onClose)&&t.settings.onClose();var i=document.querySelector(".gcss-styles");i&&i.parentNode.removeChild(i),t.lightboxOpen=!1,t.closing=null}))}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!t||!E(e))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:t,once:n,callback:e})}},{key:"once",value:function(t,e){this.on(t,e,!0)}},{key:"trigger",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=[];s(this.apiEvents,(function(e,r){var o=e.evt,s=e.once,a=e.callback;o==t&&(a(n),s&&i.push(r))})),i.length&&s(i,(function(t){return e.apiEvents.splice(t,1)}))}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.0.8"}}]),t}();return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=new tt(t);return e.init(),e}}()},ebwN:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Map");t.exports=i},hCFP:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return o}));var i=n("QczR"),r=n.n(i);function o(e){e.forEach((function(e){var n=r()("#".concat(e.dataset.svgId));r.a.load("".concat(e.dataset.svgMap),(function(i){n.append(i);var r=JSON.parse(e.dataset.svgElements);Object.entries(r).forEach((function(e,n){t("#".concat(e[1].text.id)).tooltip({animation:!0,html:!0,placement:"top",title:"".concat(e[1].text.header,"<br>").concat(e[1].text.text),trigger:"click hover focus manual",container:"body"})}))}))}))}}).call(this,n("EVdn"))},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},lSCD:function(t,e,n){var i=n("NykK"),r=n("GoyQ");t.exports=function(t){if(!r(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},mdPL:function(t,e,n){(function(t){var i=n("WFqU"),r=e&&!e.nodeType&&e,o=r&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===r&&i.process,a=function(){try{var t=o&&o.require&&o.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=a}).call(this,n("YuTi")(t))},nmnc:function(t,e,n){var i=n("Kz5y").Symbol;t.exports=i},"oRA+":function(t,e,n){var i;!function(n){var r,o,s="hasOwnProperty",a=/[\.\/]/,l=/\s*,\s*/,c=function(t,e){return t-e},u={n:{}},d=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},h=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},f=Object.prototype.toString,p=String,g=Array.isArray||function(t){return t instanceof Array||"[object Array]"==f.call(t)},m=function(t,e){var n,i=o,s=Array.prototype.slice.call(arguments,2),a=m.listeners(t),l=0,u=[],f={},p=[],g=r;p.firstDefined=d,p.lastDefined=h,r=t,o=0;for(var v=0,y=a.length;v<y;v++)"zIndex"in a[v]&&(u.push(a[v].zIndex),a[v].zIndex<0&&(f[a[v].zIndex]=a[v]));for(u.sort(c);u[l]<0;)if(n=f[u[l++]],p.push(n.apply(e,s)),o)return o=i,p;for(v=0;v<y;v++)if("zIndex"in(n=a[v]))if(n.zIndex==u[l]){if(p.push(n.apply(e,s)),o)break;do{if((n=f[u[++l]])&&p.push(n.apply(e,s)),o)break}while(n)}else f[n.zIndex]=n;else if(p.push(n.apply(e,s)),o)break;return o=i,r=g,p};m._events=u,m.listeners=function(t){var e,n,i,r,o,s,l,c,d=g(t)?t:t.split(a),h=u,f=[h],p=[];for(r=0,o=d.length;r<o;r++){for(c=[],s=0,l=f.length;s<l;s++)for(n=[(h=f[s].n)[d[r]],h["*"]],i=2;i--;)(e=n[i])&&(c.push(e),p=p.concat(e.f||[]));f=c}return p},m.separator=function(t){t?(t="["+(t=p(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",a=new RegExp(t)):a=/[\.\/]/},m.on=function(t,e){if("function"!=typeof e)return function(){};for(var n=g(t)?g(t[0])?t:[t]:p(t).split(l),i=0,r=n.length;i<r;i++)!function(t){for(var n,i=g(t)?t:p(t).split(a),r=u,o=0,s=i.length;o<s;o++)r=(r=r.n).hasOwnProperty(i[o])&&r[i[o]]||(r[i[o]]={n:{}});for(r.f=r.f||[],o=0,s=r.f.length;o<s;o++)if(r.f[o]==e){n=!0;break}!n&&r.f.push(e)}(n[i]);return function(t){+t==+t&&(e.zIndex=+t)}},m.f=function(t){var e=[].slice.call(arguments,1);return function(){m.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},m.stop=function(){o=1},m.nt=function(t){var e=g(r)?r.join("."):r;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},m.nts=function(){return g(r)?r:r.split(a)},m.off=m.unbind=function(t,e){if(t){var n=g(t)?g(t[0])?t:[t]:p(t).split(l);if(n.length>1)for(var i=0,r=n.length;i<r;i++)m.off(n[i],e);else{n=g(t)?t:p(t).split(a);var o,c,d,h,f,v=[u],y=[];for(i=0,r=n.length;i<r;i++)for(h=0;h<v.length;h+=d.length-2){if(d=[h,1],o=v[h].n,"*"!=n[i])o[n[i]]&&(d.push(o[n[i]]),y.unshift({n:o,name:n[i]}));else for(c in o)o[s](c)&&(d.push(o[c]),y.unshift({n:o,name:c}));v.splice.apply(v,d)}for(i=0,r=v.length;i<r;i++)for(o=v[i];o.n;){if(e){if(o.f){for(h=0,f=o.f.length;h<f;h++)if(o.f[h]==e){o.f.splice(h,1);break}!o.f.length&&delete o.f}for(c in o.n)if(o.n[s](c)&&o.n[c].f){var b=o.n[c].f;for(h=0,f=b.length;h<f;h++)if(b[h]==e){b.splice(h,1);break}!b.length&&delete o.n[c].f}}else for(c in delete o.f,o.n)o.n[s](c)&&o.n[c].f&&delete o.n[c].f;o=o.n}t:for(i=0,r=y.length;i<r;i++){for(c in(o=y[i]).n[o.name].f)continue t;for(c in o.n[o.name].n)continue t;delete o.n[o.name]}}}else m._events=u={n:{}}},m.once=function(t,e){var n=function(){return m.off(t,n),e.apply(this,arguments)};return m.on(t,n)},m.version="0.5.4",m.toString=function(){return"You are running Eve 0.5.4"},n.eve=m,t.exports?t.exports=m:void 0===(i=function(){return m}.apply(e,[]))||(t.exports=i)}("undefined"!=typeof window?window:this)},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},shjB:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},tadb:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"DataView");t.exports=i},ufPZ:function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"top",(function(){return o})),n.d(i,"bottom",(function(){return s})),n.d(i,"right",(function(){return a})),n.d(i,"left",(function(){return l})),n.d(i,"auto",(function(){return c})),n.d(i,"basePlacements",(function(){return u})),n.d(i,"start",(function(){return d})),n.d(i,"end",(function(){return h})),n.d(i,"clippingParents",(function(){return f})),n.d(i,"viewport",(function(){return p})),n.d(i,"popper",(function(){return g})),n.d(i,"reference",(function(){return m})),n.d(i,"variationPlacements",(function(){return v})),n.d(i,"placements",(function(){return y})),n.d(i,"beforeRead",(function(){return b})),n.d(i,"read",(function(){return w})),n.d(i,"afterRead",(function(){return x})),n.d(i,"beforeMain",(function(){return _})),n.d(i,"main",(function(){return E})),n.d(i,"afterMain",(function(){return S})),n.d(i,"beforeWrite",(function(){return C})),n.d(i,"write",(function(){return T})),n.d(i,"afterWrite",(function(){return k})),n.d(i,"modifierPhases",(function(){return A})),n.d(i,"applyStyles",(function(){return j})),n.d(i,"arrow",(function(){return Z})),n.d(i,"computeStyles",(function(){return et})),n.d(i,"eventListeners",(function(){return it})),n.d(i,"flip",(function(){return yt})),n.d(i,"hide",(function(){return xt})),n.d(i,"offset",(function(){return _t})),n.d(i,"popperOffsets",(function(){return Et})),n.d(i,"preventOverflow",(function(){return St})),n.d(i,"popperGenerator",(function(){return Lt})),n.d(i,"detectOverflow",(function(){return vt})),n.d(i,"createPopperBase",(function(){return Dt})),n.d(i,"createPopper",(function(){return Ot})),n.d(i,"createPopperLite",(function(){return Nt}));var r={};n.r(r),n.d(r,"Alert",(function(){return fe})),n.d(r,"Button",(function(){return pe})),n.d(r,"Carousel",(function(){return Ae})),n.d(r,"Collapse",(function(){return Oe})),n.d(r,"Dropdown",(function(){return ze})),n.d(r,"Modal",(function(){return Ve})),n.d(r,"Offcanvas",(function(){return Je})),n.d(r,"Popover",(function(){return yn})),n.d(r,"ScrollSpy",(function(){return xn})),n.d(r,"Tab",(function(){return _n})),n.d(r,"Toast",(function(){return Cn})),n.d(r,"Tooltip",(function(){return fn}));n("RkmP");var o="top",s="bottom",a="right",l="left",c="auto",u=[o,s,a,l],d="start",h="end",f="clippingParents",p="viewport",g="popper",m="reference",v=u.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+h])}),[]),y=[].concat(u,[c]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+h])}),[]),b="beforeRead",w="read",x="afterRead",_="beforeMain",E="main",S="afterMain",C="beforeWrite",T="write",k="afterWrite",A=[b,w,x,_,E,S,C,T,k];function L(t){return t?(t.nodeName||"").toLowerCase():null}function D(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function O(t){return t instanceof D(t).Element||t instanceof Element}function N(t){return t instanceof D(t).HTMLElement||t instanceof HTMLElement}function F(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}var j={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];N(r)&&L(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});N(i)&&L(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function P(t){return t.split("-")[0]}function I(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function M(t){var e=I(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function B(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&F(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function q(t){return D(t).getComputedStyle(t)}function H(t){return["table","td","th"].indexOf(L(t))>=0}function z(t){return((O(t)?t.ownerDocument:t.document)||window.document).documentElement}function R(t){return"html"===L(t)?t:t.assignedSlot||t.parentNode||(F(t)?t.host:null)||z(t)}function W(t){return N(t)&&"fixed"!==q(t).position?t.offsetParent:null}function V(t){for(var e=D(t),n=W(t);n&&H(n)&&"static"===q(n).position;)n=W(n);return n&&("html"===L(n)||"body"===L(n)&&"static"===q(n).position)?e:n||function(t){for(var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=R(t);N(n)&&["html","body"].indexOf(L(n))<0;){var i=q(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var Y=Math.max,$=Math.min,U=Math.round;function G(t,e,n){return Y(t,$(e,n))}function K(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,c=n.elements.arrow,d=n.modifiersData.popperOffsets,h=P(n.placement),f=X(h),p=[l,a].indexOf(h)>=0?"height":"width";if(c&&d){var g=function(t,e){return K("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,u))}(r.padding,n),m=M(c),v="y"===f?o:l,y="y"===f?s:a,b=n.rects.reference[p]+n.rects.reference[f]-d[f]-n.rects.popper[p],w=d[f]-n.rects.reference[f],x=V(c),_=x?"y"===f?x.clientHeight||0:x.clientWidth||0:0,E=b/2-w/2,S=g[v],C=_-m[p]-g[y],T=_/2-m[p]/2+E,k=G(S,T,C),A=f;n.modifiersData[i]=((e={})[A]=k,e.centerOffset=k-T,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&B(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tt(t){var e,n=t.popper,i=t.popperRect,r=t.placement,c=t.offsets,u=t.position,d=t.gpuAcceleration,h=t.adaptive,f=t.roundOffsets,p=!0===f?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:U(U(e*i)/i)||0,y:U(U(n*i)/i)||0}}(c):"function"==typeof f?f(c):c,g=p.x,m=void 0===g?0:g,v=p.y,y=void 0===v?0:v,b=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),x=l,_=o,E=window;if(h){var S=V(n),C="clientHeight",T="clientWidth";S===D(n)&&"static"!==q(S=z(n)).position&&(C="scrollHeight",T="scrollWidth"),S=S,r===o&&(_=s,y-=S[C]-i.height,y*=d?1:-1),r===l&&(x=a,m-=S[T]-i.width,m*=d?1:-1)}var k,A=Object.assign({position:u},h&&J);return d?Object.assign({},A,((k={})[_]=w?"0":"",k[x]=b?"0":"",k.transform=(E.devicePixelRatio||1)<2?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",k)):Object.assign({},A,((e={})[_]=w?y+"px":"",e[x]=b?m+"px":"",e.transform="",e))}var et={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,l=void 0===a||a,c={placement:P(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,tt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,tt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0};var it={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,a=void 0===s||s,l=D(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,nt)})),a&&l.addEventListener("resize",n.update,nt),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,nt)})),a&&l.removeEventListener("resize",n.update,nt)}},data:{}},rt={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(t){return t.replace(/left|right|bottom|top/g,(function(t){return rt[t]}))}var st={start:"end",end:"start"};function at(t){return t.replace(/start|end/g,(function(t){return st[t]}))}function lt(t){var e=D(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ct(t){return I(z(t)).left+lt(t).scrollLeft}function ut(t){var e=q(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function dt(t,e){var n;void 0===e&&(e=[]);var i=function t(e){return["html","body","#document"].indexOf(L(e))>=0?e.ownerDocument.body:N(e)&&ut(e)?e:t(R(e))}(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=D(i),s=r?[o].concat(o.visualViewport||[],ut(i)?i:[]):i,a=e.concat(s);return r?a:a.concat(dt(R(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ft(t,e){return e===p?ht(function(t){var e=D(t),n=z(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,a=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:r,height:o,x:s+ct(t),y:a}}(t)):N(e)?function(t){var e=I(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ht(function(t){var e,n=z(t),i=lt(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=Y(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=Y(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-i.scrollLeft+ct(t),l=-i.scrollTop;return"rtl"===q(r||n).direction&&(a+=Y(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(z(t)))}function pt(t,e,n){var i="clippingParents"===e?function(t){var e=dt(R(t)),n=["absolute","fixed"].indexOf(q(t).position)>=0&&N(t)?V(t):t;return O(n)?e.filter((function(t){return O(t)&&B(t,n)&&"body"!==L(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],s=r.reduce((function(e,n){var i=ft(t,n);return e.top=Y(i.top,e.top),e.right=$(i.right,e.right),e.bottom=$(i.bottom,e.bottom),e.left=Y(i.left,e.left),e}),ft(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function gt(t){return t.split("-")[1]}function mt(t){var e,n=t.reference,i=t.element,r=t.placement,c=r?P(r):null,u=r?gt(r):null,f=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2;switch(c){case o:e={x:f,y:n.y-i.height};break;case s:e={x:f,y:n.y+n.height};break;case a:e={x:n.x+n.width,y:p};break;case l:e={x:n.x-i.width,y:p};break;default:e={x:n.x,y:n.y}}var g=c?X(c):null;if(null!=g){var m="y"===g?"height":"width";switch(u){case d:e[g]=e[g]-(n[m]/2-i[m]/2);break;case h:e[g]=e[g]+(n[m]/2-i[m]/2)}}return e}function vt(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,l=n.boundary,c=void 0===l?f:l,d=n.rootBoundary,h=void 0===d?p:d,v=n.elementContext,y=void 0===v?g:v,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,_=void 0===x?0:x,E=K("number"!=typeof _?_:Q(_,u)),S=y===g?m:g,C=t.elements.reference,T=t.rects.popper,k=t.elements[w?S:y],A=pt(O(k)?k:k.contextElement||z(t.elements.popper),c,h),L=I(C),D=mt({reference:L,element:T,strategy:"absolute",placement:r}),N=ht(Object.assign({},T,D)),F=y===g?N:L,j={top:A.top-F.top+E.top,bottom:F.bottom-A.bottom+E.bottom,left:A.left-F.left+E.left,right:F.right-A.right+E.right},P=t.modifiersData.offset;if(y===g&&P){var M=P[r];Object.keys(j).forEach((function(t){var e=[a,s].indexOf(t)>=0?1:-1,n=[o,s].indexOf(t)>=0?"y":"x";j[t]+=M[n]*e}))}return j}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,h=void 0===r||r,f=n.altAxis,p=void 0===f||f,g=n.fallbackPlacements,m=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,_=n.flipVariations,E=void 0===_||_,S=n.allowedAutoPlacements,C=e.options.placement,T=P(C),k=g||(T===C||!E?[ot(C)]:function(t){if(P(t)===c)return[];var e=ot(t);return[at(t),e,at(e)]}(C)),A=[C].concat(k).reduce((function(t,n){return t.concat(P(n)===c?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?y:l,d=gt(i),h=d?a?v:v.filter((function(t){return gt(t)===d})):u,f=h.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=h);var p=f.reduce((function(e,n){return e[n]=vt(t,{placement:n,boundary:r,rootBoundary:o,padding:s})[P(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:b,rootBoundary:w,padding:m,flipVariations:E,allowedAutoPlacements:S}):n)}),[]),L=e.rects.reference,D=e.rects.popper,O=new Map,N=!0,F=A[0],j=0;j<A.length;j++){var I=A[j],M=P(I),B=gt(I)===d,q=[o,s].indexOf(M)>=0,H=q?"width":"height",z=vt(e,{placement:I,boundary:b,rootBoundary:w,altBoundary:x,padding:m}),R=q?B?a:l:B?s:o;L[H]>D[H]&&(R=ot(R));var W=ot(R),V=[];if(h&&V.push(z[M]<=0),p&&V.push(z[R]<=0,z[W]<=0),V.every((function(t){return t}))){F=I,N=!1;break}O.set(I,V)}if(N)for(var X=function(t){var e=A.find((function(e){var n=O.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return F=e,"break"},Y=E?3:1;Y>0;Y--){if("break"===X(Y))break}e.placement!==F&&(e.modifiersData[i]._skip=!0,e.placement=F,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function wt(t){return[o,a,s,l].some((function(e){return t[e]>=0}))}var xt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,s=vt(e,{elementContext:"reference"}),a=vt(e,{altBoundary:!0}),l=bt(s,i),c=bt(a,r,o),u=wt(l),d=wt(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var _t={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,s=void 0===r?[0,0]:r,c=y.reduce((function(t,n){return t[n]=function(t,e,n){var i=P(t),r=[l,o].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},e,{placement:t})):n,c=s[0],u=s[1];return c=c||0,u=(u||0)*r,[l,a].indexOf(i)>=0?{x:u,y:c}:{x:c,y:u}}(n,e.rects,s),t}),{}),u=c[e.placement],d=u.x,h=u.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=d,e.modifiersData.popperOffsets.y+=h),e.modifiersData[i]=c}};var Et={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=mt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var St={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,c=void 0===r||r,u=n.altAxis,h=void 0!==u&&u,f=n.boundary,p=n.rootBoundary,g=n.altBoundary,m=n.padding,v=n.tether,y=void 0===v||v,b=n.tetherOffset,w=void 0===b?0:b,x=vt(e,{boundary:f,rootBoundary:p,padding:m,altBoundary:g}),_=P(e.placement),E=gt(e.placement),S=!E,C=X(_),T="x"===C?"y":"x",k=e.modifiersData.popperOffsets,A=e.rects.reference,L=e.rects.popper,D="function"==typeof w?w(Object.assign({},e.rects,{placement:e.placement})):w,O={x:0,y:0};if(k){if(c||h){var N="y"===C?o:l,F="y"===C?s:a,j="y"===C?"height":"width",I=k[C],B=k[C]+x[N],q=k[C]-x[F],H=y?-L[j]/2:0,z=E===d?A[j]:L[j],R=E===d?-L[j]:-A[j],W=e.elements.arrow,U=y&&W?M(W):{width:0,height:0},K=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=K[N],Z=K[F],J=G(0,A[j],U[j]),tt=S?A[j]/2-H-J-Q-D:z-J-Q-D,et=S?-A[j]/2+H+J+Z+D:R+J+Z+D,nt=e.elements.arrow&&V(e.elements.arrow),it=nt?"y"===C?nt.clientTop||0:nt.clientLeft||0:0,rt=e.modifiersData.offset?e.modifiersData.offset[e.placement][C]:0,ot=k[C]+tt-rt-it,st=k[C]+et-rt;if(c){var at=G(y?$(B,ot):B,I,y?Y(q,st):q);k[C]=at,O[C]=at-I}if(h){var lt="x"===C?o:l,ct="x"===C?s:a,ut=k[T],dt=ut+x[lt],ht=ut-x[ct],ft=G(y?$(dt,ot):dt,ut,y?Y(ht,st):ht);k[T]=ft,O[T]=ft-ut}}e.modifiersData[i]=O}},requiresIfExists:["offset"]};function Ct(t,e,n){void 0===n&&(n=!1);var i,r,o=z(e),s=I(t),a=N(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==L(e)||ut(o))&&(l=(i=e)!==D(i)&&N(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:lt(i)),N(e)?((c=I(e)).x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=ct(o))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Tt(t){var e=new Map,n=new Set,i=[];return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||function t(r){n.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach((function(i){if(!n.has(i)){var r=e.get(i);r&&t(r)}})),i.push(r)}(t)})),i}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function At(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Lt(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?kt:r;return function(t,e,n){void 0===n&&(n=o);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){d(),a.options=Object.assign({},o,a.options,n),a.scrollParents={reference:O(t)?dt(t):t.contextElement?dt(t.contextElement):[],popper:dt(e)};var r=function(t){var e=Tt(t);return A.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var o=r({state:a,name:e,instance:u,options:i});l.push(o||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=a.elements,e=t.reference,n=t.popper;if(At(e,n)){a.rects={reference:Ct(e,V(n),"fixed"===a.options.strategy),popper:M(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var r=a.orderedModifiers[i],o=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,i=-1}}},update:(r=function(){return new Promise((function(t){u.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!At(t,e))return u;function d(){l.forEach((function(t){return t()})),l=[]}return u.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var Dt=Lt(),Ot=Lt({defaultModifiers:[it,Et,et,j,_t,yt,St,Z,xt]}),Nt=Lt({defaultModifiers:[it,Et,et,j]});
/*!
  * Bootstrap v5.0.0-beta3 (https://getbootstrap.com/)
  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */
const Ft=t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},jt=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#"+n.split("#")[1]),e=n&&"#"!==n?n.trim():null}return e},Pt=t=>{const e=jt(t);return e&&document.querySelector(e)?e:null},It=t=>{const e=jt(t);return e?document.querySelector(e):null},Mt=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const i=Number.parseFloat(e),r=Number.parseFloat(n);return i||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0},Bt=t=>{t.dispatchEvent(new Event("transitionend"))},qt=t=>(t[0]||t).nodeType,Ht=(t,e)=>{let n=!1;const i=e+5;t.addEventListener("transitionend",(function e(){n=!0,t.removeEventListener("transitionend",e)})),setTimeout(()=>{n||Bt(t)},i)},zt=(t,e,n)=>{Object.keys(n).forEach(i=>{const r=n[i],o=e[i],s=o&&qt(o)?"element":null==(a=o)?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(r).test(s))throw new TypeError(t.toUpperCase()+": "+`Option "${i}" provided type "${s}" `+`but expected type "${r}".`)})},Rt=t=>{if(!t)return!1;if(t.style&&t.parentNode&&t.parentNode.style){const e=getComputedStyle(t),n=getComputedStyle(t.parentNode);return"none"!==e.display&&"none"!==n.display&&"hidden"!==e.visibility}return!1},Wt=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),Vt=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Vt(t.parentNode):null},Xt=()=>function(){},Yt=t=>t.offsetHeight,$t=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},Ut=()=>"rtl"===document.documentElement.dir,Gt=(t,e)=>{var n;n=()=>{const n=$t();if(n){const i=n.fn[t];n.fn[t]=e.jQueryInterface,n.fn[t].Constructor=e,n.fn[t].noConflict=()=>(n.fn[t]=i,e.jQueryInterface)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()},Kt=new Map;var Qt={set(t,e,n){Kt.has(t)||Kt.set(t,new Map);const i=Kt.get(t);i.has(e)||0===i.size?i.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,e)=>Kt.has(t)&&Kt.get(t).get(e)||null,remove(t,e){if(!Kt.has(t))return;const n=Kt.get(t);n.delete(e),0===n.size&&Kt.delete(t)}};const Zt=/[^.]*(?=\..*)\.|.*/,Jt=/\..*/,te=/::\d+$/,ee={};let ne=1;const ie={mouseenter:"mouseover",mouseleave:"mouseout"},re=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function oe(t,e){return e&&`${e}::${ne++}`||t.uidEvent||ne++}function se(t){const e=oe(t);return t.uidEvent=e,ee[e]=ee[e]||{},ee[e]}function ae(t,e,n=null){const i=Object.keys(t);for(let r=0,o=i.length;r<o;r++){const o=t[i[r]];if(o.originalHandler===e&&o.delegationSelector===n)return o}return null}function le(t,e,n){const i="string"==typeof e,r=i?n:e;let o=t.replace(Jt,"");const s=ie[o];s&&(o=s);return re.has(o)||(o=t),[i,r,o]}function ce(t,e,n,i,r){if("string"!=typeof e||!t)return;n||(n=i,i=null);const[o,s,a]=le(e,n,i),l=se(t),c=l[a]||(l[a]={}),u=ae(c,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=oe(s,e.replace(Zt,"")),h=o?function(t,e,n){return function i(r){const o=t.querySelectorAll(e);for(let{target:e}=r;e&&e!==this;e=e.parentNode)for(let s=o.length;s--;)if(o[s]===e)return r.delegateTarget=e,i.oneOff&&de.off(t,r.type,n),n.apply(e,[r]);return null}}(t,n,i):function(t,e){return function n(i){return i.delegateTarget=t,n.oneOff&&de.off(t,i.type,e),e.apply(t,[i])}}(t,n);h.delegationSelector=o?n:null,h.originalHandler=s,h.oneOff=r,h.uidEvent=d,c[d]=h,t.addEventListener(a,h,o)}function ue(t,e,n,i,r){const o=ae(e[n],i,r);o&&(t.removeEventListener(n,o,Boolean(r)),delete e[n][o.uidEvent])}const de={on(t,e,n,i){ce(t,e,n,i,!1)},one(t,e,n,i){ce(t,e,n,i,!0)},off(t,e,n,i){if("string"!=typeof e||!t)return;const[r,o,s]=le(e,n,i),a=s!==e,l=se(t),c=e.startsWith(".");if(void 0!==o){if(!l||!l[s])return;return void ue(t,l,s,o,r?n:null)}c&&Object.keys(l).forEach(n=>{!function(t,e,n,i){const r=e[n]||{};Object.keys(r).forEach(o=>{if(o.includes(i)){const i=r[o];ue(t,e,n,i.originalHandler,i.delegationSelector)}})}(t,l,n,e.slice(1))});const u=l[s]||{};Object.keys(u).forEach(n=>{const i=n.replace(te,"");if(!a||e.includes(i)){const e=u[n];ue(t,l,s,e.originalHandler,e.delegationSelector)}})},trigger(t,e,n){if("string"!=typeof e||!t)return null;const i=$t(),r=e.replace(Jt,""),o=e!==r,s=re.has(r);let a,l=!0,c=!0,u=!1,d=null;return o&&i&&(a=i.Event(e,n),i(t).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(d=document.createEvent("HTMLEvents"),d.initEvent(r,l,!0)):d=new CustomEvent(e,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach(t=>{Object.defineProperty(d,t,{get:()=>n[t]})}),u&&d.preventDefault(),c&&t.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}};class he{constructor(t){(t="string"==typeof t?document.querySelector(t):t)&&(this._element=t,Qt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Qt.remove(this._element,this.constructor.DATA_KEY),this._element=null}static getInstance(t){return Qt.get(t,this.DATA_KEY)}static get VERSION(){return"5.0.0-beta3"}}class fe extends he{static get DATA_KEY(){return"bs.alert"}close(t){const e=t?this._getRootElement(t):this._element,n=this._triggerCloseEvent(e);null===n||n.defaultPrevented||this._removeElement(e)}_getRootElement(t){return It(t)||t.closest(".alert")}_triggerCloseEvent(t){return de.trigger(t,"close.bs.alert")}_removeElement(t){if(t.classList.remove("show"),!t.classList.contains("fade"))return void this._destroyElement(t);const e=Mt(t);de.one(t,"transitionend",()=>this._destroyElement(t)),Ht(t,e)}_destroyElement(t){t.parentNode&&t.parentNode.removeChild(t),de.trigger(t,"closed.bs.alert")}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.alert");e||(e=new fe(this)),"close"===t&&e[t](this)}))}static handleDismiss(t){return function(e){e&&e.preventDefault(),t.close(this)}}}de.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',fe.handleDismiss(new fe)),Gt("alert",fe);class pe extends he{static get DATA_KEY(){return"bs.button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.button");e||(e=new pe(this)),"toggle"===t&&e[t]()}))}}function ge(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function me(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}de.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',t=>{t.preventDefault();const e=t.target.closest('[data-bs-toggle="button"]');let n=Qt.get(e,"bs.button");n||(n=new pe(e)),n.toggle()}),Gt("button",pe);const ve={setDataAttribute(t,e,n){t.setAttribute("data-bs-"+me(e),n)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+me(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>t.startsWith("bs")).forEach(n=>{let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=ge(t.dataset[n])}),e},getDataAttribute:(t,e)=>ge(t.getAttribute("data-bs-"+me(e))),offset(t){const e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},position:t=>({top:t.offsetTop,left:t.offsetLeft})},ye={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){const n=[];let i=t.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(e)&&n.push(i),i=i.parentNode;return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]}},be=".bs.carousel",we={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},xe={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},_e="next",Ee="prev",Se="left",Ce="right",Te=`load${be}.data-api`,ke=`click${be}.data-api`;class Ae extends he{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=ye.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return we}static get DATA_KEY(){return"bs.carousel"}next(){this._isSliding||this._slide(_e)}nextWhenVisible(){!document.hidden&&Rt(this._element)&&this.next()}prev(){this._isSliding||this._slide(Ee)}pause(t){t||(this._isPaused=!0),ye.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Bt(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=ye.findOne(".active.carousel-item",this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void de.one(this._element,"slid.bs.carousel",()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const n=t>e?_e:Ee;this._slide(n,this._items[t])}dispose(){de.off(this._element,be),this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null,super.dispose()}_getConfig(t){return t={...we,...t},zt("carousel",t,xe),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?Ce:Se)}_addEventListeners(){this._config.keyboard&&de.on(this._element,"keydown.bs.carousel",t=>this._keydown(t)),"hover"===this._config.pause&&(de.on(this._element,"mouseenter.bs.carousel",t=>this.pause(t)),de.on(this._element,"mouseleave.bs.carousel",t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?this._pointerEvent||(this.touchStartX=t.touches[0].clientX):this.touchStartX=t.clientX},e=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},n=t=>{!this._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};ye.find(".carousel-item img",this._element).forEach(t=>{de.on(t,"dragstart.bs.carousel",t=>t.preventDefault())}),this._pointerEvent?(de.on(this._element,"pointerdown.bs.carousel",e=>t(e)),de.on(this._element,"pointerup.bs.carousel",t=>n(t)),this._element.classList.add("pointer-event")):(de.on(this._element,"touchstart.bs.carousel",e=>t(e)),de.on(this._element,"touchmove.bs.carousel",t=>e(t)),de.on(this._element,"touchend.bs.carousel",t=>n(t)))}_keydown(t){/input|textarea/i.test(t.target.tagName)||("ArrowLeft"===t.key?(t.preventDefault(),this._slide(Se)):"ArrowRight"===t.key&&(t.preventDefault(),this._slide(Ce)))}_getItemIndex(t){return this._items=t&&t.parentNode?ye.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const n=t===_e,i=t===Ee,r=this._getItemIndex(e),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return e;const s=(r+(i?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]}_triggerSlideEvent(t,e){const n=this._getItemIndex(t),i=this._getItemIndex(ye.findOne(".active.carousel-item",this._element));return de.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=ye.findOne(".active",this._indicatorsElement);e.classList.remove("active"),e.removeAttribute("aria-current");const n=ye.find("[data-bs-target]",this._indicatorsElement);for(let e=0;e<n.length;e++)if(Number.parseInt(n[e].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){n[e].classList.add("active"),n[e].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||ye.findOne(".active.carousel-item",this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const n=this._directionToOrder(t),i=ye.findOne(".active.carousel-item",this._element),r=this._getItemIndex(i),o=e||this._getItemByOrder(n,i),s=this._getItemIndex(o),a=Boolean(this._interval),l=n===_e,c=l?"carousel-item-start":"carousel-item-end",u=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(n);if(o&&o.classList.contains("active"))return void(this._isSliding=!1);if(!this._triggerSlideEvent(o,d).defaultPrevented&&i&&o){if(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o,this._element.classList.contains("slide")){o.classList.add(u),Yt(o),i.classList.add(c),o.classList.add(c);const t=Mt(i);de.one(i,"transitionend",()=>{o.classList.remove(c,u),o.classList.add("active"),i.classList.remove("active",u,c),this._isSliding=!1,setTimeout(()=>{de.trigger(this._element,"slid.bs.carousel",{relatedTarget:o,direction:d,from:r,to:s})},0)}),Ht(i,t)}else i.classList.remove("active"),o.classList.add("active"),this._isSliding=!1,de.trigger(this._element,"slid.bs.carousel",{relatedTarget:o,direction:d,from:r,to:s});a&&this.cycle()}}_directionToOrder(t){return[Ce,Se].includes(t)?Ut()?t===Ce?Ee:_e:t===Ce?_e:Ee:t}_orderToDirection(t){return[_e,Ee].includes(t)?Ut()?t===_e?Se:Ce:t===_e?Ce:Se:t}static carouselInterface(t,e){let n=Qt.get(t,"bs.carousel"),i={...we,...ve.getDataAttributes(t)};"object"==typeof e&&(i={...i,...e});const r="string"==typeof e?e:i.slide;if(n||(n=new Ae(t,i)),"number"==typeof e)n.to(e);else if("string"==typeof r){if(void 0===n[r])throw new TypeError(`No method named "${r}"`);n[r]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(t){return this.each((function(){Ae.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=It(this);if(!e||!e.classList.contains("carousel"))return;const n={...ve.getDataAttributes(e),...ve.getDataAttributes(this)},i=this.getAttribute("data-bs-slide-to");i&&(n.interval=!1),Ae.carouselInterface(e,n),i&&Qt.get(e,"bs.carousel").to(i),t.preventDefault()}}de.on(document,ke,"[data-bs-slide], [data-bs-slide-to]",Ae.dataApiClickHandler),de.on(window,Te,()=>{const t=ye.find('[data-bs-ride="carousel"]');for(let e=0,n=t.length;e<n;e++)Ae.carouselInterface(t[e],Qt.get(t[e],"bs.carousel"))}),Gt("carousel",Ae);const Le={toggle:!0,parent:""},De={toggle:"boolean",parent:"(string|element)"};class Oe extends he{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=ye.find(`[data-bs-toggle="collapse"][href="#${this._element.id}"],[data-bs-toggle="collapse"][data-bs-target="#${this._element.id}"]`);const n=ye.find('[data-bs-toggle="collapse"]');for(let t=0,e=n.length;t<e;t++){const e=n[t],i=Pt(e),r=ye.find(i).filter(t=>t===this._element);null!==i&&r.length&&(this._selector=i,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}static get Default(){return Le}static get DATA_KEY(){return"bs.collapse"}toggle(){this._element.classList.contains("show")?this.hide():this.show()}show(){if(this._isTransitioning||this._element.classList.contains("show"))return;let t,e;this._parent&&(t=ye.find(".show, .collapsing",this._parent).filter(t=>"string"==typeof this._config.parent?t.getAttribute("data-bs-parent")===this._config.parent:t.classList.contains("collapse")),0===t.length&&(t=null));const n=ye.findOne(this._selector);if(t){const i=t.find(t=>n!==t);if(e=i?Qt.get(i,"bs.collapse"):null,e&&e._isTransitioning)return}if(de.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t&&t.forEach(t=>{n!==t&&Oe.collapseInterface(t,"hide"),e||Qt.set(t,"bs.collapse",null)});const i=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[i]=0,this._triggerArray.length&&this._triggerArray.forEach(t=>{t.classList.remove("collapsed"),t.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);const r="scroll"+(i[0].toUpperCase()+i.slice(1)),o=Mt(this._element);de.one(this._element,"transitionend",()=>{this._element.classList.remove("collapsing"),this._element.classList.add("collapse","show"),this._element.style[i]="",this.setTransitioning(!1),de.trigger(this._element,"shown.bs.collapse")}),Ht(this._element,o),this._element.style[i]=this._element[r]+"px"}hide(){if(this._isTransitioning||!this._element.classList.contains("show"))return;if(de.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",Yt(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");const e=this._triggerArray.length;if(e>0)for(let t=0;t<e;t++){const e=this._triggerArray[t],n=It(e);n&&!n.classList.contains("show")&&(e.classList.add("collapsed"),e.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="";const n=Mt(this._element);de.one(this._element,"transitionend",()=>{this.setTransitioning(!1),this._element.classList.remove("collapsing"),this._element.classList.add("collapse"),de.trigger(this._element,"hidden.bs.collapse")}),Ht(this._element,n)}setTransitioning(t){this._isTransitioning=t}dispose(){super.dispose(),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null}_getConfig(t){return(t={...Le,...t}).toggle=Boolean(t.toggle),zt("collapse",t,De),t}_getDimension(){return this._element.classList.contains("width")?"width":"height"}_getParent(){let{parent:t}=this._config;qt(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=ye.findOne(t);const e=`[data-bs-toggle="collapse"][data-bs-parent="${t}"]`;return ye.find(e,t).forEach(t=>{const e=It(t);this._addAriaAndCollapsedClass(e,[t])}),t}_addAriaAndCollapsedClass(t,e){if(!t||!e.length)return;const n=t.classList.contains("show");e.forEach(t=>{n?t.classList.remove("collapsed"):t.classList.add("collapsed"),t.setAttribute("aria-expanded",n)})}static collapseInterface(t,e){let n=Qt.get(t,"bs.collapse");const i={...Le,...ve.getDataAttributes(t),..."object"==typeof e&&e?e:{}};if(!n&&i.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),n||(n=new Oe(t,i)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){Oe.collapseInterface(this,t)}))}}de.on(document,"click.bs.collapse.data-api",'[data-bs-toggle="collapse"]',(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=ve.getDataAttributes(this),n=Pt(this);ye.find(n).forEach(t=>{const n=Qt.get(t,"bs.collapse");let i;n?(null===n._parent&&"string"==typeof e.parent&&(n._config.parent=e.parent,n._parent=n._getParent()),i="toggle"):i=e,Oe.collapseInterface(t,i)})})),Gt("collapse",Oe);const Ne=new RegExp("ArrowUp|ArrowDown|Escape"),Fe=Ut()?"top-end":"top-start",je=Ut()?"top-start":"top-end",Pe=Ut()?"bottom-end":"bottom-start",Ie=Ut()?"bottom-start":"bottom-end",Me=Ut()?"left-start":"right-start",Be=Ut()?"right-start":"left-start",qe={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null},He={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)"};class ze extends he{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}static get Default(){return qe}static get DefaultType(){return He}static get DATA_KEY(){return"bs.dropdown"}toggle(){if(this._element.disabled||this._element.classList.contains("disabled"))return;const t=this._element.classList.contains("show");ze.clearMenus(),t||this.show()}show(){if(this._element.disabled||this._element.classList.contains("disabled")||this._menu.classList.contains("show"))return;const t=ze.getParentFromElement(this._element),e={relatedTarget:this._element};if(!de.trigger(this._element,"show.bs.dropdown",e).defaultPrevented){if(this._inNavbar)ve.setDataAttribute(this._menu,"popper","none");else{if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:qt(this._config.reference)?(e=this._config.reference,void 0!==this._config.reference.jquery&&(e=this._config.reference[0])):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),r=n.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=Ot(e,this._menu,n),r&&ve.setDataAttribute(this._menu,"popper","static")}"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>de.on(t,"mouseover",null,(function(){}))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),de.trigger(this._element,"shown.bs.dropdown",e)}}hide(){if(this._element.disabled||this._element.classList.contains("disabled")||!this._menu.classList.contains("show"))return;const t={relatedTarget:this._element};de.trigger(this._element,"hide.bs.dropdown",t).defaultPrevented||(this._popper&&this._popper.destroy(),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),ve.removeDataAttribute(this._menu,"popper"),de.trigger(this._element,"hidden.bs.dropdown",t))}dispose(){de.off(this._element,".bs.dropdown"),this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_addEventListeners(){de.on(this._element,"click.bs.dropdown",t=>{t.preventDefault(),this.toggle()})}_getConfig(t){if(t={...this.constructor.Default,...ve.getDataAttributes(this._element),...t},zt("dropdown",t,this.constructor.DefaultType),"object"==typeof t.reference&&!qt(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_getMenuElement(){return ye.next(this._element,".dropdown-menu")[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return Me;if(t.classList.contains("dropstart"))return Be;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?je:Fe:e?Ie:Pe}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}static dropdownInterface(t,e){let n=Qt.get(t,"bs.dropdown");if(n||(n=new ze(t,"object"==typeof e?e:null)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}static jQueryInterface(t){return this.each((function(){ze.dropdownInterface(this,t)}))}static clearMenus(t){if(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;if(/input|select|textarea|form/i.test(t.target.tagName))return}const e=ye.find('[data-bs-toggle="dropdown"]');for(let n=0,i=e.length;n<i;n++){const i=Qt.get(e[n],"bs.dropdown"),r={relatedTarget:e[n]};if(t&&"click"===t.type&&(r.clickEvent=t),!i)continue;const o=i._menu;if(!e[n].classList.contains("show"))continue;if(t){if([i._element].some(e=>t.composedPath().includes(e)))continue;if("keyup"===t.type&&"Tab"===t.key&&o.contains(t.target))continue}de.trigger(e[n],"hide.bs.dropdown",r).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>de.off(t,"mouseover",null,(function(){}))),e[n].setAttribute("aria-expanded","false"),i._popper&&i._popper.destroy(),o.classList.remove("show"),e[n].classList.remove("show"),ve.removeDataAttribute(o,"popper"),de.trigger(e[n],"hidden.bs.dropdown",r))}}static getParentFromElement(t){return It(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?"Space"===t.key||"Escape"!==t.key&&("ArrowDown"!==t.key&&"ArrowUp"!==t.key||t.target.closest(".dropdown-menu")):!Ne.test(t.key))return;if(t.preventDefault(),t.stopPropagation(),this.disabled||this.classList.contains("disabled"))return;const e=ze.getParentFromElement(this),n=this.classList.contains("show");if("Escape"===t.key){return(this.matches('[data-bs-toggle="dropdown"]')?this:ye.prev(this,'[data-bs-toggle="dropdown"]')[0]).focus(),void ze.clearMenus()}if(!n&&("ArrowUp"===t.key||"ArrowDown"===t.key)){return void(this.matches('[data-bs-toggle="dropdown"]')?this:ye.prev(this,'[data-bs-toggle="dropdown"]')[0]).click()}if(!n||"Space"===t.key)return void ze.clearMenus();const i=ye.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",e).filter(Rt);if(!i.length)return;let r=i.indexOf(t.target);"ArrowUp"===t.key&&r>0&&r--,"ArrowDown"===t.key&&r<i.length-1&&r++,r=-1===r?0:r,i[r].focus()}}de.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',ze.dataApiKeydownHandler),de.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",ze.dataApiKeydownHandler),de.on(document,"click.bs.dropdown.data-api",ze.clearMenus),de.on(document,"keyup.bs.dropdown.data-api",ze.clearMenus),de.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',(function(t){t.preventDefault(),ze.dropdownInterface(this)})),Gt("dropdown",ze);const Re={backdrop:!0,keyboard:!0,focus:!0},We={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"};class Ve extends he{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=ye.findOne(".modal-dialog",this._element),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}static get Default(){return Re}static get DATA_KEY(){return"bs.modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;this._isAnimated()&&(this._isTransitioning=!0);const e=de.trigger(this._element,"show.bs.modal",{relatedTarget:t});this._isShown||e.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),de.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',t=>this.hide(t)),de.on(this._dialog,"mousedown.dismiss.bs.modal",()=>{de.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(t){if(t&&t.preventDefault(),!this._isShown||this._isTransitioning)return;if(de.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();if(e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),de.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),de.off(this._element,"click.dismiss.bs.modal"),de.off(this._dialog,"mousedown.dismiss.bs.modal"),e){const t=Mt(this._element);de.one(this._element,"transitionend",t=>this._hideModal(t)),Ht(this._element,t)}else this._hideModal()}dispose(){[window,this._element,this._dialog].forEach(t=>de.off(t,".bs.modal")),super.dispose(),de.off(document,"focusin.bs.modal"),this._config=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null}handleUpdate(){this._adjustDialog()}_getConfig(t){return t={...Re,...t},zt("modal",t,We),t}_showElement(t){const e=this._isAnimated(),n=ye.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),e&&Yt(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus();const i=()=>{this._config.focus&&this._element.focus(),this._isTransitioning=!1,de.trigger(this._element,"shown.bs.modal",{relatedTarget:t})};if(e){const t=Mt(this._dialog);de.one(this._dialog,"transitionend",i),Ht(this._dialog,t)}else i()}_enforceFocus(){de.off(document,"focusin.bs.modal"),de.on(document,"focusin.bs.modal",t=>{document===t.target||this._element===t.target||this._element.contains(t.target)||this._element.focus()})}_setEscapeEvent(){this._isShown?de.on(this._element,"keydown.dismiss.bs.modal",t=>{this._config.keyboard&&"Escape"===t.key?(t.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==t.key||this._triggerBackdropTransition()}):de.off(this._element,"keydown.dismiss.bs.modal")}_setResizeEvent(){this._isShown?de.on(window,"resize.bs.modal",()=>this._adjustDialog()):de.off(window,"resize.bs.modal")}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(()=>{document.body.classList.remove("modal-open"),this._resetAdjustments(),this._resetScrollbar(),de.trigger(this._element,"hidden.bs.modal")})}_removeBackdrop(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null}_showBackdrop(t){const e=this._isAnimated();if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",e&&this._backdrop.classList.add("fade"),document.body.appendChild(this._backdrop),de.on(this._element,"click.dismiss.bs.modal",t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===this._config.backdrop?this._triggerBackdropTransition():this.hide())}),e&&Yt(this._backdrop),this._backdrop.classList.add("show"),!e)return void t();const n=Mt(this._backdrop);de.one(this._backdrop,"transitionend",t),Ht(this._backdrop,n)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove("show");const n=()=>{this._removeBackdrop(),t()};if(e){const t=Mt(this._backdrop);de.one(this._backdrop,"transitionend",n),Ht(this._backdrop,t)}else n()}else t()}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(de.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");const e=Mt(this._dialog);de.off(this._element,"transitionend"),de.one(this._element,"transitionend",()=>{this._element.classList.remove("modal-static"),t||(de.one(this._element,"transitionend",()=>{this._element.style.overflowY=""}),Ht(this._element,e))}),Ht(this._element,e),this._element.focus()}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&t&&!Ut()||this._isBodyOverflowing&&!t&&Ut())&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!t&&!Ut()||!this._isBodyOverflowing&&t&&Ut())&&(this._element.style.paddingRight=this._scrollbarWidth+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}_checkScrollbar(){const t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}_setScrollbar(){this._isBodyOverflowing&&(this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",t=>t+this._scrollbarWidth),this._setElementAttributes(".sticky-top","marginRight",t=>t-this._scrollbarWidth),this._setElementAttributes("body","paddingRight",t=>t+this._scrollbarWidth)),document.body.classList.add("modal-open")}_setElementAttributes(t,e,n){ye.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+this._scrollbarWidth)return;const i=t.style[e],r=window.getComputedStyle(t)[e];ve.setDataAttribute(t,e,i),t.style[e]=n(Number.parseFloat(r))+"px"})}_resetScrollbar(){this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight"),this._resetElementAttributes("body","paddingRight")}_resetElementAttributes(t,e){ye.find(t).forEach(t=>{const n=ve.getDataAttribute(t,e);void 0===n&&t===document.body?t.style[e]="":(ve.removeDataAttribute(t,e),t.style[e]=n)})}_getScrollbarWidth(){const t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);const e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}static jQueryInterface(t,e){return this.each((function(){let n=Qt.get(this,"bs.modal");const i={...Re,...ve.getDataAttributes(this),..."object"==typeof t&&t?t:{}};if(n||(n=new Ve(this,i)),"string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}de.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(t){const e=It(this);"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault(),de.one(e,"show.bs.modal",t=>{t.defaultPrevented||de.one(e,"hidden.bs.modal",()=>{Rt(this)&&this.focus()})});let n=Qt.get(e,"bs.modal");if(!n){const t={...ve.getDataAttributes(e),...ve.getDataAttributes(this)};n=new Ve(e,t)}n.toggle(this)})),Gt("modal",Ve);const Xe=()=>{const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)},Ye=(t,e,n)=>{const i=Xe();ye.find(t).forEach(t=>{if(t!==document.body&&window.innerWidth>t.clientWidth+i)return;const r=t.style[e],o=window.getComputedStyle(t)[e];ve.setDataAttribute(t,e,r),t.style[e]=n(Number.parseFloat(o))+"px"})},$e=(t,e)=>{ye.find(t).forEach(t=>{const n=ve.getDataAttribute(t,e);void 0===n&&t===document.body?t.style.removeProperty(e):(ve.removeDataAttribute(t,e),t.style[e]=n)})},Ue=".bs.offcanvas",Ge=`load${Ue}.data-api`,Ke={backdrop:!0,keyboard:!0,scroll:!1},Qe={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Ze=`click${Ue}.data-api`;class Je extends he{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._addEventListeners()}static get Default(){return Ke}static get DATA_KEY(){return"bs.offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(de.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._config.backdrop&&document.body.classList.add("offcanvas-backdrop"),this._config.scroll||((t=Xe())=>{document.body.style.overflow="hidden",Ye(".fixed-top, .fixed-bottom, .is-fixed","paddingRight",e=>e+t),Ye(".sticky-top","marginRight",e=>e-t),Ye("body","paddingRight",e=>e+t)})(),this._element.classList.add("offcanvas-toggling"),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show");setTimeout(()=>{this._element.classList.remove("offcanvas-toggling"),de.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t}),this._enforceFocusOnElement(this._element)},Mt(this._element))}hide(){if(!this._isShown)return;if(de.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._element.classList.add("offcanvas-toggling"),de.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show");setTimeout(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.backdrop&&document.body.classList.remove("offcanvas-backdrop"),this._config.scroll||(document.body.style.overflow="auto",$e(".fixed-top, .fixed-bottom, .is-fixed","paddingRight"),$e(".sticky-top","marginRight"),$e("body","paddingRight")),de.trigger(this._element,"hidden.bs.offcanvas"),this._element.classList.remove("offcanvas-toggling")},Mt(this._element))}_getConfig(t){return t={...Ke,...ve.getDataAttributes(this._element),..."object"==typeof t?t:{}},zt("offcanvas",t,Qe),t}_enforceFocusOnElement(t){de.off(document,"focusin.bs.offcanvas"),de.on(document,"focusin.bs.offcanvas",e=>{document===e.target||t===e.target||t.contains(e.target)||t.focus()}),t.focus()}_addEventListeners(){de.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',()=>this.hide()),de.on(document,"keydown",t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()}),de.on(document,Ze,t=>{const e=ye.findOne(Pt(t.target));this._element.contains(t.target)||e===this._element||this.hide()})}static jQueryInterface(t){return this.each((function(){const e=Qt.get(this,"bs.offcanvas")||new Je(this,"object"==typeof t?t:{});if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}de.on(document,Ze,'[data-bs-toggle="offcanvas"]',(function(t){const e=It(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Wt(this))return;de.one(e,"hidden.bs.offcanvas",()=>{Rt(this)&&this.focus()});const n=ye.findOne(".offcanvas.show, .offcanvas-toggling");if(n&&n!==e)return;(Qt.get(e,"bs.offcanvas")||new Je(e)).toggle(this)})),de.on(window,Ge,()=>{ye.find(".offcanvas.show").forEach(t=>(Qt.get(t,"bs.offcanvas")||new Je(t)).show())}),Gt("offcanvas",Je);const tn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),en=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,nn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,rn=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n))return!tn.has(n)||Boolean(en.test(t.nodeValue)||nn.test(t.nodeValue));const i=e.filter(t=>t instanceof RegExp);for(let t=0,e=i.length;t<e;t++)if(i[t].test(n))return!0;return!1},on={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function sn(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const i=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(e),o=[].concat(...i.body.querySelectorAll("*"));for(let t=0,n=o.length;t<n;t++){const n=o[t],i=n.nodeName.toLowerCase();if(!r.includes(i)){n.parentNode.removeChild(n);continue}const s=[].concat(...n.attributes),a=[].concat(e["*"]||[],e[i]||[]);s.forEach(t=>{rn(t,a)||n.removeAttribute(t.nodeName)})}return i.body.innerHTML}const an=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ln=new Set(["sanitize","allowList","sanitizeFn"]),cn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},un={AUTO:"auto",TOP:"top",RIGHT:Ut()?"left":"right",BOTTOM:"bottom",LEFT:Ut()?"right":"left"},dn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:on,popperConfig:null},hn={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"};class fn extends he{constructor(t,e){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return dn}static get NAME(){return"tooltip"}static get DATA_KEY(){return"bs.tooltip"}static get Event(){return hn}static get EVENT_KEY(){return".bs.tooltip"}static get DefaultType(){return cn}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),de.off(this._element,this.constructor.EVENT_KEY),de.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=de.trigger(this._element,this.constructor.Event.SHOW),e=Vt(this._element),n=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!n)return;const i=this.getTipElement(),r=Ft(this.constructor.NAME);i.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&i.classList.add("fade");const o="function"==typeof this.config.placement?this.config.placement.call(this,i,this._element):this.config.placement,s=this._getAttachment(o);this._addAttachmentClass(s);const a=this._getContainer();Qt.set(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.appendChild(i),de.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Ot(this._element,i,this._getPopperConfig(s)),i.classList.add("show");const l="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;l&&i.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{de.on(t,"mouseover",(function(){}))});const c=()=>{const t=this._hoverState;this._hoverState=null,de.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)};if(this.tip.classList.contains("fade")){const t=Mt(this.tip);de.one(this.tip,"transitionend",c),Ht(this.tip,t)}else c()}hide(){if(!this._popper)return;const t=this.getTipElement(),e=()=>{this._isWithActiveTrigger()||("show"!==this._hoverState&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),de.trigger(this._element,this.constructor.Event.HIDDEN),this._popper&&(this._popper.destroy(),this._popper=null))};if(!de.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){if(t.classList.remove("show"),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>de.off(t,"mouseover",Xt)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){const n=Mt(t);de.one(t,"transitionend",e),Ht(t,n)}else e();this._hoverState=""}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip}setContent(){const t=this.getTipElement();this.setElementContent(ye.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove("fade","show")}setElementContent(t,e){if(null!==t)return"object"==typeof e&&qt(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=sn(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){let t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),t}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){const n=this.constructor.DATA_KEY;return(e=e||Qt.get(t.delegateTarget,n))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),Qt.set(t.delegateTarget,n,e)),e}_getOffset(){const{offset:t}=this.config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{altBoundary:!0,fallbackPlacements:this.config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this.config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"==typeof this.config.popperConfig?this.config.popperConfig(e):this.config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(t))}_getContainer(){return!1===this.config.container?document.body:qt(this.config.container)?this.config.container:ye.findOne(this.config.container)}_getAttachment(t){return un[t.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach(t=>{if("click"===t)de.on(this._element,this.constructor.Event.CLICK,this.config.selector,t=>this.toggle(t));else if("manual"!==t){const e="hover"===t?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n="hover"===t?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;de.on(this._element,e,this.config.selector,t=>this._enter(t)),de.on(this._element,n,this.config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this._element&&this.hide()},de.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e.getTipElement().classList.contains("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout(()=>{"show"===e._hoverState&&e.show()},e.config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=ve.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{ln.has(t)&&delete e[t]}),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),zt("tooltip",t,this.constructor.DefaultType),t.sanitize&&(t.template=sn(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};if(this.config)for(const e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(an);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.tooltip");const n="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new fn(this,n)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Gt("tooltip",fn);const pn=new RegExp("(^|\\s)bs-popover\\S+","g"),gn={...fn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},mn={...fn.DefaultType,content:"(string|element|function)"},vn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class yn extends fn{static get Default(){return gn}static get NAME(){return"popover"}static get DATA_KEY(){return"bs.popover"}static get Event(){return vn}static get EVENT_KEY(){return".bs.popover"}static get DefaultType(){return mn}isWithContent(){return this.getTitle()||this._getContent()}setContent(){const t=this.getTipElement();this.setElementContent(ye.findOne(".popover-header",t),this.getTitle());let e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(ye.findOne(".popover-body",t),e),t.classList.remove("fade","show")}_addAttachmentClass(t){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(t))}_getContent(){return this._element.getAttribute("data-bs-content")||this.config.content}_cleanTipClass(){const t=this.getTipElement(),e=t.getAttribute("class").match(pn);null!==e&&e.length>0&&e.map(t=>t.trim()).forEach(e=>t.classList.remove(e))}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.popover");const n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new yn(this,n),Qt.set(this,"bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Gt("popover",yn);const bn={offset:10,method:"auto",target:""},wn={offset:"number",method:"string",target:"(string|element)"};class xn extends he{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._selector=`${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,de.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return bn}static get DATA_KEY(){return"bs.scrollspy"}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":"position",e="auto"===this._config.method?t:this._config.method,n="position"===e?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();ye.find(this._selector).map(t=>{const i=Pt(t),r=i?ye.findOne(i):null;if(r){const t=r.getBoundingClientRect();if(t.width||t.height)return[ve[e](r).top+n,i]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){super.dispose(),de.off(this._scrollElement,".bs.scrollspy"),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(t){if("string"!=typeof(t={...bn,..."object"==typeof t&&t?t:{}}).target&&qt(t.target)){let{id:e}=t.target;e||(e=Ft("scrollspy"),t.target.id=e),t.target="#"+e}return zt("scrollspy",t,wn),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;){this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&(void 0===this._offsets[e+1]||t<this._offsets[e+1])&&this._activate(this._targets[e])}}}_activate(t){this._activeTarget=t,this._clear();const e=this._selector.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),n=ye.findOne(e.join(","));n.classList.contains("dropdown-item")?(ye.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add("active"),n.classList.add("active")):(n.classList.add("active"),ye.parents(n,".nav, .list-group").forEach(t=>{ye.prev(t,".nav-link, .list-group-item").forEach(t=>t.classList.add("active")),ye.prev(t,".nav-item").forEach(t=>{ye.children(t,".nav-link").forEach(t=>t.classList.add("active"))})})),de.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:t})}_clear(){ye.find(this._selector).filter(t=>t.classList.contains("active")).forEach(t=>t.classList.remove("active"))}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.scrollspy");if(e||(e=new xn(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}de.on(window,"load.bs.scrollspy.data-api",()=>{ye.find('[data-bs-spy="scroll"]').forEach(t=>new xn(t,ve.getDataAttributes(t)))}),Gt("scrollspy",xn);class _n extends he{static get DATA_KEY(){return"bs.tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active")||Wt(this._element))return;let t;const e=It(this._element),n=this._element.closest(".nav, .list-group");if(n){const e="UL"===n.nodeName||"OL"===n.nodeName?":scope > li > .active":".active";t=ye.find(e,n),t=t[t.length-1]}const i=t?de.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(de.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,n);const r=()=>{de.trigger(t,"hidden.bs.tab",{relatedTarget:this._element}),de.trigger(this._element,"shown.bs.tab",{relatedTarget:t})};e?this._activate(e,e.parentNode,r):r()}_activate(t,e,n){const i=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?ye.children(e,".active"):ye.find(":scope > li > .active",e))[0],r=n&&i&&i.classList.contains("fade"),o=()=>this._transitionComplete(t,i,n);if(i&&r){const t=Mt(i);i.classList.remove("show"),de.one(i,"transitionend",o),Ht(i,t)}else o()}_transitionComplete(t,e,n){if(e){e.classList.remove("active");const t=ye.findOne(":scope > .dropdown-menu .active",e.parentNode);t&&t.classList.remove("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(t.classList.add("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),Yt(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&t.parentNode.classList.contains("dropdown-menu")){t.closest(".dropdown")&&ye.find(".dropdown-toggle").forEach(t=>t.classList.add("active")),t.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(t){return this.each((function(){const e=Qt.get(this,"bs.tab")||new _n(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}de.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){t.preventDefault();(Qt.get(this,"bs.tab")||new _n(this)).show()})),Gt("tab",_n);const En={animation:"boolean",autohide:"boolean",delay:"number"},Sn={animation:!0,autohide:!0,delay:5e3};class Cn extends he{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._setListeners()}static get DefaultType(){return En}static get Default(){return Sn}static get DATA_KEY(){return"bs.toast"}show(){if(de.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");const t=()=>{this._element.classList.remove("showing"),this._element.classList.add("show"),de.trigger(this._element,"shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))};if(this._element.classList.remove("hide"),Yt(this._element),this._element.classList.add("showing"),this._config.animation){const e=Mt(this._element);de.one(this._element,"transitionend",t),Ht(this._element,e)}else t()}hide(){if(!this._element.classList.contains("show"))return;if(de.trigger(this._element,"hide.bs.toast").defaultPrevented)return;const t=()=>{this._element.classList.add("hide"),de.trigger(this._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){const e=Mt(this._element);de.one(this._element,"transitionend",t),Ht(this._element,e)}else t()}dispose(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),de.off(this._element,"click.dismiss.bs.toast"),super.dispose(),this._config=null}_getConfig(t){return t={...Sn,...ve.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},zt("toast",t,this.constructor.DefaultType),t}_setListeners(){de.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',()=>this.hide())}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){let e=Qt.get(this,"bs.toast");if(e||(e=new Cn(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}function Tn(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Gt("toast",Cn);var kn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,i;return e=t,i=[{key:"createNode",value:function(t){var e=this.sanitizeTemplate(t);return document.createRange().createContextualFragment(e)}},{key:"sanitizeTemplate",value:function(t){return t.replace(/<script[^>]*>(?:(?!<\/script>)[^])*<\/script\s*>/g,"")}}],(n=null)&&Tn(e.prototype,n),i&&Tn(e,i),t}();function An(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Ln=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.navigation=e,this.toggler=this.navigation.querySelector('[data-bs-toggle="offcanvas"]'),this.close=this.navigation.querySelector('[data-bs-close="offcanvas"]'),this.grayscaleObject=null}var e,n,i;return e=t,(n=[{key:"init",value:function(){}},{key:"grayscale",value:function(){if(null===this.grayscaleObject){var t=kn.createNode('<div class="grayscale"></div>');this.navigation.appendChild(t),this.grayscaleObject=this.navigation.querySelector("div.grayscale")}else this.grayscaleObject.remove(),this.grayscaleObject=null}}])&&An(e.prototype,n),i&&An(e,i),t}();var Dn=function(t){t.forEach((function(t){if(null===t)return!1;new Ln(t).init()}))};class On{constructor(t){this.element=t}init(){const t=this.element;t.classList.add("animated");document.addEventListener("scroll",()=>{document.body.scrollTop>150||document.documentElement.scrollTop>150?(t.classList.remove("fadeOut"),t.classList.add("fadeIn","slow")):t.classList.contains("fadeIn")&&(t.classList.remove("fadeIn","slow"),t.classList.add("fadeOut"))}),t.addEventListener("click",()=>{window.scrollTo(0,0)})}}function Nn(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Fn=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=e,this.trigger=this.container,this.tooltip=this.container.querySelector("ul")}var e,n,i;return e=t,(n=[{key:"init",value:function(){var t=this;null!==this.trigger&&(function(t){let e=document.createElement("div"),n=(t="on"+t)in e;return n||(e.setAttribute(t,"return;"),n="function"==typeof e[t]),e=null,n}("mouseover")?(this.trigger.addEventListener("mouseover",(function(){return t.tooltip.classList.add("show")})),this.trigger.addEventListener("mouseout",(function(){return t.tooltip.classList.remove("show")}))):this.trigger.addEventListener("click",(function(){t.tooltip.classList.contains("show")?t.tooltip.classList.remove("show"):t.tooltip.classList.add("show")})).bind(this))}}])&&Nn(e.prototype,n),i&&Nn(e,i),t}();var jn=function(t){new Fn(t).init()};function Pn(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var In=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.node=e}var e,n,i;return e=t,(n=[{key:"init",value:function(){window.addEventListener("keydown",this.handleFirstTab)}},{key:"handleFirstTab",value:function(t){9===t.keyCode&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",this.handleFirstTab))}}])&&Pn(e.prototype,n),i&&Pn(e,i),t}();var Mn=function(t){new In(t).init()};function Bn(t,e){let n={};const i=function(t){const e=new Map;e.set(".","class"),e.set("#","id"),e.set("[","data");const n=t.substring(0,1);let i=e.get(n);return i="data"===i?t.substring(1,t.length-1):null,i}(e);if(null!==i){const e=t.getAttribute(i);""!==e&&(n=JSON.parse(e))}return n}var qn=function(t,e,n=!0){n?function(t,e){const n=document.querySelector(t);null!==n&&e(n,Bn(n,t))}(t,e):function(t,e){const n=document.querySelectorAll(t);0!==n.length&&e(n,Bn(n,t))}(t,e)};function Hn(t){return function(t){if(Array.isArray(t))return zn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return zn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zn(t,e)}(t)||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 zn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Rn(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Wn=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.carousel=e,this.carouselItem=this.carousel.querySelectorAll(".carousel-item"),this.controlContainer=document.querySelector('[data-pap-control="'.concat(this.carousel.id,'"]'))}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.carouselItem.length<2&&null!=this.controlContainer&&this.controlContainer.classList.add("d-none"),this.smallScreens()}},{key:"smallScreens",value:function(){if(window.matchMedia("screen and (max-width:575.98px)").matches){var t={relatedTarget:this.carousel.querySelector(".active.carousel-item")};this.onSlideChange(t),this.carousel.addEventListener("slide.bs.carousel",this.onSlideChange.bind(this))}}},{key:"onSlideChange",value:function(t){var e=this;if(null!==t.relatedTarget){var n=t.relatedTarget.querySelector(".carousel-caption.carouselcaption");setTimeout((function(t){e.resizeControls(t.offsetHeight)}),0,n)}}},{key:"resizeControls",value:function(t){window.matchMedia("screen and (max-width:575.98px)").matches&&Hn(this.controlContainer.children).forEach((function(e){e.style.height="".concat(t,"px")}))}}])&&Rn(e.prototype,n),i&&Rn(e,i),t}();var Vn=function(t){t.forEach((function(t){new Wn(t).init()}))};function Xn(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Yn=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.accordion=e,this.carousel=null}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.hasGlideChild()&&(this.carousel.dataset.accordionId=this.accordion.id,this.carousel.classList.add("accordion-child"))}},{key:"hasGlideChild",value:function(){return this.carousel=this.accordion.querySelector(".frame-type-fluidbootstraptheme_cardcarousel .glide"),null!==this.carousel}}])&&Xn(e.prototype,n),i&&Xn(e,i),t}();var $n=function(t){t.forEach((function(t){new Yn(t).init()}))};var Un=n("e2AU"),Gn=n.n(Un),Kn=n("E+oP"),Qn=n.n(Kn);function Zn(t){if(!Qn()(t.trigger.dataset.fancyboxCopyright)){var e=document.createElement("SPAN");e.textContent=t.trigger.dataset.fancyboxCopyright,e.classList.add("lightbox-copyright"),t.slideNode.querySelector(".ginner-container .gslide-media").classList.add("added__copyright");var n=t.slideNode.querySelector(".ginner-container .gslide-media img");n.parentNode.insertBefore(e,n.nextSibling)}}var Jn=function(){var t=Gn()({selector:".lightbox",moreLength:1e4});return t.on("slide_after_load",Zn),t};function ti(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var ei=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.nodes=e||[],this.lightbox=null,this.elements=[],this.triggerNodes=[]}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.nodes.forEach((function(t){return t.classList.add("is-visible")})),this.lightbox=Gn()({selector:".lightboxCompanies.is-visible",moreLength:1e4,width:900,height:"auto",touchNavigation:!1,touchFollowAxis:!1,keyboardNavigation:!1,draggable:!1}),this.lightbox.on("slide_changed",this.onSlide)}},{key:"getTriggers",value:function(){}},{key:"onSlide",value:function(){var t=document.querySelector("#glightbox-body");t.querySelector(".gprev").style.display="none",t.querySelector(".gnext").style.display="none",t.querySelectorAll("[data-image]").forEach((function(t){t.src=t.dataset.image}))}},{key:"getContentItem",value:function(t){return document.querySelector(t.getAttribute("href"))}}])&&ti(e.prototype,n),i&&ti(e,i),t}();var ni=function(t){new ei(t).init()};function ii(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var ri=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.timeline=e,this.timelineItems=this.timeline.querySelectorAll(".timeline__marker"),this.anchorHovers=[]}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.addYearAnkers()}},{key:"addYearAnkers",value:function(){var t=this;this.timelineItems.forEach((function(e,n){n>=1?t.timelineItems[n-1].dataset.papDate!==e.dataset.papDate&&(e.classList.add("anchor"),e.textContent="".concat(e.dataset.papDate),e.id="".concat(e.dataset.papDate),t.anchorHovers.push(e)):(e.classList.add("anchor"),e.textContent="".concat(e.dataset.papDate),e.id="".concat(e.dataset.papDate),t.anchorHovers.push(e)),n===t.timelineItems.length-1&&t.cutBarTail(e.parentElement)})),this.addAnkerHovers()}},{key:"addAnkerHovers",value:function(){var t='<ul class="anchor__dropdown">';this.anchorHovers.forEach((function(e){t+='<li><a href="#'.concat(e.id,'">').concat(e.id,"</a></li>")})),t+="</ul>",this.anchorHovers.forEach((function(e){return e.appendChild(kn.createNode(t))}))}},{key:"cutBarTail",value:function(t){this.timeline.querySelector(".timeline__bar").style.bottom="".concat(t.offsetHeight-16,"px")}}])&&ii(e.prototype,n),i&&ii(e,i),t}();var oi=function(t){t.forEach((function(t){new ri(t).init()}))};
/*!
 * Glide.js v3.4.1
 * (c) 2013-2019 Jędrzej Chałubek <jedrzej.chalubek@gmail.com> (http://jedrzejchalubek.com/)
 * Released under the MIT License.
 */
var si={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perTouch:!1,touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",throttle:10,direction:"ltr",peek:0,breakpoints:{},classes:{direction:{ltr:"glide--ltr",rtl:"glide--rtl"},slider:"glide--slider",carousel:"glide--carousel",swipeable:"glide--swipeable",dragging:"glide--dragging",cloneSlide:"glide__slide--clone",activeNav:"glide__bullet--active",activeSlide:"glide__slide--active",disabledArrow:"glide__arrow--disabled"}};function ai(t){console.error("[Glide warn]: "+t)}var li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ci=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ui=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),di=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},hi=function t(e,n,i){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,n);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,i)}if("value"in r)return r.value;var s=r.get;return void 0!==s?s.call(i):void 0},fi=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e};function pi(t){return parseInt(t)}function gi(t){return"string"==typeof t}function mi(t){var e=void 0===t?"undefined":li(t);return"function"===e||"object"===e&&!!t}function vi(t){return"function"==typeof t}function yi(t){return void 0===t}function bi(t){return t.constructor===Array}function wi(t,e,n){var i={};for(var r in e)vi(e[r])?i[r]=e[r](t,i,n):ai("Extension must be a function");for(var o in i)vi(i[o].mount)&&i[o].mount();return i}function xi(t,e,n){Object.defineProperty(t,e,n)}function _i(t,e){var n=di({},t,e);return e.hasOwnProperty("classes")&&(n.classes=di({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=di({},t.classes.direction,e.classes.direction))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=di({},t.breakpoints,e.breakpoints)),n}var Ei=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ci(this,t),this.events=e,this.hop=e.hasOwnProperty}return ui(t,[{key:"on",value:function(t,e){if(bi(t))for(var n=0;n<t.length;n++)this.on(t[n],e);this.hop.call(this.events,t)||(this.events[t]=[]);var i=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][i]}}}},{key:"emit",value:function(t,e){if(bi(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);this.hop.call(this.events,t)&&this.events[t].forEach((function(t){t(e||{})}))}}]),t}(),Si=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};ci(this,t),this._c={},this._t=[],this._e=new Ei,this.disabled=!1,this.selector=e,this.settings=_i(si,n),this.index=this.settings.startAt}return ui(t,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),mi(t)?this._c=wi(this,t,this._e):ai("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return bi(t)?this._t=t:ai("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=_i(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){mi(t)?this._o=t:ai("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=pi(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),t}();function Ci(){return(new Date).getTime()}function Ti(t,e,n){var i=void 0,r=void 0,o=void 0,s=void 0,a=0;n||(n={});var l=function(){a=!1===n.leading?0:Ci(),i=null,s=t.apply(r,o),i||(r=o=null)},c=function(){var c=Ci();a||!1!==n.leading||(a=c);var u=e-(c-a);return r=this,o=arguments,u<=0||u>e?(i&&(clearTimeout(i),i=null),a=c,s=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(i),a=0,i=r=o=null},c}var ki={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function Ai(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function Li(t){return!!(t&&t instanceof window.HTMLElement)}var Di=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ci(this,t),this.listeners=e}return ui(t,[{key:"on",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];gi(t)&&(t=[t]);for(var r=0;r<t.length;r++)this.listeners[t[r]]=n,e.addEventListener(t[r],this.listeners[t[r]],i)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];gi(t)&&(t=[t]);for(var i=0;i<t.length;i++)e.removeEventListener(t[i],this.listeners[t[i]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),t}();var Oi=["ltr","rtl"],Ni={">":"<","<":">","=":"="};function Fi(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function ji(t,e){return{modify:function(n){return n+e.Gaps.value*t.index}}}function Pi(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function Ii(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var i=e.Peek.value;return mi(i)?n-i.before:n-i}return n}}}function Mi(t,e){return{modify:function(n){var i=e.Gaps.value,r=e.Sizes.width,o=t.settings.focusAt,s=e.Sizes.slideWidth;return"center"===o?n-(r/2-s/2):n-s*o-i*o}}}var Bi=!1;try{var qi=Object.defineProperty({},"passive",{get:function(){Bi=!0}});window.addEventListener("testPassive",null,qi),window.removeEventListener("testPassive",null,qi)}catch(t){}var Hi=Bi,zi=["touchstart","mousedown"],Ri=["touchmove","mousemove"],Wi=["touchend","touchcancel","mouseup","mouseleave"],Vi=["mousedown","mousemove","mouseup","mouseleave"];function Xi(t){return mi(t)?(e=t,Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t[n],t}),{})):(ai("Breakpoints option must be an object"),{});var e}var Yi={Html:function(t,e){var n={mount:function(){this.root=t.selector,this.track=this.root.querySelector('[data-glide-el="track"]'),this.slides=Array.prototype.slice.call(this.wrapper.children).filter((function(e){return!e.classList.contains(t.settings.classes.cloneSlide)}))}};return xi(n,"root",{get:function(){return n._r},set:function(t){gi(t)&&(t=document.querySelector(t)),Li(t)?n._r=t:ai("Root element must be a existing Html node")}}),xi(n,"track",{get:function(){return n._t},set:function(t){Li(t)?n._t=t:ai('Could not find track element. Please use [data-glide-el="track"] attribute.')}}),xi(n,"wrapper",{get:function(){return n.track.children[0]}}),n},Translate:function(t,e,n){var i={set:function(n){var i=function(t,e,n){var i=[ji,Pi,Ii,Mi].concat(t._t,[Fi]);return{mutate:function(r){for(var o=0;o<i.length;o++){var s=i[o];vi(s)&&vi(s().modify)?r=s(t,e,n).modify(r):ai("Transformer should be a function that returns an object with `modify()` method")}return r}}}(t,e).mutate(n);e.Html.wrapper.style.transform="translate3d("+-1*i+"px, 0px, 0px)"},remove:function(){e.Html.wrapper.style.transform=""}};return n.on("move",(function(r){var o=e.Gaps.value,s=e.Sizes.length,a=e.Sizes.slideWidth;return t.isType("carousel")&&e.Run.isOffset("<")?(e.Transition.after((function(){n.emit("translate.jump"),i.set(a*(s-1))})),i.set(-a-o*s)):t.isType("carousel")&&e.Run.isOffset(">")?(e.Transition.after((function(){n.emit("translate.jump"),i.set(0)})),i.set(a*s+o*s)):i.set(r.movement)})),n.on("destroy",(function(){i.remove()})),i},Transition:function(t,e,n){var i=!1,r={compose:function(e){var n=t.settings;return i?e+" 0ms "+n.animationTimingFunc:e+" "+this.duration+"ms "+n.animationTimingFunc},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout((function(){t()}),this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return xi(r,"duration",{get:function(){var n=t.settings;return t.isType("slider")&&e.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){r.set()})),n.on(["build.before","resize","translate.jump"],(function(){r.disable()})),n.on("run",(function(){r.enable()})),n.on("destroy",(function(){r.remove()})),r},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(Ni[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return xi(i,"value",{get:function(){return i._v},set:function(t){Oi.indexOf(t)>-1?i._v=t:ai("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){i.removeClass()})),n.on("update",(function(){i.mount()})),n.on(["build.before","update"],(function(){i.addClass()})),i},Peek:function(t,e,n){var i={mount:function(){this.value=t.settings.peek}};return xi(i,"value",{get:function(){return i._v},set:function(t){mi(t)?(t.before=pi(t.before),t.after=pi(t.after)):t=pi(t),i._v=t}}),xi(i,"reductor",{get:function(){var e=i.value,n=t.settings.perView;return mi(e)?e.before/n+e.after/n:2*e/n}}),n.on(["resize","update"],(function(){i.mount()})),i},Sizes:function(t,e,n){var i={setupSlides:function(){for(var t=this.slideWidth+"px",n=e.Html.slides,i=0;i<n.length;i++)n[i].style.width=t},setupWrapper:function(t){e.Html.wrapper.style.width=this.wrapperSize+"px"},remove:function(){for(var t=e.Html.slides,n=0;n<t.length;n++)t[n].style.width="";e.Html.wrapper.style.width=""}};return xi(i,"length",{get:function(){return e.Html.slides.length}}),xi(i,"width",{get:function(){return e.Html.root.offsetWidth}}),xi(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+e.Gaps.grow+e.Clones.grow}}),xi(i,"slideWidth",{get:function(){return i.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){i.setupSlides(),i.setupWrapper()})),n.on("destroy",(function(){i.remove()})),i},Gaps:function(t,e,n){var i={apply:function(t){for(var n=0,i=t.length;n<i;n++){var r=t[n].style,o=e.Direction.value;r[ki[o][0]]=0!==n?this.value/2+"px":"",n!==t.length-1?r[ki[o][1]]=this.value/2+"px":r[ki[o][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return xi(i,"value",{get:function(){return pi(t.settings.gap)}}),xi(i,"grow",{get:function(){return i.value*(e.Sizes.length-1)}}),xi(i,"reductor",{get:function(){var e=t.settings.perView;return i.value*(e-1)/e}}),n.on(["build.after","update"],Ti((function(){i.apply(e.Html.wrapper.children)}),30)),n.on("destroy",(function(){i.remove(e.Html.wrapper.children)})),i},Move:function(t,e,n){var i={mount:function(){this._o=0},make:function(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=i,n.emit("move",{movement:this.value}),e.Transition.after((function(){n.emit("move.after",{movement:t.value})}))}};return xi(i,"offset",{get:function(){return i._o},set:function(t){i._o=yi(t)?0:pi(t)}}),xi(i,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),xi(i,"value",{get:function(){var t=this.offset,n=this.translate;return e.Direction.is("rtl")?n+t:n-t}}),n.on(["build.before","run"],(function(){i.make()})),i},Clones:function(t,e,n){var i={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=e.Html.slides,r=t.settings,o=r.perView,s=r.classes,a=+!!t.settings.peek,l=o+a,c=i.slice(0,l),u=i.slice(-l),d=0;d<Math.max(1,Math.floor(o/i.length));d++){for(var h=0;h<c.length;h++){var f=c[h].cloneNode(!0);f.classList.add(s.cloneSlide),n.push(f)}for(var p=0;p<u.length;p++){var g=u[p].cloneNode(!0);g.classList.add(s.cloneSlide),n.unshift(g)}}return n},append:function(){for(var t=this.items,n=e.Html,i=n.wrapper,r=n.slides,o=Math.floor(t.length/2),s=t.slice(0,o).reverse(),a=t.slice(o,t.length),l=e.Sizes.slideWidth+"px",c=0;c<a.length;c++)i.appendChild(a[c]);for(var u=0;u<s.length;u++)i.insertBefore(s[u],r[0]);for(var d=0;d<t.length;d++)t[d].style.width=l},remove:function(){for(var t=this.items,n=0;n<t.length;n++)e.Html.wrapper.removeChild(t[n])}};return xi(i,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*i.items.length}}),n.on("update",(function(){i.remove(),i.mount(),i.append()})),n.on("build.before",(function(){t.isType("carousel")&&i.append()})),n.on("destroy",(function(){i.remove()})),i},Resize:function(t,e,n){var i=new Di,r={mount:function(){this.bind()},bind:function(){i.on("resize",window,Ti((function(){n.emit("resize")}),t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",(function(){r.unbind(),i.destroy()})),r},Build:function(t,e,n){var i={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes[t.settings.type])},activeClass:function(){var n=t.settings.classes,i=e.Html.slides[t.index];i&&(i.classList.add(n.activeSlide),Ai(i).forEach((function(t){t.classList.remove(n.activeSlide)})))},removeClasses:function(){var n=t.settings.classes;e.Html.root.classList.remove(n[t.settings.type]),e.Html.slides.forEach((function(t){t.classList.remove(n.activeSlide)}))}};return n.on(["destroy","update"],(function(){i.removeClasses()})),n.on(["resize","update"],(function(){i.mount()})),n.on("move.after",(function(){i.activeClass()})),i},Run:function(t,e,n){var i={mount:function(){this._o=!1},make:function(i){var r=this;t.disabled||(t.disable(),this.move=i,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after((function(){r.isStart()&&n.emit("run.start",r.move),r.isEnd()&&n.emit("run.end",r.move),(r.isOffset("<")||r.isOffset(">"))&&(r._o=!1,n.emit("run.offset",r.move)),n.emit("run.after",r.move),t.enable()})))},calculate:function(){var e=this.move,n=this.length,i=e.steps,r=e.direction,o="number"==typeof pi(i)&&0!==pi(i);switch(r){case">":">"===i?t.index=n:this.isEnd()?t.isType("slider")&&!t.settings.rewind||(this._o=!0,t.index=0):o?t.index+=Math.min(n-t.index,-pi(i)):t.index++;break;case"<":"<"===i?t.index=0:this.isStart()?t.isType("slider")&&!t.settings.rewind||(this._o=!0,t.index=n):o?t.index-=Math.min(t.index,pi(i)):t.index--;break;case"=":t.index=i;break;default:ai("Invalid direction pattern ["+r+i+"] has been used")}},isStart:function(){return 0===t.index},isEnd:function(){return t.index===this.length},isOffset:function(t){return this._o&&this.move.direction===t}};return xi(i,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?pi(e)?pi(e):e:0}}}),xi(i,"length",{get:function(){var n=t.settings,i=e.Html.slides.length;return t.isType("slider")&&"center"!==n.focusAt&&n.bound?i-1-(pi(n.perView)-1)+pi(n.focusAt):i-1}}),xi(i,"offset",{get:function(){return this._o}}),i},Swipe:function(t,e,n){var i=new Di,r=0,o=0,s=0,a=!1,l=!!Hi&&{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(e){if(!a&&!t.disabled){this.disable();var i=this.touches(e);r=null,o=pi(i.pageX),s=pi(i.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(i){if(!t.disabled){var a=t.settings,l=a.touchAngle,c=a.touchRatio,u=a.classes,d=this.touches(i),h=pi(d.pageX)-o,f=pi(d.pageY)-s,p=Math.abs(h<<2),g=Math.abs(f<<2),m=Math.sqrt(p+g),v=Math.sqrt(g);if(!(180*(r=Math.asin(v/m))/Math.PI<l))return!1;i.stopPropagation(),e.Move.make(h*parseFloat(c)),e.Html.root.classList.add(u.dragging),n.emit("swipe.move")}},end:function(i){if(!t.disabled){var s=t.settings,a=this.touches(i),l=this.threshold(i),c=a.pageX-o,u=180*r/Math.PI,d=Math.round(c/e.Sizes.slideWidth);this.enable(),c>l&&u<s.touchAngle?(s.perTouch&&(d=Math.min(d,pi(s.perTouch))),e.Direction.is("rtl")&&(d=-d),e.Run.make(e.Direction.resolve("<"+d))):c<-l&&u<s.touchAngle?(s.perTouch&&(d=Math.max(d,-pi(s.perTouch))),e.Direction.is("rtl")&&(d=-d),e.Run.make(e.Direction.resolve(">"+d))):e.Move.make(),e.Html.root.classList.remove(s.classes.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,r=t.settings;r.swipeThreshold&&i.on(zi[0],e.Html.wrapper,(function(t){n.start(t)}),l),r.dragThreshold&&i.on(zi[1],e.Html.wrapper,(function(t){n.start(t)}),l)},unbindSwipeStart:function(){i.off(zi[0],e.Html.wrapper,l),i.off(zi[1],e.Html.wrapper,l)},bindSwipeMove:function(){var n=this;i.on(Ri,e.Html.wrapper,Ti((function(t){n.move(t)}),t.settings.throttle),l)},unbindSwipeMove:function(){i.off(Ri,e.Html.wrapper,l)},bindSwipeEnd:function(){var t=this;i.on(Wi,e.Html.wrapper,(function(e){t.end(e)}))},unbindSwipeEnd:function(){i.off(Wi,e.Html.wrapper)},touches:function(t){return Vi.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var n=t.settings;return Vi.indexOf(e.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return n.on("build.after",(function(){e.Html.root.classList.add(t.settings.classes.swipeable)})),n.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),i.destroy()})),c},Images:function(t,e,n){var i=new Di,r={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",(function(){r.unbind(),i.destroy()})),r},Anchors:function(t,e,n){var i=new Di,r=!1,o=!1,s={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){o&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(o=!0,!r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1,this.items[t].setAttribute("data-href",this.items[t].getAttribute("href")),this.items[t].removeAttribute("href");r=!0}return this},attach:function(){if(o=!1,r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0,this.items[t].setAttribute("href",this.items[t].getAttribute("data-href"));r=!1}return this}};return xi(s,"items",{get:function(){return s._a}}),n.on("swipe.move",(function(){s.detach()})),n.on("swipe.end",(function(){e.Transition.after((function(){s.attach()}))})),n.on("destroy",(function(){s.attach(),s.unbind(),i.destroy()})),s},Controls:function(t,e,n){var i=new Di,r=!!Hi&&{passive:!0},o={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=e.Html.root.querySelectorAll('[data-glide-el^="controls"]'),this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(e){var n=t.settings,i=e[t.index];i&&(i.classList.add(n.classes.activeNav),Ai(i).forEach((function(t){t.classList.remove(n.classes.activeNav)})))},removeClass:function(e){var n=e[t.index];n&&n.classList.remove(t.settings.classes.activeNav)},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)i.on("click",t[e],this.click),i.on("touchstart",t[e],this.click,r)},unbind:function(t){for(var e=0;e<t.length;e++)i.off(["click","touchstart"],t[e])},click:function(t){t.preventDefault(),e.Run.make(e.Direction.resolve(t.currentTarget.getAttribute("data-glide-dir")))}};return xi(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],(function(){o.setActive()})),n.on("destroy",(function(){o.removeBindings(),o.removeActive(),i.destroy()})),o},Keyboard:function(t,e,n){var i=new Di,r={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(t){39===t.keyCode&&e.Run.make(e.Direction.resolve(">")),37===t.keyCode&&e.Run.make(e.Direction.resolve("<"))}};return n.on(["destroy","update"],(function(){r.unbind()})),n.on("update",(function(){r.mount()})),n.on("destroy",(function(){i.destroy()})),r},Autoplay:function(t,e,n){var i=new Di,r={mount:function(){this.start(),t.settings.hoverpause&&this.bind()},start:function(){var n=this;t.settings.autoplay&&yi(this._i)&&(this._i=setInterval((function(){n.stop(),e.Run.make(">"),n.start()}),this.time))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",e.Html.root,(function(){t.stop()})),i.on("mouseout",e.Html.root,(function(){t.start()}))},unbind:function(){i.off(["mouseover","mouseout"],e.Html.root)}};return xi(r,"time",{get:function(){var n=e.Html.slides[t.index].getAttribute("data-glide-autoplay");return pi(n||t.settings.autoplay)}}),n.on(["destroy","update"],(function(){r.unbind()})),n.on(["run.before","pause","destroy","swipe.start","update"],(function(){r.stop()})),n.on(["run.after","play","swipe.end"],(function(){r.start()})),n.on("update",(function(){r.mount()})),n.on("destroy",(function(){i.destroy()})),r},Breakpoints:function(t,e,n){var i=new Di,r=t.settings,o=Xi(r.breakpoints),s=di({},r),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: "+e+"px)").matches)return t[e];return s}};return di(r,a.match(o)),i.on("resize",window,Ti((function(){t.settings=_i(r,a.match(o))}),t.settings.throttle)),n.on("update",(function(){o=Xi(o),s=di({},r)})),n.on("destroy",(function(){i.off("resize",window)})),a}},$i=function(t){function e(){return ci(this,e),fi(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),ui(e,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return hi(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"mount",this).call(this,di({},Yi,t))}}]),e}(Si);function Ui(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Gi=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.glide=null,this.node=e,this.options=n}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.glide=new $i(this.node,this.options).mount(),this.node.classList.contains("accordion-child")&&document.querySelector("#".concat(this.node.dataset.accordionId)).addEventListener("shown.bs.collapse",this.refreshAccordionChild.bind(this))}},{key:"refreshAccordionChild",value:function(){this.glide.mount()}}])&&Ui(e.prototype,n),i&&Ui(e,i),t}();function Ki(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}
/*!
 * Splide.js
 * Version  : 4.1.4
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */
var Qi={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function Zi(t){t.length=0}function Ji(t,e,n){return Array.prototype.slice.call(t,e,n)}function tr(t){return t.bind.apply(t,[null].concat(Ji(arguments,1)))}var er=setTimeout,nr=function(){};function ir(t){return requestAnimationFrame(t)}function rr(t,e){return typeof e===t}function or(t){return!ur(t)&&rr("object",t)}var sr=Array.isArray,ar=tr(rr,"function"),lr=tr(rr,"string"),cr=tr(rr,"undefined");function ur(t){return null===t}function dr(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function hr(t){return sr(t)?t:[t]}function fr(t,e){hr(t).forEach(e)}function pr(t,e){return t.indexOf(e)>-1}function gr(t,e){return t.push.apply(t,hr(e)),t}function mr(t,e,n){t&&fr(e,(function(e){e&&t.classList[n?"add":"remove"](e)}))}function vr(t,e){mr(t,lr(e)?e.split(" "):e,!0)}function yr(t,e){fr(e,t.appendChild.bind(t))}function br(t,e){fr(t,(function(t){var n=(e||t).parentNode;n&&n.insertBefore(t,e)}))}function wr(t,e){return dr(t)&&(t.msMatchesSelector||t.matches).call(t,e)}function xr(t,e){var n=t?Ji(t.children):[];return e?n.filter((function(t){return wr(t,e)})):n}function _r(t,e){return e?xr(t,e)[0]:t.firstElementChild}var Er=Object.keys;function Sr(t,e,n){return t&&(n?Er(t).reverse():Er(t)).forEach((function(n){"__proto__"!==n&&e(t[n],n)})),t}function Cr(t){return Ji(arguments,1).forEach((function(e){Sr(e,(function(n,i){t[i]=e[i]}))})),t}function Tr(t){return Ji(arguments,1).forEach((function(e){Sr(e,(function(e,n){sr(e)?t[n]=e.slice():or(e)?t[n]=Tr({},or(t[n])?t[n]:{},e):t[n]=e}))})),t}function kr(t,e){fr(e||Er(t),(function(e){delete t[e]}))}function Ar(t,e){fr(t,(function(t){fr(e,(function(e){t&&t.removeAttribute(e)}))}))}function Lr(t,e,n){or(e)?Sr(e,(function(e,n){Lr(t,n,e)})):fr(t,(function(t){ur(n)||""===n?Ar(t,e):t.setAttribute(e,String(n))}))}function Dr(t,e,n){var i=document.createElement(t);return e&&(lr(e)?vr(i,e):Lr(i,e)),n&&yr(n,i),i}function Or(t,e,n){if(cr(n))return getComputedStyle(t)[e];ur(n)||(t.style[e]=""+n)}function Nr(t,e){Or(t,"display",e)}function Fr(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function jr(t,e){return t.getAttribute(e)}function Pr(t,e){return t&&t.classList.contains(e)}function Ir(t){return t.getBoundingClientRect()}function Mr(t){fr(t,(function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}))}function Br(t){return _r((new DOMParser).parseFromString(t,"text/html").body)}function qr(t,e){t.preventDefault(),e&&(t.stopPropagation(),t.stopImmediatePropagation())}function Hr(t,e){return t&&t.querySelector(e)}function zr(t,e){return e?Ji(t.querySelectorAll(e)):[]}function Rr(t,e){mr(t,e,!1)}function Wr(t){return t.timeStamp}function Vr(t){return lr(t)?t:t?t+"px":""}function Xr(t,e){if(!t)throw new Error("[splide] "+(e||""))}var Yr=Math.min,$r=Math.max,Ur=Math.floor,Gr=Math.ceil,Kr=Math.abs;function Qr(t,e,n){return Kr(t-e)<n}function Zr(t,e,n,i){var r=Yr(e,n),o=$r(e,n);return i?r<t&&t<o:r<=t&&t<=o}function Jr(t,e,n){var i=Yr(e,n),r=$r(e,n);return Yr($r(i,t),r)}function to(t){return+(t>0)-+(t<0)}function eo(t,e){return fr(e,(function(e){t=t.replace("%s",""+e)})),t}function no(t){return t<10?"0"+t:""+t}var io={};function ro(t){return""+t+no(io[t]=(io[t]||0)+1)}function oo(){var t=[];function e(t,e,n){fr(t,(function(t){t&&fr(e,(function(e){e.split(" ").forEach((function(e){var i=e.split(".");n(t,i[0],i[1])}))}))}))}return{bind:function(n,i,r,o){e(n,i,(function(e,n,i){var s="addEventListener"in e,a=s?e.removeEventListener.bind(e,n,r,o):e.removeListener.bind(e,r);s?e.addEventListener(n,r,o):e.addListener(r),t.push([e,n,i,r,a])}))},unbind:function(n,i,r){e(n,i,(function(e,n,i){t=t.filter((function(t){return!!(t[0]!==e||t[1]!==n||t[2]!==i||r&&t[3]!==r)||(t[4](),!1)}))}))},dispatch:function(t,e,n){var i;return"function"==typeof CustomEvent?i=new CustomEvent(e,{bubbles:!0,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!1,n),t.dispatchEvent(i),i},destroy:function(){t.forEach((function(t){t[4]()})),Zi(t)}}}function so(t){var e=t?t.event.bus:document.createDocumentFragment(),n=oo();return t&&t.event.on("destroy",n.destroy),Cr(n,{bus:e,on:function(t,i){n.bind(e,hr(t).join(" "),(function(t){i.apply(i,sr(t.detail)?t.detail:[])}))},off:tr(n.unbind,e),emit:function(t){n.dispatch(e,t,Ji(arguments,1))}})}function ao(t,e,n,i){var r,o,s=Date.now,a=0,l=!0,c=0;function u(){if(!l){if(a=t?Yr((s()-r)/t,1):1,n&&n(a),a>=1&&(e(),r=s(),i&&++c>=i))return d();o=ir(u)}}function d(){l=!0}function h(){o&&cancelAnimationFrame(o),a=0,o=0,l=!0}return{start:function(e){e||h(),r=s()-(e?a*t:0),l=!1,o=ir(u)},rewind:function(){r=s(),a=0,n&&n(a)},pause:d,cancel:h,set:function(e){t=e},isPaused:function(){return l}}}var lo={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};function co(t,e,n){return{resolve:function(t,e,i){var r="rtl"!==(i=i||n.direction)||e?"ttb"===i?0:-1:1;return lo[t]&&lo[t][r]||t.replace(/width|left|right/i,(function(t,e){var n=lo[t.toLowerCase()][r]||t;return e>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(t){return t*("rtl"===n.direction?1:-1)}}}var uo="role",ho=[uo,"tabindex","disabled","aria-controls","aria-current","aria-label","aria-labelledby","aria-hidden","aria-orientation","aria-roledescription"],fo="splide",po="is-active",go=[po,"is-visible","is-prev","is-next","is-loading","is-focus-in","is-overflow"],mo={slide:"splide__slide",clone:"splide__slide--clone",arrows:"splide__arrows",arrow:"splide__arrow",prev:"splide__arrow--prev",next:"splide__arrow--next",pagination:"splide__pagination",page:"splide__pagination__page",spinner:"splide__spinner"};var vo="touchend touchcancel mouseup click";var yo="loop";function bo(t,e,n,i){var r,o=so(t),s=o.on,a=o.emit,l=o.bind,c=t.Components,u=t.root,d=t.options,h=d.isNavigation,f=d.updateOnMove,p=d.i18n,g=d.pagination,m=d.slideFocus,v=c.Direction.resolve,y=jr(i,"style"),b=jr(i,"aria-label"),w=n>-1,x=_r(i,".splide__slide__container");function _(){var r=t.splides.map((function(t){var n=t.splide.Components.Slides.getAt(e);return n?n.slide.id:""})).join(" ");Lr(i,"aria-label",eo(p.slideX,(w?n:e)+1)),Lr(i,"aria-controls",r),Lr(i,uo,m?"button":""),m&&Ar(i,"aria-roledescription")}function E(){r||S()}function S(){if(!r){var n=t.index;(o=C())!==Pr(i,po)&&(mr(i,po,o),Lr(i,"aria-current",h&&o||""),a(o?"active":"inactive",T)),function(){var e=function(){if(t.is("fade"))return C();var e=Ir(c.Elements.track),n=Ir(i),r=v("left",!0),o=v("right",!0);return Ur(e[r])<=Gr(n[r])&&Ur(n[o])<=Gr(e[o])}(),n=!e&&(!C()||w);t.state.is([4,5])||Lr(i,"aria-hidden",n||"");Lr(zr(i,d.focusableNodes||""),"tabindex",n?-1:""),m&&Lr(i,"tabindex",n?-1:0);e!==Pr(i,"is-visible")&&(mr(i,"is-visible",e),a(e?"visible":"hidden",T));if(!e&&document.activeElement===i){var r=c.Slides.getAt(t.index);r&&Fr(r.slide)}}(),mr(i,"is-prev",e===n-1),mr(i,"is-next",e===n+1)}var o}function C(){var i=t.index;return i===e||d.cloneStatus&&i===n}var T={index:e,slideIndex:n,slide:i,container:x,isClone:w,mount:function(){w||(i.id=u.id+"-slide"+no(e+1),Lr(i,uo,g?"tabpanel":"group"),Lr(i,"aria-roledescription",p.slide),Lr(i,"aria-label",b||eo(p.slideLabel,[e+1,t.length]))),l(i,"click",tr(a,"click",T)),l(i,"keydown",tr(a,"sk",T)),s(["moved","sh","scrolled"],S),s("navigation:mounted",_),f&&s("move",E)},destroy:function(){r=!0,o.destroy(),Rr(i,go),Ar(i,ho),Lr(i,"style",y),Lr(i,"aria-label",b||"")},update:S,style:function(t,e,n){Or(n&&x||i,t,e)},isWithin:function(n,i){var r=Kr(n-e);return w||!d.rewind&&!t.is(yo)||(r=Yr(r,t.length-r)),r<=i}};return T}var wo="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z";var xo={passive:!1,capture:!0};var _o={Spacebar:" ",Right:"ArrowRight",Left:"ArrowLeft",Up:"ArrowUp",Down:"ArrowDown"};function Eo(t){return t=lr(t)?t:t.key,_o[t]||t}var So=[" ","Enter"];var Co=Object.freeze({__proto__:null,Media:function(t,e,n){var i=t.state,r=n.breakpoints||{},o=n.reducedMotion||{},s=oo(),a=[];function l(t){t&&s.destroy()}function c(t,e){var n=matchMedia(e);s.bind(n,"change",u),a.push([t,n])}function u(){var e=i.is(7),r=n.direction,o=a.reduce((function(t,e){return Tr(t,e[1].matches?e[0]:{})}),{});kr(n),d(o),n.destroy?t.destroy("completely"===n.destroy):e?(l(!0),t.mount()):r!==n.direction&&t.refresh()}function d(e,r,o){Tr(n,e),r&&Tr(Object.getPrototypeOf(n),e),!o&&i.is(1)||t.emit("updated",n)}return{setup:function(){var t="min"===n.mediaQuery;Er(r).sort((function(e,n){return t?+e-+n:+n-+e})).forEach((function(e){c(r[e],"("+(t?"min":"max")+"-width:"+e+"px)")})),c(o,"(prefers-reduced-motion: reduce)"),u()},destroy:l,reduce:function(t){matchMedia("(prefers-reduced-motion: reduce)").matches&&(t?Tr(n,o):kr(n,Er(o)))},set:d}},Direction:co,Elements:function(t,e,n){var i,r,o,s=so(t),a=s.on,l=s.bind,c=t.root,u=n.i18n,d={},h=[],f=[],p=[];function g(){i=y(".splide__track"),r=_r(i,".splide__list"),Xr(i&&r,"A track/list element is missing."),gr(h,xr(r,".splide__slide:not(.splide__slide--clone)")),Sr({arrows:"splide__arrows",pagination:"splide__pagination",prev:"splide__arrow--prev",next:"splide__arrow--next",bar:"splide__progress__bar",toggle:"splide__toggle"},(function(t,e){d[e]=y("."+t)})),Cr(d,{root:c,track:i,list:r,slides:h}),function(){var t=c.id||ro("splide"),e=n.role;c.id=t,i.id=i.id||t+"-track",r.id=r.id||t+"-list",!jr(c,uo)&&"SECTION"!==c.tagName&&e&&Lr(c,uo,e);Lr(c,"aria-roledescription",u.carousel),Lr(r,uo,"presentation")}(),v()}function m(t){var e=ho.concat("style");Zi(h),Rr(c,f),Rr(i,p),Ar([i,r],e),Ar(c,t?e:["style","aria-roledescription"])}function v(){Rr(c,f),Rr(i,p),f=b(fo),p=b("splide__track"),vr(c,f),vr(i,p),Lr(c,"aria-label",n.label),Lr(c,"aria-labelledby",n.labelledby)}function y(t){var e=Hr(c,t);return e&&function(t,e){if(ar(t.closest))return t.closest(e);for(var n=t;n&&1===n.nodeType&&!wr(n,e);)n=n.parentElement;return n}(e,"."+fo)===c?e:void 0}function b(t){return[t+"--"+n.type,t+"--"+n.direction,n.drag&&t+"--draggable",n.isNavigation&&t+"--nav",t===fo&&po]}return Cr(d,{setup:g,mount:function(){a("refresh",m),a("refresh",g),a("updated",v),l(document,"touchstart mousedown keydown",(function(t){o="keydown"===t.type}),{capture:!0}),l(c,"focusin",(function(){mr(c,"is-focus-in",!!o)}))},destroy:m})},Slides:function(t,e,n){var i=so(t),r=i.on,o=i.emit,s=i.bind,a=e.Elements,l=a.slides,c=a.list,u=[];function d(){l.forEach((function(t,e){f(t,e,-1)}))}function h(){g((function(t){t.destroy()})),Zi(u)}function f(e,n,i){var r=bo(t,n,i,e);r.mount(),u.push(r),u.sort((function(t,e){return t.index-e.index}))}function p(t){return t?m((function(t){return!t.isClone})):u}function g(t,e){p(e).forEach(t)}function m(t){return u.filter(ar(t)?t:function(e){return lr(t)?wr(e.slide,t):pr(hr(t),e.index)})}return{mount:function(){d(),r("refresh",h),r("refresh",d)},destroy:h,update:function(){g((function(t){t.update()}))},register:f,get:p,getIn:function(t){var i=e.Controller,r=i.toIndex(t),o=i.hasFocus()?1:n.perPage;return m((function(t){return Zr(t.index,r,r+o-1)}))},getAt:function(t){return m(t)[0]},add:function(t,e){fr(t,(function(t){if(lr(t)&&(t=Br(t)),dr(t)){var i=l[e];i?br(t,i):yr(c,t),vr(t,n.classes.slide),r=t,a=tr(o,"resize"),u=zr(r,"img"),(d=u.length)?u.forEach((function(t){s(t,"load error",(function(){--d||a()}))})):a()}var r,a,u,d})),o("refresh")},remove:function(t){Mr(m(t).map((function(t){return t.slide}))),o("refresh")},forEach:g,filter:m,style:function(t,e,n){g((function(i){i.style(t,e,n)}))},getLength:function(t){return t?l.length:u.length},isEnough:function(){return u.length>n.perPage}}},Layout:function(t,e,n){var i,r,o,s=so(t),a=s.on,l=s.bind,c=s.emit,u=e.Slides,d=e.Direction.resolve,h=e.Elements,f=h.root,p=h.track,g=h.list,m=u.getAt,v=u.style;function y(){i="ttb"===n.direction,Or(f,"maxWidth",Vr(n.width)),Or(p,d("paddingLeft"),w(!1)),Or(p,d("paddingRight"),w(!0)),b(!0)}function b(t){var e=Ir(f);(t||r.width!==e.width||r.height!==e.height)&&(Or(p,"height",function(){var t="";i&&(Xr(t=x(),"height or heightRatio is missing."),t="calc("+t+" - "+w(!1)+" - "+w(!0)+")");return t}()),v(d("marginRight"),Vr(n.gap)),v("width",n.autoWidth?null:Vr(n.fixedWidth)||(i?"":_())),v("height",Vr(n.fixedHeight)||(i?n.autoHeight?null:_():x()),!0),r=e,c("resized"),o!==(o=A())&&(mr(f,"is-overflow",o),c("overflow",o)))}function w(t){var e=n.padding,i=d(t?"right":"left");return e&&Vr(e[i]||(or(e)?0:e))||"0px"}function x(){return Vr(n.height||Ir(g).width*n.heightRatio)}function _(){var t=Vr(n.gap);return"calc((100%"+(t&&" + "+t)+")/"+(n.perPage||1)+(t&&" - "+t)+")"}function E(){return Ir(g)[d("width")]}function S(t,e){var n=m(t||0);return n?Ir(n.slide)[d("width")]+(e?0:k()):0}function C(t,e){var n=m(t);if(n){var i=Ir(n.slide)[d("right")],r=Ir(g)[d("left")];return Kr(i-r)+(e?0:k())}return 0}function T(e){return C(t.length-1)-C(0)+S(0,e)}function k(){var t=m(0);return t&&parseFloat(Or(t.slide,d("marginRight")))||0}function A(){return t.is("fade")||T(!0)>E()}return{mount:function(){var t,e,n;y(),l(window,"resize load",(t=tr(c,"resize"),n=ao(e||0,t,null,1),function(){n.isPaused()&&n.start()})),a(["updated","refresh"],y),a("resize",b)},resize:b,listSize:E,slideSize:S,sliderSize:T,totalSize:C,getPadding:function(t){return parseFloat(Or(p,d("padding"+(t?"Right":"Left"))))||0},isOverflow:A}},Clones:function(t,e,n){var i,r=so(t),o=r.on,s=e.Elements,a=e.Slides,l=e.Direction.resolve,c=[];function u(){o("refresh",d),o(["updated","resize"],f),(i=p())&&(!function(e){var i=a.get().slice(),r=i.length;if(r){for(;i.length<e;)gr(i,i);gr(i.slice(-e),i.slice(0,e)).forEach((function(o,l){var u=l<e,d=function(e,i){var r=e.cloneNode(!0);return vr(r,n.classes.clone),r.id=t.root.id+"-clone"+no(i+1),r}(o.slide,l);u?br(d,i[0].slide):yr(s.list,d),gr(c,d),a.register(d,l-e+(u?0:r),o.index)}))}}(i),e.Layout.resize(!0))}function d(){h(),u()}function h(){Mr(c),Zi(c),r.destroy()}function f(){var t=p();i!==t&&(i<t||!t)&&r.emit("refresh")}function p(){var i=n.clones;if(t.is(yo)){if(cr(i)){var r=n[l("fixedWidth")]&&e.Layout.slideSize(0);i=r&&Gr(Ir(s.track)[l("width")]/r)||n[l("autoWidth")]&&t.length||2*n.perPage}}else i=0;return i}return{mount:u,destroy:h}},Move:function(t,e,n){var i,r=so(t),o=r.on,s=r.emit,a=t.state.set,l=e.Layout,c=l.slideSize,u=l.getPadding,d=l.totalSize,h=l.listSize,f=l.sliderSize,p=e.Direction,g=p.resolve,m=p.orient,v=e.Elements,y=v.list,b=v.track;function w(){e.Controller.isBusy()||(e.Scroll.cancel(),x(t.index),e.Slides.update())}function x(t){_(T(t,!0))}function _(n,i){if(!t.is("fade")){var r=i?n:function(n){if(t.is(yo)){var i=C(n),r=i>e.Controller.getEnd();(i<0||r)&&(n=E(n,r))}return n}(n);Or(y,"transform","translate"+g("X")+"("+r+"px)"),n!==r&&s("sh")}}function E(t,e){var n=t-A(e),i=f();return t-=m(i*(Gr(Kr(n)/i)||1))*(e?1:-1)}function S(){_(k(),!0),i.cancel()}function C(t){for(var n=e.Slides.get(),i=0,r=1/0,o=0;o<n.length;o++){var s=n[o].index,a=Kr(T(s,!0)-t);if(!(a<=r))break;r=a,i=s}return i}function T(e,i){var r=m(d(e-1)-function(t){var e=n.focus;return"center"===e?(h()-c(t,!0))/2:+e*c(t)||0}(e));return i?function(e){n.trimSpace&&t.is("slide")&&(e=Jr(e,0,m(f(!0)-h())));return e}(r):r}function k(){var t=g("left");return Ir(y)[t]-Ir(b)[t]+m(u(!1))}function A(t){return T(t?e.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=e.Transition,o(["mounted","resized","updated","refresh"],w)},move:function(t,e,n,r){var o,l;t!==e&&(o=t>n,l=m(E(k(),o)),o?l>=0:l<=y[g("scrollWidth")]-Ir(b)[g("width")])&&(S(),_(E(k(),t>n),!0)),a(4),s("move",e,n,t),i.start(e,(function(){a(3),s("moved",e,n,t),r&&r()}))},jump:x,translate:_,shift:E,cancel:S,toIndex:C,toPosition:T,getPosition:k,getLimit:A,exceededLimit:function(t,e){e=cr(e)?k():e;var n=!0!==t&&m(e)<m(A(!1)),i=!1!==t&&m(e)>m(A(!0));return n||i},reposition:w}},Controller:function(t,e,n){var i,r,o,s,a=so(t),l=a.on,c=a.emit,u=e.Move,d=u.getPosition,h=u.getLimit,f=u.toPosition,p=e.Slides,g=p.isEnough,m=p.getLength,v=n.omitEnd,y=t.is(yo),b=t.is("slide"),w=tr(T,!1),x=tr(T,!0),_=n.start||0,E=_;function S(){r=m(!0),o=n.perMove,s=n.perPage,i=L();var t=Jr(_,0,v?i:r-1);t!==_&&(_=t,u.reposition())}function C(){i!==L()&&c("ei")}function T(t,e){var n=o||(F()?1:s),r=k(_+n*(t?-1:1),_,!(o||F()));return-1===r&&b&&!Qr(d(),h(!t),1)?t?0:i:e?r:A(r)}function k(e,a,l){if(g()||F()){var c=function(e){if(b&&"move"===n.trimSpace&&e!==_)for(var i=d();i===f(e,!0)&&Zr(e,0,t.length-1,!n.rewind);)e<_?--e:++e;return e}(e);c!==e&&(a=e,e=c,l=!1),e<0||e>i?e=o||!Zr(0,e,a,!0)&&!Zr(i,a,e,!0)?y?l?e<0?-(r%s||s):r:e:n.rewind?e<0?i:0:-1:D(O(e)):l&&e!==a&&(e=D(O(a)+(e<a?-1:1)))}else e=-1;return e}function A(t){return y?(t+r)%r||0:t}function L(){for(var t=r-(F()||y&&o?1:s);v&&t-- >0;)if(f(r-1,!0)!==f(t,!0)){t++;break}return Jr(t,0,r-1)}function D(t){return Jr(F()?t:s*t,0,i)}function O(t){return F()?Yr(t,i):Ur((t>=i?r-1:t)/s)}function N(t){t!==_&&(E=_,_=t)}function F(){return!cr(n.focus)||n.isNavigation}function j(){return t.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){S(),l(["updated","refresh","ei"],S),l("resized",C)},go:function(t,e,n){if(!j()){var r=function(t){var e=_;if(lr(t)){var n=t.match(/([+\-<>])(\d+)?/)||[],r=n[1],o=n[2];"+"===r||"-"===r?e=k(_+ +(""+r+(+o||1)),_):">"===r?e=o?D(+o):w(!0):"<"===r&&(e=x(!0))}else e=y?t:Jr(t,0,i);return e}(t),o=A(r);o>-1&&(e||o!==_)&&(N(o),u.move(r,o,E,n))}},scroll:function(t,n,r,o){e.Scroll.scroll(t,n,r,(function(){var t=A(u.toIndex(d()));N(v?Yr(t,i):t),o&&o()}))},getNext:w,getPrev:x,getAdjacent:T,getEnd:L,setIndex:N,getIndex:function(t){return t?E:_},toIndex:D,toPage:O,toDest:function(t){var e=u.toIndex(t);return b?Jr(e,0,i):e},hasFocus:F,isBusy:j}},Arrows:function(t,e,n){var i,r,o=so(t),s=o.on,a=o.bind,l=o.emit,c=n.classes,u=n.i18n,d=e.Elements,h=e.Controller,f=d.arrows,p=d.track,g=f,m=d.prev,v=d.next,y={};function b(){!function(){var t=n.arrows;!t||m&&v||(g=f||Dr("div",c.arrows),m=E(!0),v=E(!1),i=!0,yr(g,[m,v]),!f&&br(g,p));m&&v&&(Cr(y,{prev:m,next:v}),Nr(g,t?"":"none"),vr(g,r="splide__arrows--"+n.direction),t&&(s(["mounted","moved","refresh","scrolled","ei"],S),a(v,"click",tr(_,">")),a(m,"click",tr(_,"<")),S(),Lr([m,v],"aria-controls",p.id),l("arrows:mounted",m,v)))}(),s("updated",w)}function w(){x(),b()}function x(){o.destroy(),Rr(g,r),i?(Mr(f?[m,v]:g),m=v=null):Ar([m,v],ho)}function _(t){h.go(t,!0)}function E(t){return Br('<button class="'+c.arrow+" "+(t?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||wo)+'" />')}function S(){if(m&&v){var e=t.index,n=h.getPrev(),i=h.getNext(),r=n>-1&&e<n?u.last:u.prev,o=i>-1&&e>i?u.first:u.next;m.disabled=n<0,v.disabled=i<0,Lr(m,"aria-label",r),Lr(v,"aria-label",o),l("arrows:updated",m,v,n,i)}}return{arrows:y,mount:b,destroy:x,update:S}},Autoplay:function(t,e,n){var i,r,o=so(t),s=o.on,a=o.bind,l=o.emit,c=ao(n.interval,t.go.bind(t,">"),(function(t){var e=d.bar;e&&Or(e,"width",100*t+"%"),l("autoplay:playing",t)})),u=c.isPaused,d=e.Elements,h=e.Elements,f=h.root,p=h.toggle,g=n.autoplay,m="pause"===g;function v(){u()&&e.Slides.isEnough()&&(c.start(!n.resetProgress),r=i=m=!1,w(),l("autoplay:play"))}function y(t){void 0===t&&(t=!0),m=!!t,w(),u()||(c.pause(),l("autoplay:pause"))}function b(){m||(i||r?y(!1):v())}function w(){p&&(mr(p,po,!m),Lr(p,"aria-label",n.i18n[m?"play":"pause"]))}function x(t){var i=e.Slides.getAt(t);c.set(i&&+jr(i.slide,"data-splide-interval")||n.interval)}return{mount:function(){g&&(!function(){n.pauseOnHover&&a(f,"mouseenter mouseleave",(function(t){i="mouseenter"===t.type,b()}));n.pauseOnFocus&&a(f,"focusin focusout",(function(t){r="focusin"===t.type,b()}));p&&a(p,"click",(function(){m?v():y(!0)}));s(["move","scroll","refresh"],c.rewind),s("move",x)}(),p&&Lr(p,"aria-controls",d.track.id),m||v(),w())},destroy:c.cancel,play:v,pause:y,isPaused:u}},Cover:function(t,e,n){var i=so(t).on;function r(t){e.Slides.forEach((function(e){var n=_r(e.container||e.slide,"img");n&&n.src&&o(t,n,e)}))}function o(t,e,n){n.style("background",t?'center/cover no-repeat url("'+e.src+'")':"",!0),Nr(e,t?"none":"")}return{mount:function(){n.cover&&(i("lazyload:loaded",tr(o,!0)),i(["mounted","updated","refresh"],tr(r,!0)))},destroy:tr(r,!1)}},Scroll:function(t,e,n){var i,r,o=so(t),s=o.on,a=o.emit,l=t.state.set,c=e.Move,u=c.getPosition,d=c.getLimit,h=c.exceededLimit,f=c.translate,p=t.is("slide"),g=1;function m(t,n,o,s,d){var f=u();if(b(),o&&(!p||!h())){var m=e.Layout.sliderSize(),w=to(t)*m*Ur(Kr(t)/m)||0;t=c.toPosition(e.Controller.toDest(t%m))+w}var x=Qr(f,t,1);g=1,n=x?0:n||$r(Kr(t-f)/1.5,800),r=s,i=ao(n,v,tr(y,f,t,d),1),l(5),a("scroll"),i.start()}function v(){l(3),r&&r(),a("scrolled")}function y(t,e,i,o){var s,a,l=u(),c=(t+(e-t)*(s=o,(a=n.easingFunc)?a(s):1-Math.pow(1-s,4))-l)*g;f(l+c),p&&!i&&h()&&(g*=.6,Kr(c)<10&&m(d(h(!0)),600,!1,r,!0))}function b(){i&&i.cancel()}function w(){i&&!i.isPaused()&&(b(),v())}return{mount:function(){s("move",b),s(["updated","refresh"],w)},destroy:b,scroll:m,cancel:w}},Drag:function(t,e,n){var i,r,o,s,a,l,c,u,d=so(t),h=d.on,f=d.emit,p=d.bind,g=d.unbind,m=t.state,v=e.Move,y=e.Scroll,b=e.Controller,w=e.Elements.track,x=e.Media.reduce,_=e.Direction,E=_.resolve,S=_.orient,C=v.getPosition,T=v.exceededLimit,k=!1;function A(){var t=n.drag;q(!t),s="free"===t}function L(t){if(l=!1,!c){var e=B(t);i=t.target,r=n.noDrag,wr(i,".splide__pagination__page, .splide__arrow")||r&&wr(i,r)||!e&&t.button||(b.isBusy()?qr(t,!0):(u=e?w:window,a=m.is([4,5]),o=null,p(u,"touchmove mousemove",D,xo),p(u,vo,O,xo),v.cancel(),y.cancel(),F(t)))}var i,r}function D(e){if(m.is(6)||(m.set(6),f("drag")),e.cancelable)if(a){v.translate(i+j(e)/(k&&t.is("slide")?5:1));var r=P(e)>200,o=k!==(k=T());(r||o)&&F(e),l=!0,f("dragging"),qr(e)}else(function(t){return Kr(j(t))>Kr(j(t,!0))})(e)&&(a=function(t){var e=n.dragMinThreshold,i=or(e),r=i&&e.mouse||0,o=(i?e.touch:+e)||10;return Kr(j(t))>(B(t)?o:r)}(e),qr(e))}function O(i){m.is(6)&&(m.set(3),f("dragged")),a&&(!function(i){var r=function(e){if(t.is(yo)||!k){var n=P(e);if(n&&n<200)return j(e)/n}return 0}(i),o=function(t){return C()+to(t)*Yr(Kr(t)*(n.flickPower||600),s?1/0:e.Layout.listSize()*(n.flickMaxPages||1))}(r),a=n.rewind&&n.rewindByDrag;x(!1),s?b.scroll(o,0,n.snap):t.is("fade")?b.go(S(to(r))<0?a?"<":"-":a?">":"+"):t.is("slide")&&k&&a?b.go(T(!0)?">":"<"):b.go(b.toDest(o),!0);x(!0)}(i),qr(i)),g(u,"touchmove mousemove",D),g(u,vo,O),a=!1}function N(t){!c&&l&&qr(t,!0)}function F(t){o=r,r=t,i=C()}function j(t,e){return M(t,e)-M(I(t),e)}function P(t){return Wr(t)-Wr(I(t))}function I(t){return r===t&&o||r}function M(t,e){return(B(t)?t.changedTouches[0]:t)["page"+E(e?"Y":"X")]}function B(t){return"undefined"!=typeof TouchEvent&&t instanceof TouchEvent}function q(t){c=t}return{mount:function(){p(w,"touchmove mousemove",nr,xo),p(w,vo,nr,xo),p(w,"touchstart mousedown",L,xo),p(w,"click",N,{capture:!0}),p(w,"dragstart",qr),h(["mounted","updated"],A)},disable:q,isDragging:function(){return a}}},Keyboard:function(t,e,n){var i,r,o=so(t),s=o.on,a=o.bind,l=o.unbind,c=t.root,u=e.Direction.resolve;function d(){var t=n.keyboard;t&&(i="global"===t?window:c,a(i,"keydown",p))}function h(){l(i,"keydown")}function f(){var t=r;r=!0,er((function(){r=t}))}function p(e){if(!r){var n=Eo(e);n===u("ArrowLeft")?t.go("<"):n===u("ArrowRight")&&t.go(">")}}return{mount:function(){d(),s("updated",h),s("updated",d),s("move",f)},destroy:h,disable:function(t){r=t}}},LazyLoad:function(t,e,n){var i=so(t),r=i.on,o=i.off,s=i.bind,a=i.emit,l="sequential"===n.lazyLoad,c=["moved","scrolled"],u=[];function d(){Zi(u),e.Slides.forEach((function(t){zr(t.slide,"[data-splide-lazy], [data-splide-lazy-srcset]").forEach((function(e){var i=jr(e,"data-splide-lazy"),r=jr(e,"data-splide-lazy-srcset");if(i!==e.src||r!==e.srcset){var o=n.classes.spinner,s=e.parentElement,a=_r(s,"."+o)||Dr("span",o,s);u.push([e,t,a]),e.src||Nr(e,"none")}}))})),l?g():(o(c),r(c,h),h())}function h(){(u=u.filter((function(e){var i=n.perPage*((n.preloadPages||1)+1)-1;return!e[1].isWithin(t.index,i)||f(e)}))).length||o(c)}function f(t){var e=t[0];vr(t[1].slide,"is-loading"),s(e,"load error",tr(p,t)),Lr(e,"src",jr(e,"data-splide-lazy")),Lr(e,"srcset",jr(e,"data-splide-lazy-srcset")),Ar(e,"data-splide-lazy"),Ar(e,"data-splide-lazy-srcset")}function p(t,e){var n=t[0],i=t[1];Rr(i.slide,"is-loading"),"error"!==e.type&&(Mr(t[2]),Nr(n,""),a("lazyload:loaded",n,i),a("resize")),l&&g()}function g(){u.length&&f(u.shift())}return{mount:function(){n.lazyLoad&&(d(),r("refresh",d))},destroy:tr(Zi,u),check:h}},Pagination:function(t,e,n){var i,r,o=so(t),s=o.on,a=o.emit,l=o.bind,c=e.Slides,u=e.Elements,d=e.Controller,h=d.hasFocus,f=d.getIndex,p=d.go,g=e.Direction.resolve,m=u.pagination,v=[];function y(){i&&(Mr(m?Ji(i.children):i),Rr(i,r),Zi(v),i=null),o.destroy()}function b(t){p(">"+t,!0)}function w(t,e){var n=v.length,i=Eo(e),r=x(),o=-1;i===g("ArrowRight",!1,r)?o=++t%n:i===g("ArrowLeft",!1,r)?o=(--t+n)%n:"Home"===i?o=0:"End"===i&&(o=n-1);var s=v[o];s&&(Fr(s.button),p(">"+o),qr(e,!0))}function x(){return n.paginationDirection||n.direction}function _(t){return v[d.toPage(t)]}function E(){var t=_(f(!0)),e=_(f());if(t){var n=t.button;Rr(n,po),Ar(n,"aria-selected"),Lr(n,"tabindex",-1)}if(e){var r=e.button;vr(r,po),Lr(r,"aria-selected",!0),Lr(r,"tabindex","")}a("pagination:updated",{list:i,items:v},t,e)}return{items:v,mount:function e(){y(),s(["updated","refresh","ei"],e);var o=n.pagination;m&&Nr(m,o?"":"none"),o&&(s(["move","scroll","scrolled"],E),function(){var e=t.length,o=n.classes,s=n.i18n,a=n.perPage,f=h()?d.getEnd()+1:Gr(e/a);vr(i=m||Dr("ul",o.pagination,u.track.parentElement),r="splide__pagination--"+x()),Lr(i,uo,"tablist"),Lr(i,"aria-label",s.select),Lr(i,"aria-orientation","ttb"===x()?"vertical":"");for(var p=0;p<f;p++){var g=Dr("li",null,i),y=Dr("button",{class:o.page,type:"button"},g),_=c.getIn(p).map((function(t){return t.slide.id})),E=!h()&&a>1?s.pageX:s.slideX;l(y,"click",tr(b,p)),n.paginationKeyboard&&l(y,"keydown",tr(w,p)),Lr(g,uo,"presentation"),Lr(y,uo,"tab"),Lr(y,"aria-controls",_.join(" ")),Lr(y,"aria-label",eo(E,p+1)),Lr(y,"tabindex",-1),v.push({li:g,button:y,page:p})}}(),E(),a("pagination:mounted",{list:i,items:v},_(t.index)))},destroy:y,getAt:_,update:E}},Sync:function(t,e,n){var i=n.isNavigation,r=n.slideFocus,o=[];function s(){t.splides.forEach((function(e){e.isParent||(l(t,e.splide),l(e.splide,t))})),i&&function(){var e=so(t),n=e.on;n("click",u),n("sk",d),n(["mounted","updated"],c),o.push(e),e.emit("navigation:mounted",t.splides)}()}function a(){o.forEach((function(t){t.destroy()})),Zi(o)}function l(t,e){var n=so(t);n.on("move",(function(t,n,i){e.go(e.is(yo)?i:t)})),o.push(n)}function c(){Lr(e.Elements.list,"aria-orientation","ttb"===n.direction?"vertical":"")}function u(e){t.go(e.index)}function d(t,e){pr(So,Eo(e))&&(u(t),qr(e))}return{setup:tr(e.Media.set,{slideFocus:cr(r)?i:r},!0),mount:s,destroy:a,remount:function(){a(),s()}}},Wheel:function(t,e,n){var i=so(t).bind,r=0;function o(i){if(i.cancelable){var o=i.deltaY,s=o<0,a=Wr(i),l=n.wheelMinThreshold||0,c=n.wheelSleep||0;Kr(o)>l&&a-r>c&&(t.go(s?"<":">"),r=a),function(i){return!n.releaseWheel||t.state.is(4)||-1!==e.Controller.getAdjacent(i)}(s)&&qr(i)}}return{mount:function(){n.wheel&&i(e.Elements.track,"wheel",o,xo)}}},Live:function(t,e,n){var i=so(t).on,r=e.Elements.track,o=n.live&&!n.isNavigation,s=Dr("span","splide__sr"),a=ao(90,tr(l,!1));function l(t){Lr(r,"aria-busy",t),t?(yr(r,s),a.start()):(Mr(s),a.cancel())}function c(t){o&&Lr(r,"aria-live",t?"off":"polite")}return{mount:function(){o&&(c(!e.Autoplay.isPaused()),Lr(r,"aria-atomic",!0),s.textContent="…",i("autoplay:play",tr(c,!0)),i("autoplay:pause",tr(c,!1)),i(["moved","scrolled"],tr(l,!0)))},disable:c,destroy:function(){Ar(r,["aria-live","aria-atomic","aria-busy"]),Mr(s)}}}}),To={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:mo,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function ko(t,e,n){var i=e.Slides;function r(){i.forEach((function(t){t.style("transform","translateX(-"+100*t.index+"%)")}))}return{mount:function(){so(t).on(["mounted","refresh"],r)},start:function(t,e){i.style("transition","opacity "+n.speed+"ms "+n.easing),er(e)},cancel:nr}}function Ao(t,e,n){var i,r=e.Move,o=e.Controller,s=e.Scroll,a=e.Elements.list,l=tr(Or,a,"transition");function c(){l(""),s.cancel()}return{mount:function(){so(t).bind(a,"transitionend",(function(t){t.target===a&&i&&(c(),i())}))},start:function(e,a){var c=r.toPosition(e,!0),u=r.getPosition(),d=function(e){var i=n.rewindSpeed;if(t.is("slide")&&i){var r=o.getIndex(!0),s=o.getEnd();if(0===r&&e>=s||r>=s&&0===e)return i}return n.speed}(e);Kr(c-u)>=1&&d>=1?n.useScroll?s.scroll(c,d,!1,a):(l("transform "+d+"ms "+n.easing),r.translate(c,!0),i=a):(r.jump(e),a())},cancel:c}}var Lo=function(){function t(e,n){var i;this.event=so(),this.Components={},this.state=(i=1,{set:function(t){i=t},is:function(t){return pr(hr(t),i)}}),this.splides=[],this._o={},this._E={};var r=lr(e)?Hr(document,e):e;Xr(r,r+" is invalid."),this.root=r,n=Tr({label:jr(r,"aria-label")||"",labelledby:jr(r,"aria-labelledby")||""},To,t.defaults,n||{});try{Tr(n,JSON.parse(jr(r,"data-splide")))}catch(t){Xr(!1,"Invalid JSON")}this._o=Object.create(Tr({},n))}var e,n,i,r=t.prototype;return r.mount=function(t,e){var n=this,i=this.state,r=this.Components;return Xr(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=e||this._T||(this.is("fade")?ko:Ao),this._E=t||this._E,Sr(Cr({},Co,this._E,{Transition:this._T}),(function(t,e){var i=t(n,r,n._o);r[e]=i,i.setup&&i.setup()})),Sr(r,(function(t){t.mount&&t.mount()})),this.emit("mounted"),vr(this.root,"is-initialized"),i.set(3),this.emit("ready"),this},r.sync=function(t){return this.splides.push({splide:t}),t.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),t.Components.Sync.remount()),this},r.go=function(t){return this._C.Controller.go(t),this},r.on=function(t,e){return this.event.on(t,e),this},r.off=function(t){return this.event.off(t),this},r.emit=function(t){var e;return(e=this.event).emit.apply(e,[t].concat(Ji(arguments,1))),this},r.add=function(t,e){return this._C.Slides.add(t,e),this},r.remove=function(t){return this._C.Slides.remove(t),this},r.is=function(t){return this._o.type===t},r.refresh=function(){return this.emit("refresh"),this},r.destroy=function(t){void 0===t&&(t=!0);var e=this.event,n=this.state;return n.is(1)?so(this).on("ready",this.destroy.bind(this,t)):(Sr(this._C,(function(e){e.destroy&&e.destroy(t)}),!0),e.emit("destroy"),e.destroy(),t&&Zi(this.splides),n.set(7)),this},e=t,(n=[{key:"options",get:function(){return this._o},set:function(t){this._C.Media.set(t,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&Ki(e.prototype,n),i&&Ki(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();Lo.defaults={},Lo.STATES=Qi;var Do=function(t){var e;for(e=0;e<t.length;e++)console.log("contentSplider padded"),new Lo(t[e],{type:"loop",perPage:1,gap:"1.5em",pagination:!1,lazyLoad:"nearby"}).mount()};var Oo=function(t){var e;for(e=0;e<t.length;e++)new Lo(t[e],{type:"loop",perPage:4,breakpoints:{576:{perPage:1},991:{perPage:2},1200:{perPage:3}},gap:"10px",pagination:!1,lazyLoad:"nearby"}).mount()},No={exports:{}};function Fo(){}Fo.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,s=i.length;o<s;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},No.exports=Fo,No.exports.TinyEmitter=Fo;function jo(){}function Po(t){return parseFloat(t)||0}class Io{constructor(t,e){this.x=Po(t),this.y=Po(e)}static equals(t,e){return t.x===e.x&&t.y===e.y}}class Mo{constructor(t,e,n,i,r){this.id=r,this.left=t,this.top=e,this.width=n,this.height=i}static intersects(t,e){return t.left<e.left+e.width&&e.left<t.left+t.width&&t.top<e.top+e.height&&e.top<t.top+t.height}}var Bo={BASE:"shuffle",SHUFFLE_ITEM:"shuffle-item",VISIBLE:"shuffle-item--visible",HIDDEN:"shuffle-item--hidden"};let qo=0;class Ho{constructor(t,e){qo+=1,this.id=qo,this.element=t,this.isRTL=e,this.isVisible=!0,this.isHidden=!1}show(){this.isVisible=!0,this.element.classList.remove(Bo.HIDDEN),this.element.classList.add(Bo.VISIBLE),this.element.removeAttribute("aria-hidden")}hide(){this.isVisible=!1,this.element.classList.remove(Bo.VISIBLE),this.element.classList.add(Bo.HIDDEN),this.element.setAttribute("aria-hidden",!0)}init(){this.addClasses([Bo.SHUFFLE_ITEM,Bo.VISIBLE]),this.applyCss(Ho.Css.INITIAL),this.applyCss(this.isRTL?Ho.Css.DIRECTION.rtl:Ho.Css.DIRECTION.ltr),this.scale=Ho.Scale.VISIBLE,this.point=new Io}addClasses(t){t.forEach(t=>{this.element.classList.add(t)})}removeClasses(t){t.forEach(t=>{this.element.classList.remove(t)})}applyCss(t){Object.keys(t).forEach(e=>{this.element.style[e]=t[e]})}dispose(){this.removeClasses([Bo.HIDDEN,Bo.VISIBLE,Bo.SHUFFLE_ITEM]),this.element.removeAttribute("style"),this.element=null}}Ho.Css={INITIAL:{position:"absolute",top:0,visibility:"visible",willChange:"transform"},DIRECTION:{ltr:{left:0},rtl:{right:0}},VISIBLE:{before:{opacity:1,visibility:"visible"},after:{transitionDelay:""}},HIDDEN:{before:{opacity:0},after:{visibility:"hidden",transitionDelay:""}}},Ho.Scale={VISIBLE:1,HIDDEN:.001};let zo=null;var Ro=()=>{if(null!==zo)return zo;const t=document.body||document.documentElement,e=document.createElement("div");e.style.cssText="width:10px;padding:2px;box-sizing:border-box;",t.appendChild(e);const{width:n}=window.getComputedStyle(e,null);return zo=10===Math.round(Po(n)),t.removeChild(e),zo};function Wo(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.getComputedStyle(t,null),i=Po(n[e]);return Ro()||"width"!==e?Ro()||"height"!==e||(i+=Po(n.paddingTop)+Po(n.paddingBottom)+Po(n.borderTopWidth)+Po(n.borderBottomWidth)):i+=Po(n.paddingLeft)+Po(n.paddingRight)+Po(n.borderLeftWidth)+Po(n.borderRightWidth),i}const Vo={reverse:!1,by:null,compare:null,randomize:!1,key:"element"};function Xo(t,e){const n={...Vo,...e},i=Array.from(t);let r=!1;return t.length?n.randomize?function(t){let e=t.length;for(;e;){e-=1;const n=Math.floor(Math.random()*(e+1)),i=t[n];t[n]=t[e],t[e]=i}return t}(t):("function"==typeof n.by?t.sort((t,e)=>{if(r)return 0;const i=n.by(t[n.key]),o=n.by(e[n.key]);return void 0===i&&void 0===o?(r=!0,0):i<o||"sortFirst"===i||"sortLast"===o?-1:i>o||"sortLast"===i||"sortFirst"===o?1:0}):"function"==typeof n.compare&&t.sort(n.compare),r?i:(n.reverse&&t.reverse(),t)):[]}const Yo={};let $o=0;function Uo(t){return!!Yo[t]&&(Yo[t].element.removeEventListener("transitionend",Yo[t].listener),Yo[t]=null,!0)}function Go(t,e){const n=($o+=1,"transitionend"+$o),i=t=>{t.currentTarget===t.target&&(Uo(n),e(t))};return t.addEventListener("transitionend",i),Yo[n]={element:t,listener:i},n}function Ko(t){return Math.max(...t)}function Qo(t,e,n,i){let r=t/e;return Math.abs(Math.round(r)-r)<i&&(r=Math.round(r)),Math.min(Math.ceil(r),n)}function Zo(t,e,n){if(1===e)return t;const i=[];for(let r=0;r<=n-e;r++)i.push(Ko(t.slice(r,r+e)));return i}function Jo(t,e){const n=(i=t,Math.min(...i));var i;for(let i=0,r=t.length;i<r;i++)if(t[i]>=n-e&&t[i]<=n+e)return i;return 0}function ts(t,e){const n={};t.forEach(t=>{n[t.top]?n[t.top].push(t):n[t.top]=[t]});let i=[];const r=[],o=[];return Object.keys(n).forEach(t=>{const s=n[t];r.push(s);const a=s[s.length-1],l=a.left+a.width,c=Math.round((e-l)/2);let u=s,d=!1;if(c>0){const t=[];d=s.every(e=>{const n=new Mo(e.left+c,e.top,e.width,e.height,e.id),r=!i.some(t=>Mo.intersects(n,t));return t.push(n),r}),d&&(u=t)}if(!d){let t;if(s.some(e=>i.some(n=>{const i=Mo.intersects(e,n);return i&&(t=n),i}))){const e=o.findIndex(e=>e.includes(t));o.splice(e,1,r[e])}}i=i.concat(u),o.push(u)}),o.flat().sort((t,e)=>t.id-e.id).map(t=>new Io(t.left,t.top))}function es(t){return Array.from(new Set(t))}let ns=0;class is extends No.exports{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.options={...is.options,...e},this.lastSort={},this.group=is.ALL_ITEMS,this.lastFilter=is.ALL_ITEMS,this.isEnabled=!0,this.isDestroyed=!1,this.isInitialized=!1,this._transitions=[],this.isTransitioning=!1,this._queue=[];const n=this._getElementOption(t);if(!n)throw new TypeError("Shuffle needs to be initialized with an element.");this.element=n,this.id="shuffle_"+ns,ns+=1,this._init(),this.isInitialized=!0}_init(){if(this.items=this._getItems(),this.sortedItems=this.items,this.options.sizer=this._getElementOption(this.options.sizer),this.element.classList.add(is.Classes.BASE),this._initItems(this.items),"complete"!==document.readyState){const t=this.layout.bind(this);window.addEventListener("load",(function e(){window.removeEventListener("load",e),t()}))}const t=window.getComputedStyle(this.element,null),e=is.getSize(this.element).width;this._validateStyles(t),this._setColumns(e),this.filter(this.options.group,this.options.initialSort),this._rafId=null,"ResizeObserver"in window&&(this._resizeObserver=new ResizeObserver(this._handleResizeCallback.bind(this)),this._resizeObserver.observe(this.element)),this.element.offsetWidth,this.setItemTransitions(this.items),this.element.style.transition=`height ${this.options.speed}ms ${this.options.easing}`}_getElementOption(t){return"string"==typeof t?this.element.querySelector(t):t&&t.nodeType&&1===t.nodeType?t:t&&t.jquery?t[0]:null}_validateStyles(t){"static"===t.position&&(this.element.style.position="relative"),"hidden"!==t.overflow&&(this.element.style.overflow="hidden")}_filter(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastFilter,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items;const n=this._getFilteredSets(t,e);return this._toggleFilterClasses(n),this.lastFilter=t,"string"==typeof t&&(this.group=t),n}_getFilteredSets(t,e){let n=[];const i=[];return t===is.ALL_ITEMS?n=e:e.forEach(e=>{this._doesPassFilter(t,e.element)?n.push(e):i.push(e)}),{visible:n,hidden:i}}_doesPassFilter(t,e){if("function"==typeof t)return t.call(e,e,this);const n=e.dataset[is.FILTER_ATTRIBUTE_KEY],i=this.options.delimiter?n.split(this.options.delimiter):JSON.parse(n);function r(t){return i.includes(t)}return Array.isArray(t)?this.options.filterMode===is.FilterMode.ANY?t.some(r):t.every(r):i.includes(t)}_toggleFilterClasses(t){let{visible:e,hidden:n}=t;e.forEach(t=>{t.show()}),n.forEach(t=>{t.hide()})}_initItems(t){t.forEach(t=>{t.init()})}_disposeItems(t){t.forEach(t=>{t.dispose()})}_updateItemCount(){this.visibleItems=this._getFilteredItems().length}setItemTransitions(t){const{speed:e,easing:n}=this.options,i=this.options.useTransforms?["transform"]:["top","left"],r=Object.keys(Ho.Css.HIDDEN.before).map(t=>t.replace(/([A-Z])/g,(t,e)=>"-"+e.toLowerCase())),o=i.concat(r).join();t.forEach(t=>{t.element.style.transitionDuration=e+"ms",t.element.style.transitionTimingFunction=n,t.element.style.transitionProperty=o})}_getItems(){return Array.from(this.element.children).filter(t=>t.matches(this.options.itemSelector)).map(t=>new Ho(t,this.options.isRTL))}_mergeNewItems(t){const e=Array.from(this.element.children);return Xo(this.items.concat(t),{by:t=>e.indexOf(t)})}_getFilteredItems(){return this.items.filter(t=>t.isVisible)}_getConcealedItems(){return this.items.filter(t=>!t.isVisible)}_getColumnSize(t,e){let n;return n="function"==typeof this.options.columnWidth?this.options.columnWidth(t):this.options.sizer?is.getSize(this.options.sizer).width:this.options.columnWidth?this.options.columnWidth:this.items.length>0?is.getSize(this.items[0].element,!0).width:t,0===n&&(n=t),n+e}_getGutterSize(t){let e;return e="function"==typeof this.options.gutterWidth?this.options.gutterWidth(t):this.options.sizer?Wo(this.options.sizer,"marginLeft"):this.options.gutterWidth,e}_setColumns(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:is.getSize(this.element).width;const e=this._getGutterSize(t),n=this._getColumnSize(t,e);let i=(t+e)/n;Math.abs(Math.round(i)-i)<this.options.columnThreshold&&(i=Math.round(i)),this.cols=Math.max(Math.floor(i||0),1),this.containerWidth=t,this.colWidth=n}_setContainerSize(){this.element.style.height=this._getContainerSize()+"px"}_getContainerSize(){return Ko(this.positions)}_getStaggerAmount(t){return Math.min(t*this.options.staggerAmount,this.options.staggerAmountMax)}_dispatch(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isDestroyed||(e.shuffle=this,this.emit(t,e))}_resetCols(){let t=this.cols;for(this.positions=[];t;)t-=1,this.positions.push(0)}_layout(t){const e=this._getNextPositions(t);let n=0;t.forEach((t,i)=>{function r(){t.applyCss(Ho.Css.VISIBLE.after)}if(Io.equals(t.point,e[i])&&!t.isHidden)return t.applyCss(Ho.Css.VISIBLE.before),void r();t.point=e[i],t.scale=Ho.Scale.VISIBLE,t.isHidden=!1;const o=this.getStylesForTransition(t,Ho.Css.VISIBLE.before);o.transitionDelay=this._getStaggerAmount(n)+"ms",this._queue.push({item:t,styles:o,callback:r}),n+=1})}_getNextPositions(t){if(this.options.isCentered){const e=t.map((t,e)=>{const n=is.getSize(t.element,!0),i=this._getItemPosition(n);return new Mo(i.x,i.y,n.width,n.height,e)});return this.getTransformedPositions(e,this.containerWidth)}return t.map(t=>this._getItemPosition(is.getSize(t.element,!0)))}_getItemPosition(t){return function(t){let{itemSize:e,positions:n,gridSize:i,total:r,threshold:o,buffer:s}=t;const a=Qo(e.width,i,r,o),l=Zo(n,a,r),c=Jo(l,s),u=new Io(i*c,l[c]),d=l[c]+e.height;for(let t=0;t<a;t++)n[c+t]=d;return u}({itemSize:t,positions:this.positions,gridSize:this.colWidth,total:this.cols,threshold:this.options.columnThreshold,buffer:this.options.buffer})}getTransformedPositions(t,e){return ts(t,e)}_shrink(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getConcealedItems(),e=0;t.forEach(t=>{function n(){t.applyCss(Ho.Css.HIDDEN.after)}if(t.isHidden)return t.applyCss(Ho.Css.HIDDEN.before),void n();t.scale=Ho.Scale.HIDDEN,t.isHidden=!0;const i=this.getStylesForTransition(t,Ho.Css.HIDDEN.before);i.transitionDelay=this._getStaggerAmount(e)+"ms",this._queue.push({item:t,styles:i,callback:n}),e+=1})}_handleResizeCallback(t){if(this.isEnabled&&!this.isDestroyed)for(const e of t)Math.round(e.contentRect.width)!==Math.round(this.containerWidth)&&(cancelAnimationFrame(this._rafId),this._rafId=requestAnimationFrame(this.update.bind(this)))}getStylesForTransition(t,e){const n={...e};if(this.options.useTransforms){const e=this.options.isRTL?"-":"",i=this.options.roundTransforms?Math.round(t.point.x):t.point.x,r=this.options.roundTransforms?Math.round(t.point.y):t.point.y;n.transform=`translate(${e}${i}px, ${r}px) scale(${t.scale})`}else this.options.isRTL?n.right=t.point.x+"px":n.left=t.point.x+"px",n.top=t.point.y+"px";return n}_whenTransitionDone(t,e,n){const i=Go(t,t=>{e(),n(null,t)});this._transitions.push(i)}_getTransitionFunction(t){return e=>{t.item.applyCss(t.styles),this._whenTransitionDone(t.item.element,t.callback,e)}}_processQueue(){this.isTransitioning&&this._cancelMovement();const t=this.options.speed>0,e=this._queue.length>0;e&&t&&this.isInitialized?this._startTransitions(this._queue):e?(this._styleImmediately(this._queue),this._dispatch(is.EventType.LAYOUT)):this._dispatch(is.EventType.LAYOUT),this._queue.length=0}_startTransitions(t){this.isTransitioning=!0;!function(t,e,n){n||("function"==typeof e?(n=e,e=null):n=jo);var i=t&&t.length;if(!i)return n(null,[]);var r=!1,o=new Array(i);function s(t){return function(e,s){if(!r){if(e)return n(e,o),void(r=!0);o[t]=s,--i||n(null,o)}}}t.forEach(e?function(t,n){t.call(e,s(n))}:function(t,e){t(s(e))})}(t.map(t=>this._getTransitionFunction(t)),this._movementFinished.bind(this))}_cancelMovement(){this._transitions.forEach(Uo),this._transitions.length=0,this.isTransitioning=!1}_styleImmediately(t){if(t.length){const e=t.map(t=>t.item.element);is._skipTransitions(e,()=>{t.forEach(t=>{t.item.applyCss(t.styles),t.callback()})})}}_movementFinished(){this._transitions.length=0,this.isTransitioning=!1,this._dispatch(is.EventType.LAYOUT)}filter(t,e){this.isEnabled&&((!t||t&&0===t.length)&&(t=is.ALL_ITEMS),this._filter(t),this._shrink(),this._updateItemCount(),this.sort(e))}sort(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.lastSort;if(!this.isEnabled)return;this._resetCols();const e=Xo(this._getFilteredItems(),t);this.sortedItems=e,this._layout(e),this._processQueue(),this._setContainerSize(),this.lastSort=t}update(){let{recalculateSizes:t=!0,force:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(this.isEnabled||e)&&(t&&this._setColumns(),this.sort())}layout(){this.update({recalculateSizes:!0})}add(t){const e=es(t).map(t=>new Ho(t,this.options.isRTL));this._initItems(e),this._resetCols();const n=Xo(this._mergeNewItems(e),this.lastSort),i=this._filter(this.lastFilter,n),r=t=>e.includes(t),o=t=>{t.scale=Ho.Scale.HIDDEN,t.isHidden=!0,t.applyCss(Ho.Css.HIDDEN.before),t.applyCss(Ho.Css.HIDDEN.after)},s=this._getNextPositions(i.visible);i.visible.forEach((t,e)=>{r(t)&&(t.point=s[e],o(t),t.applyCss(this.getStylesForTransition(t,{})))}),i.hidden.forEach(t=>{r(t)&&o(t)}),this.element.offsetWidth,this.setItemTransitions(e),this.items=this._mergeNewItems(e),this.filter(this.lastFilter)}disable(){this.isEnabled=!1}enable(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.isEnabled=!0,t&&this.update()}remove(t){if(!t.length)return;const e=es(t),n=e.map(t=>this.getItemByElement(t)).filter(t=>!!t);this._toggleFilterClasses({visible:[],hidden:n}),this._shrink(n),this.sort(),this.items=this.items.filter(t=>!n.includes(t)),this._updateItemCount(),this.once(is.EventType.LAYOUT,()=>{this._disposeItems(n),e.forEach(t=>{t.parentNode.removeChild(t)}),this._dispatch(is.EventType.REMOVED,{collection:e})})}getItemByElement(t){return this.items.find(e=>e.element===t)}resetItems(){this._disposeItems(this.items),this.isInitialized=!1,this.items=this._getItems(),this._initItems(this.items),this.once(is.EventType.LAYOUT,()=>{this.setItemTransitions(this.items),this.isInitialized=!0}),this.filter(this.lastFilter)}destroy(){this._cancelMovement(),this._resizeObserver&&(this._resizeObserver.unobserve(this.element),this._resizeObserver=null),this.element.classList.remove("shuffle"),this.element.removeAttribute("style"),this._disposeItems(this.items),this.items.length=0,this.sortedItems.length=0,this._transitions.length=0,this.options.sizer=null,this.element=null,this.isDestroyed=!0,this.isEnabled=!1}static getSize(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=window.getComputedStyle(t,null);let i=Wo(t,"width",n),r=Wo(t,"height",n);if(e){i+=Wo(t,"marginLeft",n)+Wo(t,"marginRight",n),r+=Wo(t,"marginTop",n)+Wo(t,"marginBottom",n)}return{width:i,height:r}}static _skipTransitions(t,e){const n=t.map(t=>{const{style:e}=t,n=e.transitionDuration,i=e.transitionDelay;return e.transitionDuration="0ms",e.transitionDelay="0ms",{duration:n,delay:i}});e(),t[0].offsetWidth,t.forEach((t,e)=>{t.style.transitionDuration=n[e].duration,t.style.transitionDelay=n[e].delay})}}is.ShuffleItem=Ho,is.ALL_ITEMS="all",is.FILTER_ATTRIBUTE_KEY="groups",is.EventType={LAYOUT:"shuffle:layout",REMOVED:"shuffle:removed"},is.Classes=Bo,is.FilterMode={ANY:"any",ALL:"all"},is.options={group:is.ALL_ITEMS,speed:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)",itemSelector:"*",sizer:null,gutterWidth:0,columnWidth:0,delimiter:null,buffer:0,columnThreshold:.01,initialSort:null,staggerAmount:15,staggerAmountMax:150,useTransforms:!0,filterMode:is.FilterMode.ANY,isCentered:!1,isRTL:!1,roundTransforms:!0},is.Point=Io,is.Rect=Mo,is.__sorter=Xo,is.__getColumnSpan=Qo,is.__getAvailablePositions=Zo,is.__getShortColumn=Jo,is.__getCenteredPositions=ts;var rs=function(t){t.forEach((function(t){var e=t.querySelector(".shuffle-switches"),n=t.querySelector(".shuffle-container"),i=n.querySelector(".js-shuffle-sizer"),r=new is(n,{itemSelector:".image-item",delimiter:",",sizer:i,gutterWidth:10});e.querySelectorAll(".nav-shuffle").forEach((function(t){t.addEventListener("click",(function(n){var i=t.dataset.filter;e.querySelectorAll(".nav-shuffle").forEach((function(t){t.querySelector(".nav-link").classList.remove("active")})),t.querySelector(".nav-link").classList.add("active"),r.filter(i)}))}))}))};var os=function(t){var e=t.querySelector(".shuffle-switches"),n=document.querySelector(".shuffle-container"),i=n.querySelector(".js-shuffle-sizer"),r=new is(n,{itemSelector:".image-item",delimiter:",",sizer:i,gutterWidth:10});e.querySelectorAll(".nav-shuffle").forEach((function(t){t.addEventListener("click",(function(n){var i=t.dataset.filter;e.querySelectorAll(".nav-shuffle").forEach((function(t){t.querySelector(".nav-link").classList.remove("active")})),t.querySelector(".nav-link").classList.add("active"),r.filter(i)}))}))};var ss=function(t){var e=t.querySelector(".shuffle-filters"),n=t.querySelector(".shuffle-sorting"),i=document.querySelector(".shuffle-container"),r=i.querySelector(".js-shuffle-sizer"),o=new is(i,{itemSelector:".image-item",delimiter:",",sizer:r,gutterWidth:10});function s(t){return t.dataset.name.toLowerCase()}function a(t){return t.dataset.city.toLowerCase()}e.querySelectorAll(".nav-filter").forEach((function(t){t.addEventListener("click",(function(n){var i=t.dataset.filter;e.querySelectorAll(".nav-filter").forEach((function(t){t.querySelector(".nav-link").classList.remove("active")})),t.querySelector(".nav-link").classList.add("active"),o.filter(i)}))})),n.querySelectorAll(".nav-sorting").forEach((function(t){t.addEventListener("click",(function(e){var i,r=t.dataset.sorter;n.querySelectorAll(".nav-sorting").forEach((function(t){t.querySelector(".nav-link").classList.remove("active")})),"default"===r?t.classList.add("hide-me"):(t.querySelector(".nav-link").classList.add("active"),n.querySelector(".sorting-default").classList.remove("hide-me")),i="name"===r?{by:s}:"city"===r?{by:a}:{},o.sort(i)}))}))};function as(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var ls=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.node=e,this.content=e.querySelector(".stoerer__content"),this.stoererModal=new Ve(e,{animation:"fade"})}var e,n,i;return e=t,(n=[{key:"init",value:function(){Qn()(this.content.children)||"yes"!==function(t){if(document.cookie.length>0){var e=document.cookie.indexOf(t+"=");if(-1!=e){e=e+t.length+1;var n=document.cookie.indexOf(";",e);return-1==n&&(n=document.cookie.length),unescape(document.cookie.substring(e,n))}}return""}("stoerer-seen")&&this.show()}},{key:"show",value:function(){this.stoererModal.show(),function(t,e,n){var i;if(n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),i="; expires="+r.toGMTString()}else i="";document.cookie=t+"="+e+i+"; path=/"}("stoerer-seen","yes",0)}}])&&as(e.prototype,n),i&&as(e,i),t}();function cs(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var us=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scriptExists=null!==e.querySelector(".unsub form")}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.scriptExists||this.script2Load()}},{key:"script2Load",value:function(){var t,e,n,i,r,o;t=window,e=document,n="script",i="n2g",t.Newsletter2GoTrackingObject=i,t.n2g=t.n2g||function(){(t.n2g.q=t.n2g.q||[]).push(arguments)},t.n2g.l=1*new Date,r=e.createElement(n),o=e.getElementsByTagName(n)[0],r.async=1,r.src="//static.newsletter2go.com/utils.js",o.parentNode.insertBefore(r,o),n2g("create","h0tfoudj-7bkenecj-15o3"),n2g("subscribe:createForm")}}])&&cs(e.prototype,n),i&&cs(e,i),t}();var ds=function(t){1===t.length&&t.forEach((function(t){new us(t).init()}))};function hs(t){return function(t){if(Array.isArray(t))return fs(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return fs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fs(t,e)}(t)||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 fs(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ps(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var gs=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=e,this.border="border-dotted"}var e,n,i;return e=t,(n=[{key:"init",value:function(){var t=this.container.parentElement.parentElement.querySelector("header");null!=t&&(t.classList.add("tx_solr"),this.container.classList.add("header"));var e=kn.createNode('<div class="container '.concat(this.border,'"></div>'));t.appendChild(e),hs(t.children).forEach((function(e){return t.querySelector(".container").appendChild(e)}))}}])&&ps(e.prototype,n),i&&ps(e,i),t}();var ms=function(t){new gs(t).init()},vs=n("hCFP");function ys(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var bs=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.media2click=e,this.placeHolder=this.media2click.querySelector(".media2click-placeholder")}var e,n,i;return e=t,(n=[{key:"init",value:function(){this.placeHolder.style.width="auto",this.placeHolder.style.height="100%",this.media2click.offsetWidth>0&&(this.media2click.style.height="".concat(9*this.media2click.offsetWidth/16,"px"))}}])&&ys(e.prototype,n),i&&ys(e,i),t}();var ws=function(t){t.forEach((function(t){new bs(t).init()}))};function xs(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var _s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.node=e,this.filterType=e.dataset.clear,this.href=e.getAttribute("href"),this.anchor=e.dataset.anchor||null,this.loading=document.querySelector(".loading")||null,this.oldLocation=window.location,this.calenderScrollToId=this.href}var e,n,i;return e=t,(n=[{key:"scrollToCalendar",value:function(){var t=this.anchor;null===this.anchor&&(t=this.calenderScrollToId);var e=document.querySelector(t).offsetTop;window.scrollTo({top:e,behavior:"smooth"})}},{key:"setEvent",value:function(){this.scrollToCalendar(),this.node.addEventListener("click",this.cleanUrl.bind(this))}},{key:"cleanUrl",value:function(){event.preventDefault(),"day"===this.filterType?window.location="".concat(this.oldLocation.origin).concat(this.href).concat(this.anchor):window.location="".concat(this.oldLocation.origin).concat(this.oldLocation.pathname).concat(this.href)}}])&&xs(e.prototype,n),i&&xs(e,i),t}();var Es=function(t){new _s(t).setEvent()};function Ss(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Cs=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.container=e,this.location=document.location}var e,n,i;return e=t,(n=[{key:"init",value:function(){"/veranstaltungen"==this.location.pathname&&Qn()(this.location.search)&&(this.addLoader(),this.preselectCategories())}},{key:"preselectCategories",value:function(){document.location="?id=258tx_events2_searchresults%5Baction%5D=listSearchResults&tx_events2_searchresults%5Bcontroller%5D=Search&tx_events2_searchresults%5Bsearch%5D%5Bsearch%5D=&tx_events2_searchresults%5Bsearch%5D%5BmainCategory%5D=3&tx_events2_searchresults%5Bsearch%5D%5BsubCategory%5D="}},{key:"addLoader",value:function(){var t=document.createElement("div");t.classList.add("loader");var e=document.createElement("div");e.classList.add("loader-background"),e.appendChild(t),document.querySelector("body").appendChild(e)}}])&&Ss(e.prototype,n),i&&Ss(e,i),t}();var Ts=function(t){new Cs(t).init()};function ks(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var As=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.bodyContent=document.querySelector(".bodyContent")}var e,n,i;return e=t,(n=[{key:"init",value:function(){var t=0,e=!1,n=this.bodyContent;document.addEventListener("scroll",(function(i){t=window.scrollY,e||(window.requestAnimationFrame((function(){var i,r;i=t,r=n.offsetHeight,n.style.backgroundPosition="50% "+Math.round(.5*(r-i))+"px",e=!1})),e=!0)}))}}])&&ks(e.prototype,n),i&&ks(e,i),t}();var Ls=function(t){new As(t).init()},Ds=n("6qam"),Os=n.n(Ds);function Ns(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var Fs=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.tabbable=e,this.activeTabpane=this.tabbable.querySelector(".tab-pane.active"),this.tabs=this.tabbable.querySelectorAll("button[data-bs-toggle]"),this.tabContent=this.tabbable.querySelector(".tab-content")}var e,n,i;return e=t,(n=[{key:"media2ClickVisible",value:function(){var t=this;Os()(this.tabContent.querySelector(".media2click-wrap"))||this.tabs.forEach((function(e){new bootstrap.Tab(e),e.addEventListener("shown.bs.tab",t.media2ClickShown.bind(t))}))}},{key:"media2ClickShown",value:function(t){this.activeTabpane=this.tabbable.querySelector(t.target.dataset.bsTarget);var e=this.activeTabpane.querySelectorAll(".media2click-wrap");ws(e)}}])&&Ns(e.prototype,n),i&&Ns(e,i),t}();var js=function(t){t.forEach((function(t){new Fs(t).media2ClickVisible()}))};window.bootstrap=r;var Ps,Is=[{selector:"form",function:function(){new Array({ident:"busgruppen",radios:{0:{ident:1,mapping:{1:"card-1",2:"card-2",3:"card-3",4:"card-1",5:"card-2",6:"card-4"}},1:{ident:2,mapping:{1:"card-5",2:"card-6"}}}},{ident:"schulklassen",radios:{0:{ident:1,mapping:{1:"card-1",2:"card-2",3:"card-3",4:"card-4",5:"card-5",6:"card-11",7:"card-12",8:"card-13",9:"card-14",10:"card-15"}},1:{ident:2,mapping:{1:"card-6",2:"card-7",3:"card-8",4:"card-9",5:"card-10"}},2:{ident:3,mapping:{1:"card-16"}}}},{ident:"wandergruppen",radios:{0:{ident:1,mapping:{1:"card-1",2:"card-2",3:"card-3",4:"card-4",5:"card-6",6:"card-5"}},1:{ident:2,mapping:{1:"card-7"}}}}).forEach((function(t){for(var e in t.radios)if(t.radios.hasOwnProperty(e))for(var n=document.querySelectorAll("form[id^="+t.ident+"-] [id$=-radiobutton-"+t.radios[e].ident+"] input[type=radio]"),i=0;i<n.length;i++)if(t.radios[e].mapping.hasOwnProperty(n[i].value)){var r=document.createElement("a"),o=t.radios[e].mapping[n[i].value],s=document.createElement("i");s.classList.add("fa"),s.classList.add("fa-info-circle"),r.appendChild(document.createTextNode(" ")),r.appendChild(s),r.href="#"+o+"-content",r.classList.add("lightboxCompanies"),r.setAttribute("id",o),r.dataset.href="#"+o+"-content",insertAfter(r,n[i].nextSibling)}}))},single:!0},{selector:"nav.navbar",function:Dn,single:!1},{selector:"#c5361",function:jn,single:!0},{selector:"body",function:Mn,single:!0},{selector:"[data-pap-scrolltop]",function:function(t){new On(t).init()},single:!0},{selector:".carousel",function:Vn,single:!1},{selector:".accordion",function:$n,single:!1},{selector:".pap-tabscontainer",function:js,single:!1},{selector:".lightbox",function:Jn,single:!1},{selector:".lightboxCompanies",function:ni,single:!1},{selector:".timeline",function:oi,single:!1},{selector:".isDisabled",function:function(t){t.forEach((function(t){t.classList.add("isDisabled"),t.setAttribute("data-href",t.href),t.href="",t.setAttribute("aria-disabled","true")}))},single:!1},{selector:".glide",function:function(t){t.forEach((function(t){var e;e=t.classList.contains("cards-3-carousel-2-1")?{type:"carousel",perView:3,breakpoints:{991:{perView:2},576:{perView:1}}}:{type:"carousel",perView:4,breakpoints:{1200:{perView:3},991:{perView:2},576:{perView:1}}},new Gi(t,e).init()}))},single:!1},{selector:".content-splider",function:Do,single:!1},{selector:".card-splider",function:Oo,single:!1},{selector:".shuffle-filter-upload-collection",function:rs,single:!1},{selector:".shuffle-filter-news-category",function:os,single:!0},{selector:".shuffle-filter-company-data",function:ss,single:!0},{selector:".pap__tooltip",function:function(t){t.forEach((function(t){new fn(t)}))},single:!1},{selector:".stoerer",function:function(t){new ls(t).init()},single:!0},{selector:".btn-headline-back",function:function(){var t=document.querySelector(".page-header-small");Qn()(t)||t.classList.add("nospace")},single:!0},{selector:".unsub",function:ds,single:!1},{selector:"#tx-solr-search",function:ms,single:!0},{selector:".tx-events2-search",function:Ts,single:!0},{selector:".svg-map",function:vs.a,single:!1},{selector:".media2click-wrap",function:ws,single:!1},{selector:".month__filter",function:function(t){document.querySelector(".ui-datepicker-inline").classList.add("month-filter-active")},single:!0},{selector:'[data-clear="day"]',function:Es,single:!0},{selector:'[data-clear="month"]',function:Es,single:!0},{selector:"#uid-2xxx",function:Ls,single:!0}];Ps=function(){Is.forEach((function(t){qn(t.selector,t.function,t.single)}))},(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?Ps():document.addEventListener("DOMContentLoaded",Ps)},yGk4:function(t,e,n){var i=n("Cwc5")(n("Kz5y"),"Set");t.exports=i},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n}},[["ufPZ","runtime"]]]);
/*!
 * shariff - v3.2.1 - Mon, 27 May 2019 08:23:32 GMT
 * https://github.com/heiseonline/shariff
 * Copyright (c) 2019 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
 * Licensed under the MIT license
 */
!function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function n(e,t,r){if(e&&p.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function i(e){return p.isString(e)&&(e=n(e)),e instanceof a?e.format():a.prototype.format.call(e)}function o(e,t){return n(e,!1,!0).resolve(t)}function s(e,t){return e?n(e,!1,!0).resolveObject(t):t}var l=r(10),p=r(12);t.parse=n,t.resolve=o,t.resolveObject=s,t.format=i,t.Url=a;var u=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(c),m=["'"].concat(f),b=["%","/","?",";","#"].concat(m),g=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,k=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},T=r(13);a.prototype.parse=function(e,t,r){if(!p.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),n=-1!==a&&a<e.indexOf("#")?"?":"#",i=e.split(n),o=/\\/g;i[0]=i[0].replace(o,"/"),e=i.join(n);var s=e;if(s=s.trim(),!r&&1===e.split("#").length){var h=d.exec(s);if(h)return this.path=s,this.href=s,this.pathname=h[1],h[2]?(this.search=h[2],this.query=t?T.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var c=u.exec(s);if(c){c=c[0];var f=c.toLowerCase();this.protocol=f,s=s.substr(c.length)}if(r||c||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var P="//"===s.substr(0,2);!P||c&&y[c]||(s=s.substr(2),this.slashes=!0)}if(!y[c]&&(P||c&&!z[c])){for(var w=-1,x=0;x<g.length;x++){var C=s.indexOf(g[x]);-1!==C&&(-1===w||C<w)&&(w=C)}var U,R;R=-1===w?s.lastIndexOf("@"):s.lastIndexOf("@",w),-1!==R&&(U=s.slice(0,R),s=s.slice(R+1),this.auth=decodeURIComponent(U)),w=-1;for(var x=0;x<b.length;x++){var C=s.indexOf(b[x]);-1!==C&&(-1===w||C<w)&&(w=C)}-1===w&&(w=s.length),this.host=s.slice(0,w),s=s.slice(w),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var S=this.hostname.split(/\./),x=0,D=S.length;x<D;x++){var O=S[x];if(O&&!O.match(v)){for(var L="",A=0,N=O.length;A<N;A++)O.charCodeAt(A)>127?L+="x":L+=O[A];if(!L.match(v)){var F=S.slice(0,x),M=S.slice(x+1),q=O.match(k);q&&(F.push(q[1]),M.unshift(q[2])),M.length&&(s="/"+M.join(".")+s),this.hostname=F.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=l.toASCII(this.hostname));var J=this.port?":"+this.port:"",E=this.hostname||"";this.host=E+J,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!j[f])for(var x=0,D=m.length;x<D;x++){var V=m[x];if(-1!==s.indexOf(V)){var W=encodeURIComponent(V);W===V&&(W=escape(V)),s=s.split(V).join(W)}}var G=s.indexOf("#");-1!==G&&(this.hash=s.substr(G),s=s.slice(0,G));var B=s.indexOf("?");if(-1!==B?(this.search=s.substr(B),this.query=s.substr(B+1),t&&(this.query=T.parse(this.query)),s=s.slice(0,B)):t&&(this.search="",this.query={}),s&&(this.pathname=s),z[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var J=this.pathname||"",Q=this.search||"";this.path=J+Q}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",a=this.hash||"",n=!1,i="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(i=T.stringify(this.query));var o=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||z[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),a&&"#"!==a.charAt(0)&&(a="#"+a),o&&"?"!==o.charAt(0)&&(o="?"+o),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),o=o.replace("#","%23"),t+n+r+o+a},a.prototype.resolve=function(e){return this.resolveObject(n(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(p.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var r=new a,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(r[u]=e[u])}return z[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!z[e.protocol]){for(var h=Object.keys(e),d=0;d<h.length;d++){var c=h[d];r[c]=e[c]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||y[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",b=r.search||"";r.path=m+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),k=v||g||r.host&&e.pathname,j=k,T=r.pathname&&r.pathname.split("/")||[],f=e.pathname&&e.pathname.split("/")||[],P=r.protocol&&!z[r.protocol];if(P&&(r.hostname="",r.port=null,r.host&&(""===T[0]?T[0]=r.host:T.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),k=k&&(""===f[0]||""===T[0])),v)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,T=f;else if(f.length)T||(T=[]),T.pop(),T=T.concat(f),r.search=e.search,r.query=e.query;else if(!p.isNullOrUndefined(e.search)){if(P){r.hostname=r.host=T.shift();var w=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");w&&(r.auth=w.shift(),r.host=r.hostname=w.shift())}return r.search=e.search,r.query=e.query,p.isNull(r.pathname)&&p.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!T.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=T.slice(-1)[0],C=(r.host||e.host||T.length>1)&&("."===x||".."===x)||""===x,U=0,R=T.length;R>=0;R--)x=T[R],"."===x?T.splice(R,1):".."===x?(T.splice(R,1),U++):U&&(T.splice(R,1),U--);if(!k&&!j)for(;U--;U)T.unshift("..");!k||""===T[0]||T[0]&&"/"===T[0].charAt(0)||T.unshift(""),C&&"/"!==T.join("/").substr(-1)&&T.push("");var I=""===T[0]||T[0]&&"/"===T[0].charAt(0);if(P){r.hostname=r.host=I?"":T.length?T.shift():"";var w=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");w&&(r.auth=w.shift(),r.host=r.hostname=w.shift())}return k=k||r.host&&T.length,k&&!I&&T.unshift(""),T.length?r.pathname=T.join("/"):(r.pathname=null,r.path=null),p.isNull(r.pathname)&&p.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=h.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r(3),e.exports=r(4)},function(e,t){},function(e,t,r){"use strict";(function(t){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n="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},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),o=r(5),s=r(6),l=r(0),p={theme:"color",backendUrl:null,infoUrl:"http://ct.de/-2467514",infoDisplay:"blank",lang:"de",langFallback:"en",mailUrl:function(){var e=l.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,l.format(e)},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",buttonStyle:"standard",referrerTrack:null,services:["twitter","facebook","info"],title:t.document.title,twitterVia:null,flattrUser:null,flattrCategory:null,url:function(){var e=t.document.location.href,r=o("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return r.length>0&&(r.indexOf("http")<0&&(r=0!==r.indexOf("//")?t.document.location.protocol+"//"+t.document.location.host+r:t.document.location.protocol+r),e=r),e}},u=function(){function e(t,r){var n=this;a(this,e),this.element=t,o(t).empty(),this.options=o.extend({},p,r,o(t).data()),this.services=Object.keys(s).filter(function(e){return n.isEnabledService(e)}).sort(function(e,t){var r=n.options.services;return r.indexOf(e)-r.indexOf(t)}).map(function(e){return s[e](n)}),this._addButtonList(),null!==this.options.backendUrl&&"icon"!==this.options.buttonStyle&&this.getShares(this._updateCounts.bind(this))}return i(e,[{key:"isEnabledService",value:function(e){return this.options.services.indexOf(e)>-1}},{key:"$socialshareElement",value:function(){return o(this.element)}},{key:"getLocalized",value:function(e,t){return"object"===n(e[t])?void 0===e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0}},{key:"getMeta",value:function(e){return o('meta[name="'+e+'"],[property="'+e+'"]').attr("content")||""}},{key:"getInfoUrl",value:function(){return this.options.infoUrl}},{key:"getInfoDisplayPopup",value:function(){return"popup"===this.options.infoDisplay}},{key:"getInfoDisplayBlank",value:function(){return"popup"!==this.options.infoDisplay&&"self"!==this.options.infoDisplay}},{key:"getURL",value:function(){return this.getOption("url")}},{key:"getOption",value:function(e){var t=this.options[e];return"function"==typeof t?t.call(this):t}},{key:"getTitle",value:function(){var e=this.getOption("title");if(o(this.element).data().title)return e;e=e||this.getMeta("DC.title");var t=this.getMeta("DC.creator");return e&&t?e+" - "+t:e}},{key:"getReferrerTrack",value:function(){return this.options.referrerTrack||""}},{key:"getShares",value:function(e){var t=l.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,o.getJSON(l.format(t),e)}},{key:"_updateCounts",value:function(e,t,r){var a=this;e&&o.each(e,function(e,t){a.isEnabledService(e)&&(t>=1e3&&(t=Math.round(t/1e3)+"k"),o(a.element).find("."+e+" a").append(o("<span/>").addClass("share_count").text(t)))})}},{key:"_addButtonList",value:function(){var e=this,r=o("<ul/>").addClass(["theme-"+this.options.theme,"orientation-"+this.options.orientation,"button-style-"+this.options.buttonStyle,"shariff-col-"+this.options.services.length].join(" "));this.services.forEach(function(t){var a=o("<li/>").addClass("shariff-button "+t.name),n=o("<a/>").attr("href",t.shareUrl);if("standard"===e.options.buttonStyle){var i=o("<span/>").addClass("share_text").text(e.getLocalized(t,"shareText"));n.append(i)}void 0!==t.faPrefix&&void 0!==t.faName&&n.prepend(o("<span/>").addClass(t.faPrefix+" "+t.faName)),t.popup?(n.attr("data-rel","popup"),"info"!==t.name&&n.attr("rel","nofollow")):t.blank?(n.attr("target","_blank"),"info"===t.name?n.attr("rel","noopener noreferrer"):n.attr("rel","nofollow noopener noreferrer")):"info"!==t.name&&n.attr("rel","nofollow"),n.attr("title",e.getLocalized(t,"title")),n.attr("role","button"),n.attr("aria-label",e.getLocalized(t,"title")),a.append(n),r.append(a)}),r.on("click",'[data-rel="popup"]',function(e){e.preventDefault();var r=o(this).attr("href");if(r.match(/twitter\.com\/intent\/(\w+)/)){var a=t.window;if(a.__twttr&&a.__twttr.widgets&&a.__twttr.widgets.loaded)return}t.window.open(r,"_blank","width=600,height=460")}),this.$socialshareElement().append(r)}}]),e}();e.exports=u,t.Shariff=u,o(function(){o(".shariff").each(function(){this.hasOwnProperty("shariff")||(this.shariff=new u(this))})})}).call(t,r(1))},function(e,t,r){"use strict";function a(e,t){var r=[];return t=t||document,"function"==typeof e?(t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState)?e():t.addEventListener("DOMContentLoaded",e):r=e instanceof Element?[e]:"string"==typeof e?"<"===e[0]?Array.prototype.slice.call(l(e)):Array.prototype.slice.call(t.querySelectorAll(e)):e,new n(r,t)}function n(e,t){this.length=e.length,this.context=t;var r=this;s(e,function(e){r[e]=this})}"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null===e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),a=1;a<arguments.length;a++){var n=arguments[a];if(null!==n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r}),n.prototype.each=function(e){for(var t=this.length-1;t>=0;t--)e.call(this[t],t,this[t]);return this},n.prototype.empty=function(){return this.each(i)},n.prototype.text=function(e){return void 0===e?this[0].textContent:this.each(function(){this.textContent=e})},n.prototype.attr=function(e,t){return this.length<1?null:void 0===t?this[0].getAttribute(e):this.each(function(){this.setAttribute(e,t)})},n.prototype.data=function(e,t){if(t)return this.attr("data-"+e,t);if(e)return this.attr("data-"+e);var r=Object.assign({},this[0].dataset);return s(r,function(e,t){r[e]=m(t)}),r},n.prototype.find=function(e){var t;return t=o(this,function(t){return t.querySelectorAll(e)}),t=o(t,function(e){return Array.prototype.slice.call(e)}),t=Array.prototype.concat.apply([],t),new n(t)},n.prototype.append=function(e){return"string"==typeof e&&(e=l(e)),p(this[0],e),this},n.prototype.prepend=function(e){return"string"==typeof e&&(e=l(e)),u(this[0],e),this},n.prototype.addClass=function(e){return this.each(function(){var t=this;e.split(" ").forEach(function(e){t.classList.add(e)})})},n.prototype.removeClass=function(e){return this.each(function(){this.classList.remove(e)})},n.prototype.on=function(e,t,r){return this.each(function(){d(t,e,r,this)})};var i=function(){for(;this.hasChildNodes();)this.removeChild(this.firstChild)},o=function(e,t){return Array.prototype.map.call(e,t)},s=function(e,t){if(e instanceof Array)for(var r=0;r<e.length;r++)t.call(e[r],r,e[r]);else if(e instanceof Object)for(var a in e)t.call(e[a],a,e[a],e);return e},l=function(e){var t=document.createElement("div");return t.innerHTML=e,t.children},p=function(e,t){for(var r=0;r<t.length;r++)e.appendChild(t[r])},u=function(e,t){for(var r=t.length-1;r>=0;r--)e.insertBefore(t[t.length-1],e.firstChild)},h=function(){var e=HTMLElement.prototype,t=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return function e(r,a){if(null!==r)return t.call(r,a)?r:e(r.parentElement,a)}}(),d=function(e,t,r,a){(a||document).addEventListener(t,function(t){var a=h(t.target,e);a&&r.call(a,t)})},c=function e(t){var r={},a=!1,n=0,i=arguments.length;for("[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(a=arguments[0],n++);n<i;n++){var o=arguments[n];!function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(a&&"[object Object]"===Object.prototype.toString.call(t[n])?r[n]=e(!0,r[n],t[n]):r[n]=t[n])}(o)}return r},f=function(e,t){var r=new XMLHttpRequest;r.open("GET",e,!0),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Accept","application/json"),r.onload=function(){if(r.status>=200&&r.status<400){var e=JSON.parse(r.responseText);t(e,r.status,r)}else t(null,r.status,r)},r.onerror=function(e){t(new Error(e),null,r)},r.send()},m=function(e){if("true"===e)return!0;if("false"===e)return!1;if("null"===e)return null;if(+e+""===e)return+e;if(/^[[{]/.test(e))try{return JSON.parse(e)}catch(t){return e}return e};a.extend=c,a.map=o,a.each=s,a.getJSON=f,e.exports=a},function(e,t,r){"use strict";e.exports={addthis:r(7),buffer:r(8),diaspora:r(9),facebook:r(16),flattr:r(17),flipboard:r(18),info:r(19),linkedin:r(20),mail:r(21),pinterest:r(22),pocket:r(23),print:r(24),qzone:r(25),reddit:r(26),stumbleupon:r(27),telegram:r(28),tencent:r(29),threema:r(30),tumblr:r(31),twitter:r(32),vk:r(33),weibo:r(34),whatsapp:r(35),xing:r(36)}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"addthis",faPrefix:"fas",faName:"fa-plus",title:{bg:"Сподели в AddThis",cs:"Sdílet na AddThis",da:"Del på AddThis",de:"Bei AddThis teilen",en:"Share on AddThis",es:"Compartir en AddThis",fi:"Jaa AddThisissä",fr:"Partager sur AddThis",hr:"Podijelite na AddThis",hu:"Megosztás AddThisen",it:"Condividi su AddThis",ja:"AddThis上で共有",ko:"AddThis에서 공유하기",nl:"Delen op AddThis",no:"Del på AddThis",pl:"Udostępnij przez AddThis",pt:"Compartilhar no AddThis",ro:"Partajează pe AddThis",ru:"Поделиться на AddThis",sk:"Zdieľať na AddThis",sl:"Deli na AddThis",sr:"Podeli na AddThis",sv:"Dela på AddThis",tr:"AddThis'ta paylaş",zh:"在AddThis上分享"},shareUrl:"http://api.addthis.com/oexchange/0.8/offer?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"buffer",faPrefix:"fab",faName:"fa-buffer",title:{bg:"Сподели в buffer",cs:"Sdílet na buffer",da:"Del på buffer",de:"Bei buffer teilen",en:"Share on buffer",es:"Compartir en buffer",fi:"Jaa bufferissä",fr:"Partager sur buffer",hr:"Podijelite na buffer",hu:"Megosztás bufferen",it:"Condividi su buffer",ja:"buffer上で共有",ko:"buffer에서 공유하기",nl:"Delen op buffer",no:"Del på buffer",pl:"Udostępnij przez buffer",pt:"Compartilhar no buffer",ro:"Partajează pe buffer",ru:"Поделиться на buffer",sk:"Zdieľať na buffer",sl:"Deli na buffer",sr:"Podeli na buffer",sv:"Dela på buffer",tr:"buffer'ta paylaş",zh:"在buffer上分享"},shareUrl:"https://buffer.com/add?text="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";var a=r(0);e.exports=function(e){var t=a.parse("https://share.diasporafoundation.org/",!0);return t.query.url=e.getURL(),t.query.title=e.getTitle(),t.protocol="https",delete t.search,{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"diaspora",faPrefix:"fas",faName:"fa-asterisk",title:{bg:"Сподели в diaspora*",cs:"Sdílet na diaspora*",da:"Del på diaspora*",de:"Bei diaspora* teilen",en:"Share on diaspora*",es:"Compartir en diaspora*",fi:"Jaa Diasporaissä",fr:"Partager sur diaspora*",hr:"Podijelite na diaspora*",hu:"Megosztás diaspora*",it:"Condividi su diaspora*",ja:"diaspora*上で共有",ko:"diaspora*에서 공유하기",nl:"Delen op diaspora*",no:"Del på diaspora*",pl:"Udostępnij przez diaspora*",pt:"Compartilhar no diaspora*",ro:"Partajează pe diaspora*",ru:"Поделиться на diaspora*",sk:"Zdieľať na diaspora*",sl:"Deli na diaspora*",sr:"Podeli na diaspora*-u",sv:"Dela på diaspora*",tr:"diaspora*'ta paylaş",zh:"分享至diaspora*"},shareUrl:a.format(t)+e.getReferrerTrack()}}},function(e,t,r){(function(e,a){var n;!function(a){function i(e){throw new RangeError(I[e])}function o(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function s(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),e=e.replace(R,"."),a+o(e.split("."),t).join(".")}function l(e){for(var t,r,a=[],n=0,i=e.length;n<i;)t=e.charCodeAt(n++),t>=55296&&t<=56319&&n<i?(r=e.charCodeAt(n++),56320==(64512&r)?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--)):a.push(t);return a}function p(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=O(e>>>10&1023|55296),e=56320|1023&e),t+=O(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:k}function h(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,r){var a=0;for(e=r?D(e/T):e>>1,e+=D(e/t);e>S*y>>1;a+=k)e=D(e/S);return D(a+(S+1)*e/(e+z))}function c(e){var t,r,a,n,o,s,l,h,c,f,m=[],b=e.length,g=0,z=w,T=P;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&i("not-basic"),m.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<b;){for(o=g,s=1,l=k;n>=b&&i("invalid-input"),h=u(e.charCodeAt(n++)),(h>=k||h>D((v-g)/s))&&i("overflow"),g+=h*s,c=l<=T?j:l>=T+y?y:l-T,!(h<c);l+=k)f=k-c,s>D(v/f)&&i("overflow"),s*=f;t=m.length+1,T=d(g-o,t,0==o),D(g/t)>v-z&&i("overflow"),z+=D(g/t),g%=t,m.splice(g++,0,z)}return p(m)}function f(e){var t,r,a,n,o,s,p,u,c,f,m,b,g,z,T,C=[];for(e=l(e),b=e.length,t=w,r=0,o=P,s=0;s<b;++s)(m=e[s])<128&&C.push(O(m));for(a=n=C.length,n&&C.push(x);a<b;){for(p=v,s=0;s<b;++s)(m=e[s])>=t&&m<p&&(p=m);for(g=a+1,p-t>D((v-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,s=0;s<b;++s)if(m=e[s],m<t&&++r>v&&i("overflow"),m==t){for(u=r,c=k;f=c<=o?j:c>=o+y?y:c-o,!(u<f);c+=k)T=u-f,z=k-f,C.push(O(h(f+T%z,0))),u=D(T/z);C.push(O(h(u,0))),o=d(r,g,a==n),r=0,++a}++r,++t}return C.join("")}function m(e){return s(e,function(e){return C.test(e)?c(e.slice(4).toLowerCase()):e})}function b(e){return s(e,function(e){return U.test(e)?"xn--"+f(e):e})}var g,v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,2147483647),k=36,j=1,y=26,z=38,T=700,P=72,w=128,x="-",C=/^xn--/,U=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=k-j,D=Math.floor,O=String.fromCharCode;g={version:"1.4.1",ucs2:{decode:l,encode:p},decode:c,encode:f,toASCII:b,toUnicode:m},void 0!==(n=function(){return g}.call(t,r,t,e))&&(e.exports=n)}()}).call(t,r(11)(e),r(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(14),t.encode=t.stringify=r(15)},function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var h,d,c,f,m=e[u].replace(s,"%20"),b=m.indexOf(r);b>=0?(h=m.substr(0,b),d=m.substr(b+1)):(h=m,d=""),c=decodeURIComponent(h),f=decodeURIComponent(d),a(o,c)?n(o[c])?o[c].push(f):o[c]=[o[c],f]:o[c]=f}return o};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a<e.length;a++)r.push(t(e[a],a));return r}var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?a(o(e),function(o){var s=encodeURIComponent(n(o))+r;return i(e[o])?a(e[o],function(e){return s+encodeURIComponent(n(e))}).join(t):s+encodeURIComponent(n(e[o]))}).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"facebook",faPrefix:"fab",faName:"fa-facebook-f",title:{bg:"Сподели във Facebook",cs:"Sdílet na Facebooku",da:"Del på Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megosztás Facebookon",it:"Condividi su Facebook",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op Facebook",no:"Del på Facebook",pl:"Udostępnij na Facebooku",pt:"Compartilhar no Facebook",ro:"Partajează pe Facebook",ru:"Поделиться на Facebook",sk:"Zdieľať na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela på Facebook",tr:"Facebook'ta paylaş",zh:"在Facebook上分享"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle(),a=e.getMeta("description");return{popup:!0,shareText:"Flattr",name:"flattr",faPrefix:"far",faName:"fa-money-bill-alt",title:{de:"Artikel flattrn",en:"Flattr this"},shareUrl:"https://flattr.com/submit/auto?title="+encodeURIComponent(r)+"&description="+encodeURIComponent(a)+"&category="+encodeURIComponent(e.options.flattrCategory||"text")+"&user_id="+encodeURIComponent(e.options.flattrUser)+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"flip it",name:"flipboard",faPrefix:"fab",faName:"fa-flipboard",title:{bg:"Сподели в Flipboard",cs:"Sdílet na Flipboardu",da:"Del på Flipboard",de:"Bei Flipboard teilen",en:"Share on Flipboard",es:"Compartir en Flipboard",fi:"Jaa Flipboardissä",fr:"Partager sur Flipboard",hr:"Podijelite na Flipboardu",hu:"Megosztás Flipboardon",it:"Condividi su Flipboard",ja:"Flipboard上で共有",ko:"Flipboard에서 공유하기",nl:"Delen op Flipboard",no:"Del på Flipboard",pl:"Udostępnij na Flipboardu",pt:"Compartilhar no Flipboard",ro:"Partajează pe Flipboard",ru:"Поделиться на Flipboard",sk:"Zdieľať na Flipboardu",sl:"Deli na Flipboardu",sr:"Podeli na Flipboard-u",sv:"Dela på Flipboard",tr:"Flipboard'ta paylaş",zh:"在Flipboard上分享"},shareUrl:"https://share.flipboard.com/bookmarklet/popout?v=2&title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{blank:e.getInfoDisplayBlank(),popup:e.getInfoDisplayPopup(),shareText:"Info",name:"info",faPrefix:"fas",faName:"fa-info",title:{bg:"Повече информация",cs:"Více informací",da:"Flere oplysninger",de:"Weitere Informationen",en:"More information",es:"Más informaciones",fi:"Lisätietoja",fr:"Plus d'informations",hr:"Više informacija",hu:"Több információ",it:"Maggiori informazioni",ja:"詳しい情報",ko:"추가 정보",nl:"Verdere informatie",no:"Mer informasjon",pl:"Więcej informacji",pt:"Mais informações",ro:"Mai multe informatii",ru:"Больше информации",sk:"Viac informácií",sl:"Več informacij",sr:"Više informacija",sv:"Mer information",tr:"Daha fazla bilgi",zh:"更多信息"},shareUrl:e.getInfoUrl()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"シェア",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"distribuiți",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"linkedin",faPrefix:"fab",faName:"fa-linkedin-in",title:{bg:"Сподели в LinkedIn",cs:"Sdílet na LinkedIn",da:"Del på LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedInissä",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megosztás LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedIn上で共有",ko:"LinkedIn에서 공유하기",nl:"Delen op LinkedIn",no:"Del på LinkedIn",pl:"Udostępnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"Partajează pe LinkedIn",ru:"Поделиться на LinkedIn",sk:"Zdieľať na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela på LinkedIn",tr:"LinkedIn'ta paylaş",zh:"在LinkedIn上分享"},shareUrl:"https://www.linkedin.com/shareArticle?mini=true&summary="+encodeURIComponent(e.getMeta("description"))+"&title="+r+"&url="+t}}},function(e,t,r){"use strict";e.exports=function(e){var t=e.getOption("mailUrl");return 0===t.indexOf("mailto:")&&(t+="?subject="+encodeURIComponent(e.getOption("mailSubject")||e.getTitle()),t+="&body="+encodeURIComponent(e.getOption("mailBody").replace(/\{url\}/i,e.getURL()))),{blank:0===t.indexOf("http"),popup:!1,shareText:{en:"mail",zh:"分享"},name:"mail",faPrefix:"fas",faName:"fa-envelope",title:{bg:"Изпрати по имейл",cs:"Poslat mailem",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"Lähetä sähköpostitse",fr:"Envoyer par courriel",hr:"Pošaljite emailom",hu:"Elküldés e-mailben",it:"Inviare via email",ja:"電子メールで送信",ko:"이메일로 보내기",nl:"Sturen via e-mail",no:"Send via epost",pl:"Wyślij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"Отправить по эл. почте",sk:"Poslať e-mailom",sl:"Pošlji po elektronski pošti",sr:"Pošalji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile gönder",zh:"通过电子邮件传送"},shareUrl:t}}},function(e,t,r){"use strict";var a=r(0);e.exports=function(e){var t=e.getTitle(),r=e.getMeta("DC.creator");r.length>0&&(t+=" - "+r);var n=e.getOption("mediaUrl");(!n||n.length<=0)&&(n=e.getMeta("og:image"));var i=a.parse("https://www.pinterest.com/pin/create/link/",!0);return i.query.url=e.getURL(),i.query.media=n,i.query.description=t,delete i.search,{popup:!0,shareText:"pin it",name:"pinterest",faPrefix:"fab",faName:"fa-pinterest-p",title:{bg:"Сподели в Pinterest",cs:"Přidat na Pinterest",da:"Del på Pinterest",de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fi:"Jaa Pinterestissä",fr:"Partager sur Pinterest",hr:"Podijelite na Pinterest",hu:"Megosztás Pinteresten",it:"Condividi su Pinterest",ja:"Pinterest上で共有",ko:"Pinterest에서 공유하기",nl:"Delen op Pinterest",no:"Del på Pinterest",pl:"Udostępnij przez Pinterest",pt:"Compartilhar no Pinterest",ro:"Partajează pe Pinterest",ru:"Поделиться на Pinterest",sk:"Zdieľať na Pinterest",sl:"Deli na Pinterest",sr:"Podeli na Pinterest-u",sv:"Dela på Pinterest",tr:"Pinterest'ta paylaş",zh:"分享至Pinterest"},shareUrl:a.format(i)+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"Pocket",name:"pocket",faPrefix:"fab",faName:"fa-get-pocket",title:{bg:"Запазване в Pocket",cs:"Uložit do Pocket",da:"Gem i Pocket",de:"In Pocket speichern",en:"Save to Pocket",es:"Guardar en Pocket",fi:"Tallenna kohtaan Pocket",fr:"Enregistrer dans Pocket",hr:"Spremi u Pocket",hu:'Mentés "Pocket"-be',it:"Salva in Pocket",ja:"「ポケット」に保存",ko:"Pocket에 저장",nl:"Opslaan in Pocket",no:"Lagre i Pocket",pl:"Zapisz w Pocket",pt:"Salvar em Pocket",ro:"Salvați în Pocket",ru:"Сохранить в Pocket",sk:"Uložiť do priečinka Pocket",sl:"Shrani v Pocket",sr:"Sačuvaj u Pocket",sv:"Spara till Pocket",tr:"Pocket e kaydet",zh:"保存到Pocket"},shareUrl:"https://getpocket.com/save?title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{name:"print",faPrefix:"fas",faName:"fa-print",popup:!1,shareText:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},title:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:"javascript:window.print();"}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"qzone",faPrefix:"fab",faName:"fa-qq",title:{bg:"Сподели в Qzone",cs:"Sdílet na Qzone",da:"Del på Qzone",de:"Bei Qzone teilen",en:"Share on Qzone",es:"Compartir en Qzone",fi:"Jaa Qzoneissä",fr:"Partager sur Qzone",hr:"Podijelite na Qzone",hu:"Megosztás Qzone",it:"Condividi su Qzone",ja:"Qzone上で共有",ko:"Qzone에서 공유하기",nl:"Delen op Qzone",no:"Del på Qzone",pl:"Udostępnij przez Qzone",pt:"Compartilhar no Qzone",ro:"Partajează pe Qzone",ru:"Поделиться на Qzone",sk:"Zdieľať na Qzone",sl:"Deli na Qzone",sr:"Podeli na Qzone-u",sv:"Dela på Qzone",tr:"Qzone'ta paylaş",zh:"分享至QQ空间"},shareUrl:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"reddit",faPrefix:"fab",faName:"fa-reddit-alien",title:{bg:"Сподели в Reddit",cs:"Sdílet na Redditu",da:"Del på Reddit",de:"Bei Reddit teilen",en:"Share on Reddit",es:"Compartir en Reddit",fi:"Jaa Redditissä",fr:"Partager sur Reddit",hr:"Podijelite na Reddit",hu:"Megosztás Redditen",it:"Condividi su Reddit",ja:"Reddit上で共有",ko:"Reddit에서 공유하기",nl:"Delen op Reddit",no:"Del på Reddit",pl:"Udostępnij przez Reddit",pt:"Compartilhar no Reddit",ro:"Partajează pe Reddit",ru:"Поделиться на Reddit",sk:"Zdieľať na Reddit",sl:"Deli na Reddit",sr:"Podeli na Reddit-u",sv:"Dela på Reddit",tr:"Reddit'ta paylaş",zh:"分享至Reddit"},shareUrl:"https://reddit.com/submit?url="+t+r+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"stumbleupon",faPrefix:"fab",faName:"fa-stumbleupon",title:{bg:"Сподели в Stumbleupon",cs:"Sdílet na Stumbleuponu",da:"Del på Stumbleupon",de:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",es:"Compartir en Stumbleupon",fi:"Jaa Stumbleuponissä",fr:"Partager sur Stumbleupon",hr:"Podijelite na Stumbleupon",hu:"Megosztás Stumbleupon",it:"Condividi su Stumbleupon",ja:"Stumbleupon上で共有",ko:"Stumbleupon에서 공유하기",nl:"Delen op Stumbleupon",no:"Del på Stumbleupon",pl:"Udostępnij przez Stumbleupon",pt:"Compartilhar no Stumbleupon",ro:"Partajează pe Stumbleupon",ru:"Поделиться на Stumbleupon",sk:"Zdieľať na Stumbleupon",sl:"Deli na Stumbleupon",sr:"Podeli na Stumbleupon-u",sv:"Dela på Stumbleupon",tr:"Stumbleupon'ta paylaş",zh:"分享至Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+t+r+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"telegram",faPrefix:"fab",faName:"fa-telegram",title:{bg:"Сподели в Telegram",cs:"Sdílet na Telegramu",da:"Del på Telegram",de:"Bei Telegram teilen",en:"Share on Telegram",es:"Compartir en Telegram",fi:"Jaa Telegramissä",fr:"Partager sur Telegram",hr:"Podijelite na Telegram",hu:"Megosztás Telegramen",it:"Condividi su Telegram",ja:"Telegram上で共有",ko:"Telegram에서 공유하기",nl:"Delen op Telegram",no:"Del på Telegram",pl:"Udostępnij przez Telegram",pt:"Compartilhar no Telegram",ro:"Partajează pe Telegram",ru:"Поделиться на Telegram",sk:"Zdieľať na Telegram",sl:"Deli na Telegram",sr:"Podeli na Telegram-u",sv:"Dela på Telegram",tr:"Telegram'ta paylaş",zh:"在Telegram上分享"},shareUrl:"https://t.me/share/url?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tencent-weibo",faPrefix:"fab",faName:"fa-tencent-weibo",title:{bg:"Сподели в tencent weibo",cs:"Sdílet na tencent weibo",da:"Del på tencent weibo",de:"Bei tencent weibo teilen",en:"Share on tencent weibo",es:"Compartir en tencent weibo",fi:"Jaa tencent weiboissä",fr:"Partager sur tencent weibo",hr:"Podijelite na tencent weibo",hu:"Megosztás tencent weiboen",it:"Condividi su tencent weibo",ja:"Tencent weibo上で共有",ko:"Tencent weibo에서 공유하기",nl:"Delen op tencent weibo",no:"Del på tencent weibo",pl:"Udostępnij przez tencent weibo",pt:"Compartilhar no tencent weibo",ro:"Partajează pe tencent weibo",ru:"Поделиться на tencent weibo",sk:"Zdieľať na tencent weibo",sl:"Deli na tencent weibo",sr:"Podeli na tencent weibo-u",sv:"Dela på tencent weibo",tr:"Tencent weibo'ta paylaş",zh:"分享至腾讯微博"},shareUrl:"http://v.t.qq.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"threema",faPrefix:"fas",faName:"fa-lock",title:{bg:"Сподели в Threema",cs:"Sdílet na Threema",da:"Del på Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaissä",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megosztás Threemaen",it:"Condividi su Threema",ja:"Threema上で共有",ko:"Threema에서 공유하기",nl:"Delen op Threema",no:"Del på Threema",pl:"Udostępnij przez Threema",pt:"Compartilhar no Threema",ro:"Partajează pe Threema",ru:"Поделиться на Threema",sk:"Zdieľať na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela på Threema",tr:"Threema'ta paylaş",zh:"在Threema上分享"},shareUrl:"threema://compose?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tumblr",faPrefix:"fab",faName:"fa-tumblr",title:{bg:"Сподели в tumblr",cs:"Sdílet na tumblru",da:"Del på tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblrissä",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megosztás tumblren",it:"Condividi su tumblr",ja:"tumblr上で共有",ko:"tumblr에서 공유하기",nl:"Delen op tumblr",no:"Del på tumblr",pl:"Udostępnij przez tumblr",pt:"Compartilhar no tumblr",ro:"Partajează pe tumblr",ru:"Поделиться на tumblr",sk:"Zdieľať na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela på tumblr",tr:"tumblr'ta paylaş",zh:"在tumblr上分享"},shareUrl:"http://tumblr.com/widgets/share/tool?canonicalUrl="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";var a=r(0),n=function(e,t){var r=document.createElement("div"),a=document.createTextNode(e);r.appendChild(a);var n=r.textContent;if(n.length<=t)return e;var i=n.substring(0,t-1).lastIndexOf(" ");return n=n.substring(0,i)+"…"};e.exports=function(e){var t=a.parse("https://twitter.com/intent/tweet",!0),r=e.getTitle();return t.query.text=n(r,120),t.query.url=e.getURL(),null!==e.options.twitterVia&&(t.query.via=e.options.twitterVia),delete t.search,{popup:!0,shareText:{en:"tweet",ja:"のつぶやき",ko:"짹짹",ru:"твит",sr:"твеет",zh:"鸣叫"},name:"twitter",faPrefix:"fab",faName:"fa-twitter",title:{bg:"Сподели в Twitter",cs:"Sdílet na Twiiteru",da:"Del på Twitter",de:"Bei Twitter teilen",en:"Share on Twitter",es:"Compartir en Twitter",fi:"Jaa Twitterissä",fr:"Partager sur Twitter",hr:"Podijelite na Twitteru",hu:"Megosztás Twitteren",it:"Condividi su Twitter",ja:"ツイッター上で共有",ko:"트위터에서 공유하기",nl:"Delen op Twitter",no:"Del på Twitter",pl:"Udostępnij na Twitterze",pt:"Compartilhar no Twitter",ro:"Partajează pe Twitter",ru:"Поделиться на Twitter",sk:"Zdieľať na Twitteri",sl:"Deli na Twitterju",sr:"Podeli na Twitter-u",sv:"Dela på Twitter",tr:"Twitter'da paylaş",zh:"在Twitter上分享"},shareUrl:a.format(t)+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"vk",faPrefix:"fab",faName:"fa-vk",title:{bg:"Сподели във VK",cs:"Sdílet na VKu",da:"Del på VK",de:"Bei VK teilen",en:"Share on VK",es:"Compartir en VK",fi:"Jaa VKissa",fr:"Partager sur VK",hr:"Podijelite na VKu",hu:"Megosztás VKon",it:"Condividi su VK",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op VK",no:"Del på VK",pl:"Udostępnij na VKu",pt:"Compartilhar no VK",ro:"Partajează pe VK",ru:"Поделиться на ВКонтакте",sk:"Zdieľať na VKu",sl:"Deli na VKu",sr:"Podeli na VK-u",sv:"Dela på VK",tr:"VK'ta paylaş",zh:"在VK上分享"},shareUrl:"https://vk.com/share.php?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"weibo",faPrefix:"fab",faName:"fa-weibo",title:{bg:"Сподели в weibo",cs:"Sdílet na weibo",da:"Del på weibo",de:"Bei weibo teilen",en:"Share on weibo",es:"Compartir en weibo",fi:"Jaa weiboissä",fr:"Partager sur weibo",hr:"Podijelite na weibo",hu:"Megosztás weiboen",it:"Condividi su weibo",ja:"Weibo上で共有",ko:"Weibo에서 공유하기",nl:"Delen op weibo",no:"Del på weibo",pl:"Udostępnij przez weibo",pt:"Compartilhar no weibo",ro:"Partajează pe weibo",ru:"Поделиться на weibo",sk:"Zdieľať na weibo",sl:"Deli na weibo",sr:"Podeli na weibo-u",sv:"Dela på weibo",tr:"Weibo'ta paylaş",zh:"分享至新浪微博"},shareUrl:"http://service.weibo.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"whatsapp",faPrefix:"fab",faName:"fa-whatsapp",title:{bg:"Сподели в Whatsapp",cs:"Sdílet na Whatsappu",da:"Del på Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppissä",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megosztás WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsapp上で共有",ko:"Whatsapp에서 공유하기",nl:"Delen op Whatsapp",no:"Del på Whatsapp",pl:"Udostępnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"Partajează pe Whatsapp",ru:"Поделиться на Whatsapp",sk:"Zdieľať na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela på Whatsapp",tr:"Whatsapp'ta paylaş",zh:"在Whatsapp上分享"},shareUrl:"whatsapp://send?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"xing",faPrefix:"fab",faName:"fa-xing",title:{bg:"Сподели в XING",cs:"Sdílet na XINGu",da:"Del på XING",de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fi:"Jaa XINGissä",fr:"Partager sur XING",hr:"Podijelite na XING",hu:"Megosztás XINGen",it:"Condividi su XING",ja:"XING上で共有",ko:"XING에서 공유하기",nl:"Delen op XING",no:"Del på XING",pl:"Udostępnij przez XING",pt:"Compartilhar no XING",ro:"Partajează pe XING",ru:"Поделиться на XING",sk:"Zdieľať na XING",sl:"Deli na XING",sr:"Podeli na XING-u",sv:"Dela på XING",tr:"XING'ta paylaş",zh:"分享至XING"},shareUrl:"https://www.xing.com/spi/shares/new?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}}]);
/**
 *@param Cookiename
 *@param value
 *@param days (0 days let the cookie expiere after browser-closing)
 */
function createCookie (name, value, days) {
	var expires;
	if (days) {
		var date = new Date();
		date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
		expires = "; expires=" + date.toGMTString();
	}
	else {
		expires = "";
	}
	document.cookie = name + "=" + value + expires + "; path=/";
}

/**
 * Retrieve cookie
 * @param c_name
 * @returns {string}
 */
function getCookie(c_name) {
	if (document.cookie.length > 0) {
		c_start = document.cookie.indexOf(c_name + "=");
		if (c_start != -1) {
			c_start = c_start + c_name.length + 1;
			c_end = document.cookie.indexOf(";", c_start);
			if (c_end == -1) {
				c_end = document.cookie.length;
			}
			return unescape(document.cookie.substring(c_start, c_end));
		}
	}
	return "";
}

/**
 * Init carousel stuff
 */
function initCarousels() {
	var jcarousel = $('.jcarousel');

	if (typeof jcarousel != "undefined") {

		jcarousel.carousel({
			interval: 15000
		});

		jcarousel
			.on('jcarousel:reload jcarousel:create', function () {
				var width = jcarousel.innerWidth();

				if (width >= 600) {
					width = width / 5;
				} else if (width >= 350) {
					width = width / 3;
				}

				//jcarousel.jcarousel('items').css('width', width + 'px');
			})
			.jcarousel({
				wrap: 'circular'
			});

		$('.jcarousel-control-prev')
			.jcarouselControl({
				target: '-=1'
			});

		$('.jcarousel-control-next')
			.jcarouselControl({
				target: '+=1'
			});

		$('.jcarousel-pagination')
			.on('jcarouselpagination:active', 'a', function() {
				$(this).addClass('active');
			})
			.on('jcarouselpagination:inactive', 'a', function() {
				$(this).removeClass('active');
			})
			.on('click', function(e) {
				e.preventDefault();
			})
			.jcarouselPagination({
				perPage: 1,
				item: function(page) {
					return '<a href="#' + page + '">' + page + '</a>';
				}
			});
	}

	if ($('.carousel-inner .item').length <= 1){
		$('.carousel .carousel-controls').hide();
	}

	// $(".carouselFancybox").fancybox({
	// 	transitionIn: 'elastic',
	// 	transitionOut: 'elastic',
	// 	speedIn: 600,
	// 	speedOut: 200,
	// 	overlayShow: false,
	// 	openEffect: 'elastic',
	// 	closeEffect: 'elastic'
	// });

	$('.headerCarousel .item').bind('click', function(){
		var clickableItem = $(this).find('.carousel-caption a');

		if (clickableItem.length > 0) {
			window.location.href = clickableItem.attr('href');
		}
	});
}

/**
 * Init special stuff for welterbeforum.koenigsstuhl.com
 */
function initWelterbeforum() {
	if(window.location.href.indexOf("welterbeforum") > -1) {
		$(".greyBar .csc-firstHeader").addClass("wef");
	}
}

function gosubmit(e){
	window.location.href = 'https://www.koenigsstuhl.com/' + e.value;
}

function bindEventDetails() {
	$($globals.events2.details).each(function(index, value) {
	  $( '#'+value ).on('show.bs.collapse', function () {
			$(this).next('a').remove();
			});
	});
}

function initGlossary() {
	$('.glossary .tab-pane').addClass('active in');
	$('.glossary .tab-pane .panel .panel-collapse.collapse').each (function (a,b){
		if (a == 0) {
			$(b).addClass('in');
		} else {
			$(b).removeClass('in');
			$(b).prev().find('a').addClass('collapsed');
		}
	});
}

function initTooltips() {
	$('a.tooltipLink').tooltip();
	$('[rel="tooltip"]').tooltip();

	formTooltipOptions = {
		container:'body',
		template:'<div class="tooltip nowrap" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
	};

	$('.formTooltip').tooltip(formTooltipOptions);
}

function initStoerer() {
	if  ($('#stoerer .storererContent').children().length > 0){
		if (getCookie('stoerer-seen') != 'yes'){
			$('#stoerer').addClass('active');
			$('#stoerer-sm').addClass('active');
		}
	}

	$('#stoererToggle').click(function(e){
		createCookie ('stoerer-seen','yes',0);
		$('#stoerer').removeClass('active');
		$('#stoerer-sm').removeClass('active');
	});


	$('#stoererToggle-sm').click(function(e){
		createCookie ('stoerer-seen','yes',0);
		$('#stoerer').removeClass('active');
		$('#stoerer-sm').removeClass('active');
	});
}

function initNewsletter2Go() {
	$(".news2go").ready().click(function() {

		$( ".news2go" ).find( "input" ).addClass("n2ginput");
		$( ".news2go" ).find( "button" ).addClass("n2gbutton");
		$( ".n2gbutton" ).css("opacity", "1");

	});
}

function initSpecialStuff() {
	if ($('.has-error').length > 0){
		$('.control-group').each(function(i,element){
			var isFalse = $(element).hasClass('has-error')
			if (isFalse == false){
				$(element).children('.col-md-1').html('<img data-placement="right" class="formTooltip" data-toggle="tooltip" title="' + $globals.fluidbootstraptheme.correctlyfilledinput + '" alt="Eingabe OK" src="/typo3conf/ext/koe_theme/Resources/Public/Dist/Images/formOK.png">');
			}
		});
	}
}

function initEvents2() {

    //bind events for calendar
	$("div.events2calendar").each(function() {

        var environment = $(this).data("environment");
		var queryString = window.location.search;
		var urlParams = new URLSearchParams(queryString);
	    var timestamp = urlParams.get('tx_events2_list[timestamp]');
	    if(timestamp !== null) { $(this).datepicker("setDate", new Date(timestamp * 1000)); }

		$(this).datepicker( "option", "onChangeMonthYear", function(year, month, inst) {
            if (event === undefined) { return }
			// month (1-12)
			days = Events2Calendar.prototype.getDaysForMonth(
				month,
				year,
				environment.storagePids,
				environment.settings.categories,
				environment.pidOfListPage
			);
			if ($('#events2SearchForm').length) {
				var firstDayOfMonth = new Date(year, month-1, 1);
				var lastDayOfMonth = new Date(year, month, 0);

				$.datepicker.formatDate("dd.mm.yy", firstDayOfMonth);

				$('#searchEventBegin').val($.datepicker.formatDate("dd.mm.yy", firstDayOfMonth));
				$('#searchEventEnd').val($.datepicker.formatDate("dd.mm.yy", lastDayOfMonth));

				$('.loading').show();
				$('#events2SearchForm').submit();
			}
		});

		var onChangeMonthYear = $(this).datepicker( "option", "onChangeMonthYear");

		$('.ui-datepicker-title').on("click", function(event) {
			event.preventDefault();
			onChangeMonthYear(environment.year, environment.month, null);
		});

        if (window.location.pathname === '/veranstaltungen' && window.location.search === '')
        {
            $(this).datepicker("setDate", null);
        }
	});
}

function insertAfter(el, referenceNode) {
	referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling);
}

$(document).ready(function() {

	bindEventDetails();

	// initCookiebar();

	initWelterbeforum();

	initGlossary();

	initStoerer();

	initTooltips();

	// initEvents2();

	initNewsletter2Go();

	initSpecialStuff();

});

document.onreadystatechange = function () {
  if (document.readyState === 'complete') {
    let m2cCookieHosts = m2cGetCookieHosts();

    let m2cElementList = document.querySelectorAll('.media2click-wrap');
    m2cElementList.forEach(function(m2cElement) {
      let placeholder = m2cElement.querySelector('.media2click-placeholder');
      let frameData = m2cElement.querySelector('.media2click-iframedata');
      let oldPlaceholder = m2cElement.querySelector('.media2click-old');
      let activateOnce = null;
      let activatePermanent = null;
      if (oldPlaceholder !== null) {
        activateOnce = oldPlaceholder;
      } else {
        activateOnce = m2cElement.querySelector('.media2click-once');
        activatePermanent = m2cElement.querySelector('.media2click-permanent');
      }
      /* Activate once and load iframe */
      if (activateOnce !== null) {
        activateOnce.addEventListener('click', function (event) {
          event.preventDefault();
          m2cActivateFrame(frameData, placeholder);
        }, false);
      }
      /* Activate permanently and load iframe */
      if (activatePermanent !== null) {
        activatePermanent.addEventListener('click', function (event) {
          event.preventDefault();
          let host = this.getAttribute('data-host');
          let lifetime = this.getAttribute('data-cookielifetime');
          if (host !== null && host !== '') {
            m2cCookieHosts.push(host);
            m2cSetCookieHosts(m2cCookieHosts, lifetime);
          }
          m2cActivateFrame(frameData, placeholder);
        }, false);
      }
      /* If already activated permanently, load iframe */
      if(m2cCookieHosts.find(element => element === placeholder.getAttribute('data-host'))) {
        m2cActivateFrame(frameData, placeholder);
      }
    })

    let m2cToggleList = document.querySelectorAll('.media2click-toggle');
    m2cToggleList.forEach( function (toggle) {
      let host = toggle.getAttribute('data-host');
      let lifetime = toggle.getAttribute('data-cookielifetime');
      if(m2cCookieHosts.find(element => element === host)) {
        toggle.classList.add('activated');
        toggle.setAttribute('checked', 'checked');
      }
      toggle.addEventListener('click', function (event) {
        toggle.classList.toggle('activated');
        if (toggle.className === 'media2click-toggle activated') {
          m2cCookieHosts.push(host);
          m2cSetCookieHosts(m2cCookieHosts, lifetime);
        } else {
          let index = m2cCookieHosts.indexOf(host);
          if (index > -1) {
            m2cCookieHosts.splice(index,1);
            if (m2cCookieHosts.length > 0) {
              m2cSetCookieHosts(m2cCookieHosts, lifetime);
            } else {
              m2cDeleteCookie();
            }
          }
        }
      });
    });
  }
};

/**
 * Replace media2click dummy element with actual iframe
 * @param dataNode
 * @param placeholderNode
 */
function m2cActivateFrame(dataNode, placeholderNode) {
  let newNode = document.createElement('iframe');
  let frameData = JSON.parse(dataNode.getAttribute('data-attributes'));
  Object.entries(frameData).forEach(([key, value]) => newNode.setAttribute(key, value));

  dataNode.parentElement.insertBefore(newNode, dataNode);
  dataNode.parentElement.removeChild(dataNode);
  placeholderNode.parentElement.removeChild(placeholderNode);
}

/**
 * Set the media2click accepted hosts cookie
 * @param hosts
 * @param lifetime days
 */
function m2cSetCookieHosts(hosts, lifetime = -1) {
  lifetime = Number.parseInt(lifetime, 10);
  if (Number.isNaN(lifetime) || lifetime < 0) {
    lifetime = 7;
  }
  let expires = '';
  if (lifetime > 0) {
    let d = new Date();
    d.setTime(d.getTime() + (lifetime * 24 * 60 * 60 * 1000));
    expires = "expires=" + d.toUTCString() + ";";
  }
  document.cookie = "m2c_accepted_hosts=" + hosts.join() + ";" + expires + "path=/;SameSite=Strict";
}

/**
 * Get the media2click accepted hosts from cookie
 * @returns {string[]|*[]}
 */
function m2cGetCookieHosts() {
  let decodedCookie = decodeURIComponent(document.cookie);
  let ca = decodedCookie.split(';');
  for (let i = 0; i < ca.length; i++) {
    let c = ca[i];
    while (c.charAt(0) === ' ') {
      c = c.substring(1);
    }
    if (c.indexOf("m2c_accepted_hosts=") === 0) {
      return c.substring(19, c.length).split(',');
    }
  }
  return [];
}

/**
 * Delete the media2click accepted hosts cookie
 */
function m2cDeleteCookie() {
  document.cookie = "m2c_accepted_hosts=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
}
