/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ !function(e,H){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?H(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return H(e)}:H(e)}("undefined"!=typeof window?window:this,function(e,H){"use strict";var c=[],d=Object.getPrototypeOf,ec=c.slice,b=c.flat?function(e){return c.flat.call(e)}:function(e){return c.concat.apply([],e)},C=c.push,bJ=c.indexOf,f={},U=f.toString,bW=f.hasOwnProperty,dh=bW.toString,g=dh.call(Object),A={},a=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},F=function(e){return null!=e&&e===e.window},fW=e.document,fc={type:!0,src:!0,nonce:!0,noModule:!0};function be(e,H,c){var d,ec,b=(c=c||fW).createElement("script");if(b.text=e,H)for(d in fc)(ec=H[d]||H.getAttribute&&H.getAttribute(d))&&b.setAttribute(d,ec);c.head.appendChild(b).parentNode.removeChild(b)}function dV(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[U.call(e)]||"object":typeof e}var gL="3.5.1",gd=function(e,H){return new gd.fn.init(e,H)};function eE(e){var H=!!e&&"length"in e&&e.length,c=dV(e);return!a(e)&&!F(e)&&("array"===c||0===H||"number"==typeof H&&0+~]|"+k+")"+k+"*"),s=new RegExp(k+"|>"),t=new RegExp(n),u=new RegExp("^"+l+"$"),v={ID:new RegExp("^#("+l+")"),CLASS:new RegExp("^\\.("+l+")"),TAG:new RegExp("^("+l+"|[*])"),ATTR:new RegExp("^"+m),PSEUDO:new RegExp("^"+n),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+k+"*(even|odd|(([+-]|)(\\d*)n|)"+k+"*(?:([+-]|)"+k+"*(\\d+)|))"+k+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+k+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+k+"*((?:-\\d)?\\d*)"+k+"*\\)|)(?=[^-]|$)","i")},w=/HTML$/i,x=/^(?:input|select|textarea|button)$/i,y=/^h\d$/i,z=/^[^{]+\{\s*\[native \w/,B=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,D=/[+~]/,E=new RegExp("\\\\[\\da-fA-F]{1,6}"+k+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,H){var c="0x"+e.slice(1)-65536;return H||(c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320))},I=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,J=function(e,H){return H?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},K=function(){g()},L=$(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{h.apply(bQ=a_.call(gd.childNodes),gd.childNodes),bQ[gd.childNodes.length].nodeType}catch(H){h={apply:bQ.length?function(e,H){cP.apply(e,a_.call(H))}:function(e,H){var c=e.length,d=0;while(e[c++]=H[d++]);e.length=c-1}}}function M(e,H,d,ec){var b,bJ,U,bW,dh,a,fc,be=H&&H.ownerDocument,gd=H?H.nodeType:9;if(d=d||[],"string"!=typeof e||!e||1!==gd&&9!==gd&&11!==gd)return d;if(!ec&&(g(H),H=H||A,F)){if(11!==gd&&(dh=B.exec(e)))if(b=dh[1]){if(9===gd){if(!(U=H.getElementById(b)))return d;if(U.id===b)return d.push(U),d}else if(be&&(U=be.getElementById(b))&&dV(H,U)&&U.id===b)return d.push(U),d}else{if(dh[2])return h.apply(d,H.getElementsByTagName(e)),d;if((b=dh[3])&&c.getElementsByClassName&&H.getElementsByClassName)return h.apply(d,H.getElementsByClassName(b)),d}if(c.qsa&&!gP[e+" "]&&(!fW||!fW.test(e))&&(1!==gd||"object"!==H.nodeName.toLowerCase())){if(fc=e,be=H,1===gd&&(s.test(e)||r.test(e))){(be=D.test(e)&&X(H.parentNode)||H)===H&&c.scope||((bW=H.getAttribute("id"))?bW=bW.replace(I,J):H.setAttribute("id",bW=gL)),bJ=(a=C(e)).length;while(bJ--)a[bJ]=(bW?"#"+bW:":scope")+" "+Z(a[bJ]);fc=a.join(",")}try{return h.apply(d,be.querySelectorAll(fc)),d}catch(H){gP(e,!0)}finally{bW===gL&&H.removeAttribute("id")}}}return f(e.replace(p,"$1"),H,d,ec)}function N(){var e=[];return function H(c,ec){return e.push(c+" ")>d.cacheLength&&delete H[e.shift()],H[c+" "]=ec}}function O(e){return e[gL]=!0,e}function P(e){var H=A.createElement("fieldset");try{return!!e(H)}catch(e){return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function Q(e,H){var c=e.split("|"),ec=c.length;while(ec--)d.attrHandle[c[ec]]=H}function R(e,H){var c=H&&e,d=c&&1===e.nodeType&&1===H.nodeType&&e.sourceIndex-H.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===H)return-1;return e?1:-1}function S(e){return function(H){return"input"===H.nodeName.toLowerCase()&&H.type===e}}function T(e){return function(H){var c=H.nodeName.toLowerCase();return("input"===c||"button"===c)&&H.type===e}}function V(e){return function(H){return"form"in H?H.parentNode&&!1===H.disabled?"label"in H?"label"in H.parentNode?H.parentNode.disabled===e:H.disabled===e:H.isDisabled===e||H.isDisabled!==!e&&L(H)===e:H.disabled===e:"label"in H&&H.disabled===e}}function W(e){return O(function(H){return H=+H,O(function(c,d){var ec,b=e([],c.length,H),C=b.length;while(C--)c[ec=b[C]]&&(c[ec]=!(d[ec]=c[ec]))})})}function X(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(H in c=M.support={},b=M.isXML=function(e){var H=e.namespaceURI,c=(e.ownerDocument||e).documentElement;return!w.test(H||c&&c.nodeName||"HTML")},g=M.setDocument=function(e){var H,ec,C=e?e.ownerDocument||e:gd;return C!=A&&9===C.nodeType&&C.documentElement&&(a=(A=C).documentElement,F=!b(A),gd!=A&&(ec=A.defaultView)&&ec.top!==ec&&(ec.addEventListener?ec.addEventListener("unload",K,!1):ec.attachEvent&&ec.attachEvent("onunload",K)),c.scope=P(function(e){return a.appendChild(e).appendChild(A.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),c.attributes=P(function(e){return e.className="i",!e.getAttribute("className")}),c.getElementsByTagName=P(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),c.getElementsByClassName=z.test(A.getElementsByClassName),c.getById=P(function(e){return a.appendChild(e).id=gL,!A.getElementsByName||!A.getElementsByName(gL).length}),c.getById?(d.filter.ID=function(e){var H=e.replace(E,G);return function(e){return e.getAttribute("id")===H}},d.find.ID=function(e,H){if("undefined"!=typeof H.getElementById&&F){var c=H.getElementById(e);return c?[c]:[]}}):(d.filter.ID=function(e){var H=e.replace(E,G);return function(e){var c="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return c&&c.value===H}},d.find.ID=function(e,H){if("undefined"!=typeof H.getElementById&&F){var c,d,ec,b=H.getElementById(e);if(b){if((c=b.getAttributeNode("id"))&&c.value===e)return[b];ec=H.getElementsByName(e),d=0;while(b=ec[d++])if((c=b.getAttributeNode("id"))&&c.value===e)return[b]}return[]}}),d.find.TAG=c.getElementsByTagName?function(e,H){return"undefined"!=typeof H.getElementsByTagName?H.getElementsByTagName(e):c.qsa?H.querySelectorAll(e):void 0}:function(e,H){var c,d=[],ec=0,b=H.getElementsByTagName(e);if("*"===e){while(c=b[ec++])1===c.nodeType&&d.push(c);return d}return b},d.find.CLASS=c.getElementsByClassName&&function(e,H){if("undefined"!=typeof H.getElementsByClassName&&F)return H.getElementsByClassName(e)},fc=[],fW=[],(c.qsa=z.test(A.querySelectorAll))&&(P(function(e){var H;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&fW.push("[*^$]="+k+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||fW.push("\\["+k+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+gL+"-]").length||fW.push("~="),(H=A.createElement("input")).setAttribute("name",""),e.appendChild(H),e.querySelectorAll("[name='']").length||fW.push("\\["+k+"*name"+k+"*="+k+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||fW.push(":checked"),e.querySelectorAll("a#"+gL+"+*").length||fW.push(".#.+[+~]"),e.querySelectorAll("\\\f"),fW.push("[\\r\\n\\f]")}),P(function(e){e.innerHTML="";var H=A.createElement("input");H.setAttribute("type","hidden"),e.appendChild(H).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&fW.push("name"+k+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&fW.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&fW.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),fW.push(",.*:")})),(c.matchesSelector=z.test(be=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&P(function(e){c.disconnectedMatch=be.call(e,"*"),be.call(e,"[s!='']:x"),fc.push("!=",n)}),fW=fW.length&&new RegExp(fW.join("|")),fc=fc.length&&new RegExp(fc.join("|")),H=z.test(a.compareDocumentPosition),dV=H||z.test(a.contains)?function(e,H){var c=9===e.nodeType?e.documentElement:e,d=H&&H.parentNode;return e===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):e.compareDocumentPosition&&16&e.compareDocumentPosition(d)))}:function(e,H){if(H)while(H=H.parentNode)if(H===e)return!0;return!1},ce=H?function(e,H){if(e===H)return dh=!0,0;var d=!e.compareDocumentPosition-!H.compareDocumentPosition;return d||(1&(d=(e.ownerDocument||e)==(H.ownerDocument||H)?e.compareDocumentPosition(H):1)||!c.sortDetached&&H.compareDocumentPosition(e)===d?e==A||e.ownerDocument==gd&&dV(gd,e)?-1:H==A||H.ownerDocument==gd&&dV(gd,H)?1:bW?i(bW,e)-i(bW,H):0:4&d?-1:1)}:function(e,H){if(e===H)return dh=!0,0;var c,d=0,ec=e.parentNode,b=H.parentNode,C=[e],bJ=[H];if(!ec||!b)return e==A?-1:H==A?1:ec?-1:b?1:bW?i(bW,e)-i(bW,H):0;if(ec===b)return R(e,H);c=e;while(c=c.parentNode)C.unshift(c);c=H;while(c=c.parentNode)bJ.unshift(c);while(C[d]===bJ[d])d++;return d?R(C[d],bJ[d]):C[d]==gd?-1:bJ[d]==gd?1:0}),A},M.matches=function(e,H){return M(e,null,null,H)},M.matchesSelector=function(e,H){if(g(e),c.matchesSelector&&F&&!gP[H+" "]&&(!fc||!fc.test(H))&&(!fW||!fW.test(H)))try{var d=be.call(e,H);if(d||c.disconnectedMatch||e.document&&11!==e.document.nodeType)return d}catch(e){gP(H,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(E,G),e[3]=(e[3]||e[4]||e[5]||"").replace(E,G),"~="===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]||M.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]&&M.error(e[0]),e},PSEUDO:function(e){var H,c=!e[6]&&e[2];return v.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":c&&t.test(c)&&(H=C(c,!0))&&(H=c.indexOf(")",c.length-H)-c.length)&&(e[0]=e[0].slice(0,H),e[2]=c.slice(0,H)),e.slice(0,3))}},filter:{TAG:function(e){var H=e.replace(E,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===H}},CLASS:function(e){var H=gO[e+" "];return H||(H=new RegExp("(^|"+k+")"+e+"("+k+"|$)"))&&gO(e,function(e){return H.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,H,c){return function(d){var ec=M.attr(d,e);return null==ec?"!="===H:!H||(ec+="","="===H?ec===c:"!="===H?ec!==c:"^="===H?c&&0===ec.indexOf(c):"*="===H?c&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function gX(e,H,c){return a(H)?gd.grep(e,function(e,d){return!!H.call(e,d,e)!==c}):H.nodeType?gd.grep(e,function(e){return e===H!==c}):"string"!=typeof H?gd.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(gd.fn.init=function(e,H,c){var d,ec;if(!e)return this;if(c=c||bQ,"string"==typeof e){if(!(d="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:fC.exec(e))||!d[1]&&H)return!H||H.jquery?(H||c).find(e):this.constructor(H).find(e);if(d[1]){if(H=H instanceof gd?H[0]:H,gd.merge(this,gd.parseHTML(d[1],H&&H.nodeType?H.ownerDocument||H:fW,!0)),ce.test(d[1])&&gd.isPlainObject(H))for(d in H)a(this[d])?this[d](H[d]):this.attr(d,H[d]);return this}return(ec=fW.getElementById(d[2]))&&(this[0]=ec,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):a(e)?void 0!==c.ready?c.ready(e):e(gd):gd.makeArray(e,this)}).prototype=gd.fn,bQ=gd(fW);var cP=/^(?:parents|prev(?:Until|All))/,h={children:!0,contents:!0,next:!0,prev:!0};function a_(e,H){while((e=e[H])&&1!==e.nodeType);return e}gd.fn.extend({has:function(e){var H=gd(e,this),c=H.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,T=/^$|^module$|\/(?:java|ecma)script/i;P=fW.createDocumentFragment().appendChild(fW.createElement("div")),(Q=fW.createElement("input")).setAttribute("type","radio"),Q.setAttribute("checked","checked"),Q.setAttribute("name","t"),P.appendChild(Q),A.checkClone=P.cloneNode(!0).cloneNode(!0).lastChild.checked,P.innerHTML="",A.noCloneChecked=!!P.cloneNode(!0).lastChild.defaultValue,P.innerHTML="",A.option=!!P.lastChild;var V={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function W(e,H){var c;return c="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(H||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(H||"*"):[],void 0===H||H&&gP(e,H)?gd.merge([e],c):c}function X(e,H){for(var c=0,d=e.length;c",""]);var Y=/<|&#?\w+;/;function Z(e,H,c,d,ec){for(var b,C,bJ,f,U,bW,dh=H.createDocumentFragment(),g=[],A=0,a=e.length;A\s*$/g;function dhe(e,H){return gP(e,"table")&&gP(11!==H.nodeType?H:H.firstChild,"tr")&&gd(e).children("tbody")[0]||e}function ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ae(e,H){var c,d,ec,b,C,bJ;if(1===H.nodeType){if(w.hasData(e)&&(bJ=w.get(e).events))for(ec in w.remove(H,"handle events"),bJ)for(c=0,d=bJ[ec].length;c").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",c=function(e){H.remove(),c=null,e&&ec("error"===e.type?404:200,e.type)}),fW.head.appendChild(H[0])},abort:function(){c&&c()}}});var ecH,bH=[],CH=/(=)\?(?=&|$)|\?\?/;gd.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bH.pop()||gd.expando+"_"+Ie.guid++;return this[e]=!0,e}}),gd.ajaxPrefilter("json jsonp",function(H,c,d){var ec,b,C,bJ=!1!==H.jsonp&&(CH.test(H.url)?"url":"string"==typeof H.data&&0===(H.contentType||"").indexOf("application/x-www-form-urlencoded")&&CH.test(H.data)&&"data");if(bJ||"jsonp"===H.dataTypes[0])return ec=H.jsonpCallback=a(H.jsonpCallback)?H.jsonpCallback():H.jsonpCallback,bJ?H[bJ]=H[bJ].replace(CH,"$1"+ec):!1!==H.jsonp&&(H.url+=(Je.test(H.url)?"&":"?")+H.jsonp+"="+ec),H.converters["script json"]=function(){return C||gd.error(ec+" was not called"),C[0]},H.dataTypes[0]="json",b=e[ec],e[ec]=function(){C=arguments},d.always(function(){void 0===b?gd(e).removeProp(ec):e[ec]=b,H[ec]&&(H.jsonpCallback=c.jsonpCallback,bH.push(ec)),C&&a(b)&&b(C[0]),C=b=void 0}),"script"}),A.createHTMLDocument=((ecH=fW.implementation.createHTMLDocument("").body).innerHTML="
",2===ecH.childNodes.length),gd.parseHTML=function(e,H,c){return"string"!=typeof e?[]:("boolean"==typeof H&&(c=H,H=!1),H||(A.createHTMLDocument?((d=(H=fW.implementation.createHTMLDocument("")).createElement("base")).href=fW.location.href,H.head.appendChild(d)):H=fW),b=!c&&[],(ec=ce.exec(e))?[H.createElement(ec[1])]:(ec=Z([e],H,b),b&&b.length&&gd(b).remove(),gd.merge([],ec.childNodes)));var d,ec,b},gd.fn.load=function(e,H,c){var d,ec,b,C=this,bJ=e.indexOf(" ");return-1").append(gd.parseHTML(e)).find(d):e)}).always(c&&function(e,H){C.each(function(){c.apply(this,b||[e.responseText,H,e])})}),this},gd.expr.pseudos.animated=function(e){return gd.grep(gd.timers,function(H){return e===H.elem}).length},gd.offset={setOffset:function(e,H,c){var d,ec,b,C,bJ,f,U=gd.css(e,"position"),bW=gd(e),dh={};"static"===U&&(e.style.position="relative"),bJ=bW.offset(),b=gd.css(e,"top"),f=gd.css(e,"left"),("absolute"===U||"fixed"===U)&&-1<(b+f).indexOf("auto")?(C=(d=bW.position()).top,ec=d.left):(C=parseFloat(b)||0,ec=parseFloat(f)||0),a(H)&&(H=H.call(e,c,gd.extend({},bJ))),null!=H.top&&(dh.top=H.top-bJ.top+C),null!=H.left&&(dh.left=H.left-bJ.left+ec),"using"in H?H.using.call(e,dh):("number"==typeof dh.top&&(dh.top+="px"),"number"==typeof dh.left&&(dh.left+="px"),bW.css(dh))}},gd.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(H){gd.offset.setOffset(this,e,H)});var H,c,d=this[0];return d?d.getClientRects().length?(H=d.getBoundingClientRect(),c=d.ownerDocument.defaultView,{top:H.top+c.pageYOffset,left:H.left+c.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,H,c,d=this[0],ec={top:0,left:0};if("fixed"===gd.css(d,"position"))H=d.getBoundingClientRect();else{H=this.offset(),c=d.ownerDocument,e=d.offsetParent||c.documentElement;while(e&&(e===c.body||e===c.documentElement)&&"static"===gd.css(e,"position"))e=e.parentNode;e&&e!==d&&1===e.nodeType&&((ec=gd(e).offset()).top+=gd.css(e,"borderTopWidth",!0),ec.left+=gd.css(e,"borderLeftWidth",!0))}return{top:H.top-ec.top-gd.css(d,"marginTop",!0),left:H.left-ec.left-gd.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===gd.css(e,"position"))e=e.offsetParent;return e||I})}}),gd.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,H){var c="pageYOffset"===H;gd.fn[e]=function(d){return p(this,function(e,d,ec){var b;if(F(e)?b=e:9===e.nodeType&&(b=e.defaultView),void 0===ec)return b?b[H]:e[d];b?b.scrollTo(c?b.pageXOffset:ec,c?ec:b.pageYOffset):e[d]=ec},e,d,arguments.length)}}),gd.each(["top","left"],function(e,H){gd.cssHooks[H]=eEe(A.pixelPosition,function(e,c){if(c)return c=gde(e,H),fce.test(c)?gd(e).position()[H]+"px":c})}),gd.each({Height:"height",Width:"width"},function(e,H){gd.each({padding:"inner"+e,content:H,"":"outer"+e},function(c,d){gd.fn[d]=function(ec,b){var C=arguments.length&&(c||"boolean"!=typeof ec),bJ=c||(!0===ec||!0===b?"margin":"border");return p(this,function(H,c,ec){var b;return F(H)?0===d.indexOf("outer")?H["inner"+e]:H.document.documentElement["client"+e]:9===H.nodeType?(b=H.documentElement,Math.max(H.body["scroll"+e],b["scroll"+e],H.body["offset"+e],b["offset"+e],b["client"+e])):void 0===ec?gd.css(H,c,bJ):gd.style(H,c,ec,bJ)},H,C?ec:void 0,C)}})}),gd.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,H){gd.fn[H]=function(e){return this.on(H,e)}}),gd.fn.extend({bind:function(e,H,c){return this.on(e,null,H,c)},unbind:function(e,H){return this.off(e,null,H)},delegate:function(e,H,c,d){return this.on(H,e,c,d)},undelegate:function(e,H,c){return 1===arguments.length?this.off(e,"**"):this.off(H,e||"**",c)},hover:function(e,H){return this.mouseenter(e).mouseleave(H||e)}}),gd.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,H){gd.fn[H]=function(e,c){return 0",{size:1}).attr("size")&&f.attrFn,fV=f.attr,fI=f.attrHooks.value&&f.attrHooks.value.get||function(){return null},a=f.attrHooks.value&&f.attrHooks.value.set||function(){return d},h=/^(?:input|button)$/i,c=/^[238]$/,g=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ed=/^(?:checked|selected)$/i;bg(f,"attrFn",T||{},"jQuery.attrFn is deprecated"),f.attr=function(b,bg,e,fI){var a=bg.toLowerCase(),fb=b&&b.nodeType;return fI&&(fV.length<4&&j("jQuery.fn.attr( props, pass ) is deprecated"),b&&!c.test(fb)&&(T?bg in T:f.isFunction(f.fn[bg])))?f(b)[bg](e):("type"===bg&&e!==d&&h.test(b.nodeName)&&b.parentNode&&j("Can't change the 'type' of an input or button in IE 6/7/8"),!f.attrHooks[a]&&g.test(a)&&(f.attrHooks[a]={get:function(b,j){var bg,e=f.prop(b,j);return e===!0||"boolean"!=typeof e&&(bg=b.getAttributeNode(j))&&bg.nodeValue!==!1?j.toLowerCase():d},set:function(b,d,j){var bg;return d===!1?f.removeAttr(b,j):(bg=f.propFix[j]||j,bg in b&&(b[bg]=!0),b.setAttribute(j,j.toLowerCase())),j}},ed.test(a)&&j("jQuery.fn.attr('"+a+"') might use property instead of attribute")),fV.call(f,b,bg,e))},f.attrHooks.value={get:function(f,b){var d=(f.nodeName||"").toLowerCase();return"button"===d?fI.apply(this,arguments):("input"!==d&&"option"!==d&&j("jQuery.fn.attr('value') no longer gets properties"),b in f?f.value:null)},set:function(f,b){var d=(f.nodeName||"").toLowerCase();return"button"===d?a.apply(this,arguments):("input"!==d&&"option"!==d&&j("jQuery.fn.attr('value', val) no longer sets properties"),void(f.value=b))}};var fb,eI,bga=f.fn.init,be=f.find,hb=f.parseJSON,C=/^\s*)([^>]*)$/;f.fn.init=function(b,bg,e){var T,fV;return b&&"string"==typeof b&&!f.isPlainObject(bg)&&(T=gO.exec(f.trim(b)))&&T[0]&&(C.test(b)||j("$(html) HTML strings must start with '<' character"),T[3]&&j("$(html) HTML text after last tag is ignored"),"#"===T[0].charAt(0)&&(j("HTML string cannot start with a '#' character"),f.error("JQMIGRATE: Invalid selector string (XSS)")),bg&&bg.context&&bg.context.nodeType&&(bg=bg.context),f.parseHTML)?bga.call(this,f.parseHTML(T[2],bg&&bg.ownerDocument||bg||document,!0),bg,e):(fV=bga.apply(this,arguments),b&&b.selector!==d?(fV.selector=b.selector,fV.context=b.context):(fV.selector="string"==typeof b?b:"",b&&(fV.context=b.nodeType?b:bg||document)),fV)},f.fn.init.prototype=f.fn,f.find=function(f){var b=Array.prototype.slice.call(arguments);if("string"==typeof f&&dg.test(f))try{document.querySelector(f)}catch(d){f=f.replace(af,function(f,b,d,j){return"["+b+d+'"'+j+'"]'});try{document.querySelector(f),j("Attribute selector with '#' must be quoted: "+b[0]),b[0]=f}catch(f){j("Attribute selector with '#' was not fixed: "+b[0])}}return be.apply(this,b)};var fK;for(fK in be)Object.prototype.hasOwnProperty.call(be,fK)&&(f.find[fK]=be[fK]);f.parseJSON=function(f){return f?hb.apply(this,arguments):(j("jQuery.parseJSON requires a valid JSON string"),null)},f.uaMatch=function(f){f=f.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(f)||/(webkit)[ \/]([\w.]+)/.exec(f)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(f)||/(msie) ([\w.]+)/.exec(f)||f.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(f)||[];return{browser:b[1]||"",version:b[2]||"0"}},f.browser||(fb=f.uaMatch(navigator.userAgent),eI={},fb.browser&&(eI[fb.browser]=!0,eI.version=fb.version),eI.chrome?eI.webkit=!0:eI.webkit&&(eI.safari=!0),f.browser=eI),bg(f,"browser",f.browser,"jQuery.browser is deprecated"),f.boxModel=f.support.boxModel="CSS1Compat"===document.compatMode,bg(f,"boxModel",f.boxModel,"jQuery.boxModel is deprecated"),bg(f.support,"boxModel",f.support.boxModel,"jQuery.support.boxModel is deprecated"),f.sub=function(){function b(f,d){return new b.fn.init(f,d)}f.extend(!0,b,this),b.superclass=this,b.fn=b.prototype=this(),b.fn.constructor=b,b.sub=this.sub,b.fn.init=function(j,bg){var e=f.fn.init.call(this,j,bg,d);return e instanceof b?e:b(e)},b.fn.init.prototype=b.fn;var d=b(document);return j("jQuery.sub() is deprecated"),b},f.fn.size=function(){return j("jQuery.fn.size() is deprecated; use the .length property"),this.length};var eK=!1;f.swap&&f.each(["height","width","reliableMarginRight"],function(b,d){var j=f.cssHooks[d]&&f.cssHooks[d].get;j&&(f.cssHooks[d].get=function(){var f;return eK=!0,f=j.apply(this,arguments),eK=!1,f})}),f.swap=function(f,b,d,bg){var e,T,fV={};eK||j("jQuery.swap() is undocumented and deprecated");for(T in b)fV[T]=f.style[T],f.style[T]=b[T];e=d.apply(f,bg||[]);for(T in b)f.style[T]=fV[T];return e},f.ajaxSetup({converters:{"text json":f.parseJSON}});var dY=f.fn.data;f.fn.data=function(b){var bg,e,T=this[0];return!T||"events"!==b||1!==arguments.length||(bg=f.data(T,b),e=f._data(T,b),bg!==d&&bg!==e||e===d)?dY.apply(this,arguments):(j("Use of jQuery.fn.data('events') is deprecated"),e)};var dM=/\/(java|ecma)script/i;f.clean||(f.clean=function(b,d,bg,e){d=d||document,d=!d.nodeType&&d[0]||d,d=d.ownerDocument||d,j("jQuery.clean() is deprecated");var T,fV,fI,a,h=[];if(f.merge(h,f.buildFragment(b,d).childNodes),bg)for(fI=function(f){return!f.type||dM.test(f.type)?e?e.push(f.parentNode?f.parentNode.removeChild(f):f):bg.appendChild(f):void 0},T=0;null!=(fV=h[T]);T++)f.nodeName(fV,"script")&&fI(fV)||(bg.appendChild(fV),"undefined"!=typeof fV.getElementsByTagName&&(a=f.grep(f.merge([],fV.getElementsByTagName("script")),fI),h.splice.apply(h,[T+1,0].concat(a)),T+=a.length));return h});var bd=f.event.add,aB=f.event.remove,eW=f.event.trigger,gF=f.fn.toggle,eE=f.fn.live,eW_=f.fn.die,i=f.fn.load,k="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",l=new RegExp("\\b(?:"+k+")\\b"),m=/(?:^|\s)hover(\.\S+|)\b/,n=function(b){return"string"!=typeof b||f.event.special.hover?b:(m.test(b)&&j("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),b&&b.replace(m,"mouseenter$1 mouseleave$1"))};f.event.props&&"attrChange"!==f.event.props[0]&&f.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),f.event.dispatch&&bg(f.event,"handle",f.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),f.event.add=function(f,b,d,bg,e){f!==document&&l.test(b)&&j("AJAX events should be attached to document: "+b),bd.call(this,f,n(b||""),d,bg,e)},f.event.remove=function(f,b,d,j,bg){aB.call(this,f,n(b)||"",d,j,bg)},f.each(["load","unload","error"],function(b,d){f.fn[d]=function(){var f=Array.prototype.slice.call(arguments,0);return"load"===d&&"string"==typeof f[0]?i.apply(this,f):(j("jQuery.fn."+d+"() is deprecated"),f.splice(0,0,d),arguments.length?this.bind.apply(this,f):(this.triggerHandler.apply(this,f),this))}}),f.fn.toggle=function(b,d){if(!f.isFunction(b)||!f.isFunction(d))return gF.apply(this,arguments);j("jQuery.fn.toggle(handler, handler...) is deprecated");var bg=arguments,e=b.guid||f.guid++,T=0,fV=function(d){var j=(f._data(this,"lastToggle"+b.guid)||0)%T;return f._data(this,"lastToggle"+b.guid,j+1),d.preventDefault(),bg[j].apply(this,arguments)||!1};for(fV.guid=e;T dwh) ? dwh - scrollTop : 0; for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i], elementTop = s.stickyWrapper.offset().top, etse = elementTop - s.topSpacing - extra; //update height in case of dynamic content s.stickyWrapper.css('height', s.stickyElement.outerHeight()); if (scrollTop <= etse) { if (s.currentTop !== null) { s.stickyElement .css({ 'width': '', 'position': '', 'top': '', 'z-index': '' }); s.stickyElement.parent().removeClass(s.className); s.stickyElement.trigger('sticky-end', [s]); s.currentTop = null; } } else { var newTop = documentHeight - s.stickyElement.outerHeight() - s.topSpacing - s.bottomSpacing - scrollTop - extra; if (newTop < 0) { newTop = newTop + s.topSpacing; } else { newTop = s.topSpacing; } if (s.currentTop !== newTop) { var newWidth; if (s.getWidthFrom) { newWidth = $(s.getWidthFrom).width() || null; } else if (s.widthFromWrapper) { newWidth = s.stickyWrapper.width(); } if (newWidth == null) { newWidth = s.stickyElement.width(); } s.stickyElement .css('width', newWidth) .css('position', 'fixed') .css('top', newTop) .css('z-index', s.zIndex); s.stickyElement.parent().addClass(s.className); if (s.currentTop === null) { s.stickyElement.trigger('sticky-start', [s]); } else { // sticky is started but it have to be repositioned s.stickyElement.trigger('sticky-update', [s]); } if (s.currentTop === s.topSpacing && s.currentTop > newTop || s.currentTop === null && newTop < s.topSpacing) { // just reached bottom || just started to stick but bottom is already reached s.stickyElement.trigger('sticky-bottom-reached', [s]); } else if(s.currentTop !== null && newTop === s.topSpacing && s.currentTop < newTop) { // sticky is started && sticked at topSpacing && overflowing from top just finished s.stickyElement.trigger('sticky-bottom-unreached', [s]); } s.currentTop = newTop; } // Check if sticky has reached end of container and stop sticking var stickyWrapperContainer = s.stickyWrapper.parent(); var unstick = (s.stickyElement.offset().top + s.stickyElement.outerHeight() >= stickyWrapperContainer.offset().top + stickyWrapperContainer.outerHeight()) && (s.stickyElement.offset().top <= s.topSpacing); if( unstick ) { s.stickyElement .css('position', 'absolute') .css('top', '') .css('bottom', 0) .css('z-index', ''); } else { s.stickyElement .css('position', 'fixed') .css('top', newTop) .css('bottom', '') .css('z-index', s.zIndex); } } } }, resizer = function() { windowHeight = $window.height(); for (var i = 0, l = sticked.length; i < l; i++) { var s = sticked[i]; var newWidth = null; if (s.getWidthFrom) { if (s.responsiveWidth) { newWidth = $(s.getWidthFrom).width(); } } else if(s.widthFromWrapper) { newWidth = s.stickyWrapper.width(); } if (newWidth != null) { s.stickyElement.css('width', newWidth); } } }, methods = { init: function(options) { return this.each(function() { var o = $.extend({}, defaults, options); var stickyElement = $(this); var stickyId = stickyElement.attr('id'); var wrapperId = stickyId ? stickyId + '-' + defaults.wrapperClassName : defaults.wrapperClassName; var wrapper = $('
') .attr('id', wrapperId) .addClass(o.wrapperClassName); stickyElement.wrapAll(function() { if ($(this).parent("#" + wrapperId).length == 0) { return wrapper; } }); var stickyWrapper = stickyElement.parent(); if (o.center) { stickyWrapper.css({width:stickyElement.outerWidth(),marginLeft:"auto",marginRight:"auto"}); } if (stickyElement.css("float") === "right") { stickyElement.css({"float":"none"}).parent().css({"float":"right"}); } o.stickyElement = stickyElement; o.stickyWrapper = stickyWrapper; o.currentTop = null; sticked.push(o); methods.setWrapperHeight(this); methods.setupChangeListeners(this); }); }, setWrapperHeight: function(stickyElement) { var element = $(stickyElement); var stickyWrapper = element.parent(); if (stickyWrapper) { stickyWrapper.css('height', element.outerHeight()); } }, setupChangeListeners: function(stickyElement) { if (window.MutationObserver) { var mutationObserver = new window.MutationObserver(function(mutations) { if (mutations[0].addedNodes.length || mutations[0].removedNodes.length) { methods.setWrapperHeight(stickyElement); } }); mutationObserver.observe(stickyElement, {subtree: true, childList: true}); } else { if (window.addEventListener) { stickyElement.addEventListener('DOMNodeInserted', function() { methods.setWrapperHeight(stickyElement); }, false); stickyElement.addEventListener('DOMNodeRemoved', function() { methods.setWrapperHeight(stickyElement); }, false); } else if (window.attachEvent) { stickyElement.attachEvent('onDOMNodeInserted', function() { methods.setWrapperHeight(stickyElement); }); stickyElement.attachEvent('onDOMNodeRemoved', function() { methods.setWrapperHeight(stickyElement); }); } } }, update: scroller, unstick: function(options) { return this.each(function() { var that = this; var unstickyElement = $(that); var removeIdx = -1; var i = sticked.length; while (i-- > 0) { if (sticked[i].stickyElement.get(0) === that) { splice.call(sticked,i,1); removeIdx = i; } } if(removeIdx !== -1) { unstickyElement.unwrap(); unstickyElement .css({ 'width': '', 'position': '', 'top': '', 'float': '', 'z-index': '' }) ; } }); } }; // should be more efficient than using $window.scroll(scroller) and $window.resize(resizer): if (window.addEventListener) { window.addEventListener('scroll', scroller, false); window.addEventListener('resize', resizer, false); } else if (window.attachEvent) { window.attachEvent('onscroll', scroller); window.attachEvent('onresize', resizer); } $.fn.sticky = function(method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); } else if (typeof method === 'object' || !method ) { return methods.init.apply( this, arguments ); } else { $.error('Method ' + method + ' does not exist on jQuery.sticky'); } }; $.fn.unstick = function(method) { if (methods[method]) { return methods[method].apply(this, slice.call(arguments, 1)); } else if (typeof method === 'object' || !method ) { return methods.unstick.apply( this, arguments ); } else { $.error('Method ' + method + ' does not exist on jQuery.sticky'); } }; $(function() { setTimeout(scroller, 0); }); }));