camp-homepage/public/gallery/js/custom.min.bc1722b00d9dd97d3473ef4a039fe19bdc83541910df77b7b22c278b65008d54.js
Christoph Schindlbeck 9be5ec7582 rebuild site
2023-02-05 22:57:23 +01:00

4 lines
116 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n,l,h,b,S,T,z,N,R,$,K,G,J,g=[],yt=Object.getPrototypeOf,j=g.slice,bt=g.flat?function(e){return g.flat.call(e)}:function(e){return g.concat.apply([],e)},_e=g.push,U=g.indexOf,Y={},vt=Y.toString,X=Y.hasOwnProperty,gt=X.toString,Gt=gt.call(Object),a={},o=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},O=function(e){return e!=null&&e===e.window},i=e.document,Yt={type:!0,src:!0,nonce:!0,noModule:!0},he,se,it,st,nt,tt,Ge,ce,Fe,ye,ot,_t,at,Ot,ft,pt,jt,Oe,le,Ue,qe,xe,ut,mt,Be;function Ce(e,t,n){var s,a,o=(n=n||i).createElement("script");if(o.text=e,t)for(s in Yt)(a=t[s]||t.getAttribute&&t.getAttribute(s))&&o.setAttribute(s,a);n.head.appendChild(o).parentNode.removeChild(o)}function M(e){return e==null?e+"":"object"==typeof e||"function"==typeof e?Y[vt.call(e)]||"object":typeof e}he="3.6.1",n=function(e,t){return new n.fn.init(e,t)};function de(e){var t=!!e&&"length"in e&&e.length,n=M(e);return!o(e)&&!O(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}n.fn=n.prototype={jquery:he,constructor:n,length:0,toArray:function(){return j.call(this)},get:function(e){return e==null?j.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=n.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return n.each(this,e)},map:function(e){return this.pushStack(n.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(j.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(n.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(n.grep(this,function(e,t){return t%2}))},eq:function(e){var n=this.length,t=+e+(e<0?n:0);return this.pushStack(0<=t&&t<n?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:_e,sort:g.sort,splice:g.splice},n.extend=n.fn.extend=function(){var t,i,a,r,c,d,e=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof e&&(l=e,e=arguments[s]||{},s++),"object"==typeof e||o(e)||(e={}),s===u&&(e=this,s--);s<u;s++)if(null!=(c=arguments[s]))for(i in c)t=c[i],"__proto__"!==i&&e!==t&&(l&&t&&(n.isPlainObject(t)||(r=Array.isArray(t)))?(a=e[i],d=r&&!Array.isArray(a)?[]:r||n.isPlainObject(a)?a:{},r=!1,e[i]=n.extend(l,d,t)):void 0!==t&&(e[i]=t));return e},n.extend({expando:"jQuery"+(he+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!!e&&"[object Object]"===vt.call(e)&&(!(t=yt(e))||"function"==typeof(n=X.call(t,"constructor")&&t.constructor)&&gt.call(n)===Gt)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Ce(e,{nonce:t&&t.nonce},n)},each:function(e,t){var s,n=0;if(de(e)){for(s=e.length;n<s;n++)if(!1===t.call(e[n],n,e[n]))break}else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var s=t||[];return e!=null&&(de(Object(e))?n.merge(s,"string"==typeof e?[e]:e):_e.call(s,e)),s},inArray:function(e,t,n){return t==null?-1:U.call(t,e,n)},merge:function(e,t){for(var o=+t.length,n=0,s=e.length;n<o;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,n){for(var o=[],s=0,i=e.length,a=!n;s<i;s++)!t(e[s],s)!==a&&o.push(e[s]);return o},map:function(e,t,n){var o,a,s=0,i=[];if(de(e))for(a=e.length;s<a;s++)null!=(o=t(e[s],s,n))&&i.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&i.push(o);return bt(i)},guid:1,support:a}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=g[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Y["[object "+t+"]"]=t.toLowerCase()}),b=function(e){var t,n,i,r,c,l,g,b,j,x,C,k,A,F,N,R,I,ae,te,a="sizzle"+1*new Date,d=e.document,p=0,Oe=0,ne=P(),J=P(),Z=P(),z=P(),Y=function(e,t){return e===t&&(x=!0),0},we={}.hasOwnProperty,y=[],xe=y.pop,_e=y.push,v=y.push,ee=y.slice,w=function(e,t){for(var n=0,s=e.length;n<s;n++)if(e[n]===t)return n;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s=`[\\x20\\t\\r\\n\\f]`,O="(?:\\\\[\\da-fA-F]{1,6}"+s+`?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+`,re="\\["+s+"*("+O+")(?:"+s+"*([*^$|!~]?=)"+s+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+O+"))|)"+s+"*\\]",U=":("+O+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+re+")*)|.*)\\)|)",ye=new RegExp(s+"+","g"),D=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),je=new RegExp("^"+s+"*,"+s+"*"),Q=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),be=new RegExp(s+"|>"),ve=new RegExp(U),ge=new RegExp("^"+O+"$"),S={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},pe=/HTML$/i,he=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,E=/^[^{]+\{\s*\[native \w/,de=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,q=/[+~]/,f=new RegExp("\\\\[\\da-fA-F]{1,6}"+s+`?|\\\\([^\\r\\n\\f])`,"g"),m=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},se=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){g()},le=L(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{v.apply(y=ee.call(d.childNodes),d.childNodes),y[d.childNodes.length].nodeType}catch{v={apply:y.length?function(e,t){_e.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,s=0;e[n++]=t[s++];);e.length=n-1}}}function o(e,t,s,o){var c,d,u,f,p,b,j,m=t&&t.ownerDocument,h=t?t.nodeType:9;if(s=s||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return s;if(!o&&(g(t),t=t||n,l)){if(11!==h&&(f=de.exec(e)))if(c=f[1]){if(9===h){{if(!(d=t.getElementById(c)))return s;if(d.id===c)return s.push(d),s}}else if(m&&(d=m.getElementById(c))&&A(t,d)&&d.id===c)return s.push(d),s}else{if(f[2])return v.apply(s,t.getElementsByTagName(e)),s;if((c=f[3])&&i.getElementsByClassName&&t.getElementsByClassName)return v.apply(s,t.getElementsByClassName(c)),s}if(i.qsa&&!z[e+" "]&&(!r||!r.test(e))&&(1!==h||"object"!==t.nodeName.toLowerCase())){if(j=e,m=t,1===h&&(be.test(e)||Q.test(e))){for((m=q.test(e)&&K(t.parentNode)||t)===t&&i.scope||((u=t.getAttribute("id"))?u=u.replace(se,oe):t.setAttribute("id",u=a)),b=(p=k(e)).length;b--;)p[b]=(u?"#"+u:":scope")+" "+T(p[b]);j=p.join(",")}try{return v.apply(s,m.querySelectorAll(j)),s}catch{z(e,!0)}finally{u===a&&t.removeAttribute("id")}}}return te(e.replace(D,"$1"),t,s,o)}function P(){var e=[];return function n(s,o){return e.push(s+" ")>t.cacheLength&&delete n[e.shift()],n[s+" "]=o}}function u(e){return e[a]=!0,e}function h(e){var t=n.createElement("fieldset");try{return!!e(t)}catch{return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function W(e,n){for(var s=e.split("|"),o=s.length;o--;)t.attrHandle[s[o]]=n}function G(e,t){var n=t&&e,s=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(s)return s;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function me(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ce(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&le(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _(e){return u(function(t){return t=+t,u(function(n,s){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(s[o]=n[o]))})})}function K(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(C in i=o.support={},ae=o.isXML=function(e){var n=e&&e.namespaceURI,t=e&&(e.ownerDocument||e).documentElement;return!pe.test(n||t&&t.nodeName||"HTML")},g=o.setDocument=function(e){var o,p,u=e?e.ownerDocument||e:d;return u!=n&&9===u.nodeType&&u.documentElement&&(c=(n=u).documentElement,l=!ae(n),d!=n&&(o=n.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),i.scope=h(function(e){return c.appendChild(e).appendChild(n.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),i.attributes=h(function(e){return e.className="i",!e.getAttribute("className")}),i.getElementsByTagName=h(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),i.getElementsByClassName=E.test(n.getElementsByClassName),i.getById=h(function(e){return c.appendChild(e).id=a,!n.getElementsByName||!n.getElementsByName(a).length}),i.getById?(t.filter.ID=function(e){var t=e.replace(f,m);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&l){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(f,m);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&l){var s,o,i,n=t.getElementById(e);if(n){if((s=n.getAttributeNode("id"))&&s.value===e)return[n];for(i=t.getElementsByName(e),o=0;n=i[o++];)if((s=n.getAttributeNode("id"))&&s.value===e)return[n]}return[]}}),t.find.TAG=i.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,s=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&s.push(n);return s}return o},t.find.CLASS=i.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&l)return t.getElementsByClassName(e)},j=[],r=[],(i.qsa=E.test(n.querySelectorAll))&&(h(function(e){var t;c.appendChild(e).innerHTML="<a id='"+a+"'></a><select id='"+a+`-
\\' msallowcapture=''><option selected=''></option></select>`,e.querySelectorAll("[msallowcapture^='']").length&&r.push("[*^$]="+s+`*(?:''|"")`),e.querySelectorAll("[selected]").length||r.push("\\["+s+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+a+"-]").length||r.push("~="),(t=n.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||r.push("\\["+s+"*name"+s+"*="+s+`*(?:''|"")`),e.querySelectorAll(":checked").length||r.push(":checked"),e.querySelectorAll("a#"+a+"+*").length||r.push(".#.+[+~]"),e.querySelectorAll("\\ "),r.push(`[\\r\\n\\f]`)}),h(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&r.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&r.push(":enabled",":disabled"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&r.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),r.push(",.*:")})),(i.matchesSelector=E.test(F=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector))&&h(function(e){i.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),j.push("!=",U)}),r=r.length&&new RegExp(r.join("|")),j=j.length&&new RegExp(j.join("|")),p=E.test(c.compareDocumentPosition),A=p||E.test(c.contains)?function(e,t){var s=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(s.contains?s.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=p?function(e,t){if(e===t)return x=!0,0;var s=!e.compareDocumentPosition-!t.compareDocumentPosition;return s||(1&(s=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===s?e==n||e.ownerDocument==d&&A(d,e)?-1:t==n||t.ownerDocument==d&&A(d,t)?1:b?w(b,e)-w(b,t):0:4&s?-1:1)}:function(e,t){if(e===t)return x=!0,0;var s,o=0,r=e.parentNode,c=t.parentNode,i=[e],a=[t];if(!r||!c)return e==n?-1:t==n?1:r?-1:c?1:b?w(b,e)-w(b,t):0;if(r===c)return G(e,t);for(s=e;s=s.parentNode;)i.unshift(s);for(s=t;s=s.parentNode;)a.unshift(s);for(;i[o]===a[o];)o++;return o?G(i[o],a[o]):i[o]==d?-1:a[o]==d?1:0}),n},o.matches=function(e,t){return o(e,null,null,t)},o.matchesSelector=function(e,t){if(g(e),i.matchesSelector&&l&&!z[t+" "]&&(!j||!j.test(t))&&(!r||!r.test(t)))try{var s=F.call(e,t);if(s||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return s}catch{z(t,!0)}return 0<o(t,n,null,[e]).length},o.contains=function(e,t){return(e.ownerDocument||e)!=n&&g(e),A(e,t)},o.attr=function(e,s){(e.ownerDocument||e)!=n&&g(e);var a=t.attrHandle[s.toLowerCase()],o=a&&we.call(t.attrHandle,s.toLowerCase())?a(e,s,!l):void 0;return void 0!==o?o:i.attributes||!l?e.getAttribute(s):(o=e.getAttributeNode(s))&&o.specified?o.value:null},o.escape=function(e){return(e+"").replace(se,oe)},o.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},o.uniqueSort=function(e){var s,o=[],t=0,n=0;if(x=!i.detectDuplicates,b=!i.sortStable&&e.slice(0),e.sort(Y),x){for(;s=e[n++];)s===e[n]&&(t=o.push(n));for(;t--;)e.splice(o[t],1)}return b=null,e},N=o.getText=function(e){var s,n="",o=0,t=e.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=N(e)}else if(3===t||4===t)return e.nodeValue}else for(;s=e[o++];)n+=N(s);return n},(t=o.selectors={cacheLength:50,createPseudo:u,match:S,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(f,m),e[3]=(e[3]||e[4]||e[5]||"").replace(f,m),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||o.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&o.error(e[0]),e},PSEUDO:function(e){var n,t=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":t&&ve.test(t)&&(n=k(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(e[0]=e[0].slice(0,n),e[2]=t.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(f,m).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=ne[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&ne(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(s){var i=o.attr(s,e);return i==null?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&-1<i.indexOf(n):"$="===t?n&&i.slice(-n.length)===n:"~="===t?-1<(" "+i.replace(ye," ")+" ").indexOf(n):"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,s,o){var c="nth"!==e.slice(0,3),r="last"!==e.slice(-4),i="of-type"===t;return 1===s&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var d,h,m,f,v,j,b=c!==r?"nextSibling":"previousSibling",g=t.parentNode,_=i&&t.nodeName.toLowerCase(),y=!l&&!i,u=!1;if(g){if(c){for(;b;){for(d=t;d=d[b];)if(i?d.nodeName.toLowerCase()===_:1===d.nodeType)return!1;v=b="only"===e&&!v&&"nextSibling"}return!0}if(v=[r?g.firstChild:g.lastChild],r&&y){for(u=(h=(f=(j=(m=(d=g)[a]||(d[a]={}))[d.uniqueID]||(m[d.uniqueID]={}))[e]||[])[0]===p&&f[1])&&f[2],d=h&&g.childNodes[h];d=++h&&d&&d[b]||(u=h=0)||v.pop();)if(1===d.nodeType&&++u&&d===t){j[e]=[p,h,u];break}}else if(y&&(u=h=(f=(j=(m=(d=t)[a]||(d[a]={}))[d.uniqueID]||(m[d.uniqueID]={}))[e]||[])[0]===p&&f[1]),!1===u)for(;d=++h&&d&&d[b]||(u=h=0)||v.pop();)if((i?d.nodeName.toLowerCase()===_:1===d.nodeType)&&++u&&(y&&((j=(m=d[a]||(d[a]={}))[d.uniqueID]||(m[d.uniqueID]={}))[e]=[p,u]),d===t))break;return(u-=o)===s||u%s==0&&0<=u/s}}},PSEUDO:function(e,n){var i,s=t.pseudos[e]||t.setFilters[e.toLowerCase()]||o.error("unsupported pseudo: "+e);return s[a]?s(n):1<s.length?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?u(function(e,t){for(var a,o=s(e,n),i=o.length;i--;)e[a=w(e,o[i])]=!(t[a]=o[i])}):function(e){return s(e,0,i)}):s}},pseudos:{not:u(function(e){var t=[],s=[],n=I(e.replace(D,"$1"));return n[a]?u(function(e,t,s,o){for(var a,r=n(e,null,o,[]),i=e.length;i--;)(a=r[i])&&(e[i]=!(t[i]=a))}):function(e,o,i){return t[0]=e,n(t,null,i,s),t[0]=null,!s.pop()}}),has:u(function(e){return function(t){return 0<o(e,t).length}}),contains:u(function(e){return e=e.replace(f,m),function(t){return-1<(t.textContent||N(t)).indexOf(e)}}),lang:u(function(e){return ge.test(e||"")||o.error("unsupported lang: "+e),e=e.replace(f,m).toLowerCase(),function(t){var n;do if(n=l?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType)return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===c},focus:function(e){return e===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ce(!1),disabled:ce(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return ue.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_(function(){return[0]}),last:_(function(e,t){return[t-1]}),eq:_(function(e,t,n){return[n<0?n+t:n]}),even:_(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:_(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:_(function(e,t,n){for(var s=n<0?n+t:t<n?t:n;0<=--s;)e.push(s);return e}),gt:_(function(e,t,n){for(var s=n<0?n+t:n;++s<t;)e.push(s);return e})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[C]=me(C);for(C in{submit:!0,reset:!0})t.pseudos[C]=fe(C);function X(){}function T(e){for(var t=0,s=e.length,n="";t<s;t++)n+=e[t].value;return n}function L(e,t,n){var s=t.dir,o=t.next,i=o||s,r=n&&"parentNode"===i,c=Oe++;return t.first?function(t,n,o){for(;t=t[s];)if(1===t.nodeType||r)return e(t,n,o);return!1}:function(t,n,l){var d,u,h,m=[p,c];if(l){for(;t=t[s];)if((1===t.nodeType||r)&&e(t,n,l))return!0}else for(;t=t[s];)if(1===t.nodeType||r)if(u=(h=t[a]||(t[a]={}))[t.uniqueID]||(h[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[s]||t;else{if((d=u[i])&&d[0]===p&&d[1]===c)return m[2]=d[2];if((u[i]=m)[2]=e(t,n,l))return!0}return!1}}function $(e){return 1<e.length?function(t,n,s){for(var o=e.length;o--;)if(!e[o](t,n,s))return!1;return!0}:e[0]}function M(e,t,n,s,o){for(var a,r=[],i=0,c=e.length,l=t!=null;i<c;i++)(a=e[i])&&(n&&!n(a,s,o)||(r.push(a),l&&t.push(i)));return r}function V(e,t,n,s,i,r){return s&&!s[a]&&(s=V(s)),i&&!i[a]&&(i=V(i,r)),u(function(a,r,c,l){var u,h,m,g=[],p=[],b=r.length,j=a||function(e,t,n){for(var s=0,i=t.length;s<i;s++)o(e,t[s],n);return n}(t||"*",c.nodeType?[c]:c,[]),f=!e||!a&&t?j:M(j,g,e,c,l),d=n?i||(a?e:b||s)?[]:r:f;if(n&&n(f,d,c,l),s)for(h=M(d,p),s(h,[],c,l),u=h.length;u--;)(m=h[u])&&(d[p[u]]=!(f[p[u]]=m));if(a){if(i||e){if(i){for(h=[],u=d.length;u--;)(m=d[u])&&h.push(f[u]=m);i(null,d=[],h,l)}for(u=d.length;u--;)(m=d[u])&&-1<(h=i?w(a,m):g[u])&&(a[h]=!(r[h]=m))}}else d=M(d===r?d.splice(b,d.length):d),i?i(null,r,d,l):v.apply(r,d)})}function H(e){for(var s,o,r,c=e.length,l=t.relative[e[0].type],d=l||t.relative[" "],n=l?1:0,u=L(function(e){return e===r},d,!0),h=L(function(e){return-1<w(r,e)},d,!0),i=[function(e,t,n){var s=!l&&(n||t!==R)||((r=t).nodeType?u(e,t,n):h(e,t,n));return r=null,s}];n<c;n++)if(o=t.relative[e[n].type])i=[L($(i),o)];else{if((o=t.filter[e[n].type].apply(null,e[n].matches))[a]){for(s=++n;s<c;s++)if(t.relative[e[s].type])break;return V(1<n&&$(i),1<n&&T(e.slice(0,n-1).concat({value:" "===e[n-2].type?"*":""})).replace(D,"$1"),o,n<s&&H(e.slice(n,s)),s<c&&H(e=e.slice(s)),s<c&&T(e))}i.push(o)}return $(i)}return X.prototype=t.filters=t.pseudos,t.setFilters=new X,k=o.tokenize=function(e,n){var s,i,a,r,c,l,d,u=J[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],d=t.preFilter;s;){for(r in a&&!(i=je.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(c=[])),a=!1,(i=Q.exec(s))&&(a=i.shift(),c.push({value:a,type:i[0].replace(D," ")}),s=s.slice(a.length)),t.filter)!(i=S[r].exec(s))||d[r]&&!(i=d[r](i))||(a=i.shift(),c.push({value:a,type:r,matches:i}),s=s.slice(a.length));if(!a)break}return n?s.length:s?o.error(e):J(e,l).slice(0)},I=o.compile=function(e,s){var r,c,d,h,m,f,b=[],j=[],i=Z[e+" "];if(!i){for(s||(s=k(e)),c=s.length;c--;)(i=H(s[c]))[a]?b.push(i):j.push(i);(i=Z(e,(d=j,r=0<(f=b).length,h=0<d.length,m=function(e,s,i,a,c){var u,j,_,y=0,m="0",w=e&&[],b=[],O=R,x=e||h&&t.find.TAG("*",c),C=p+=O==null?1:Math.random()||.1,E=x.length;for(c&&(R=s==n||s||c);m!==E&&null!=(u=x[m]);m++){if(h&&u){for(_=0,s||u.ownerDocument==n||(g(u),i=!l);j=d[_++];)if(j(u,s||n,i)){a.push(u);break}c&&(p=C)}r&&((u=!j&&u)&&y--,e&&w.push(u))}if(y+=m,r&&m!==y){for(_=0;j=f[_++];)j(w,b,s,i);if(e){if(0<y)for(;m--;)w[m]||b[m]||(b[m]=xe.call(a));b=M(b)}v.apply(a,b),c&&!e&&0<b.length&&1<y+f.length&&o.uniqueSort(a)}return c&&(p=C,R=O),w},r?u(m):m))).selector=e}return i},te=o.select=function(e,n,s,o){var i,a,r,u,h,d="function"==typeof e&&e,c=!o&&k(e=d.selector||e);if(s=s||[],1===c.length){if(2<(i=c[0]=c[0].slice(0)).length&&"ID"===(a=i[0]).type&&9===n.nodeType&&l&&t.relative[i[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(f,m),n)||[])[0]))return s;d&&(n=n.parentNode),e=e.slice(i.shift().value.length)}for(r=S.needsContext.test(e)?0:i.length;r--;){if(a=i[r],t.relative[u=a.type])break;if((h=t.find[u])&&(o=h(a.matches[0].replace(f,m),q.test(i[0].type)&&K(n.parentNode)||n))){if(i.splice(r,1),!(e=o.length&&T(i)))return v.apply(s,o),s;break}}}return(d||I(e,c))(o,n,!l,s,!n||q.test(e)&&K(n.parentNode)||n),s},i.sortStable=a.split("").sort(Y).join("")===a,i.detectDuplicates=!!x,g(),i.sortDetached=h(function(e){return 1&e.compareDocumentPosition(n.createElement("fieldset"))}),h(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||W("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),i.attributes&&h(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||W("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),h(function(e){return null==e.getAttribute("disabled")})||W(B,function(e,t,n){var s;if(!n)return!0===e[t]?t.toLowerCase():(s=e.getAttributeNode(t))&&s.specified?s.value:null}),o}(e),n.find=b,n.expr=b.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=b.uniqueSort,n.text=b.getText,n.isXMLDoc=b.isXML,n.contains=b.contains,n.escapeSelector=b.escape;var x=function(e,t,s){for(var o=[],i=void 0!==s;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&n(e).is(s))break;o.push(e)}return o},lt=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},rt=n.expr.match.needsContext;function d(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}se=/^<([a-z][^/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function re(e,t,s){return o(t)?n.grep(e,function(e,n){return!!t.call(e,n,e)!==s}):t.nodeType?n.grep(e,function(e){return e===t!==s}):"string"!=typeof t?n.grep(e,function(e){return-1<U.call(t,e)!==s}):n.filter(t,e,s)}n.filter=function(e,t,s){var o=t[0];return s&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?n.find.matchesSelector(o,e)?[o]:[]:n.find.matches(e,n.grep(t,function(e){return 1===e.nodeType}))},n.fn.extend({find:function(e){var t,s,o=this.length,i=this;if("string"!=typeof e)return this.pushStack(n(e).filter(function(){for(t=0;t<o;t++)if(n.contains(i[t],this))return!0}));for(s=this.pushStack([]),t=0;t<o;t++)n.find(e,i[t],s);return 1<o?n.uniqueSort(s):s},filter:function(e){return this.pushStack(re(this,e||[],!1))},not:function(e){return this.pushStack(re(this,e||[],!0))},is:function(e){return!!re(this,"string"==typeof e&&rt.test(e)?n(e):e||[],!1).length}}),st=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,(n.fn.init=function(e,t,s){var a,r;if(!e)return this;if(s=s||it,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:st.exec(e))||!a[1]&&t)return!t||t.jquery?(t||s).find(e):this.constructor(t).find(e);if(a[1]){if(t=t instanceof n?t[0]:t,n.merge(this,n.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),se.test(a[1])&&n.isPlainObject(t))for(a in t)o(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return(r=i.getElementById(a[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):o(e)?void 0!==s.ready?s.ready(e):e(n):n.makeArray(e,this)}).prototype=n.fn,it=n(i),nt=/^(?:parents|prev(?:Until|All))/,tt={children:!0,contents:!0,next:!0,prev:!0};function et(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}n.fn.extend({has:function(e){var t=n(e,this),s=t.length;return this.filter(function(){for(var e=0;e<s;e++)if(n.contains(this,t[e]))return!0})},closest:function(e,t){var s,i=0,r=this.length,o=[],a="string"!=typeof e&&n(e);if(!rt.test(e))for(;i<r;i++)for(s=this[i];s&&s!==t;s=s.parentNode)if(s.nodeType<11&&(a?-1<a.index(s):1===s.nodeType&&n.find.matchesSelector(s,e))){o.push(s);break}return this.pushStack(1<o.length?n.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?U.call(n(e),this[0]):U.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),n.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,"parentNode")},parentsUntil:function(e,t,n){return x(e,"parentNode",n)},next:function(e){return et(e,"nextSibling")},prev:function(e){return et(e,"previousSibling")},nextAll:function(e){return x(e,"nextSibling")},prevAll:function(e){return x(e,"previousSibling")},nextUntil:function(e,t,n){return x(e,"nextSibling",n)},prevUntil:function(e,t,n){return x(e,"previousSibling",n)},siblings:function(e){return lt((e.parentNode||{}).firstChild,e)},children:function(e){return lt(e.firstChild)},contents:function(e){return null!=e.contentDocument&&yt(e.contentDocument)?e.contentDocument:(d(e,"template")&&(e=e.content||e),n.merge([],e.childNodes))}},function(e,t){n.fn[e]=function(s,o){var i=n.map(this,t,s);return"Until"!==e.slice(-5)&&(o=s),o&&"string"==typeof o&&(i=n.filter(o,i)),1<this.length&&(tt[e]||n.uniqueSort(i),nt.test(e)&&i.reverse()),this.pushStack(i)}}),h=/[^\x20\t\r\n\f]+/g;function L(e){return e}function Q(e){throw e}function Ze(e,t,n,s){var i;try{e&&o(i=e.promise)?i.call(e).done(t).fail(n):e&&o(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(s))}catch(e){n.apply(void 0,[e])}}n.Callbacks=function(e){e="string"==typeof e?(u=e,d={},n.each(u.match(h)||[],function(e,t){d[t]=!0}),d):n.extend({},e);var s,a,c,d,u,f,t=[],r=[],i=-1,m=function(){for(a=a||e.once,f=c=!0;r.length;i=-1)for(s=r.shift();++i<t.length;)!1===t[i].apply(s[0],s[1])&&e.stopOnFalse&&(i=t.length,s=!1);e.memory||(s=!1),c=!1,a&&(t=s?[]:"")},l={add:function(){return t&&(s&&!c&&(i=t.length-1,r.push(s)),function s(i){n.each(i,function(n,i){o(i)?e.unique&&l.has(i)||t.push(i):i&&i.length&&"string"!==M(i)&&s(i)})}(arguments),s&&!c&&m()),this},remove:function(){return n.each(arguments,function(e,s){for(var o;-1<(o=n.inArray(s,t,o));)t.splice(o,1),o<=i&&i--}),this},has:function(e){return e?-1<n.inArray(e,t):0<t.length},empty:function(){return t&&(t=[]),this},disable:function(){return a=r=[],t=s="",this},disabled:function(){return!t},lock:function(){return a=r=[],s||c||(t=s=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],r.push(t),c||m()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!f}};return l},n.extend({Deferred:function(t){var i=[["notify","progress",n.Callbacks("memory"),n.Callbacks("memory"),2],["resolve","done",n.Callbacks("once memory"),n.Callbacks("once memory"),0,"resolved"],["reject","fail",n.Callbacks("once memory"),n.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return n.Deferred(function(t){n.each(i,function(n,i){var a=o(e[i[4]])&&e[i[4]];s[i[1]](function(){var e=a&&a.apply(this,arguments);e&&o(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,a?[e]:arguments)})}),e=null}).promise()},then:function(t,s,a){var r=0;function c(t,s,i,a){return function(){var l=this,d=arguments,h=function(){var e,n;if(!(t<r)){if((e=i.apply(l,d))===s.promise())throw new TypeError("Thenable self-resolution");n=e&&("object"==typeof e||"function"==typeof e)&&e.then,o(n)?a?n.call(e,c(r,s,L,a),c(r,s,Q,a)):(r++,n.call(e,c(r,s,L,a),c(r,s,Q,a),c(r,s,L,s.notifyWith))):(i!==L&&(l=void 0,d=[e]),(a||s.resolveWith)(l,d))}},u=a?h:function(){try{h()}catch(e){n.Deferred.exceptionHook&&n.Deferred.exceptionHook(e,u.stackTrace),r<=t+1&&(i!==Q&&(l=void 0,d=[e]),s.rejectWith(l,d))}};t?u():(n.Deferred.getStackHook&&(u.stackTrace=n.Deferred.getStackHook()),e.setTimeout(u))}}return n.Deferred(function(e){i[0][3].add(c(0,e,o(a)?a:L,e.notifyWith)),i[1][3].add(c(0,e,o(t)?t:L)),i[2][3].add(c(0,e,o(s)?s:Q))}).promise()},promise:function(e){return e!=null?n.extend(e,a):a}},s={};return n.each(i,function(e,t){var n=t[2],o=t[5];a[t[1]]=n.add,o&&n.add(function(){r=o},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(e){var a=arguments.length,t=a,r=Array(t),i=j.call(arguments),s=n.Deferred(),c=function(e){return function(t){r[e]=this,i[e]=1<arguments.length?j.call(arguments):t,--a||s.resolveWith(r,i)}};if(a<=1&&(Ze(e,s.done(c(t)).resolve,s.reject,!a),"pending"===s.state()||o(i[t]&&i[t].then)))return s.then();for(;t--;)Ze(i[t],c(t),s.reject);return s.promise()}}),Ge=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,n.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Ge.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},n.readyException=function(t){e.setTimeout(function(){throw t})},G=n.Deferred();function q(){i.removeEventListener("DOMContentLoaded",q),e.removeEventListener("load",q),n.ready()}n.fn.ready=function(e){return G.then(e).catch(function(e){n.readyException(e)}),this},n.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--n.readyWait:n.isReady)||(n.isReady=!0)!==e&&0<--n.readyWait||G.resolveWith(i,[n])}}),n.ready.then=G.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(n.ready):(i.addEventListener("DOMContentLoaded",q),e.addEventListener("load",q));var p=function(e,t,s,i,a,r,c){var l=0,u=e.length,d=s==null;if("object"===M(s))for(l in a=!0,s)p(e,t,l,s[l],!0,r,c);else if(void 0!==i&&(a=!0,o(i)||(c=!0),d&&(c?(t.call(e,i),t=null):(d=t,t=function(e,t,s){return d.call(n(e),s)})),t))for(;l<u;l++)t(e[l],s,c?i:i.call(e[l],l,t(e[l],s)));return a?e:d?t.call(e):u?t(e[0],s):r},qt=/^-ms-/,Kt=/-([a-z])/g;function Ut(e,t){return t.toUpperCase()}function f(e){return e.replace(qt,"ms-").replace(Kt,Ut)}T=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function H(){this.expando=n.expando+H.uid++}H.uid=1,H.prototype={cache:function(e){var t=e[this.expando];return t||(t={},T(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var s,o=this.cache(e);if("string"==typeof t)o[f(t)]=n;else for(s in t)o[f(s)]=t[s];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][f(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var o,s=e[this.expando];if(void 0!==s){if(void 0!==t)for(o=(t=Array.isArray(t)?t.map(f):(t=f(t))in s?[t]:t.match(h)||[]).length;o--;)delete s[t[o]];(void 0===t||n.isEmptyObject(s))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!n.isEmptyObject(t)}};var s=new H,r=new H,Wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,$t=/[A-Z]/g;function Ve(e,t,n){var s,o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace($t,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n="true"===(s=n)||"false"!==s&&("null"===s?null:s===+s+""?+s:Wt.test(s)?JSON.parse(s):s)}catch{}r.set(e,t,n)}else n=void 0;return n}n.extend({hasData:function(e){return r.hasData(e)||s.hasData(e)},data:function(e,t,n){return r.access(e,t,n)},removeData:function(e,t){r.remove(e,t)},_data:function(e,t,n){return s.access(e,t,n)},_removeData:function(e,t){s.remove(e,t)}}),n.fn.extend({data:function(e,t){var o,i,a,n=this[0],c=n&&n.attributes;if(void 0===e){if(this.length&&(a=r.get(n),1===n.nodeType&&!s.get(n,"hasDataAttrs"))){for(i=c.length;i--;)c[i]&&0===(o=c[i].name).indexOf("data-")&&(o=f(o.slice(5)),Ve(n,o,a[o]));s.set(n,"hasDataAttrs",!0)}return a}return"object"==typeof e?this.each(function(){r.set(this,e)}):p(this,function(t){var s;if(n&&void 0===t)return void 0!==(s=r.get(n,e))?s:void 0!==(s=Ve(n,e))?s:void 0;this.each(function(){r.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){r.remove(this,e)})}}),n.extend({queue:function(e,t,o){var i;if(e)return t=(t||"fx")+"queue",i=s.get(e,t),o&&(!i||Array.isArray(o)?i=s.access(e,t,n.makeArray(o)):i.push(o)),i||[]},dequeue:function(e,t){t=t||"fx";var s=n.queue(e,t),a=s.length,o=s.shift(),i=n._queueHooks(e,t);"inprogress"===o&&(o=s.shift(),a--),o&&("fx"===t&&s.unshift("inprogress"),delete i.stop,o.call(e,function(){n.dequeue(e,t)},i)),!a&&i&&i.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return s.get(e,o)||s.access(e,o,{empty:n.Callbacks("once memory").add(function(){s.remove(e,[t+"queue",o])})})}}),n.fn.extend({queue:function(e,t){var s=2;return"string"!=typeof e&&(t=e,e="fx",s--),arguments.length<s?n.queue(this[0],e):void 0===t?this:this.each(function(){var s=n.queue(this,e,t);n._queueHooks(this,e),"fx"===e&&"inprogress"!==s[0]&&n.dequeue(this,e)})},dequeue:function(e){return this.each(function(){n.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var o,a=1,r=n.Deferred(),i=this,c=this.length,l=function(){--a||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";c--;)(o=s.get(i[c],e+"queueHooks"))&&o.empty&&(a++,o.empty.add(l));return l(),r.promise(t)}});var Re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,P=new RegExp("^(?:([+-])=|)("+Re+")([a-z%]*)$","i"),v=["Top","Right","Bottom","Left"],_=i.documentElement,E=function(e){return n.contains(e.ownerDocument,e)},Vt={composed:!0};_.getRootNode&&(E=function(e){return n.contains(e.ownerDocument,e)||e.getRootNode(Vt)===e.ownerDocument}),$=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&E(e)&&"none"===n.css(e,"display")};function Le(e,t,s,o){var c,l,d=20,u=o?function(){return o.cur()}:function(){return n.css(e,t,"")},r=u(),a=s&&s[3]||(n.cssNumber[t]?"":"px"),i=e.nodeType&&(n.cssNumber[t]||"px"!==a&&+r)&&P.exec(n.css(e,t));if(i&&i[3]!==a){for(r/=2,a=a||i[3],i=+r||1;d--;)n.style(e,t,i+a),(1-c)*(1-(c=u()/r||.5))<=0&&(d=0),i/=c;i*=2,n.style(e,t,i+a),s=s||[]}return s&&(i=+i||+r||0,l=s[1]?i+(s[1]+1)*s[2]:+s[2],o&&(o.unit=a,o.start=i,o.end=l)),l}ce={};function C(e,t){for(var i,a,c,l,d,u,h,r=[],o=0,m=e.length;o<m;o++)(i=e[o]).style&&(u=i.style.display,t?("none"===u&&(r[o]=s.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&$(i)&&(r[o]=(a=l=c=void 0,l=(h=i).ownerDocument,d=h.nodeName,(a=ce[d])||(c=l.body.appendChild(l.createElement(d)),a=n.css(c,"display"),c.parentNode.removeChild(c),"none"===a&&(a="block"),ce[d]=a)))):"none"!==u&&(r[o]="none",s.set(i,"display",u)));for(o=0;o<m;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}n.fn.extend({show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){$(this)?n(this).show():n(this).hide()})}});var Z,I=/^(?:checkbox|radio)$/i,Ne=/<([a-z][^/\0>\x20\t\r\n\f]*)/i,ze=/^$|^module$|\/(?:java|ecma)script/i,k=i.createDocumentFragment().appendChild(i.createElement("div"));(Z=i.createElement("input")).setAttribute("type","radio"),Z.setAttribute("checked","checked"),Z.setAttribute("name","t"),k.appendChild(Z),a.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,k.innerHTML="<textarea>x</textarea>",a.noCloneChecked=!!k.cloneNode(!0).lastChild.defaultValue,k.innerHTML="<option></option>",a.option=!!k.lastChild,l={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 c(e,t){var s;return s="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&d(e,t)?n.merge([e],s):s}function ve(e,t){for(var n=0,o=e.length;n<o;n++)s.set(e[n],"globalEval",!t||s.get(t[n],"globalEval"))}l.tbody=l.tfoot=l.colgroup=l.caption=l.thead,l.th=l.td,a.option||(l.optgroup=l.option=[1,"<select multiple='multiple'>","</select>"]),Fe=/<|&#?\w+;/;function Ae(e,t,s,o,i){for(var a,r,h,m,p,g,u=t.createDocumentFragment(),f=[],d=0,v=e.length;d<v;d++)if((a=e[d])||0===a)if("object"===M(a))n.merge(f,a.nodeType?[a]:a);else if(Fe.test(a)){for(r=r||u.appendChild(t.createElement("div")),g=(Ne.exec(a)||["",""])[1].toLowerCase(),h=l[g]||l._default,r.innerHTML=h[1]+n.htmlPrefilter(a)+h[2],m=h[0];m--;)r=r.lastChild;n.merge(f,r.childNodes),(r=u.firstChild).textContent=""}else f.push(t.createTextNode(a));for(u.textContent="",d=0;a=f[d++];)if(o&&-1<n.inArray(a,o))i&&i.push(a);else if(p=E(a),r=c(u.appendChild(a),"script"),p&&ve(r),s)for(m=0;a=r[m++];)ze.test(a.type||"")&&s.push(a);return u}ye=/^([^.]*)(?:\.(.+)|)/;function F(){return!0}function D(){return!1}function Bt(e,t){return e===function(){try{return i.activeElement}catch{}}()==("focus"===t)}function ae(e,t,s,o,i,a){var r,c;if("object"==typeof t){for(c in"string"!=typeof s&&(o=o||s,s=void 0),t)ae(e,c,s,o,t[c],a);return e}if(o==null&&i==null?(i=s,o=s=void 0):i==null&&("string"==typeof s?(i=o,o=void 0):(i=o,o=s,s=void 0)),!1===i)i=D;else if(!i)return e;return 1===a&&(r=i,(i=function(e){return n().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=n.guid++)),e.each(function(){n.event.add(this,t,i,o,s)})}function W(e,t,o){o?(s.set(e,t,!1),n.event.add(e,t,{namespace:!1,handler:function(e){var a,r,i=s.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(n.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=j.call(arguments),s.set(this,t,i),r=o(this,t),this[t](),i!==(a=s.get(this,t))||r?s.set(this,t,!1):a={},i!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else i.length&&(s.set(this,t,{value:n.event.trigger(n.extend(i[0],n.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===s.get(e,t)&&n.event.add(e,t,F)}n.event={global:{},add:function(e,t,o,i,a){var r,c,l,d,u,m,p,g,v,b,j,f=s.get(e);if(T(e))for(o.handler&&(o=(g=o).handler,a=g.selector),a&&n.find.matchesSelector(_,a),o.guid||(o.guid=n.guid++),(u=f.events)||(u=f.events=Object.create(null)),(m=f.handle)||(m=f.handle=function(t){return"undefined"!=typeof n&&n.event.triggered!==t.type?n.event.dispatch.apply(e,arguments):void 0}),p=(t=(t||"").match(h)||[""]).length;p--;)r=j=(b=ye.exec(t[p])||[])[1],v=(b[2]||"").split(".").sort(),r&&(c=n.event.special[r]||{},r=(a?c.delegateType:c.bindType)||r,c=n.event.special[r]||{},l=n.extend({type:r,origType:j,data:i,handler:o,guid:o.guid,selector:a,needsContext:a&&n.expr.match.needsContext.test(a),namespace:v.join(".")},g),(d=u[r])||((d=u[r]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,v,m)||e.addEventListener&&e.addEventListener(r,m)),c.add&&(c.add.call(e,l),l.handler.guid||(l.handler.guid=o.guid)),a?d.splice(d.delegateCount++,0,l):d.push(l),n.event.global[r]=!0)},remove:function(e,t,o,i,a){var r,c,l,d,u,m,f,p,v,b,j,g=s.hasData(e)&&s.get(e);if(g&&(m=g.events)){for(f=(t=(t||"").match(h)||[""]).length;f--;)if(r=j=(u=ye.exec(t[f])||[])[1],v=(u[2]||"").split(".").sort(),r){for(l=n.event.special[r]||{},d=m[r=(i?l.delegateType:l.bindType)||r]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=p=d.length;p--;)c=d[p],!a&&j!==c.origType||o&&o.guid!==c.guid||u&&!u.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(p,1),c.selector&&d.delegateCount--,l.remove&&l.remove.call(e,c));b&&!d.length&&(l.teardown&&!1!==l.teardown.call(e,v,g.handle)||n.removeEvent(e,r,g.handle),delete m[r])}else for(r in m)n.event.remove(e,r+t[f],o,i,!0);n.isEmptyObject(m)&&s.remove(e,"handle events")}},dispatch:function(e){var o,i,a,l,d,u,c=new Array(arguments.length),t=n.event.fix(e),h=(s.get(this,"events")||Object.create(null))[t.type]||[],r=n.event.special[t.type]||{};for(c[0]=t,o=1;o<arguments.length;o++)c[o]=arguments[o];if(t.delegateTarget=this,!r.preDispatch||!1!==r.preDispatch.call(this,t)){for(d=n.event.handlers.call(this,t,h),o=0;(a=d[o++])&&!t.isPropagationStopped();)for(t.currentTarget=a.elem,u=0;(i=a.handlers[u++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!1!==i.namespace&&!t.rnamespace.test(i.namespace)||(t.handleObj=i,t.data=i.data,void 0!==(l=((n.event.special[i.origType]||{}).handle||i.handler).apply(a.elem,c))&&!1===(t.result=l)&&(t.preventDefault(),t.stopPropagation()));return r.postDispatch&&r.postDispatch.call(this,t),t.result}},handlers:function(e,t){var o,i,a,r,d,l=[],c=t.delegateCount,s=e.target;if(c&&s.nodeType&&!("click"===e.type&&1<=e.button))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(a=[],r={},i=0;i<c;i++)void 0===r[o=(d=t[i]).selector+" "]&&(r[o]=d.needsContext?-1<n(o,this).index(s):n.find(o,this,null,[s]).length),r[o]&&a.push(d);a.length&&l.push({elem:s,handlers:a})}return s=this,c<t.length&&l.push({elem:s,handlers:t.slice(c)}),l},addProp:function(e,t){Object.defineProperty(n.Event.prototype,e,{enumerable:!0,configurable:!0,get:o(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[n.expando]?e:new n.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return I.test(t.type)&&t.click&&d(t,"input")&&W(t,"click",F),!1},trigger:function(e){var t=this||e;return I.test(t.type)&&t.click&&d(t,"input")&&W(t,"click"),!0},_default:function(e){var t=e.target;return I.test(t.type)&&t.click&&d(t,"input")&&s.get(t,"click")||d(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},n.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},n.Event=function(e,t){if(!(this instanceof n.Event))return new n.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?F:D,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&n.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[n.expando]=!0},n.Event.prototype={constructor:n.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=F,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=F,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=F,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},n.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},n.event.addProp),n.each({focus:"focusin",blur:"focusout"},function(e,t){n.event.special[e]={setup:function(){return W(this,e,Bt),!1},trigger:function(){return W(this,e),!0},_default:function(t){return s.get(t.target,e)},delegateType:t}}),n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){n.event.special[e]={delegateType:t,bindType:t,handle:function(e){var o,s=e.relatedTarget,i=e.handleObj;return s&&(s===this||n.contains(this,s))||(e.type=i.origType,o=i.handler.apply(this,arguments),e.type=t),o}}}),n.fn.extend({on:function(e,t,n,s){return ae(this,e,t,n,s)},one:function(e,t,n,s){return ae(this,e,t,n,s,1)},off:function(e,t,s){var o,i;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,n(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(s=t,t=void 0),!1===s&&(s=D),this.each(function(){n.event.remove(this,e,s,t)})}});var St=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Se(e,t){return d(e,"table")&&d(11!==t.nodeType?t:t.firstChild,"tr")&&n(e).children("tbody")[0]||e}function Pt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Rt(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Te(e,t){var o,i,a,c,l,d;if(1===t.nodeType){if(s.hasData(e)&&(a=s.get(e).events))for(i in s.remove(t,"handle events"),a)for(o=0,c=a[i].length;o<c;o++)n.event.add(t,i,a[i][o]);r.hasData(e)&&(l=r.access(e),d=n.extend({},l),r.set(t,d))}}function A(e,t,i,r){t=bt(t);var l,u,h,f,p,v,d=0,m=e.length,j=m-1,g=t[0],b=o(g);if(b||1<m&&"string"==typeof g&&!a.checkClone&&It.test(g))return e.each(function(n){var s=e.eq(n);b&&(t[0]=g.call(this,n,s.html())),A(s,t,i,r)});if(m&&(v=(h=Ae(t,e[0].ownerDocument,!1,e,r)).firstChild,1===h.childNodes.length&&(h=v),v||r)){for(f=(u=n.map(c(h,"script"),Pt)).length;d<m;d++)l=h,d!==j&&(l=n.clone(l,!0,!0),f&&n.merge(u,c(l,"script"))),i.call(e[d],l,d);if(f)for(p=u[u.length-1].ownerDocument,n.map(u,Rt),d=0;d<f;d++)l=u[d],ze.test(l.type||"")&&!s.access(l,"globalEval")&&n.contains(p,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?n._evalUrl&&!l.noModule&&n._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},p):Ce(l.textContent.replace(Ht,""),l,p))}return e}function De(e,t,s){for(var o,a=t?n.filter(t,e):e,i=0;null!=(o=a[i]);i++)s||1!==o.nodeType||n.cleanData(c(o)),o.parentNode&&(s&&E(o)&&ve(c(o,"script")),o.parentNode.removeChild(o));return e}n.extend({htmlPrefilter:function(e){return e},clone:function(e,t,s){var o,i,r,d,u,h,m,l=e.cloneNode(!0),f=E(e);if(!(a.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||n.isXMLDoc(e)))for(i=c(l),o=0,h=(r=c(e)).length;o<h;o++)d=r[o],u=i[o],void 0,"input"===(m=u.nodeName.toLowerCase())&&I.test(d.type)?u.checked=d.checked:"input"!==m&&"textarea"!==m||(u.defaultValue=d.defaultValue);if(t)if(s)for(r=r||c(e),i=i||c(l),o=0,h=r.length;o<h;o++)Te(r[o],i[o]);else Te(e,l);return 0<(i=c(l,"script")).length&&ve(i,!f&&c(e,"script")),l},cleanData:function(e){for(var t,o,i,c=n.event.special,a=0;void 0!==(t=e[a]);a++)if(T(t)){if(o=t[s.expando]){if(o.events)for(i in o.events)c[i]?n.event.remove(t,i):n.removeEvent(t,i,o.handle);t[s.expando]=void 0}t[r.expando]&&(t[r.expando]=void 0)}}}),n.fn.extend({detach:function(e){return De(this,e,!0)},remove:function(e){return De(this,e)},text:function(e){return p(this,function(e){return void 0===e?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Se(this,e).appendChild(e)})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Se(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(n.cleanData(c(e,!1)),e.textContent="");return this},clone:function(e,t){return e=e!=null&&e,t=t??e,this.map(function(){return n.clone(this,e,t)})},html:function(e){return p(this,function(e){var t=this[0]||{},s=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!St.test(e)&&!l[(Ne.exec(e)||["",""])[1].toLowerCase()]){e=n.htmlPrefilter(e);try{for(;s<o;s++)1===(t=this[s]||{}).nodeType&&(n.cleanData(c(t,!1)),t.innerHTML=e);t=0}catch{}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return A(this,arguments,function(t){var s=this.parentNode;n.inArray(this,e)<0&&(n.cleanData(c(this)),s&&s.replaceChild(t,this))},e)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){n.fn[e]=function(e){for(var o,i=[],a=n(e),r=a.length-1,s=0;s<=r;s++)o=s===r?this:this.clone(!0),n(a[s])[t](o),_e.apply(i,o.get());return this.pushStack(i)}});var me=new RegExp("^("+Re+")(?!px)[a-z%]+$","i"),ne=/^--/,ee=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Pe=function(e,t,n){var s,o,i={};for(s in t)i[s]=e.style[s],e.style[s]=t[s];for(s in o=n.call(e),t)e.style[s]=i[s];return o},Lt=new RegExp(v.join("|"),"i"),Ie=`[\\x20\\t\\r\\n\\f]`,Ft=new RegExp("^"+Ie+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Ie+"+$","g");function V(e,t,s){var o,r,c,l,d=ne.test(t),i=e.style;return(s=s||ee(e))&&(o=s.getPropertyValue(t)||s[t],d&&(o=o.replace(Ft,"$1")),""!==o||E(e)||(o=n.style(e,t)),!a.pixelBoxStyles()&&me.test(o)&&Lt.test(t)&&(r=i.width,c=i.minWidth,l=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=s.width,i.width=r,i.minWidth=c,i.maxWidth=l)),void 0!==o?o+"":o}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function s(){if(t){r.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",_.appendChild(r).appendChild(t);var n=e.getComputedStyle(t),h="1%"!==n.top,u=12===o(n.marginLeft);t.style.right="60%",d=36===o(n.right),m=36===o(n.width),t.style.position="absolute",l=12===o(t.offsetWidth/3),_.removeChild(r),t=null}}function o(e){return Math.round(parseFloat(e))}var c,l,d,u,h,m,r=i.createElement("div"),t=i.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",a.clearCloneStyle="content-box"===t.style.backgroundClip,n.extend(a,{boxSizingReliable:function(){return s(),m},pixelBoxStyles:function(){return s(),d},pixelPosition:function(){return s(),h},reliableMarginLeft:function(){return s(),u},scrollboxSize:function(){return s(),l},reliableTrDimensions:function(){var t,n,s,o;return c==null&&(n=i.createElement("table"),t=i.createElement("tr"),s=i.createElement("div"),n.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",s.style.height="9px",s.style.display="block",_.appendChild(n).appendChild(t).appendChild(s),o=e.getComputedStyle(t),c=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,_.removeChild(n)),c}}))}();var We=["Webkit","Moz","ms"],wt=i.createElement("div").style,Ke={};function ge(e){var t=n.cssProps[e]||Ke[e];return t||(e in wt?e:Ke[e]=function(e){for(var n=e[0].toUpperCase()+e.slice(1),t=We.length;t--;)if((e=We[t]+n)in wt)return e}(e)||e)}var Et=/^(none|table(?!-c[ea]).+)/,xt={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function Qe(e,t,n){var s=P.exec(t);return s?Math.max(0,s[2]-(n||0))+(s[3]||"px"):t}function fe(e,t,s,o,i,a){var r="width"===t?1:0,l=0,c=0;if(s===(o?"border":"content"))return 0;for(;r<4;r+=2)"margin"===s&&(c+=n.css(e,s+v[r],!0,i)),o?("content"===s&&(c-=n.css(e,"padding"+v[r],!0,i)),"margin"!==s&&(c-=n.css(e,"border"+v[r]+"Width",!0,i))):(c+=n.css(e,"padding"+v[r],!0,i),"padding"!==s?c+=n.css(e,"border"+v[r]+"Width",!0,i):l+=n.css(e,"border"+v[r]+"Width",!0,i));return!o&&0<=a&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-l-.5))||0),c}function Je(e,t,s){var i=ee(e),r=(!a.boxSizingReliable()||s)&&"border-box"===n.css(e,"boxSizing",!1,i),c=r,o=V(e,t,i),l="offset"+t[0].toUpperCase()+t.slice(1);if(me.test(o)){if(!s)return o;o="auto"}return(!a.boxSizingReliable()&&r||!a.reliableTrDimensions()&&d(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===n.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===n.css(e,"boxSizing",!1,i),(c=l in e)&&(o=e[l])),(o=parseFloat(o)||0)+fe(e,t,s||(r?"border":"content"),c,i,o)+"px"}function m(e,t,n,s,o){return new m.prototype.init(e,t,n,s,o)}n.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=V(e,"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(e,t,s,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,r,l,d=f(t),u=ne.test(t),c=e.style;if(u||(t=ge(d)),r=n.cssHooks[t]||n.cssHooks[d],void 0===s)return r&&"get"in r&&void 0!==(i=r.get(e,!1,o))?i:c[t];"string"===(l=typeof s)&&(i=P.exec(s))&&i[1]&&(s=Le(e,t,i),l="number"),s!=null&&s==s&&("number"!==l||u||(s+=i&&i[3]||(n.cssNumber[d]?"":"px")),a.clearCloneStyle||""!==s||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(s=r.set(e,s,o))||(u?c.setProperty(t,s):c[t]=s))}},css:function(e,t,s,o){var i,a,r,c=f(t);return ne.test(t)||(t=ge(c)),(r=n.cssHooks[t]||n.cssHooks[c])&&"get"in r&&(i=r.get(e,!0,s)),void 0===i&&(i=V(e,t,o)),"normal"===i&&t in Xe&&(i=Xe[t]),""===s||s?(a=parseFloat(i),!0===s||isFinite(a)?a||0:i):i}}),n.each(["height","width"],function(e,t){n.cssHooks[t]={get:function(e,s,o){if(s)return!Et.test(n.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,o):Pe(e,xt,function(){return Je(e,t,o)})},set:function(e,s,o){var c,i=ee(e),l=!a.scrollboxSize()&&"absolute"===i.position,d=(l||o)&&"border-box"===n.css(e,"boxSizing",!1,i),r=o?fe(e,t,o,d,i):0;return d&&l&&(r-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-fe(e,t,"border",!1,i)-.5)),r&&(c=P.exec(s))&&"px"!==(c[3]||"px")&&(e.style[t]=s,s=n.css(e,t)),Qe(0,s,r)}}}),n.cssHooks.marginLeft=$e(a.reliableMarginLeft,function(e,t){if(t)return(parseFloat(V(e,"marginLeft"))||e.getBoundingClientRect().left-Pe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),n.each({margin:"",padding:"",border:"Width"},function(e,t){n.cssHooks[e+t]={expand:function(n){for(var s=0,i={},o="string"==typeof n?n.split(" "):[n];s<4;s++)i[e+v[s]+t]=o[s]||o[s-2]||o[0];return i}},"margin"!==e&&(n.cssHooks[e+t].set=Qe)}),n.fn.extend({css:function(e,t){return p(this,function(e,t,s){var i,a,r={},o=0;if(Array.isArray(t)){for(i=ee(e),a=t.length;o<a;o++)r[t[o]]=n.css(e,t[o],!1,i);return r}return void 0!==s?n.style(e,t,s):n.css(e,t)},e,t,1<arguments.length)}}),((n.Tween=m).prototype={constructor:m,init:function(e,t,s,o,i,a){this.elem=e,this.prop=s,this.easing=i||n.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=a||(n.cssNumber[s]?"":"px")},cur:function(){var e=m.propHooks[this.prop];return e&&e.get?e.get(this):m.propHooks._default.get(this)},run:function(e){var t,s=m.propHooks[this.prop];return this.options.duration?this.pos=t=n.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),s&&s.set?s.set(this):m.propHooks._default.set(this),this}}).init.prototype=m.prototype,(m.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=n.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){n.fx.step[e.prop]?n.fx.step[e.prop](e):1!==e.elem.nodeType||!n.cssHooks[e.prop]&&null==e.elem.style[ge(e.prop)]?e.elem[e.prop]=e.now:n.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=m.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},n.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},n.fx=m.prototype.init,n.fx.step={},_t=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function oe(){J&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(oe):e.setTimeout(oe,n.fx.interval),n.fx.tick())}function ct(){return e.setTimeout(function(){z=void 0}),z=Date.now()}function te(e,t){var o,s=0,n={height:e};for(t=t?1:0;s<4;s+=2-t)n["margin"+(o=v[s])]=n["padding"+o]=e;return t&&(n.opacity=n.width=e),n}function dt(e,t,n){for(var o,i=(u.tweeners[t]||[]).concat(u.tweeners["*"]),s=0,a=i.length;s<a;s++)if(o=i[s].call(n,t,e))return o}function u(e,t,s){var r,c,l=0,m=u.prefilters.length,a=n.Deferred().always(function(){delete h.elem}),h=function(){if(c)return!1;for(var r=z||ct(),t=Math.max(0,i.startTime+i.duration-r),n=1-(t/i.duration||0),s=0,o=i.tweens.length;s<o;s++)i.tweens[s].run(n);return a.notifyWith(e,[i,n,t]),n<1&&o?t:(o||a.notifyWith(e,[i,1,0]),a.resolveWith(e,[i]),!1)},i=a.promise({elem:e,props:n.extend({},t),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},s),originalProperties:t,originalOptions:s,startTime:z||ct(),duration:s.duration,tweens:[],createTween:function(t,s){var o=n.Tween(e,i.opts,t,s,i.opts.specialEasing[t]||i.opts.easing);return i.tweens.push(o),o},stop:function(t){var n=0,s=t?i.tweens.length:0;if(c)return this;for(c=!0;n<s;n++)i.tweens[n].run(1);return t?(a.notifyWith(e,[i,1,0]),a.resolveWith(e,[i,t])):a.rejectWith(e,[i,t]),this}}),d=i.props;for(!function(e,t){var s,o,i,a,r;for(s in e)if(a=t[i=f(s)],o=e[s],Array.isArray(o)&&(a=o[1],o=e[s]=o[0]),s!==i&&(e[i]=o,delete e[s]),(r=n.cssHooks[i])&&"expand"in r)for(s in o=r.expand(o),delete e[i],o)s in e||(e[s]=o[s],t[s]=a);else t[i]=a}(d,i.opts.specialEasing);l<m;l++)if(r=u.prefilters[l].call(i,e,d,i.opts))return o(r.stop)&&(n._queueHooks(i.elem,i.opts.queue).stop=r.stop.bind(r)),r;return n.map(d,dt,i),o(i.opts.start)&&i.opts.start.call(e,i),i.progress(i.opts.progress).done(i.opts.done,i.opts.complete).fail(i.opts.fail).always(i.opts.always),n.fx.timer(n.extend(h,{elem:e,anim:i,queue:i.opts.queue})),i}n.Animation=n.extend(u,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Le(n.elem,e,P.exec(t),n),n}]},tweener:function(e,t){o(e)?(t=e,e=["*"]):e=e.match(h);for(var n,s=0,i=e.length;s<i;s++)n=e[s],u.tweeners[n]=u.tweeners[n]||[],u.tweeners[n].unshift(t)},prefilters:[function(e,t,o){var i,r,l,d,u,p,g,v,b="width"in t||"height"in t,m=this,f={},c=e.style,h=e.nodeType&&$(e),a=s.get(e,"fxshow");for(i in o.queue||(null==(d=n._queueHooks(e,"fx")).unqueued&&(d.unqueued=0,v=d.empty.fire,d.empty.fire=function(){d.unqueued||v()}),d.unqueued++,m.always(function(){m.always(function(){d.unqueued--,n.queue(e,"fx").length||d.empty.fire()})})),t)if(p=t[i],_t.test(p)){if(delete t[i],g=g||"toggle"===p,p===(h?"hide":"show")){if("show"!==p||!a||void 0===a[i])continue;h=!0}f[i]=a&&a[i]||n.style(e,i)}if((l=!n.isEmptyObject(t))||!n.isEmptyObject(f))for(i in b&&1===e.nodeType&&(o.overflow=[c.overflow,c.overflowX,c.overflowY],null==(r=a&&a.display)&&(r=s.get(e,"display")),"none"===(u=n.css(e,"display"))&&(r?u=r:(C([e],!0),r=e.style.display||r,u=n.css(e,"display"),C([e]))),("inline"===u||"inline-block"===u&&r!=null)&&"none"===n.css(e,"float")&&(l||(m.done(function(){c.display=r}),r==null&&(u=c.display,r="none"===u?"":u)),c.display="inline-block")),o.overflow&&(c.overflow="hidden",m.always(function(){c.overflow=o.overflow[0],c.overflowX=o.overflow[1],c.overflowY=o.overflow[2]})),l=!1,f)l||(a?"hidden"in a&&(h=a.hidden):a=s.access(e,"fxshow",{display:r}),g&&(a.hidden=!h),h&&C([e],!0),m.done(function(){for(i in h||C([e]),s.remove(e,"fxshow"),f)n.style(e,i,f[i])})),l=dt(h?a[i]:0,i,m),i in a||(a[i]=l.start,h&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?u.prefilters.unshift(e):u.prefilters.push(e)}}),n.speed=function(e,t,s){var i=e&&"object"==typeof e?n.extend({},e):{complete:s||!s&&t||o(e)&&e,duration:e,easing:s&&t||t&&!o(t)&&t};return n.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in n.fx.speeds?i.duration=n.fx.speeds[i.duration]:i.duration=n.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){o(i.old)&&i.old.call(this),i.queue&&n.dequeue(this,i.queue)},i},n.fn.extend({fadeTo:function(e,t,n,s){return this.filter($).css("opacity",0).show().end().animate({opacity:t},e,n,s)},animate:function(e,t,o,i){var c=n.isEmptyObject(e),r=n.speed(t,o,i),a=function(){var t=u(this,n.extend({},e),r);(c||s.get(this,"finish"))&&t.stop(!0)};return a.finish=a,c||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,o){var i=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof e&&(o=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var c=!0,t=e!=null&&e+"queueHooks",r=n.timers,a=s.get(this);if(t)a[t]&&a[t].stop&&i(a[t]);else for(t in a)a[t]&&a[t].stop&&at.test(t)&&i(a[t]);for(t=r.length;t--;)r[t].elem!==this||e!=null&&r[t].queue!==e||(r[t].anim.stop(o),c=!1,r.splice(t,1));!c&&o||n.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,a=s.get(this),o=a[e+"queue"],r=a[e+"queueHooks"],i=n.timers,c=o?o.length:0;for(a.finish=!0,n.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<c;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete a.finish})}}),n.each(["toggle","show","hide"],function(e,t){var s=n.fn[t];n.fn[t]=function(e,n,o){return e==null||"boolean"==typeof e?s.apply(this,arguments):this.animate(te(t,!0),e,n,o)}}),n.each({slideDown:te("show"),slideUp:te("hide"),slideToggle:te("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){n.fn[e]=function(e,n,s){return this.animate(t,e,n,s)}}),n.timers=[],n.fx.tick=function(){var s,e=0,t=n.timers;for(z=Date.now();e<t.length;e++)(s=t[e])()||t[e]!==s||t.splice(e--,1);t.length||n.fx.stop(),z=void 0},n.fx.timer=function(e){n.timers.push(e),n.fx.start()},n.fx.interval=13,n.fx.start=function(){J||(J=!0,oe())},n.fx.stop=function(){J=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(t,s){return t=n.fx&&n.fx.speeds[t]||t,s=s||"fx",this.queue(s,function(n,s){var o=e.setTimeout(n,t);s.stop=function(){e.clearTimeout(o)}})},S=i.createElement("input"),ot=i.createElement("select").appendChild(i.createElement("option")),S.type="checkbox",a.checkOn=""!==S.value,a.optSelected=ot.selected,(S=i.createElement("input")).value="t",S.type="radio",a.radioValue="t"===S.value,N=n.expr.attrHandle,n.fn.extend({attr:function(e,t){return p(this,n.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){n.removeAttr(this,e)})}}),n.extend({attr:function(e,t,s){var o,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?n.prop(e,t,s):(1===a&&n.isXMLDoc(e)||(o=n.attrHooks[t.toLowerCase()]||(n.expr.match.bool.test(t)?Ot:void 0)),void 0!==s?null===s?void n.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,s,t))?i:(e.setAttribute(t,s+""),s):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=n.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!a.radioValue&&"radio"===t&&d(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,s=t&&t.match(h);if(s&&1===e.nodeType)for(;n=s[o++];)e.removeAttribute(n)}}),Ot={set:function(e,t,s){return!1===t?n.removeAttr(e,s):e.setAttribute(s,s),s}},n.each(n.expr.match.bool.source.match(/\w+/g),function(e,t){var s=N[t]||n.find.attr;N[t]=function(e,t,n){var i,a,o=t.toLowerCase();return n||(a=N[o],N[o]=i,i=null!=s(e,t,n)?o:null,N[o]=a),i}}),ft=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function y(e){return(e.match(h)||[]).join(" ")}function w(e){return e.getAttribute&&e.getAttribute("class")||""}function we(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(h)||[]}n.fn.extend({prop:function(e,t){return p(this,n.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[n.propFix[e]||e]})}}),n.extend({prop:function(e,t,s){var o,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&n.isXMLDoc(e)||(t=n.propFix[t]||t,o=n.propHooks[t]),void 0!==s?o&&"set"in o&&void 0!==(i=o.set(e,s,t))?i:e[t]=s:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=n.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),a.optSelected||(n.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),n.fn.extend({addClass:function(e){var t,s,i,a,r,c;return o(e)?this.each(function(t){n(this).addClass(e.call(this,t,w(this)))}):(i=we(e)).length?this.each(function(){if(a=w(this),t=1===this.nodeType&&" "+y(a)+" "){for(s=0;s<i.length;s++)r=i[s],t.indexOf(" "+r+" ")<0&&(t+=r+" ");c=y(t),a!==c&&this.setAttribute("class",c)}}):this},removeClass:function(e){var t,s,i,a,r,c;return o(e)?this.each(function(t){n(this).removeClass(e.call(this,t,w(this)))}):arguments.length?(i=we(e)).length?this.each(function(){if(a=w(this),t=1===this.nodeType&&" "+y(a)+" "){for(s=0;s<i.length;s++)for(r=i[s];-1<t.indexOf(" "+r+" ");)t=t.replace(" "+r+" "," ");c=y(t),a!==c&&this.setAttribute("class",c)}}):this:this.attr("class","")},toggleClass:function(e,t){var i,a,r,c,l=typeof e,d="string"===l||Array.isArray(e);return o(e)?this.each(function(s){n(this).toggleClass(e.call(this,s,w(this),t),t)}):"boolean"==typeof t&&d?t?this.addClass(e):this.removeClass(e):(c=we(e),this.each(function(){if(d)for(r=n(this),a=0;a<c.length;a++)i=c[a],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==e&&"boolean"!==l||((i=w(this))&&s.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":s.get(this,"__className__")||""))}))},hasClass:function(e){for(var t,s=0,n=" "+e+" ";t=this[s++];)if(1===t.nodeType&&-1<(" "+y(w(t))+" ").indexOf(n))return!0;return!1}}),jt=/\r/g,n.fn.extend({val:function(e){var t,s,a,i=this[0];return arguments.length?(a=o(e),this.each(function(s){var o;1===this.nodeType&&(null==(o=a?e.call(this,s,n(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=n.map(o,function(e){return e==null?"":e+""})),(t=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):i?(t=n.valHooks[i.type]||n.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(s=t.get(i,"value"))?s:"string"==typeof(s=i.value)?s.replace(jt,""):s??"":void 0}}),n.extend({valHooks:{option:{get:function(e){var t=n.find.attr(e,"value");return t??y(n.text(e))}},select:{get:function(e){var t,s,a,r=e.options,o=e.selectedIndex,i="select-one"===e.type,c=i?null:[],l=i?o+1:r.length;for(s=o<0?l:i?o:0;s<l;s++)if(((t=r[s]).selected||s===o)&&!t.disabled&&(!t.parentNode.disabled||!d(t.parentNode,"optgroup"))){if(a=n(t).val(),i)return a;c.push(a)}return c},set:function(e,t){for(var s,o,i=e.options,a=n.makeArray(t),r=i.length;r--;)((o=i[r]).selected=-1<n.inArray(n.valHooks.option.get(o),a))&&(s=!0);return s||(e.selectedIndex=-1),a}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<n.inArray(n(e).val(),t)}},a.checkOn||(n.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),a.focusin="onfocusin"in e,Oe=/^(?:focusinfocus|focusoutblur)$/,le=function(e){e.stopPropagation()},n.extend(n.event,{trigger:function(t,a,r,c){var d,u,h,m,f,p,b,j,g=[r||i],l=X.call(t,"type")?t.type:t,v=X.call(t,"namespace")?t.namespace.split("."):[];if(d=p=h=r=r||i,3!==r.nodeType&&8!==r.nodeType&&!Oe.test(l+n.event.triggered)&&(-1<l.indexOf(".")&&(l=(v=l.split(".")).shift(),v.sort()),m=l.indexOf(":")<0&&"on"+l,(t=t[n.expando]?t:new n.Event(l,"object"==typeof t&&t)).isTrigger=c?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),a=a==null?[t]:n.makeArray(a,[t]),u=n.event.special[l]||{},c||!u.trigger||!1!==u.trigger.apply(r,a))){if(!c&&!u.noBubble&&!O(r)){for(j=u.delegateType||l,Oe.test(j+l)||(d=d.parentNode);d;d=d.parentNode)g.push(d),h=d;h===(r.ownerDocument||i)&&g.push(h.defaultView||h.parentWindow||e)}for(b=0;(d=g[b++])&&!t.isPropagationStopped();)p=d,t.type=1<b?j:u.bindType||l,(f=(s.get(d,"events")||Object.create(null))[t.type]&&s.get(d,"handle"))&&f.apply(d,a),(f=m&&d[m])&&f.apply&&T(d)&&(t.result=f.apply(d,a),!1===t.result&&t.preventDefault());return t.type=l,c||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(g.pop(),a)||!T(r)||m&&o(r[l])&&!O(r)&&((h=r[m])&&(r[m]=null),n.event.triggered=l,t.isPropagationStopped()&&p.addEventListener(l,le),r[l](),t.isPropagationStopped()&&p.removeEventListener(l,le),n.event.triggered=void 0,h&&(r[m]=h)),t.result}},simulate:function(e,t,s){var o=n.extend(new n.Event,s,{type:e,isSimulated:!0});n.event.trigger(o,null,t)}}),n.fn.extend({trigger:function(e,t){return this.each(function(){n.event.trigger(e,t,this)})},triggerHandler:function(e,t){var s=this[0];if(s)return n.event.trigger(e,t,s,!0)}}),a.focusin||n.each({focus:"focusin",blur:"focusout"},function(e,t){var o=function(e){n.event.simulate(t,e.target,n.event.fix(e))};n.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=s.access(n,t);i||n.addEventListener(e,o,!0),s.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=s.access(n,t)-1;i?s.access(n,t,i):(n.removeEventListener(e,o,!0),s.remove(n,t))}}});var B=e.location,ht={guid:Date.now()},pe=/\?/;n.parseXML=function(t){var s,o;if(!t||"string"!=typeof t)return null;try{s=(new e.DOMParser).parseFromString(t,"text/xml")}catch{}return o=s&&s.getElementsByTagName("parsererror")[0],s&&!o||n.error("Invalid XML: "+(o?n.map(o.childNodes,function(e){return e.textContent}).join(`
`):t)),s};var Ct=/\[\]$/,Ye=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function ue(e,t,s,o){var i;if(Array.isArray(t))n.each(t,function(t,n){s||Ct.test(e)?o(e,n):ue(e+"["+("object"==typeof n&&n!=null?t:"")+"]",n,s,o)});else if(s||"object"!==M(t))o(e,t);else for(i in t)ue(e+"["+i+"]",t[i],s,o)}n.param=function(e,t){var s,i=[],a=function(e,t){var n=o(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(n??"")};if(e==null)return"";if(Array.isArray(e)||e.jquery&&!n.isPlainObject(e))n.each(e,function(){a(this.name,this.value)});else for(s in e)ue(s,e[s],t,a);return i.join("&")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=n.prop(this,"elements");return e?n.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!n(this).is(":disabled")&&At.test(this.nodeName)&&!kt.test(e)&&(this.checked||!I.test(e))}).map(function(e,t){var s=n(this).val();return s==null?null:Array.isArray(s)?n.map(s,function(e){return{name:t.name,value:e.replace(Ye,`
`)}}):{name:t.name,value:s.replace(Ye,`
`)}}).get()}});var Mt=/%20/g,Xt=/#.*$/,Tt=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Nt=/^\/\//,He={},be={},Me="*/".concat("*"),je=i.createElement("a");function ke(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var s,i=0,a=t.toLowerCase().match(h)||[];if(o(n))for(;s=a[i++];)"+"===s[0]?(s=s.slice(1)||"*",(e[s]=e[s]||[]).unshift(n)):(e[s]=e[s]||[]).push(n)}}function Ee(e,t,s,o){var i={},r=e===be;function a(c){var l;return i[c]=!0,n.each(e[c]||[],function(e,n){var c=n(t,s,o);return"string"!=typeof c||r||i[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function ie(e,t){var s,o,i=n.ajaxSettings.flatOptions||{};for(s in t)void 0!==t[s]&&((i[s]?e:o||(o={}))[s]=t[s]);return o&&n.extend(!0,e,o),e}return je.href=B.href,n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:B.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(B.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,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":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,n.ajaxSettings),t):ie(n.ajaxSettings,e)},ajaxPrefilter:ke(He),ajaxTransport:ke(be),ajax:function(t,s){"object"==typeof t&&(s=t,t=void 0),s=s||{};var r,c,d,u,m,p,g,b,_,w,o=n.ajaxSetup({},s),l=o.context||o,y=o.context&&(l.nodeType||l.jquery)?n(l):n.event,j=n.Deferred(),E=n.Callbacks("once memory"),v=o.statusCode||{},C={},O={},x="canceled",a={readyState:0,getResponseHeader:function(e){if(c){if(!u){u={};for(var t;t=zt.exec(w);)u[t[1].toLowerCase()+" "]=(u[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=u[e.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return c?w:null},setRequestHeader:function(e,t){return c==null&&(e=O[e.toLowerCase()]=O[e.toLowerCase()]||e,C[e]=t),this},overrideMimeType:function(e){return c==null&&(o.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)a.always(e[a.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||x;return m&&m.abort(t),f(0,t),this}};if(j.promise(a),o.url=((t||o.url||B.href)+"").replace(Nt,B.protocol+"//"),o.type=s.method||s.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(h)||[""],null==o.crossDomain){d=i.createElement("a");try{d.href=o.url,d.href=d.href,o.crossDomain=je.protocol+"//"+je.host!=d.protocol+"//"+d.host}catch{o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=n.param(o.data,o.traditional)),Ee(He,o,s,a),c)return a;for(b in(g=n.event&&o.global)&&0==n.active++&&n.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Dt.test(o.type),r=o.url.replace(Xt,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(Mt,"+")):(p=o.url.slice(r.length),o.data&&(o.processData||"string"==typeof o.data)&&(r+=(pe.test(r)?"&":"?")+o.data,delete o.data),!1===o.cache&&(r=r.replace(Tt,"$1"),p=(pe.test(r)?"&":"?")+"_="+ht.guid+++p),o.url=r+p),o.ifModified&&(n.lastModified[r]&&a.setRequestHeader("If-Modified-Since",n.lastModified[r]),n.etag[r]&&a.setRequestHeader("If-None-Match",n.etag[r])),(o.data&&o.hasContent&&!1!==o.contentType||s.contentType)&&a.setRequestHeader("Content-Type",o.contentType),a.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Me+"; q=0.01":""):o.accepts["*"]),o.headers)a.setRequestHeader(b,o.headers[b]);if(o.beforeSend&&(!1===o.beforeSend.call(l,a,o)||c))return a.abort();if(x="abort",E.add(o.complete),a.done(o.success),a.fail(o.error),m=Ee(be,o,s,a)){if(a.readyState=1,g&&y.trigger("ajaxSend",[a,o]),c)return a;o.async&&0<o.timeout&&(_=e.setTimeout(function(){a.abort("timeout")},o.timeout));try{c=!1,m.send(C,f)}catch(e){if(c)throw e;f(-1,e)}}else f(-1,"No Transport");function f(t,s,i,d){var h,f,p,b,O,u=s;c||(c=!0,_&&e.clearTimeout(_),m=void 0,w=d||"",a.readyState=0<t?4:0,h=200<=t&&t<300||304===t,i&&(f=function(e,t,n){for(var o,i,a,r,c=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===a&&(a=e.mimeType||t.getResponseHeader("Content-Type"));if(a)for(o in c)if(c[o]&&c[o].test(a)){s.unshift(o);break}if(s[0]in n)i=s[0];else{for(o in n){if(!s[0]||e.converters[o+" "+s[0]]){i=o;break}r||(r=o)}i=i||r}if(i)return i!==s[0]&&s.unshift(i),n[i]}(o,a,i)),!h&&-1<n.inArray("script",o.dataTypes)&&n.inArray("json",o.dataTypes)<0&&(o.converters["text script"]=function(){}),f=function(e,t,n,s){var o,i,a,c,l,r={},d=e.dataTypes.slice();if(d[1])for(i in e.converters)r[i.toLowerCase()]=e.converters[i];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!a&&s&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=o,o=d.shift())if("*"===o)o=a;else if("*"!==a&&a!==o){if(!(i=r[a+" "+o]||r["* "+o]))for(l in r)if((c=l.split(" "))[1]===o&&(i=r[a+" "+c[0]]||r["* "+c[0]])){!0===i?i=r[l]:!0!==r[l]&&(o=c[0],d.unshift(c[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+a+" to "+o}}}return{state:"success",data:t}}(o,f,a,h),h?(o.ifModified&&((b=a.getResponseHeader("Last-Modified"))&&(n.lastModified[r]=b),(b=a.getResponseHeader("etag"))&&(n.etag[r]=b)),204===t||"HEAD"===o.type?u="nocontent":304===t?u="notmodified":(u=f.state,O=f.data,h=!(p=f.error))):(p=u,!t&&u||(u="error",t<0&&(t=0))),a.status=t,a.statusText=(s||u)+"",h?j.resolveWith(l,[O,u,a]):j.rejectWith(l,[a,u,p]),a.statusCode(v),v=void 0,g&&y.trigger(h?"ajaxSuccess":"ajaxError",[a,o,h?O:p]),E.fireWith(l,[a,u]),g&&(y.trigger("ajaxComplete",[a,o]),--n.active||n.event.trigger("ajaxStop")))}return a},getJSON:function(e,t,s){return n.get(e,t,s,"json")},getScript:function(e,t){return n.get(e,void 0,t,"script")}}),n.each(["get","post"],function(e,t){n[t]=function(e,s,i,a){return o(s)&&(a=a||i,i=s,s=void 0),n.ajax(n.extend({url:e,type:t,dataType:a,data:s,success:i},n.isPlainObject(e)&&e))}}),n.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),n._evalUrl=function(e,t,s){return n.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){n.globalEval(e,t,s)}})},n.fn.extend({wrapAll:function(e){var t;return this[0]&&(o(e)&&(e=e.call(this[0])),t=n(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return o(e)?this.each(function(t){n(this).wrapInner(e.call(this,t))}):this.each(function(){var t=n(this),s=t.contents();s.length?s.wrapAll(e):t.append(e)})},wrap:function(e){var t=o(e);return this.each(function(s){n(this).wrapAll(t?e.call(this,s):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){n(this).replaceWith(this.childNodes)}),this}}),n.expr.pseudos.hidden=function(e){return!n.expr.pseudos.visible(e)},n.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},n.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}},Ue={0:200,1223:204},R=n.ajaxSettings.xhr(),a.cors=!!R&&"withCredentials"in R,a.ajax=R=!!R,n.ajaxTransport(function(t){var n,s;if(a.cors||R&&!t.crossDomain)return{send:function(o,i){var r,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)a[r]=t.xhrFields[r];for(r in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(r,o[r]);n=function(e){return function(){n&&(n=s=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Ue[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),s=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=s:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&s()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),n.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return n.globalEval(e),e}}}),n.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),n.ajaxTransport("script",function(e){var t,s;if(e.crossDomain||e.scriptAttrs)return{send:function(o,a){s=n("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",t=function(e){s.remove(),t=null,e&&a("error"===e.type?404:200,e.type)}),i.head.appendChild(s[0])},abort:function(){t&&t()}}}),xe=[],K=/(=)\?(?=&|$)|\?\?/,n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=xe.pop()||n.expando+"_"+ht.guid++;return this[e]=!0,e}}),n.ajaxPrefilter("json jsonp",function(t,s,i){var a,r,c,l=!1!==t.jsonp&&(K.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&K.test(t.data)&&"data");if(l||"jsonp"===t.dataTypes[0])return a=t.jsonpCallback=o(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,l?t[l]=t[l].replace(K,"$1"+a):!1!==t.jsonp&&(t.url+=(pe.test(t.url)?"&":"?")+t.jsonp+"="+a),t.converters["script json"]=function(){return c||n.error(a+" was not called"),c[0]},t.dataTypes[0]="json",r=e[a],e[a]=function(){c=arguments},i.always(function(){void 0===r?n(e).removeProp(a):e[a]=r,t[a]&&(t.jsonpCallback=s.jsonpCallback,xe.push(a)),c&&o(r)&&r(c[0]),c=r=void 0}),"script"}),a.createHTMLDocument=((qe=i.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qe.childNodes.length),n.parseHTML=function(e,t,s){return"string"!=typeof e?[]:("boolean"==typeof t&&(s=t,t=!1),t||(a.createHTMLDocument?((c=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(c)):t=i),o=!s&&[],(r=se.exec(e))?[t.createElement(r[1])]:(r=Ae([e],t,o),o&&o.length&&n(o).remove(),n.merge([],r.childNodes)));var o,r,c},n.fn.load=function(e,t,s){var i,c,l,a=this,r=e.indexOf(" ");return-1<r&&(i=y(e.slice(r)),e=e.slice(0,r)),o(t)?(s=t,t=void 0):t&&"object"==typeof t&&(c="POST"),0<a.length&&n.ajax({url:e,type:c||"GET",dataType:"html",data:t}).done(function(e){l=arguments,a.html(i?n("<div>").append(n.parseHTML(e)).find(i):e)}).always(s&&function(e,t){a.each(function(){s.apply(this,l||[e.responseText,t,e])})}),this},n.expr.pseudos.animated=function(e){return n.grep(n.timers,function(t){return e===t.elem}).length},n.offset={setOffset:function(e,t,s){var a,c,l,d,h,m,r=n.css(e,"position"),u=n(e),i={};"static"===r&&(e.style.position="relative"),a=u.offset(),h=n.css(e,"top"),d=n.css(e,"left"),("absolute"===r||"fixed"===r)&&-1<(h+d).indexOf("auto")?(l=(m=u.position()).top,c=m.left):(l=parseFloat(h)||0,c=parseFloat(d)||0),o(t)&&(t=t.call(e,s,n.extend({},a))),null!=t.top&&(i.top=t.top-a.top+l),null!=t.left&&(i.left=t.left-a.left+c),"using"in t?t.using.call(e,i):u.css(i)}},n.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){n.offset.setOffset(this,e,t)});var s,o,t=this[0];return t?t.getClientRects().length?(s=t.getBoundingClientRect(),o=t.ownerDocument.defaultView,{top:s.top+o.pageYOffset,left:s.left+o.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,s,o,t=this[0],i={top:0,left:0};if("fixed"===n.css(t,"position"))s=t.getBoundingClientRect();else{for(s=this.offset(),o=t.ownerDocument,e=t.offsetParent||o.documentElement;e&&(e===o.body||e===o.documentElement)&&"static"===n.css(e,"position");)e=e.parentNode;e&&e!==t&&1===e.nodeType&&((i=n(e).offset()).top+=n.css(e,"borderTopWidth",!0),i.left+=n.css(e,"borderLeftWidth",!0))}return{top:s.top-i.top-n.css(t,"marginTop",!0),left:s.left-i.left-n.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===n.css(e,"position");)e=e.offsetParent;return e||_})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var s="pageYOffset"===t;n.fn[e]=function(n){return p(this,function(e,n,o){var i;if(O(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(s?i.pageXOffset:o,s?o:i.pageYOffset):e[n]=o},e,n,arguments.length)}}),n.each(["top","left"],function(e,t){n.cssHooks[t]=$e(a.pixelPosition,function(e,s){if(s)return s=V(e,t),me.test(s)?n(e).position()[t]+"px":s})}),n.each({Height:"height",Width:"width"},function(e,t){n.each({padding:"inner"+e,content:t,"":"outer"+e},function(s,o){n.fn[o]=function(i,a){var r=arguments.length&&(s||"boolean"!=typeof i),c=s||(!0===i||!0===a?"margin":"border");return p(this,function(t,s,i){var a;return O(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===i?n.css(t,s,c):n.style(t,s,i,c)},t,r?i:void 0,r)}})}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){n.fn[t]=function(e){return this.on(t,e)}}),n.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,s){return this.on(t,e,n,s)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),n.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){n.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),ut=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g,n.proxy=function(e,t){var s,i,a;if("string"==typeof t&&(s=e[t],t=e,e=s),o(e))return i=j.call(arguments,2),(a=function(){return e.apply(t||this,i.concat(j.call(arguments)))}).guid=e.guid=e.guid||n.guid++,a},n.holdReady=function(e){e?n.readyWait++:n.ready(!0)},n.isArray=Array.isArray,n.parseJSON=JSON.parse,n.nodeName=d,n.isFunction=o,n.isWindow=O,n.camelCase=f,n.type=M,n.now=Date.now,n.isNumeric=function(e){var t=n.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},n.trim=function(e){return e==null?"":(e+"").replace(ut,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return n}),mt=e.jQuery,Be=e.$,n.noConflict=function(t){return e.$===n&&(e.$=Be),t&&e.jQuery===n&&(e.jQuery=mt),n},"undefined"==typeof t&&(e.jQuery=e.$=n),n}),function(e){typeof define=="function"&&define.amd?define(["jquery"],e):e(typeof exports=="object"?require("jquery"):window.jQuery||window.Zepto)}(function(e){var t,i,a,r,u,g,b,j,y,_,w,x,k,T,z,P,I,V,c="Close",B="BeforeClose",$="AfterClose",U="BeforeAppend",D="MarkupParse",N="Open",H="Change",F="mfp",o="."+F,v="mfp-ready",R="mfp-removing",S="mfp-prevent-close",p=function(){},A=!!window.jQuery,l=e(window),s=function(e,n){t.ev.on(F+e+o,n)},h=function(t,n,s,o){var i=document.createElement("div");return i.className="mfp-"+t,s&&(i.innerHTML=s),o?n&&n.appendChild(i):(i=e(i),n&&i.appendTo(n)),i},n=function(n,s){t.ev.triggerHandler(F+n,s),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(s)?s:[s]))},C=function(n){return(n!==V||!t.currTemplate.closeBtn)&&(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace(/%title%/g,t.st.tClose)),V=n),t.currTemplate.closeBtn},E=function(){e.magnificPopup.instance||(t=new p,t.init(),e.magnificPopup.instance=t)},K=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(e.transition!==void 0)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};p.prototype={constructor:p,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=K(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),i=e(document),t.popupsCache={}},open:function(a){if(a.isObj===!1){{t.items=a.items.toArray(),t.index=0;var c,d,u,m,f,p,g,b,j=a.items;for(c=0;c<j.length;c++)if(d=j[c],d.parsed&&(d=d.el[0]),d===a.el[0]){t.index=c;break}}}else t.items=e.isArray(a.items)?a.items:[a.items],t.index=a.index||0;if(t.isOpen){t.updateItemHTML();return}t.types=[],r="",a.mainEl&&a.mainEl.length?t.ev=a.mainEl.eq(0):t.ev=i,a.key?(t.popupsCache[a.key]||(t.popupsCache[a.key]={}),t.currTemplate=t.popupsCache[a.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,a),t.fixedContentPos=t.st.fixedContentPos==="auto"?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=h("bg").on("click"+o,function(){t.close()}),t.wrap=h("wrap").attr("tabindex",-1).on("click"+o,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=h("container",t.wrap)),t.contentContainer=h("content"),t.st.preloader&&(t.preloader=h("preloader",t.container,t.st.tLoading)),g=e.magnificPopup.modules;for(c=0;c<g.length;c++)u=g[c],u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t);return n("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(s(D,function(e,t,n,s){n.close_replaceWith=C(s.type)}),r+=" mfp-close-btn-in"):t.wrap.append(C())),t.st.alignTop&&(r+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:l.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||t.st.fixedBgPos==="auto"&&!t.fixedContentPos)&&t.bgOverlay.css({height:i.height(),position:"absolute"}),t.st.enableEscapeKey&&i.on("keyup"+o,function(e){e.keyCode===27&&t.close()}),l.on("resize"+o,function(){t.updateSize()}),t.st.closeOnContentClick||(r+=" mfp-auto-cursor"),r&&t.wrap.addClass(r),b=t.wH=l.height(),m={},t.fixedContentPos&&t._hasScrollBar(b)&&(p=t._getScrollbarSize(),p&&(m.marginRight=p)),t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):m.overflow="hidden"),f=t.st.mainClass,t.isIE7&&(f+=" mfp-ie7"),f&&t._addClassToMFP(f),t.updateItemHTML(),n("BuildControls"),e("html").css(m),t._ariaHiddenElements=e("body").children(),e(t._ariaHiddenElements).each(function(){e(this).attr("data-aria-hidden",e(this).attr("aria-hidden")),e(this).attr("aria-hidden","true")}),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),i.on("focusin"+o,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(b),n(N),a},close:function(){if(!t.isOpen)return;n(B),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(R),setTimeout(function(){t._close()},t.st.removalDelay)):t._close()},_close:function(){n(c);var s,a=R+" "+v+" ";t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(a+=t.st.mainClass+" "),t._removeClassFromMFP(a),t.fixedContentPos&&(s={marginRight:""},t.isIE7?e("body, html").css("overflow",""):s.overflow="",e("html").css(s)),i.off("keyup"+o+" focusin"+o),t.ev.off(o),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),e(t._ariaHiddenElements).each(function(){typeof e(this).attr("data-aria-hidden")=="undefined"?e(this).removeAttr("aria-hidden"):e(this).attr("aria-hidden",e(this).attr("data-aria-hidden")),e(this).removeAttr("data-aria-hidden")}),t._ariaHiddenElements=[],t.st.showCloseBtn&&(!t.st.closeBtnInside||t.currTemplate[t.currItem.type]===!0)&&t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,n($)},updateSize:function(e){if(t.isIOS){var o=document.documentElement.clientWidth/window.innerWidth,s=window.innerHeight*o;t.wrap.css("height",s),t.wH=s}else t.wH=e||l.height();t.fixedContentPos||t.wrap.css("height",t.wH),n("Resize")},updateItemHTML:function(){var s,i,a,o=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),o.parsed||(o=t.parseEl(t.index)),s=o.type,n("BeforeChange",[t.currItem?t.currItem.type:"",s]),t.currItem=o,t.currTemplate[s]||(i=!!t.st[s]&&t.st[s].markup,n("FirstMarkupParse",i),i?t.currTemplate[s]=e(i):t.currTemplate[s]=!0),j&&j!==o.type&&t.container.removeClass("mfp-"+j+"-holder"),a=t["get"+s.charAt(0).toUpperCase()+s.slice(1)](o,t.currTemplate[s]),t.appendContent(a,s),o.preloaded=!0,n(H,o),j=o.type,t.container.prepend(t.contentContainer),n("AfterChange")},appendContent:function(e,s){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[s]===!0?t.content.find(".mfp-close").length||t.content.append(C()):t.content=e:t.content="",n(U),t.container.addClass("mfp-"+s+"-holder"),t.contentContainer.append(t.content)},parseEl:function(s){var i,a,r,o=t.items[s];if(o.tagName?o={el:e(o)}:(r=o.type,o={data:o,src:o.src}),o.el){a=t.types;for(i=0;i<a.length;i++)if(o.el.hasClass("mfp-"+a[i])){r=a[i];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=r||t.st.type||"inline",o.index=s,o.parsed=!0,t.items[s]=o,n("ElementParse",o),t.items[s]},addGroup:function(e,n){var s,o=function(s){s.mfpEl=this,t._openClick(s,e,n)};n||(n={}),s="click.magnificPopup",n.mainEl=e,n.items?(n.isObj=!0,e.off(s).on(s,o)):(n.isObj=!1,n.delegate?e.off(s).on(s,n.delegate,o):(n.items=e,e.off(s).on(s,o)))},_openClick:function(n,s,o){var i,a=o.midClick!==void 0?o.midClick:e.magnificPopup.defaults.midClick;if(!a&&(n.which===2||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey))return;if(i=o.disableOn!==void 0?o.disableOn:e.magnificPopup.defaults.disableOn,i)if(e.isFunction(i)){if(!i.call(t))return!0}else if(l.width()<i)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=s.find(o.delegate)),t.open(o)},updateStatus:function(e,s){if(t.preloader){x!==e&&t.container.removeClass("mfp-s-"+x),!s&&e==="loading"&&(s=t.st.tLoading);var o={status:e,text:s};n("UpdateStatus",o),e=o.status,s=o.text,t.preloader.html(s),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),x=e}},_checkIfClose:function(n){if(e(n).closest("."+S).length)return;var s=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(s&&o)return!0;if(!t.content||e(n).closest(".mfp-close").length||t.preloader&&n===t.preloader[0])return!0;if(n!==t.content[0]&&!e.contains(t.content[0],n)){if(o&&e.contains(document,n))return!0}else if(s)return!0;return!1},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?i.height():document.body.scrollHeight)>(e||l.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,s,i){var a;i.data&&(s=e.extend(i.data,s)),n(D,[t,s,i]),e.each(s,function(n,s){if(s===void 0||s===!1)return!0;if(a=n.split("_"),a.length>1){var r,i=t.find(o+"-"+a[0]);i.length>0&&(r=a[1],r==="replaceWith"?i[0]!==s[0]&&i.replaceWith(s):r==="img"?i.is("img")?i.attr("src",s):i.replaceWith(e("<img>").attr("src",s).attr("class",i.attr("class"))):i.attr(a[1],s))}else t.find(o+"-"+n).html(s)})},_getScrollbarSize:function(){if(t.scrollbarSize===void 0){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:p.prototype,modules:[],open:function(t,n){return E(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close" aria-label="%title%">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){if(E(),s=e(this),typeof n=="string")if(n==="open"){var s,o,i=A?s.data("magnificPopup"):s[0].magnificPopup,a=parseInt(arguments[1],10)||0;i.items?o=i.items[a]:(o=s,i.delegate&&(o=o.find(i.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},s,i)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),A?s.data("magnificPopup",n):s[0].magnificPopup=n,t.addGroup(s,n);return s},g="inline",T=function(){b&&(_.after(b.addClass(u)).detach(),b=null)},e.magnificPopup.registerModule(g,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(g),s(c+"."+g,function(){T()})},getInline:function(n,s){if(T(),n.src){var i,a=t.st.inline,o=e(n.src);return o.length?(i=o[0].parentNode,i&&i.tagName&&(_||(u=a.hiddenClass,_=h(u),u="mfp-"+u),b=o.after(_).detach().removeClass(u)),t.updateStatus("ready")):(t.updateStatus("error",a.tNotFound),o=e("<div>")),n.inlineElement=o,o}return t.updateStatus("ready"),t._parseMarkup(s,{},n),s}}});var m,f="ajax",O=function(){m&&e(document.body).removeClass(m)},L=function(){O(),t.req&&t.req.abort()};e.magnificPopup.registerModule(f,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(f),m=t.st.ajax.cursor,s(c+"."+f,L),s("BeforeChange."+f,L)},getAjax:function(s){m&&e(document.body).addClass(m),t.updateStatus("loading");var o=e.extend({url:s.src,success:function(o,i,a){var r={data:o,xhr:a};n("ParseAjax",r),t.appendContent(e(r.data),f),s.finished=!0,O(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),n("AjaxContentAdded")},error:function(){O(),s.finished=s.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",s.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}}),P=function(n){if(n.data&&n.data.title!==void 0)return n.data.title;var s=t.st.image.titleSrc;if(s){if(e.isFunction(s))return s.call(t,n);if(n.el)return n.el.attr(s)||""}return""},e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),s(N+i,function(){t.currItem.type==="image"&&n.cursor&&e(document.body).addClass(n.cursor)}),s(c+i,function(){n.cursor&&e(document.body).removeClass(n.cursor),l.off("resize"+o)}),s("Resize"+i,t.resizeImage),t.isLowIE&&s("AfterChange",t.resizeImage)},resizeImage:function(){var n,e=t.currItem;if(!e||!e.img)return;t.st.image.verticalFit&&(n=0,t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,a&&clearInterval(a),e.isCheckingImgSize=!1,n("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,o=e.img[0],s=function(i){a&&clearInterval(a),a=setInterval(function(){if(o.naturalWidth>0){t._onImageHasSize(e);return}n>200&&clearInterval(a),n++,n===3?s(10):n===40?s(50):n===100&&s(500)},i)};s(1)},getImage:function(s,o){var i,r=0,c=function(){s&&(s.img[0].complete?(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("ready")),s.hasSize=!0,s.loaded=!0,n("ImageLoadComplete")):(r++,r<200?setTimeout(c,100):l()))},l=function(){s&&(s.img.off(".mfploader"),s===t.currItem&&(t._onImageHasSize(s),t.updateStatus("error",d.tError.replace("%url%",s.src))),s.hasSize=!0,s.loaded=!0,s.loadError=!0)},d=t.st.image,u=o.find(".mfp-img");return u.length&&(i=document.createElement("img"),i.className="mfp-img",s.el&&s.el.find("img").length&&s.el.find("img").attr("alt")&&(i.alt=s.el.find("img").attr("alt")),s.img=e(i).on("load.mfploader",c).on("error.mfploader",l),i.src=s.src,u.is("img")&&(s.img=s.img.clone()),i=s.img[0],i.naturalWidth>0?s.hasSize=!0:i.width||(s.hasSize=!1)),t._parseMarkup(o,{title:P(s),img_replaceWith:s.img},s),t.resizeImage(),s.hasSize?(a&&clearInterval(a),s.loadError?(o.addClass("mfp-loading"),t.updateStatus("error",d.tError.replace("%url%",s.src))):(o.removeClass("mfp-loading"),t.updateStatus("ready")),o):(t.updateStatus("loading"),s.loading=!0,s.hasSize||(s.imgHidden=!0,o.addClass("mfp-loading"),t.findImageSize(s)),o)}}}),I=function(){return z===void 0&&(z=document.createElement("p").style.MozTransform!==void 0),z},e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){if(i=t.st.zoom,r=".zoom",!i.enabled||!t.supportsTransition)return;var e,o,i,a,r,d=i.duration,u=function(e){var s=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+i.duration/1e3+"s "+i.easing,t={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return t["-webkit-"+n]=t["-moz-"+n]=t["-o-"+n]=t[n]=o,s.css(t),s},l=function(){t.content.css("visibility","visible")};s("BuildControls"+r,function(){if(t._allowZoom()){if(clearTimeout(a),t.content.css("visibility","hidden"),o=t._getItemToZoom(),!o){l();return}e=u(o),e.css(t._getOffset()),t.wrap.append(e),a=setTimeout(function(){e.css(t._getOffset(!0)),a=setTimeout(function(){l(),setTimeout(function(){e.remove(),o=e=null,n("ZoomAnimationEnded")},16)},d)},16)}}),s(B+r,function(){if(t._allowZoom()){if(clearTimeout(a),t.st.removalDelay=d,!o){if(o=t._getItemToZoom(),!o)return;e=u(o)}e.css(t._getOffset(!0)),t.wrap.append(e),t.content.css("visibility","hidden"),setTimeout(function(){e.css(t._getOffset())},16)}}),s(c+r,function(){t._allowZoom()&&(l(),e&&e.remove(),o=null)})},_allowZoom:function(){return t.currItem.type==="image"},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){n?s=t.currItem.img:s=t.st.zoom.opener(t.currItem.el||t.currItem);var s,o,i=s.offset(),a=parseInt(s.css("padding-top"),10),r=parseInt(s.css("padding-bottom"),10);return i.top-=e(window).scrollTop()-a,o={width:s.width(),height:(A?s.innerHeight():s[0].offsetHeight)-r-a},I()?o["-moz-transform"]=o.transform="translate("+i.left+"px,"+i.top+"px)":(o.left=i.left,o.top=i.top),o}}});var d="iframe",W="//about:blank",M=function(e){if(t.currTemplate[d]){var n=t.currTemplate[d].find("iframe");n.length&&(e||(n[0].src=W),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(d,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(d),s("BeforeChange",function(e,t,n){t!==n&&(t===d?M():n===d&&M(!0))}),s(c+"."+d,function(){M()})},getIframe:function(n,s){var a,o=n.src,i=t.st.iframe;return e.each(i.patterns,function(){if(o.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?o=o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):o=this.id.call(this,o)),o=this.src.replace("%id%",o),!1}),a={},i.srcAction&&(a[i.srcAction]=o),t._parseMarkup(s,a,n),t.updateStatus("ready"),s}}}),y=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},k=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)},e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=t.st.gallery,n=".mfp-gallery";if(t.direction=!0,!o||!o.enabled)return!1;r+=" mfp-gallery",s(N+n,function(){o.navigateByImgClick&&t.wrap.on("click"+n,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),i.on("keydown"+n,function(e){!e.altKey&&!e.ctrlKey&&!e.shiftKey&&(e.keyCode===37?t.prev():e.keyCode===39&&t.next())})}),s("UpdateStatus"+n,function(e,n){n.text&&(n.text=k(n.text,t.currItem.index,t.items.length))}),s(D+n,function(e,n,s,i){var a=t.items.length;s.counter=a>1?k(o.tCounter,i.index,a):""}),s("BuildControls"+n,function(){if(t.items.length>1&&o.arrows&&!t.arrowLeft){var n=o.arrowMarkup,s=t.arrowLeft=e(n.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(S),i=t.arrowRight=e(n.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(S);s.click(function(){t.prev()}),i.click(function(){t.next()}),t.container.append(s.add(i))}}),s(H+n,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),s(c+n,function(){i.off(n),t.wrap.off("click"+n),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=y(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=y(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,s=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:s);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?s:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(s){if(s=y(s),t.items[s].preloaded)return;var o=t.items[s];o.parsed||(o=t.parseEl(s)),n("LazyLoad",o),o.type==="image"&&(o.img=e('<img class="mfp-img" />').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,n("LazyLoadError",o)}).attr("src",o.src)),o.preloaded=!0}}}),w="retina",e.magnificPopup.registerModule(w,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var n=t.st.retina,e=n.ratio,e=isNaN(e)?e():e;e>1&&(s("ImageHasSize."+w,function(t,n){n.img.css({"max-width":n.img[0].naturalWidth/e,width:"100%"})}),s("ElementParse."+w,function(t,s){s.src=n.replaceSrc(s,e)}))}}}}),E()}),function(e){e(function(){var n,o,a,r,c,s=e(window),t=e("body"),l=e("#wrapper");t.addClass("loading"),document.readyState!="loading"?window.setTimeout(function(){t.removeClass("loading")},100):s.on("load",function(){window.setTimeout(function(){t.removeClass("loading")},100)}),s.on("resize",function(){window.clearTimeout(a),t.addClass("resizing"),a=window.setTimeout(function(){t.removeClass("resizing")},100)}),s.scrollTop(0),e("form").placeholder(),n=e(".panel"),n.each(function(){var s=e(this),o=e('[href="#'+s.attr("id")+'"]'),i=e('<div class="closer" />').appendTo(s);i.on("click",function(){s.trigger("---hide")}),s.on("click",function(e){e.stopPropagation()}).on("---toggle",function(){s.hasClass("active")?s.triggerHandler("---hide"):s.triggerHandler("---show")}).on("---show",function(){t.hasClass("content-active")&&n.trigger("---hide"),s.addClass("active"),o.addClass("active"),t.addClass("content-active")}).on("---hide",function(){s.removeClass("active"),o.removeClass("active"),t.removeClass("content-active")}),o.removeAttr("href").css("cursor","pointer").on("click",function(e){e.preventDefault(),e.stopPropagation(),s.trigger("---toggle")})}),t.on("click",function(e){t.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),n.trigger("---hide"))}),s.on("keyup",function(e){e.keyCode==27&&t.hasClass("content-active")&&(e.preventDefault(),e.stopPropagation(),n.trigger("---hide"))}),c=e("#footer"),o=e("#main"),o.children(".thumb").each(function(){var s,o=e(this),t=o.find(".image"),n=t.children("img");if(t.length==0)return;t.css("background-image","url("+n.attr("src")+")"),(s=n.data("position"))&&t.css("background-position",s),n.hide()}),o.children(".thumb").each(function(){var s,o=e(this),t=o.find(".link"),n=t.children("img");if(t.length==0)return;t.css("background-image","url("+n.attr("src")+")"),(s=n.data("position"))&&t.css("background-position",s),n.hide()}),r=e(".gallery-item").sort(function(e,t){return e.getAttribute("gallery_index")-t.getAttribute("gallery_index")}),r.magnificPopup({type:"image",mainClass:"mfp-img-mobile",image:{titleSrc:function(e){let t="";e.el.attr("downloadable")=="true"&&(t+='<div title="Download" class="download-button"><a href="'+e.el.attr("download_file")+'" download="'+e.el.attr("orig_name")+'"><i class="fa fa-download"></i></a></div>'),t+='<div class="caption-surround">',e.el.attr("phototitle")!=""&&(t+="<h2>"+e.el.attr("phototitle")+"</h2>"),e.el.attr("description")!=""&&(t+='<div class="description">'+e.el.attr("description")+"</div>");let n=e.el.parent().find(".caption_tax");return n.length>0&&(t+=n[0].outerHTML),t+="</div>",t}},gallery:{enabled:!0,arrowMarkup:'<button title="%title%" class="nav-%dir%"></button>'},callbacks:{change:function(){const e="#"+this.currItem.el.attr("id");window.history.replaceState(void 0,void 0,e)},close:function(){window.history.replaceState(void 0,void 0,"")}},fixedContentPos:!0});let i=function(){let t=e(window.location.hash);if(t.length==1&&(t[0].classList.contains("gallery-item")||t[0].classList.contains("gallery-item-marker"))){let n=e.magnificPopup.instance.currItem;return!(n&&n.el.attr("id")==t[0].id)&&(t.click(),!1)}else return e.magnificPopup.close(),!0;return!0};window.location.hash!=""&&i(),e(window).on("hashchange",i)})}(jQuery),function(e){e.fn.navList=function(){var t=e(this);return $a=t.find("a"),b=[],$a.each(function(){var t=e(this),o=Math.max(0,t.parents("li").length-1),n=t.attr("href"),s=t.attr("target");b.push('<a class="link depth-'+o+'"'+(typeof s!="undefined"&&s!=""?' target="'+s+'"':"")+(typeof n!="undefined"&&n!=""?' href="'+n+'"':"")+'><span class="indent-'+o+'"></span>'+t.text()+"</a>")}),b.join("")},e.fn.panel=function(t){if(this.length==0)return n;if(this.length>1){for(o=0;o<this.length;o++)e(this[o]).panel(t);return n}var o,n=e(this),a=e("body"),r=e(window),i=n.attr("id"),s=e.extend({delay:0,hideOnClick:!1,hideOnEscape:!1,hideOnSwipe:!1,resetScroll:!1,resetForms:!1,side:null,target:n,visibleClass:"visible"},t);return typeof s.target!="jQuery"&&(s.target=e(s.target)),n._hide=function(e){if(!s.target.hasClass(s.visibleClass))return;e&&(e.preventDefault(),e.stopPropagation()),s.target.removeClass(s.visibleClass),window.setTimeout(function(){s.resetScroll&&n.scrollTop(0),s.resetForms&&n.find("form").each(function(){this.reset()})},s.delay)},n.css("-ms-overflow-style","-ms-autohiding-scrollbar").css("-webkit-overflow-scrolling","touch"),s.hideOnClick&&(n.find("a").css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),n.on("click","a",function(t){var a=e(this),o=a.attr("href"),r=a.attr("target");if(!o||o=="#"||o==""||o=="#"+i)return;t.preventDefault(),t.stopPropagation(),n._hide(),window.setTimeout(function(){r=="_blank"?window.open(o):window.location.href=o},s.delay+10)})),n.on("touchstart",function(e){n.touchPosX=e.originalEvent.touches[0].pageX,n.touchPosY=e.originalEvent.touches[0].pageY}),n.on("touchmove",function(e){if(n.touchPosX===null||n.touchPosY===null)return;var i=n.touchPosX-e.originalEvent.touches[0].pageX,t=n.touchPosY-e.originalEvent.touches[0].pageY,c=n.outerHeight(),l=n.get(0).scrollHeight-n.scrollTop();if(s.hideOnSwipe){var a=!1,o=20,r=50;switch(s.side){case"left":a=t<o&&t>-1*o&&i>r;break;case"right":a=t<o&&t>-1*o&&i<-1*r;break;case"top":a=i<o&&i>-1*o&&t>r;break;case"bottom":a=i<o&&i>-1*o&&t<-1*r;break;default:break}if(a)return n.touchPosX=null,n.touchPosY=null,n._hide(),!1}(n.scrollTop()<0&&t<0||l>c-2&&l<c+2&&t>0)&&(e.preventDefault(),e.stopPropagation())}),n.on("click touchend touchstart touchmove",function(e){e.stopPropagation()}),n.on("click",'a[href="#'+i+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.removeClass(s.visibleClass)}),a.on("click touchend",function(e){n._hide(e)}),a.on("click",'a[href="#'+i+'"]',function(e){e.preventDefault(),e.stopPropagation(),s.target.toggleClass(s.visibleClass)}),s.hideOnEscape&&r.on("keydown",function(e){e.keyCode==27&&n._hide(e)}),n},e.fn.placeholder=function(){if(typeof document.createElement("input").placeholder!="undefined")return e(this);if(this.length==0)return t;if(this.length>1){for(var t,n=0;n<this.length;n++)e(this[n]).placeholder();return t}return t=e(this),t.find("input[type=text],textarea").each(function(){var t=e(this);(t.val()==""||t.val()==t.attr("placeholder"))&&t.addClass("polyfill-placeholder").val(t.attr("placeholder"))}).on("blur",function(){var t=e(this);if(t.attr("name").match(/-polyfill-field$/))return;t.val()==""&&t.addClass("polyfill-placeholder").val(t.attr("placeholder"))}).on("focus",function(){var t=e(this);if(t.attr("name").match(/-polyfill-field$/))return;t.val()==t.attr("placeholder")&&t.removeClass("polyfill-placeholder").val("")}),t.find("input[type=password]").each(function(){var t=e(this),n=e(e("<div>").append(t.clone()).remove().html().replace(/type="password"/i,'type="text"').replace(/type=password/i,"type=text"));t.attr("id")!=""&&n.attr("id",t.attr("id")+"-polyfill-field"),t.attr("name")!=""&&n.attr("name",t.attr("name")+"-polyfill-field"),n.addClass("polyfill-placeholder").val(n.attr("placeholder")).insertAfter(t),t.val()==""?t.hide():n.hide(),t.on("blur",function(e){e.preventDefault();var n=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]");t.val()==""&&(t.hide(),n.show())}),n.on("focus",function(e){e.preventDefault();var t=n.parent().find("input[name="+n.attr("name").replace("-polyfill-field","")+"]");n.hide(),t.show().focus()}).on("keypress",function(e){e.preventDefault(),n.val("")})}),t.on("submit",function(){t.find("input[type=text],input[type=password],textarea").each(function(){var n=e(this);n.attr("name").match(/-polyfill-field$/)&&n.attr("name",""),n.val()==n.attr("placeholder")&&(n.removeClass("polyfill-placeholder"),n.val(""))})}).on("reset",function(n){n.preventDefault(),t.find("select").val(e("option:first").val()),t.find("input,textarea").each(function(){var n,t=e(this);switch(t.removeClass("polyfill-placeholder"),this.type){case"submit":case"reset":break;case"password":t.val(t.attr("defaultValue")),n=t.parent().find("input[name="+t.attr("name")+"-polyfill-field]"),t.val()==""?(t.hide(),n.show()):(t.show(),n.hide());break;case"checkbox":case"radio":t.attr("checked",t.attr("defaultValue"));break;case"text":case"textarea":t.val(t.attr("defaultValue")),t.val()==""&&(t.addClass("polyfill-placeholder"),t.val(t.attr("placeholder")));break;default:t.val(t.attr("defaultValue"));break}})}),t},e.prioritize=function(t,n){var s="__prioritize";typeof t!="jQuery"&&(t=e(t)),t.each(function(){var o,t=e(this),i=t.parent();if(i.length==0)return;if(t.data(s)){if(n)return;o=t.data(s),t.insertAfter(o),t.removeData(s)}else{if(!n)return;if(o=t.prev(),o.length==0)return;t.prependTo(i),t.data(s,o)}})}}(jQuery)