!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(T,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,m=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},l=t.push,o=t.indexOf,r={},i=r.toString,v=r.hasOwnProperty,s=v.toString,c=s.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},A=T.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,o,i=(n=n||A).createElement("script");if(i.text=e,t)for(r in u)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function h(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[i.call(e)]||"object":typeof e}var d="3.6.0",E=function(e,t){return new E.fn.init(e,t)};function f(e){var t=!!e&&"length"in e&&e.length,n=h(e);return!b(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&e|56320))}function r(){C()}var e,p,x,i,o,h,f,g,w,l,c,C,T,s,A,m,a,u,v,E="sizzle"+ +new Date,y=n.document,k=0,b=0,S=le(),j=le(),N=le(),D=le(),L=function(e,t){return e===t&&(c=!0),0},$={}.hasOwnProperty,t=[],q=t.pop,_=t.push,O=t.push,I=t.slice,P=function(e,t){for(var n=0,r=e.length;n+~]|"+H+")"+H+"*"),X=new RegExp(H+"|>"),Y=new RegExp(F),G=new RegExp("^"+M+"$"),Q={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,re=new RegExp("\\\\[\\da-fA-F]{1,6}"+H+"?|\\\\([^\\r\\n\\f])","g"),oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=ye(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(t=I.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){O={apply:t.length?function(e,t){_.apply(e,I.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,n,r){var o,i,s,a,l,c,u,d=t&&t.ownerDocument,f=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return n;if(!r&&(C(t),t=t||T,A)){if(11!==f&&(l=te.exec(e)))if(o=l[1]){if(9===f){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(d&&(s=d.getElementById(o))&&v(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return O.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(o)),n}if(p.qsa&&!D[e+" "]&&(!m||!m.test(e))&&(1!==f||"object"!==t.nodeName.toLowerCase())){if(u=e,d=t,1===f&&(X.test(e)||U.test(e))){for((d=ne.test(e)&&ge(t.parentNode)||t)===t&&p.scope||((a=t.getAttribute("id"))?a=a.replace(oe,ie):t.setAttribute("id",a=E)),i=(c=h(e)).length;i--;)c[i]=(a?"#"+a:":scope")+" "+ve(c[i]);u=c.join(",")}try{return O.apply(n,d.querySelectorAll(u)),n}catch(t){D(e,!0)}finally{a===E&&t.removeAttribute("id")}}}return g(e.replace(V,"$1"),t,n,r)}function le(){var r=[];return function e(t,n){return r.push(t+" ")>x.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ce(e){return e[E]=!0,e}function ue(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function he(s){return ce(function(i){return i=+i,ce(function(e,t){for(var n,r=s([],e.length,i),o=r.length;o--;)e[n=r[o]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!K.test(t||e&&e.nodeName||"HTML")},C=ae.setDocument=function(e){var t,e=e?e.ownerDocument||e:y;return e!=T&&9===e.nodeType&&e.documentElement&&(s=(T=e).documentElement,A=!o(T),y!=T&&(t=T.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",r,!1):t.attachEvent&&t.attachEvent("onunload",r)),p.scope=ue(function(e){return s.appendChild(e).appendChild(T.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=ue(function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=ee.test(T.getElementsByClassName),p.getById=ue(function(e){return s.appendChild(e).id=E,!T.getElementsByName||!T.getElementsByName(E).length}),p.getById?(x.filter.ID=function(e){var t=e.replace(re,d);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&A){e=t.getElementById(e);return e?[e]:[]}}):(x.filter.ID=function(e){var t=e.replace(re,d);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),x.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"!==e)return i;for(;n=i[o++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&A)return t.getElementsByClassName(e)},a=[],m=[],(p.qsa=ee.test(T.querySelectorAll))&&(ue(function(e){var t;s.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+H+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+E+"-]").length||m.push("~="),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+H+"*name"+H+"*="+H+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),s.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=ee.test(u=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&ue(function(e){p.disconnectedMatch=u.call(e,"*"),u.call(e,"[s!='']:x"),a.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),a=a.length&&new RegExp(a.join("|")),t=ee.test(s.compareDocumentPosition),v=t||ee.test(s.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==T||e.ownerDocument==y&&v(y,e)?-1:t==T||t.ownerDocument==y&&v(y,t)?1:l?P(l,e)-P(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],a=[t];if(!o||!i)return e==T?-1:t==T?1:o?-1:i?1:l?P(l,e)-P(l,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]==y?-1:a[r]==y?1:0}),T},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(C(e),p.matchesSelector&&A&&!D[t+" "]&&(!a||!a.test(t))&&(!m||!m.test(t)))try{var n=u.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!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(re,d),e[3]=(e[3]||e[4]||e[5]||"").replace(re,d),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,d).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=ae.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,n,r){return b(n)?E.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?E.grep(e,function(e){return e===n!==r}):"string"!=typeof n?E.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){if(!e)return this;if(n=n||D,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof E?t[0]:t,E.merge(this,E.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:A,!0)),j.test(r[1])&&E.isPlainObject(t))for(var r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(e=A.getElementById(r[2]))&&(this[0]=e,this.length=1),this}).prototype=E.fn,D=E(A);var $=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function _(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,d=A.createDocumentFragment().appendChild(A.createElement("div"));(p=A.createElement("input")).setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),d.appendChild(p),y.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked,d.innerHTML="",y.noCloneChecked=!!d.cloneNode(!0).lastChild.defaultValue,d.innerHTML="",y.option=!!d.lastChild;var pe={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function he(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&S(e,t)?E.merge([e],n):n}function ge(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function ve(e,t,n,r,o){for(var i,s,a,l,c,u=t.createDocumentFragment(),d=[],f=0,p=e.length;f\s*$/g;function Se(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function je(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,o,i;if(1===t.nodeType){if(G.hasData(e)&&(i=G.get(e).events))for(o in G.remove(t,"handle events"),i)for(n=0,r=i[o].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(e){r.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),A.head.appendChild(r[0])},abort:function(){o&&o()}}});var Yt=[],Gt=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||E.expando+"_"+St.guid++;return this[e]=!0,e}}),E.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,i,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+r):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return i||E.error(r+" was not called"),i[0]},e.dataTypes[0]="json",o=T[r],T[r]=function(){i=arguments},n.always(function(){void 0===o?E(T).removeProp(r):T[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(r)),i&&b(o)&&o(i[0]),i=o=void 0}),"script"}),y.createHTMLDocument=((d=A.implementation.createHTMLDocument("").body).innerHTML="
",2===d.childNodes.length),E.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=A.implementation.createHTMLDocument("")).createElement("base")).href=A.location.href,t.head.appendChild(r)):t=A),r=!n&&[],(n=j.exec(e))?[t.createElement(n[1])]:(n=ve([e],t,r),r&&r.length&&E(r).remove(),E.merge([],n.childNodes)));var r},E.fn.load=function(e,t,n){var r,o,i,s=this,a=e.indexOf(" ");return-1").append(E.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,function(e){return t===e.elem}).length},E.offset={setOffset:function(e,t,n){var r,o,i,s,a=E.css(e,"position"),l=E(e),c={};"static"===a&&(e.style.position="relative"),i=l.offset(),r=E.css(e,"top"),s=E.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(r)||0,parseFloat(s)||0),b(t)&&(t=t.call(e,n,E.extend({},i))),null!=t.top&&(c.top=t.top-i.top+o),null!=t.left&&(c.left=t.left-i.left+s),"using"in t?t.using.call(e,c):l.css(c)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){E.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===E.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===E.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=E(e).offset()).top+=E.css(e,"borderTopWidth",!0),o.left+=E.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-E.css(r,"marginTop",!0),left:t.left-o.left-E.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===E.css(e,"position");)e=e.offsetParent;return e||re})}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var i="pageYOffset"===o;E.fn[t]=function(e){return F(this,function(e,t,n){var r;return g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n?r?r[o]:e[t]:void(r?r.scrollTo(i?r.pageXOffset:n,i?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),E.each(["top","left"],function(e,n){E.cssHooks[n]=Ue(y.pixelPosition,function(e,t){if(t)return t=ze(e,n),Fe.test(t)?E(e).position()[n]+"px":t})}),E.each({Height:"height",Width:"width"},function(s,a){E.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,i){E.fn[i]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),o=r||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,n){var r;return g(e)?0===i.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?E.css(e,t,o):E.style(e,t,n,o)},a,n?e:void 0,n)}})}),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){E.fn[t]=function(e){return this.on(t,e)}}),E.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,r){return this.on(t,e,n,r)},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)}}),E.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){E.fn[n]=function(e,t){return 0").addClass("nice-select").addClass(e.attr("class")||"").addClass(e.attr("disabled")?"disabled":"").attr("tabindex",e.attr("disabled")?null:"0").html('
    '));var r=e.next(),t=e.find("option"),e=e.find("option:selected");r.find(".current").html(e.data("display")||e.text()),t.each(function(e){var t=o(this),n=t.data("display");r.find("ul").append(o("
  • ").attr("data-value",t.val()).attr("data-display",n||null).addClass("option"+(t.is(":selected")?" selected":"")+(t.is(":disabled")?" disabled":"")).html(t.text()))})}this.hide(),this.each(function(){var e=o(this);e.next().hasClass("nice-select")||r(e)}),o(document).off(".nice_select"),o(document).on("click.nice_select",".nice-select",function(e){var t=o(this);t.hasClass("server")?(o(".nice-select").not(t).removeClass("open"),o(e.target).hasClass("list")||t.toggleClass("open")):(o(".nice-select").not(t).removeClass("open"),t.toggleClass("open")),t.hasClass("open")?(t.find(".option"),t.find(".focus").removeClass("focus"),t.find(".selected").addClass("focus")):t.focus()}),o(document).on("click.nice_select",function(e){0===o(e.target).closest(".nice-select").length&&o(".nice-select").removeClass("open").find(".option")}),o(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(e){var t=o(this),n=t.closest(".nice-select");n.find(".selected").removeClass("selected"),t.addClass("selected");var r=t.data("display")||t.text();n.find(".current").text(r),n.prev("select").val(t.data("value")).trigger("change")}),o(document).on("keydown.nice_select",".nice-select",function(e){var t,n=o(this),r=o(n.find(".focus")||n.find(".list .option.selected"));if(32==e.keyCode||13==e.keyCode)return(n.hasClass("open")?r:n).trigger("click"),!1;if(40==e.keyCode)return n.hasClass("open")?0<(t=r.nextAll(".option:not(.disabled)").first()).length&&(n.find(".focus").removeClass("focus"),t.addClass("focus")):n.trigger("click"),!1;if(38==e.keyCode)return n.hasClass("open")?0<(r=r.prevAll(".option:not(.disabled)").first()).length&&(n.find(".focus").removeClass("focus"),r.addClass("focus")):n.trigger("click"),!1;if(27==e.keyCode)n.hasClass("open")&&n.trigger("click");else if(9==e.keyCode&&n.hasClass("open"))return!1});e=document.createElement("a").style;return e.cssText="pointer-events:auto","auto"!==e.pointerEvents&&o("html").addClass("no-csspointerevents"),this}}(jQuery),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.Blazy=t()}(this,function(){function r(e){var t=e._util;t.elements=function(e){for(var t=[],n=(e=e.root.querySelectorAll(e.selector)).length;n--;t.unshift(e[n]));return t}(e.options),t.count=t.elements.length,t.destroyed&&(t.destroyed=!1,e.options.container&&m(e.options.container,function(e){h(e,"scroll",t.validateT)}),h(window,"resize",t.saveViewportOffsetT),h(window,"resize",t.validateT),h(window,"scroll",t.validateT)),o(e)}function o(e){for(var t=e._util,n=0;n=t.left&&e.bottom>=t.top&&e.left<=t.right&&e.top<=t.bottom}function s(e,t,r){var n,o,i,s,a,l,c;!f(e,r.successClass)&&(t||r.loadInvisible||0=window.screen.width)return v=e.src,!1}),setTimeout(function(){r(t)})}});var EasyAutocomplete=function(x){return x.main=function(e,t){function n(){return 0===m.length?void u.error("Input field doesn't exist."):p.checkDataUrlProperties()?p.checkRequiredProperties()?(r(),g("autocompleteOff",!0)&&m.attr("autocomplete","off"),m.focusout(function(){var e,t=m.val();p.get("list").match.caseSensitive||(t=t.toLowerCase());for(var n=0,r=y.length;n"),t=c.getValue("WRAPPER_CSS_CLASS"),p.get("theme")&&""!==p.get("theme")&&(t+=" eac-"+p.get("theme")),p.get("cssClasses")&&""!==p.get("cssClasses")&&(t+=" "+p.get("cssClasses")),""!==h.getTemplateClass()&&(t+=" "+h.getTemplateClass()),e.addClass(t),m.wrap(e),!0===p.get("adjustWidth")&&(e=m.outerWidth(),m.parent().css("width",e)),(o=$("
    ").addClass(c.getValue("CONTAINER_CLASS"))).attr("id",i()).prepend($("
      ")),o.on("show.eac",function(){switch(p.get("list").showAnimation.type){case"slide":var e=p.get("list").showAnimation.time,t=p.get("list").showAnimation.callback;o.find("ul").slideDown(e,t);break;case"fade":e=p.get("list").showAnimation.time,t=p.get("list").showAnimation.callback;o.find("ul").fadeIn(e);break;default:o.find("ul").show()}p.get("list").onShowListEvent()}).on("hide.eac",function(){switch(p.get("list").hideAnimation.type){case"slide":var e=p.get("list").hideAnimation.time,t=p.get("list").hideAnimation.callback;o.find("ul").slideUp(e,t);break;case"fade":e=p.get("list").hideAnimation.time,t=p.get("list").hideAnimation.callback;o.find("ul").fadeOut(e,t);break;default:o.find("ul").hide()}p.get("list").onHideListEvent()}).on("selectElement.eac",function(){o.find("ul li").removeClass("selected"),o.find("ul li").eq(b).addClass("selected"),p.get("list").onSelectItemEvent()}).on("loadElements.eac",function(e,i,s){var a="",t=o.find("ul");t.empty().detach(),y=[];for(var l=0,c=0,n=i.length;c"+i[c].header+"
    ");for(var d=0,r=u.length;d
    "),function(){var e,t,n=d,r=l,o=i[c].getValue(u[n]);a.find(" > div").on("click",function(){m.val(o).trigger("change"),f(b=r),p.get("list").onClickEvent(),p.get("list").onChooseEvent()}).mouseover(function(){f(b=r),p.get("list").onMouseOverEvent()}).mouseout(function(){p.get("list").onMouseOutEvent()}).html(h.build((e=o,t=s,p.get("highlightPhrase")&&""!==t?function(e,t){t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");return(e+"").replace(new RegExp("("+t+")","gi"),"$1")}(e,t):e),u[n]))}(),t.append(a),y.push(u[d]),l+=1}}o.append(t),p.get("list").onLoadEvent()}),m.after(o),v=$("#"+i()),p.get("placeholder")&&m.attr("placeholder",p.get("placeholder"))}function i(){var e=m.attr("id");return c.getValue("CONTAINER_ID")+e}function o(){v.trigger("show.eac")}function s(){v.trigger("hide.eac")}function f(e){v.trigger("selectElement.eac",e)}function a(e,t){v.trigger("loadElements.eac",[e,t])}var l,c=new x.Constans,p=new x.Configuration(t),u=new x.Logger,h=new x.Template(t.template),d=new x.ListBuilderService(p,x.proccess),g=p.equals,m=e,v="",y=[],b=-1;x.consts=c,this.getConstants=function(){return c},this.getConfiguration=function(){return p},this.getContainer=function(){return v},this.getSelectedItemIndex=function(){return b},this.getItems=function(){return y},this.getItemData=function(e){return y.length"+t[r.description]+""}:"function"==typeof r.description&&(n=function(e,t){return e+" - "+r.description(t)+""}),n):"iconRight"===t.type?("string"==typeof r.iconSrc?n=function(e,t){return e+""}:"function"==typeof r.iconSrc&&(n=function(e,t){return e+""}),n):"iconLeft"===t.type?("string"==typeof r.iconSrc?n=function(e,t){return""+e}:"function"==typeof r.iconSrc&&(n=function(e,t){return""+e}),n):"links"===t.type?("string"==typeof r.link?n=function(e,t){return""+e+""}:"function"==typeof r.link&&(n=function(e,t){return""+e+""}),n):("custom"===t.type?t:s.basic).method):s.basic.method},e}((EasyAutocomplete=function(a){return a.proccess=function(i,e,t){function s(e,t){return i.get("list").match.caseSensitive||("string"==typeof e&&(e=e.toLowerCase()),t=t.toLowerCase()),!!i.get("list").match.method(e,t)}a.proccess.match=s;var n,r,o=function(e,t){var n=[];if(i.get("list").match.enabled)for(var r=0,o=e.length;re.maxNumberOfElements&&(r=r.slice(0,e.maxNumberOfElements)),n=o=r,i.get("list").sort.enabled&&n.sort(i.get("list").sort.method),n},a}((EasyAutocomplete=function(e){return e.ListBuilderService=function(s,o){this.init=function(e){var t=[],n={};return n.data=s.get("listLocation")(e),n.getValue=s.get("getValue"),n.maxListSize=s.get("list").maxNumberOfElements,t.push(n),t},this.updateCategories=function(e,t){if(s.get("categoriesAssigned")){e=[];for(var n=0;n'+t+""),$("#alert"+n).slideDown(200).delay(3e3).fadeOut(300)}function getUrlParameter(e){for(var t,n=window.location.search.substring(1).split("&"),r=0;r Please wait...')},data:{video_id:e},success:function(e){$.trim(e)?"0"===(e=e.split("::"))[0]?(pushAlert("alert-error",e[1]),n.removeClass("working").html(' Add to Favourites')):"1"===e[0]?(pushAlert("alert-success",e[1]),"add"==t?n.removeClass("working").attr("data-action","remove").html(' Remove from Favourites'):n.removeClass("working").attr("data-action","add").html(' Add to Favourites')):("2"===e[0]?pushAlert("alert",e[1]):pushAlert("alert-error","There was an error. (EA2)"),n.removeClass("working").html(' Add to Favourites')):(pushAlert("alert-error","There was an error. (EA1)"),n.removeClass("working").html(' Add to Favourites'))},error:function(){pushAlert("alert-error","There was an error. (EA3)"),n.removeClass("working").html(' Add to Favourites')}}))}),$(document).on("click",".js_detail_options_favourites_add",function(){var e,t,n,r,o;$(this).hasClass("working")||(e=$(this).attr("data-id"),t=$(this).attr("data-action"),n=$(this),r="icon-heart-medical",o="Add to Favourites","remove"==t&&(r="icon-heart",o="Remove from Favourites"),$.ajax({url:"/ajax.php?type=favourites&action="+t,method:"POST",beforeSend:function(){n.addClass("working").attr("title","Please wait...").html('')},data:{video_id:e},success:function(e){$.trim(e)?"0"===(e=e.split("::"))[0]?(pushAlert("alert-error",e[1]),n.removeClass("working").attr("title",o).html('')):"1"===e[0]?(pushAlert("alert-success",e[1]),"add"==t?n.removeClass("working add").addClass("remove").attr("data-action","remove").attr("title","Remove from Favourites").html(''):n.removeClass("working remove").addClass("add").attr("data-action","add").attr("title","Add to Favourites").html('')):("2"===e[0]?pushAlert("alert",e[1]):pushAlert("alert-error","There was an error. (EA8)"),n.removeClass("working").attr("title",o).html('')):(pushAlert("alert-error","There was an error. (EA7)"),n.removeClass("working").attr("title",o).html(''))},error:function(){pushAlert("alert-error","There was an error. (EA9)"),n.removeClass("working").attr("title",o).html('')}}))}),$(document).on("click",".js_channel_favourites_add",function(){var e,t,n,r,o,i;$(this).hasClass("working")||(e=$(this).attr("data-id"),t=$(this).attr("data-action"),n=$(this).attr("data-channel-type"),r=$(this),o="icon-heart-medical",i="Subscribe","remove"==t&&(o="icon-heart",i="Unsubscribe"),$.ajax({url:"/ajax.php?type=channel&action="+t+"&channel_type="+n,method:"POST",beforeSend:function(){r.addClass("working").attr("title","Please wait...").html('')},data:{channel_id:e},success:function(e){$.trim(e)?"0"===(e=e.split("::"))[0]?(pushAlert("alert-error",e[1]),r.removeClass("working").attr("title",i).html('')):"1"===e[0]?(pushAlert("alert-success",e[1]),"add"==t?r.removeClass("working add").addClass("remove").attr("data-action","remove").attr("title","Unsubscribe").html(''):r.removeClass("working remove").addClass("add").attr("data-action","add").attr("title","Subscribe").html('')):("2"===e[0]?pushAlert("alert",e[1]):pushAlert("alert-error","There was an error. (EA8)"),r.removeClass("working").attr("title",i).html('')):(pushAlert("alert-error","There was an error. (EA7)"),r.removeClass("working").attr("title",i).html(''))},error:function(){pushAlert("alert-error","There was an error. (EA9)"),r.removeClass("working").attr("title",i).html('')}}))}),$(document).on("click",".js_detail_options_thumbs_up:not(.remove)",function(){var e,t;$(this).hasClass("working")||(e=$(this).attr("data-id"),t=$(this),$.ajax({url:"/ajax.php?type=thumbs_up",method:"POST",beforeSend:function(){t.addClass("working").attr("title","Please wait...").html('')},data:{video_id:e},success:function(e){$.trim(e)?"0"===(e=e.split("::"))[0]?(pushAlert("alert-error",e[1]),t.removeClass("working").html('')):"1"===e[0]?(pushAlert("alert-success",e[1]),t.removeClass("working").addClass("remove").attr("title","You liked this video.").html('')):("2"===e[0]?pushAlert("alert",e[1]):pushAlert("alert-error","There was an error. (EA11)"),t.removeClass("working").html('')):(pushAlert("alert-error","There was an error. (EA10)"),t.removeClass("working").html(''))},error:function(){pushAlert("alert-error","There was an error. (EA12)"),t.removeClass("working").html('')}}))}),$(document).on("click",".js_options_watchlist_add",function(){var e,t,n;$(this).hasClass("working")||(e=$(this).attr("data-id"),t=$(this).attr("data-action"),n=$(this),$.ajax({url:"/ajax.php?type=watchlist&action="+t,method:"POST",beforeSend:function(){n.addClass("working").html(' Please wait...')},data:{video_id:e},success:function(e){$.trim(e)?"0"===(e=e.split("::"))[0]?(pushAlert("alert-error",e[1]),n.removeClass("working").html(' Add to Watchlist')):"1"===e[0]?(pushAlert("alert-success",e[1]),"add"==t?n.removeClass("working").attr("data-action","remove").html(' Remove from Watchlist'):n.removeClass("working").attr("data-action","add").html(' Add to Watchlist')):("2"===e[0]?pushAlert("alert",e[1]):pushAlert("alert-error","There was an error. (EA5)"),n.removeClass("working").html(' Add to Watchlist')):(pushAlert("alert-error","There was an error. (EA4)"),n.removeClass("working").html(' Add to Watchlist'))},error:function(){pushAlert("alert-error","There was an error. (EA6)"),n.removeClass("working").html(' Add to Watchlist')}}))}),$(document).on("click",".video-options-toggle",function(){$(this).parent().find(".video-options-list").toggle()}),$(document).on("click",".js_detail_options_light",function(){$(this).addClass("remove"),$(".player-overlay").fadeIn(300)}),$(document).on("click",".js_detail_options_expand",function(){$(this).toggleClass("remove"),$(".video-detail-container").toggleClass("expanded")}),$(document).on("click",".player-overlay",function(){$(this).fadeOut(300),$(".js_detail_options_light").removeClass("remove")}),$(document).on("click","#search-pagination .pagination-button:not(.current)",function(){$("#input_page").val($(this).attr("data-page")),page_reset=!1,$("#search-form").submit(),page_reset=!0}),$(document).on("mouseenter",".video-image-container.double-image",function(){var t=$(this);hover_timeout=setTimeout(function(){var e=t.find(".video-image.secondary");e.hasClass("shown")?e.css("opacity",1):(e.addClass("shown").show().css("opacity",1),bLazy.revalidate())},300)}),$(document).on("mouseleave",".video-image-container.double-image",function(){var e=$(this);clearTimeout(hover_timeout),e.find(".video-image.secondary").css("opacity",0)}),$(document).on("click",".mobile-search-toggle",function(){$(this).hasClass("open")?($(this).removeClass("open"),$(".header-search").slideUp(100)):($(this).addClass("open"),$(".header-search").slideDown(100).find("input").focus())}),$(window).on("orientationchange",function(){setTimeout(function(){bLazy.revalidate()},500)}),$(window).on("resize",function(){});