if(!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(x,t){"use strict";function m(t){return null!=t&&t===t.window}var e=[],i=Object.getPrototypeOf,a=e.slice,g=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},l=e.push,s=e.indexOf,n={},o=n.toString,v=n.hasOwnProperty,r=v.toString,c=r.call(Object),b={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},k=x.document,h={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,i){var n,s,o=(i=i||k).createElement("script");if(o.text=t,e)for(n in h)(s=e[n]||e.getAttribute&&e.getAttribute(n))&&o.setAttribute(n,s);i.head.appendChild(o).parentNode.removeChild(o)}function f(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[o.call(t)]||"object":typeof t}var d="3.6.0",C=function(t,e){return new C.fn.init(t,e)};function u(t){var e=!!t&&"length"in t&&t.length,i=f(t);return!y(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}C.fn=C.prototype={jquery:d,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){t=C.merge(this.constructor(),t);return t.prevObject=this,t},each:function(t){return C.each(this,t)},map:function(i){return this.pushStack(C.map(this,function(t,e){return i.call(t,e,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:e.sort,splice:e.splice},C.extend=C.fn.extend=function(){var t,e,i,n,s,o=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[r]||{},r++),"object"==typeof o||y(o)||(o={}),r===a&&(o=this,r--);r<a;r++)if(null!=(t=arguments[r]))for(e in t)i=t[e],"__proto__"!==e&&o!==i&&(l&&i&&(C.isPlainObject(i)||(n=Array.isArray(i)))?(s=o[e],s=n&&!Array.isArray(s)?[]:n||C.isPlainObject(s)?s:{},n=!1,o[e]=C.extend(l,s,i)):void 0!==i&&(o[e]=i));return o},C.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){return!(!t||"[object Object]"!==o.call(t)||(t=i(t))&&("function"!=typeof(t=v.call(t,"constructor")&&t.constructor)||r.call(t)!==c))},isEmptyObject:function(t){for(var e in t)return!1;return!0},globalEval:function(t,e,i){w(t,{nonce:e&&e.nonce},i)},each:function(t,e){var i,n=0;if(u(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},makeArray:function(t,e){e=e||[];return null!=t&&(u(Object(t))?C.merge(e,"string"==typeof t?[t]:t):l.call(e,t)),e},inArray:function(t,e,i){return null==e?-1:s.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,s=t.length;n<i;n++)t[s++]=e[n];return t.length=s,t},grep:function(t,e,i){for(var n=[],s=0,o=t.length,r=!i;s<o;s++)!e(t[s],s)!=r&&n.push(t[s]);return n},map:function(t,e,i){var n,s,o=0,r=[];if(u(t))for(n=t.length;o<n;o++)null!=(s=e(t[o],o,i))&&r.push(s);else for(o in t)null!=(s=e(t[o],o,i))&&r.push(s);return g(r)},guid:1,support:b}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=e[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var p=function(i){function d(t,e){return t="0x"+t.slice(1)-65536,e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>10|55296,1023&t|56320))}function n(){x()}var t,u,w,o,s,p,f,m,_,l,c,x,k,r,C,g,a,h,v,$="sizzle"+ +new Date,b=i.document,T=0,y=0,S=lt(),I=lt(),E=lt(),P=lt(),A=function(t,e){return t===e&&(c=!0),0},N={}.hasOwnProperty,e=[],D=e.pop,O=e.push,M=e.push,H=e.slice,L=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",q="\\["+z+"*("+B+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+z+"*\\]",W=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",F=new RegExp(z+"+","g"),R=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),U=new RegExp("^"+z+"*,"+z+"*"),Y=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),V=new RegExp(z+"|>"),X=new RegExp(W),Q=new RegExp("^"+B+"$"),G={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,nt=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),st=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=bt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{M.apply(e=H.call(b.childNodes),b.childNodes),e[b.childNodes.length].nodeType}catch(t){M={apply:e.length?function(t,e){O.apply(t,H.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,i,n){var s,o,r,a,l,c,h=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&(x(e),e=e||k,C)){if(11!==d&&(a=et.exec(t)))if(c=a[1]){if(9===d){if(!(o=e.getElementById(c)))return i;if(o.id===c)return i.push(o),i}else if(h&&(o=h.getElementById(c))&&v(e,o)&&o.id===c)return i.push(o),i}else{if(a[2])return M.apply(i,e.getElementsByTagName(t)),i;if((c=a[3])&&u.getElementsByClassName&&e.getElementsByClassName)return M.apply(i,e.getElementsByClassName(c)),i}if(u.qsa&&!P[t+" "]&&(!g||!g.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(c=t,h=e,1===d&&(V.test(t)||Y.test(t))){for((h=it.test(t)&&mt(e.parentNode)||e)===e&&u.scope||((r=e.getAttribute("id"))?r=r.replace(st,ot):e.setAttribute("id",r=$)),s=(l=p(t)).length;s--;)l[s]=(r?"#"+r:":scope")+" "+vt(l[s]);c=l.join(",")}try{return M.apply(i,h.querySelectorAll(c)),i}catch(e){P(t,!0)}finally{r===$&&e.removeAttribute("id")}}}return m(t.replace(R,"$1"),e,i,n)}function lt(){var n=[];return function t(e,i){return n.push(e+" ")>w.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function ct(t){return t[$]=!0,t}function ht(t){var e=k.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var i=t.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=e}function ut(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function pt(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&&rt(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ft(r){return ct(function(o){return o=+o,ct(function(t,e){for(var i,n=r([],t.length,o),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in u=at.support={},s=at.isXML=function(t){var e=t&&t.namespaceURI,t=t&&(t.ownerDocument||t).documentElement;return!K.test(e||t&&t.nodeName||"HTML")},x=at.setDocument=function(t){var e,t=t?t.ownerDocument||t:b;return t!=k&&9===t.nodeType&&t.documentElement&&(r=(k=t).documentElement,C=!s(k),b!=k&&(e=k.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",n,!1):e.attachEvent&&e.attachEvent("onunload",n)),u.scope=ht(function(t){return r.appendChild(t).appendChild(k.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),u.attributes=ht(function(t){return t.className="i",!t.getAttribute("className")}),u.getElementsByTagName=ht(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),u.getElementsByClassName=tt.test(k.getElementsByClassName),u.getById=ht(function(t){return r.appendChild(t).id=$,!k.getElementsByName||!k.getElementsByName($).length}),u.getById?(w.filter.ID=function(t){var e=t.replace(nt,d);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&C){t=e.getElementById(t);return t?[t]:[]}}):(w.filter.ID=function(t){var e=t.replace(nt,d);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var i,n,s,o=e.getElementById(t);if(o){if((i=o.getAttributeNode("id"))&&i.value===t)return[o];for(s=e.getElementsByName(t),n=0;o=s[n++];)if((i=o.getAttributeNode("id"))&&i.value===t)return[o]}return[]}}),w.find.TAG=u.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):u.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],s=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=u.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},a=[],g=[],(u.qsa=tt.test(k.querySelectorAll))&&(ht(function(t){var e;r.appendChild(t).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+z+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+$+"-]").length||g.push("~="),(e=k.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+$+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ht(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+z+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),r.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(u.matchesSelector=tt.test(h=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&ht(function(t){u.disconnectedMatch=h.call(t,"*"),h.call(t,"[s!='']:x"),a.push("!=",W)}),g=g.length&&new RegExp(g.join("|")),a=a.length&&new RegExp(a.join("|")),e=tt.test(r.compareDocumentPosition),v=e||tt.test(r.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(i.contains?i.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return c=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!u.sortDetached&&e.compareDocumentPosition(t)===i?t==k||t.ownerDocument==b&&v(b,t)?-1:e==k||e.ownerDocument==b&&v(b,e)?1:l?L(l,t)-L(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,s=t.parentNode,o=e.parentNode,r=[t],a=[e];if(!s||!o)return t==k?-1:e==k?1:s?-1:o?1:l?L(l,t)-L(l,e):0;if(s===o)return ut(t,e);for(i=t;i=i.parentNode;)r.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;r[n]===a[n];)n++;return n?ut(r[n],a[n]):r[n]==b?-1:a[n]==b?1:0}),k},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(x(t),u.matchesSelector&&C&&!P[e+" "]&&(!a||!a.test(e))&&(!g||!g.test(e)))try{var i=h.call(t,e);if(i||u.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){P(e,!0)}return 0<at(e,k,null,[t]).length},at.contains=function(t,e){return(t.ownerDocument||t)!=k&&x(t),v(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=k&&x(t);var i=w.attrHandle[e.toLowerCase()],i=i&&N.call(w.attrHandle,e.toLowerCase())?i(t,e,!C):void 0;return void 0!==i?i:u.attributes||!C?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},at.escape=function(t){return(t+"").replace(st,ot)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],n=0,s=0;if(c=!u.detectDuplicates,l=!u.sortStable&&t.slice(0),t.sort(A),c){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return l=null,t},o=at.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=o(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=o(e);return i},(w=at.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,d),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,d),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&X.test(i)&&(e=p(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,d).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=at.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1<t.indexOf(n):"$="===i?n&&t.slice(-n.length)===n:"~="===i?-1<(" "+t.replace(F," ")+" ").indexOf(n):"|="===i&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(f,t,e,m,g){var v="nth"!==f.slice(0,3),b="last"!==f.slice(-4),y="of-type"===t;return 1===m&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,o,r,a,l,c=v!=b?"nextSibling":"previousSibling",h=t.parentNode,d=y&&t.nodeName.toLowerCase(),u=!i&&!y,p=!1;if(h){if(v){for(;c;){for(r=t;r=r[c];)if(y?r.nodeName.toLowerCase()===d:1===r.nodeType)return!1;l=c="only"===f&&!l&&"nextSibling"}return!0}if(l=[b?h.firstChild:h.lastChild],b&&u){for(p=(a=(n=(s=(o=(r=h)[$]||(r[$]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===T&&n[1])&&n[2],r=a&&h.childNodes[a];r=++a&&r&&r[c]||(p=a=0)||l.pop();)if(1===r.nodeType&&++p&&r===t){s[f]=[T,a,p];break}}else if(!1===(p=u?a=(n=(s=(o=(r=t)[$]||(r[$]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===T&&n[1]:p))for(;(r=++a&&r&&r[c]||(p=a=0)||l.pop())&&((y?r.nodeName.toLowerCase()!==d:1!==r.nodeType)||!++p||(u&&((s=(o=r[$]||(r[$]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]=[T,p]),r!==t)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(t,o){var e,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[$]?r(o):1<r.length?(e=[t,t,"",o],w.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,e){for(var i,n=r(t,o),s=n.length;s--;)t[i=L(t,n[s])]=!(e[i]=n[s])}):function(t){return r(t,0,e)}):r}},pseudos:{not:ct(function(t){var n=[],s=[],a=f(t.replace(R,"$1"));return a[$]?ct(function(t,e,i,n){for(var s,o=a(t,null,n,[]),r=t.length;r--;)(s=o[r])&&(t[r]=!(e[r]=s))}):function(t,e,i){return n[0]=t,a(n,null,i,s),n[0]=null,!s.pop()}}),has:ct(function(e){return function(t){return 0<at(e,t).length}}),contains:ct(function(e){return e=e.replace(nt,d),function(t){return-1<(t.textContent||o(t)).indexOf(e)}}),lang:ct(function(i){return Q.test(i||"")||at.error("unsupported lang: "+i),i=i.replace(nt,d).toLowerCase(),function(t){var e;do{if(e=C?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===r},focus:function(t){return t===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,i){return[i<0?i+e:i]}),even:ft(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:ft(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:ft(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:ft(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=function(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}(t);function gt(){}function vt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function bt(r,t,e){var a=t.dir,l=t.next,c=l||a,h=e&&"parentNode"===c,d=y++;return t.first?function(t,e,i){for(;t=t[a];)if(1===t.nodeType||h)return r(t,e,i);return!1}:function(t,e,i){var n,s,o=[T,d];if(i){for(;t=t[a];)if((1===t.nodeType||h)&&r(t,e,i))return!0}else for(;t=t[a];)if(1===t.nodeType||h)if(n=(s=t[$]||(t[$]={}))[t.uniqueID]||(s[t.uniqueID]={}),l&&l===t.nodeName.toLowerCase())t=t[a]||t;else{if((s=n[c])&&s[0]===T&&s[1]===d)return o[2]=s[2];if((n[c]=o)[2]=r(t,e,i))return!0}return!1}}function yt(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function wt(t,e,i,n,s){for(var o,r=[],a=0,l=t.length,c=null!=e;a<l;a++)(o=t[a])&&(i&&!i(o,n,s)||(r.push(o),c&&e.push(a)));return r}function _t(t){for(var n,e,i,s=t.length,o=w.relative[t[0].type],r=o||w.relative[" "],a=o?1:0,l=bt(function(t){return t===n},r,!0),c=bt(function(t){return-1<L(n,t)},r,!0),h=[function(t,e,i){i=!o&&(i||e!==_)||((n=e).nodeType?l:c)(t,e,i);return n=null,i}];a<s;a++)if(e=w.relative[t[a].type])h=[bt(yt(h),e)];else{if((e=w.filter[t[a].type].apply(null,t[a].matches))[$]){for(i=++a;i<s&&!w.relative[t[i].type];i++);return function t(p,f,m,g,v,e){return g&&!g[$]&&(g=t(g)),v&&!v[$]&&(v=t(v,e)),ct(function(t,e,i,n){var s,o,r,a=[],l=[],c=e.length,h=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)at(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),d=!p||!t&&f?h:wt(h,a,p,i,n),u=m?v||(t?p:c||g)?[]:e:d;if(m&&m(d,u,i,n),g)for(s=wt(u,l),g(s,[],i,n),o=s.length;o--;)(r=s[o])&&(u[l[o]]=!(d[l[o]]=r));if(t){if(v||p){if(v){for(s=[],o=u.length;o--;)(r=u[o])&&s.push(d[o]=r);v(null,u=[],s,n)}for(o=u.length;o--;)(r=u[o])&&-1<(s=v?L(t,r):a[o])&&(t[s]=!(e[s]=r))}}else u=wt(u===e?u.splice(c,u.length):u),v?v(null,e,u,n):M.apply(e,u)})}(1<a&&yt(h),1<a&&vt(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(R,"$1"),e,a<i&&_t(t.slice(a,i)),i<s&&_t(t=t.slice(i)),i<s&&vt(t))}h.push(e)}return yt(h)}return gt.prototype=w.filters=w.pseudos,w.setFilters=new gt,p=at.tokenize=function(t,e){var i,n,s,o,r,a,l,c=I[t+" "];if(c)return e?0:c.slice(0);for(r=t,a=[],l=w.preFilter;r;){for(o in i&&!(n=U.exec(r))||(n&&(r=r.slice(n[0].length)||r),a.push(s=[])),i=!1,(n=Y.exec(r))&&(i=n.shift(),s.push({value:i,type:n[0].replace(R," ")}),r=r.slice(i.length)),w.filter)!(n=G[o].exec(r))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),r=r.slice(i.length));if(!i)break}return e?r.length:r?at.error(t):I(t,a).slice(0)},f=at.compile=function(t,e){var i,g,v,b,y,n,s=[],o=[],r=E[t+" "];if(!r){for(i=(e=e||p(t)).length;i--;)((r=_t(e[i]))[$]?s:o).push(r);(r=E(t,(b=0<(v=s).length,y=0<(g=o).length,n=function(t,e,i,n,s){var o,r,a,l=0,c="0",h=t&&[],d=[],u=_,p=t||y&&w.find.TAG("*",s),f=T+=null==u?1:Math.random()||.1,m=p.length;for(s&&(_=e==k||e||s);c!==m&&null!=(o=p[c]);c++){if(y&&o){for(r=0,e||o.ownerDocument==k||(x(o),i=!C);a=g[r++];)if(a(o,e||k,i)){n.push(o);break}s&&(T=f)}b&&((o=!a&&o)&&l--,t&&h.push(o))}if(l+=c,b&&c!==l){for(r=0;a=v[r++];)a(h,d,e,i);if(t){if(0<l)for(;c--;)h[c]||d[c]||(d[c]=D.call(n));d=wt(d)}M.apply(n,d),s&&!t&&0<d.length&&1<l+v.length&&at.uniqueSort(n)}return s&&(T=f,_=u),h},b?ct(n):n))).selector=t}return r},m=at.select=function(t,e,i,n){var s,o,r,a,l,c="function"==typeof t&&t,h=!n&&p(t=c.selector||t);if(i=i||[],1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(r=o[0]).type&&9===e.nodeType&&C&&w.relative[o[1].type]){if(!(e=(w.find.ID(r.matches[0].replace(nt,d),e)||[])[0]))return i;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(s=G.needsContext.test(t)?0:o.length;s--&&(r=o[s],!w.relative[a=r.type]);)if((l=w.find[a])&&(n=l(r.matches[0].replace(nt,d),it.test(o[0].type)&&mt(e.parentNode)||e))){if(o.splice(s,1),!(t=n.length&&vt(o)))return M.apply(i,n),i;break}}return(c||f(t,h))(n,e,!C,i,!e||it.test(t)&&mt(e.parentNode)||e),i},u.sortStable=$.split("").sort(A).join("")===$,u.detectDuplicates=!!c,x(),u.sortDetached=ht(function(t){return 1&t.compareDocumentPosition(k.createElement("fieldset"))}),ht(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||dt("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),u.attributes&&ht(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||dt("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ht(function(t){return null==t.getAttribute("disabled")})||dt(j,function(t,e,i){if(!i)return!0===t[e]?e.toLowerCase():(e=t.getAttributeNode(e))&&e.specified?e.value:null}),at}(x);C.find=p,C.expr=p.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=p.uniqueSort,C.text=p.getText,C.isXMLDoc=p.isXML,C.contains=p.contains,C.escapeSelector=p.escape;function _(t,e,i){for(var n=[],s=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(s&&C(t).is(i))break;n.push(t)}return n}function $(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}var T=C.expr.match.needsContext;function S(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(t,i,n){return y(i)?C.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?C.grep(t,function(t){return t===i!==n}):"string"!=typeof i?C.grep(t,function(t){return-1<s.call(i,t)!==n}):C.filter(i,t,n)}C.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?C.find.matchesSelector(n,t)?[n]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,i,n=this.length,s=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<n;e++)if(C.contains(s[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)C.find(t,s[e],i);return 1<n?C.uniqueSort(i):i},filter:function(t){return this.pushStack(E(this,t||[],!1))},not:function(t){return this.pushStack(E(this,t||[],!0))},is:function(t){return!!E(this,"string"==typeof t&&T.test(t)?C(t):t||[],!1).length}});var P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,i){if(!t)return this;if(i=i||A,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(C):C.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:P.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),I.test(n[1])&&C.isPlainObject(e))for(var n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(t=k.getElementById(n[2]))&&(this[0]=t,this.length=1),this}).prototype=C.fn;var A=C(k),N=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function O(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,s=this.length,o=[],r="string"!=typeof t&&C(t);if(!T.test(t))for(;n<s;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&C.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(1<o.length?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?s.call(C(t),this[0]):s.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return _(t,"parentNode")},parentsUntil:function(t,e,i){return _(t,"parentNode",i)},next:function(t){return O(t,"nextSibling")},prev:function(t){return O(t,"previousSibling")},nextAll:function(t){return _(t,"nextSibling")},prevAll:function(t){return _(t,"previousSibling")},nextUntil:function(t,e,i){return _(t,"nextSibling",i)},prevUntil:function(t,e,i){return _(t,"previousSibling",i)},siblings:function(t){return $((t.parentNode||{}).firstChild,t)},children:function(t){return $(t.firstChild)},contents:function(t){return null!=t.contentDocument&&i(t.contentDocument)?t.contentDocument:(S(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(n,s){C.fn[n]=function(t,e){var i=C.map(this,s,t);return(e="Until"!==n.slice(-5)?t:e)&&"string"==typeof e&&(i=C.filter(e,i)),1<this.length&&(D[n]||C.uniqueSort(i),N.test(n)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function H(t){return t}function L(t){throw t}function j(t,e,i,n){var s;try{t&&y(s=t.promise)?s.call(t).done(e).fail(i):t&&y(s=t.then)?s.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}C.Callbacks=function(n){var i;n="string"==typeof n?(i={},C.each(n.match(M)||[],function(t,e){i[e]=!0}),i):C.extend({},n);function s(){for(r=r||n.once,e=o=!0;l.length;c=-1)for(t=l.shift();++c<a.length;)!1===a[c].apply(t[0],t[1])&&n.stopOnFalse&&(c=a.length,t=!1);n.memory||(t=!1),o=!1,r&&(a=t?[]:"")}var o,t,e,r,a=[],l=[],c=-1,h={add:function(){return a&&(t&&!o&&(c=a.length-1,l.push(t)),function i(t){C.each(t,function(t,e){y(e)?n.unique&&h.has(e)||a.push(e):e&&e.length&&"string"!==f(e)&&i(e)})}(arguments),t&&!o&&s()),this},remove:function(){return C.each(arguments,function(t,e){for(var i;-1<(i=C.inArray(e,a,i));)a.splice(i,1),i<=c&&c--}),this},has:function(t){return t?-1<C.inArray(t,a):0<a.length},empty:function(){return a=a&&[],this},disable:function(){return r=l=[],a=t="",this},disabled:function(){return!a},lock:function(){return r=l=[],t||o||(a=t=""),this},locked:function(){return!!r},fireWith:function(t,e){return r||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),o||s()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!e}};return h},C.extend({Deferred:function(t){var o=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],s="pending",r={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var s=arguments;return C.Deferred(function(n){C.each(o,function(t,e){var i=y(s[e[4]])&&s[e[4]];a[e[1]](function(){var t=i&&i.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[e[0]+"With"](this,i?[t]:arguments)})}),s=null}).promise()},then:function(e,i,n){var l=0;function c(s,o,r,a){return function(){function t(){var t,e;if(!(s<l)){if((t=r.apply(i,n))===o.promise())throw new TypeError("Thenable self-resolution");e=t&&("object"==typeof t||"function"==typeof t)&&t.then,y(e)?a?e.call(t,c(l,o,H,a),c(l,o,L,a)):(l++,e.call(t,c(l,o,H,a),c(l,o,L,a),c(l,o,H,o.notifyWith))):(r!==H&&(i=void 0,n=[t]),(a||o.resolveWith)(i,n))}}var i=this,n=arguments,e=a?t:function(){try{t()}catch(t){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(t,e.stackTrace),l<=s+1&&(r!==L&&(i=void 0,n=[t]),o.rejectWith(i,n))}};s?e():(C.Deferred.getStackHook&&(e.stackTrace=C.Deferred.getStackHook()),x.setTimeout(e))}}return C.Deferred(function(t){o[0][3].add(c(0,t,y(n)?n:H,t.notifyWith)),o[1][3].add(c(0,t,y(e)?e:H)),o[2][3].add(c(0,t,y(i)?i:L))}).promise()},promise:function(t){return null!=t?C.extend(t,r):r}},a={};return C.each(o,function(t,e){var i=e[2],n=e[5];r[e[1]]=i.add,n&&i.add(function(){s=n},o[3-t][2].disable,o[3-t][3].disable,o[0][2].lock,o[0][3].lock),i.add(e[3].fire),a[e[0]]=function(){return a[e[0]+"With"](this===a?void 0:this,arguments),this},a[e[0]+"With"]=i.fireWith}),r.promise(a),t&&t.call(a,a),a},when:function(t){function e(e){return function(t){s[e]=this,o[e]=1<arguments.length?a.call(arguments):t,--i||r.resolveWith(s,o)}}var i=arguments.length,n=i,s=Array(n),o=a.call(arguments),r=C.Deferred();if(i<=1&&(j(t,r.done(e(n)).resolve,r.reject,!i),"pending"===r.state()||y(o[n]&&o[n].then)))return r.then();for(;n--;)j(o[n],e(n),r.reject);return r.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){x.console&&x.console.warn&&t&&z.test(t.name)&&x.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){x.setTimeout(function(){throw t})};var B=C.Deferred();function q(){k.removeEventListener("DOMContentLoaded",q),x.removeEventListener("load",q),C.ready()}C.fn.ready=function(t){return B.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0)!==t&&0<--C.readyWait||B.resolveWith(k,[C])}}),C.ready.then=B.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?x.setTimeout(C.ready):(k.addEventListener("DOMContentLoaded",q),x.addEventListener("load",q));var W=function(t,e,i,n,s,o,r){var a=0,l=t.length,c=null==i;if("object"===f(i))for(a in s=!0,i)W(t,e,a,i[a],!0,o,r);else if(void 0!==n&&(s=!0,y(n)||(r=!0),e=c?r?(e.call(t,n),null):(c=e,function(t,e,i){return c.call(C(t),i)}):e))for(;a<l;a++)e(t[a],i,r?n:n.call(t[a],a,e(t[a],i)));return s?t:c?e.call(t):l?e(t[0],i):o},F=/^-ms-/,R=/-([a-z])/g;function U(t,e){return e.toUpperCase()}function Y(t){return t.replace(F,"ms-").replace(R,U)}function V(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType}function X(){this.expando=C.expando+X.uid++}X.uid=1,X.prototype={cache:function(t){var e=t[this.expando];return e||(e={},V(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,s=this.cache(t);if("string"==typeof e)s[Y(e)]=i;else for(n in e)s[Y(n)]=e[n];return s},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][Y(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(Y):(e=Y(e))in n?[e]:e.match(M)||[]).length;for(;i--;)delete n[e[i]]}void 0!==e&&!C.isEmptyObject(n)||(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){t=t[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var Q=new X,G=new X,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function J(t,e,i){var n,s;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(Z,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(s=i)||"false"!==s&&("null"===s?null:s===+s+""?+s:K.test(s)?JSON.parse(s):s)}catch(t){}G.set(t,e,i)}else i=void 0;return i}C.extend({hasData:function(t){return G.hasData(t)||Q.hasData(t)},data:function(t,e,i){return G.access(t,e,i)},removeData:function(t,e){G.remove(t,e)},_data:function(t,e,i){return Q.access(t,e,i)},_removeData:function(t,e){Q.remove(t,e)}}),C.fn.extend({data:function(i,t){var e,n,s,o=this[0],r=o&&o.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){G.set(this,i)}):W(this,function(t){var e;return o&&void 0===t?void 0!==(e=G.get(o,i))||void 0!==(e=J(o,i))?e:void 0:void this.each(function(){G.set(this,i,t)})},null,t,1<arguments.length,null,!0);if(this.length&&(s=G.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(e=r.length;e--;)r[e]&&0===(n=r[e].name).indexOf("data-")&&(n=Y(n.slice(5)),J(o,n,s[n]));Q.set(o,"hasDataAttrs",!0)}return s},removeData:function(t){return this.each(function(){G.remove(this,t)})}}),C.extend({queue:function(t,e,i){var n;if(t)return n=Q.get(t,e=(e||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=Q.access(t,e,C.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){var i=C.queue(t,e=e||"fx"),n=i.length,s=i.shift(),o=C._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete o.stop,s.call(t,function(){C.dequeue(t,e)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Q.get(t,i)||Q.access(t,i,{empty:C.Callbacks("once memory").add(function(){Q.remove(t,[e+"queue",i])})})}}),C.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?C.queue(this[0],e):void 0===i?this:this.each(function(){var t=C.queue(this,e,i);C._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&C.dequeue(this,e)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function i(){--s||o.resolveWith(r,[r])}var n,s=1,o=C.Deferred(),r=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Q.get(r[a],t+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),o.promise(e)}});var tt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+tt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],nt=k.documentElement,st=function(t){return C.contains(t.ownerDocument,t)},ot={composed:!0};nt.getRootNode&&(st=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(ot)===t.ownerDocument});function rt(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===C.css(t,"display")}function at(t,e,i,n){var s,o,r=20,a=n?function(){return n.cur()}:function(){return C.css(t,e,"")},l=a(),c=i&&i[3]||(C.cssNumber[e]?"":"px"),h=t.nodeType&&(C.cssNumber[e]||"px"!==c&&+l)&&et.exec(C.css(t,e));if(h&&h[3]!==c){for(c=c||h[3],h=+(l/=2)||1;r--;)C.style(t,e,h+c),(1-o)*(1-(o=a()/l||.5))<=0&&(r=0),h/=o;C.style(t,e,(h*=2)+c),i=i||[]}return i&&(h=+h||+l||0,s=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=h,n.end=s)),s}var lt={};function ct(t,e){for(var i,n,s,o,r,a,l=[],c=0,h=t.length;c<h;c++)(n=t[c]).style&&(i=n.style.display,e?("none"===i&&(l[c]=Q.get(n,"display")||null,l[c]||(n.style.display="")),""===n.style.display&&rt(n)&&(l[c]=(a=o=s=void 0,o=n.ownerDocument,r=n.nodeName,(a=lt[r])||(s=o.body.appendChild(o.createElement(r)),a=C.css(s,"display"),s.parentNode.removeChild(s),lt[r]=a="none"===a?"block":a)))):"none"!==i&&(l[c]="none",Q.set(n,"display",i)));for(c=0;c<h;c++)null!=l[c]&&(t[c].style.display=l[c]);return t}C.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){rt(this)?C(this).show():C(this).hide()})}});var ht=/^(?:checkbox|radio)$/i,dt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ut=/^$|^module$|\/(?:java|ecma)script/i,d=k.createDocumentFragment().appendChild(k.createElement("div"));(p=k.createElement("input")).setAttribute("type","radio"),p.setAttribute("checked","checked"),p.setAttribute("name","t"),d.appendChild(p),b.checkClone=d.cloneNode(!0).cloneNode(!0).lastChild.checked,d.innerHTML="<textarea>x</textarea>",b.noCloneChecked=!!d.cloneNode(!0).lastChild.defaultValue,d.innerHTML="<option></option>",b.option=!!d.lastChild;var pt={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 ft(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&S(t,e)?C.merge([t],i):i}function mt(t,e){for(var i=0,n=t.length;i<n;i++)Q.set(t[i],"globalEval",!e||Q.get(e[i],"globalEval"))}pt.tbody=pt.tfoot=pt.colgroup=pt.caption=pt.thead,pt.th=pt.td,b.option||(pt.optgroup=pt.option=[1,"<select multiple='multiple'>","</select>"]);var gt=/<|&#?\w+;/;function vt(t,e,i,n,s){for(var o,r,a,l,c,h=e.createDocumentFragment(),d=[],u=0,p=t.length;u<p;u++)if((o=t[u])||0===o)if("object"===f(o))C.merge(d,o.nodeType?[o]:o);else if(gt.test(o)){for(r=r||h.appendChild(e.createElement("div")),a=(dt.exec(o)||["",""])[1].toLowerCase(),a=pt[a]||pt._default,r.innerHTML=a[1]+C.htmlPrefilter(o)+a[2],c=a[0];c--;)r=r.lastChild;C.merge(d,r.childNodes),(r=h.firstChild).textContent=""}else d.push(e.createTextNode(o));for(h.textContent="",u=0;o=d[u++];)if(n&&-1<C.inArray(o,n))s&&s.push(o);else if(l=st(o),r=ft(h.appendChild(o),"script"),l&&mt(r),i)for(c=0;o=r[c++];)ut.test(o.type||"")&&i.push(o);return h}var bt=/^([^.]*)(?:\.(.+)|)/;function yt(){return!0}function wt(){return!1}function _t(t,e){return t===function(){try{return k.activeElement}catch(t){}}()==("focus"===e)}function xt(t,e,i,n,s,o){var r,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)xt(t,a,i,n,e[a],o);return t}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=wt;else if(!s)return t;return 1===o&&(r=s,(s=function(t){return C().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=C.guid++)),t.each(function(){C.event.add(this,e,s,n,i)})}function kt(t,s,o){o?(Q.set(t,s,!1),C.event.add(t,s,{namespace:!1,handler:function(t){var e,i,n=Q.get(this,s);if(1&t.isTrigger&&this[s]){if(n.length)(C.event.special[s]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),Q.set(this,s,n),e=o(this,s),this[s](),n!==(i=Q.get(this,s))||e?Q.set(this,s,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else n.length&&(Q.set(this,s,{value:C.event.trigger(C.extend(n[0],C.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,s)&&C.event.add(t,s,yt)}C.event={global:{},add:function(e,t,i,n,s){var o,r,a,l,c,h,d,u,p,f=Q.get(e);if(V(e))for(i.handler&&(i=(o=i).handler,s=o.selector),s&&C.find.matchesSelector(nt,s),i.guid||(i.guid=C.guid++),(a=f.events)||(a=f.events=Object.create(null)),(r=f.handle)||(r=f.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;l--;)d=p=(c=bt.exec(t[l])||[])[1],u=(c[2]||"").split(".").sort(),d&&(h=C.event.special[d]||{},d=(s?h.delegateType:h.bindType)||d,h=C.event.special[d]||{},c=C.extend({type:d,origType:p,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&C.expr.match.needsContext.test(s),namespace:u.join(".")},o),(p=a[d])||((p=a[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,n,u,r)||e.addEventListener&&e.addEventListener(d,r)),h.add&&(h.add.call(e,c),c.handler.guid||(c.handler.guid=i.guid)),s?p.splice(p.delegateCount++,0,c):p.push(c),C.event.global[d]=!0)},remove:function(t,e,i,n,s){var o,r,a,l,c,h,d,u,p,f,m,g=Q.hasData(t)&&Q.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(M)||[""]).length;c--;)if(p=m=(a=bt.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},u=l[p=(n?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=u.length;o--;)h=u[o],!s&&m!==h.origType||i&&i.guid!==h.guid||a&&!a.test(h.namespace)||n&&n!==h.selector&&("**"!==n||!h.selector)||(u.splice(o,1),h.selector&&u.delegateCount--,d.remove&&d.remove.call(t,h));r&&!u.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||C.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[c],i,n,!0);C.isEmptyObject(l)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,i,n,s,o,r=new Array(arguments.length),a=C.event.fix(t),l=(Q.get(this,"events")||Object.create(null))[a.type]||[],t=C.event.special[a.type]||{};for(r[0]=a,e=1;e<arguments.length;e++)r[e]=arguments[e];if(a.delegateTarget=this,!t.preDispatch||!1!==t.preDispatch.call(this,a)){for(o=C.event.handlers.call(this,a,l),e=0;(n=o[e++])&&!a.isPropagationStopped();)for(a.currentTarget=n.elem,i=0;(s=n.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==s.namespace&&!a.rnamespace.test(s.namespace)||(a.handleObj=s,a.data=s.data,void 0!==(s=((C.event.special[s.origType]||{}).handle||s.handler).apply(n.elem,r))&&!1===(a.result=s)&&(a.preventDefault(),a.stopPropagation()));return t.postDispatch&&t.postDispatch.call(this,a),a.result}},handlers:function(t,e){var i,n,s,o,r,a=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],r={},i=0;i<l;i++)void 0===r[s=(n=e[i]).selector+" "]&&(r[s]=n.needsContext?-1<C(s,this).index(c):C.find(s,this,null,[c]).length),r[s]&&o.push(n);o.length&&a.push({elem:c,handlers:o})}return c=this,l<e.length&&a.push({elem:c,handlers:e.slice(l)}),a},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(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(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){t=this||t;return ht.test(t.type)&&t.click&&S(t,"input")&&kt(t,"click",yt),!1},trigger:function(t){t=this||t;return ht.test(t.type)&&t.click&&S(t,"input")&&kt(t,"click"),!0},_default:function(t){t=t.target;return ht.test(t.type)&&t.click&&S(t,"input")&&Q.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?yt:wt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:wt,isPropagationStopped:wt,isImmediatePropagationStopped:wt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=yt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=yt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=yt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.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},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return kt(this,t,_t),!1},trigger:function(){return kt(this,t),!0},_default:function(){return!0},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,s){C.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||C.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),C.fn.extend({on:function(t,e,i,n){return xt(this,t,e,i,n)},one:function(t,e,i,n){return xt(this,t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,C(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=wt),this.each(function(){C.event.remove(this,t,i,e)});for(s in t)this.off(s,e,t[s]);return this}});var Ct=/<script|<style|<link/i,$t=/checked\s*(?:[^=]|=\s*.checked.)/i,Tt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function St(t,e){return S(t,"table")&&S(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function It(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Et(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var i,n,s,o;if(1===e.nodeType){if(Q.hasData(t)&&(o=Q.get(t).events))for(s in Q.remove(e,"handle events"),o)for(i=0,n=o[s].length;i<n;i++)C.event.add(e,s,o[s][i]);G.hasData(t)&&(t=G.access(t),t=C.extend({},t),G.set(e,t))}}function At(i,n,s,o){n=g(n);var t,e,r,a,l,c,h=0,d=i.length,u=d-1,p=n[0],f=y(p);if(f||1<d&&"string"==typeof p&&!b.checkClone&&$t.test(p))return i.each(function(t){var e=i.eq(t);f&&(n[0]=p.call(this,t,e.html())),At(e,n,s,o)});if(d&&(e=(t=vt(n,i[0].ownerDocument,!1,i,o)).firstChild,1===t.childNodes.length&&(t=e),e||o)){for(a=(r=C.map(ft(t,"script"),It)).length;h<d;h++)l=t,h!==u&&(l=C.clone(l,!0,!0),a&&C.merge(r,ft(l,"script"))),s.call(i[h],l,h);if(a)for(c=r[r.length-1].ownerDocument,C.map(r,Et),h=0;h<a;h++)l=r[h],ut.test(l.type||"")&&!Q.access(l,"globalEval")&&C.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Tt,""),l,c))}return i}function Nt(t,e,i){for(var n,s=e?C.filter(e,t):t,o=0;null!=(n=s[o]);o++)i||1!==n.nodeType||C.cleanData(ft(n)),n.parentNode&&(i&&st(n)&&mt(ft(n,"script")),n.parentNode.removeChild(n));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,s,o,r,a,l,c,h=t.cloneNode(!0),d=st(t);if(!(b.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(r=ft(h),n=0,s=(o=ft(t)).length;n<s;n++)a=o[n],"input"===(c=(l=r[n]).nodeName.toLowerCase())&&ht.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(e)if(i)for(o=o||ft(t),r=r||ft(h),n=0,s=o.length;n<s;n++)Pt(o[n],r[n]);else Pt(t,h);return 0<(r=ft(h,"script")).length&&mt(r,!d&&ft(t,"script")),h},cleanData:function(t){for(var e,i,n,s=C.event.special,o=0;void 0!==(i=t[o]);o++)if(V(i)){if(e=i[Q.expando]){if(e.events)for(n in e.events)s[n]?C.event.remove(i,n):C.removeEvent(i,n,e.handle);i[Q.expando]=void 0}i[G.expando]&&(i[G.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Nt(this,t,!0)},remove:function(t){return Nt(this,t)},text:function(t){return W(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return At(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||St(this,t).appendChild(t)})},prepend:function(){return At(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=St(this,t)).insertBefore(t,e.firstChild)})},before:function(){return At(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return At(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(ft(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ct.test(t)&&!pt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(C.cleanData(ft(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var i=[];return At(this,arguments,function(t){var e=this.parentNode;C.inArray(this,i)<0&&(C.cleanData(ft(this)),e&&e.replaceChild(t,this))},i)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){C.fn[t]=function(t){for(var e,i=[],n=C(t),s=n.length-1,o=0;o<=s;o++)e=o===s?this:this.clone(!0),C(n[o])[r](e),l.apply(i,e.get());return this.pushStack(i)}});function Dt(t,e,i){var n,s={};for(n in e)s[n]=t.style[n],t.style[n]=e[n];for(n in i=i.call(t),e)t.style[n]=s[n];return i}var Ot,Mt,Ht,Lt,jt,zt,Bt,qt,Wt=new RegExp("^("+tt+")(?!px)[a-z%]+$","i"),Ft=function(t){var e=t.ownerDocument.defaultView;return(e=!e||!e.opener?x:e).getComputedStyle(t)},Rt=new RegExp(it.join("|"),"i");function Ut(t,e,i){var n,s,o=t.style;return(i=i||Ft(t))&&(""!==(s=i.getPropertyValue(e)||i[e])||st(t)||(s=C.style(t,e)),!b.pixelBoxStyles()&&Wt.test(s)&&Rt.test(e)&&(n=o.width,t=o.minWidth,e=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=i.width,o.width=n,o.minWidth=t,o.maxWidth=e)),void 0!==s?s+"":s}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function Vt(){var t;qt&&(Bt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",qt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",nt.appendChild(Bt).appendChild(qt),t=x.getComputedStyle(qt),Ot="1%"!==t.top,zt=12===Xt(t.marginLeft),qt.style.right="60%",Lt=36===Xt(t.right),Mt=36===Xt(t.width),qt.style.position="absolute",Ht=12===Xt(qt.offsetWidth/3),nt.removeChild(Bt),qt=null)}function Xt(t){return Math.round(parseFloat(t))}Bt=k.createElement("div"),(qt=k.createElement("div")).style&&(qt.style.backgroundClip="content-box",qt.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===qt.style.backgroundClip,C.extend(b,{boxSizingReliable:function(){return Vt(),Mt},pixelBoxStyles:function(){return Vt(),Lt},pixelPosition:function(){return Vt(),Ot},reliableMarginLeft:function(){return Vt(),zt},scrollboxSize:function(){return Vt(),Ht},reliableTrDimensions:function(){var t,e,i;return null==jt&&(t=k.createElement("table"),e=k.createElement("tr"),i=k.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="border:1px solid",e.style.height="1px",i.style.height="9px",i.style.display="block",nt.appendChild(t).appendChild(e).appendChild(i),i=x.getComputedStyle(e),jt=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,nt.removeChild(t)),jt}}));var Qt=["Webkit","Moz","ms"],Gt=k.createElement("div").style,Kt={};function Zt(t){return C.cssProps[t]||Kt[t]||(t in Gt?t:Kt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Qt.length;i--;)if((t=Qt[i]+e)in Gt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,te=/^--/,ee={position:"absolute",visibility:"hidden",display:"block"},ie={letterSpacing:"0",fontWeight:"400"};function ne(t,e,i){var n=et.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function se(t,e,i,n,s,o){var r="width"===e?1:0,a=0,l=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(l+=C.css(t,i+it[r],!0,s)),n?("content"===i&&(l-=C.css(t,"padding"+it[r],!0,s)),"margin"!==i&&(l-=C.css(t,"border"+it[r]+"Width",!0,s))):(l+=C.css(t,"padding"+it[r],!0,s),"padding"!==i?l+=C.css(t,"border"+it[r]+"Width",!0,s):a+=C.css(t,"border"+it[r]+"Width",!0,s));return!n&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function oe(t,e,i){var n=Ft(t),s=(!b.boxSizingReliable()||i)&&"border-box"===C.css(t,"boxSizing",!1,n),o=s,r=Ut(t,e,n),a="offset"+e[0].toUpperCase()+e.slice(1);if(Wt.test(r)){if(!i)return r;r="auto"}return(!b.boxSizingReliable()&&s||!b.reliableTrDimensions()&&S(t,"tr")||"auto"===r||!parseFloat(r)&&"inline"===C.css(t,"display",!1,n))&&t.getClientRects().length&&(s="border-box"===C.css(t,"boxSizing",!1,n),(o=a in t)&&(r=t[a])),(r=parseFloat(r)||0)+se(t,e,i||(s?"border":"content"),o,n,r)+"px"}function re(t,e,i,n,s){return new re.prototype.init(t,e,i,n,s)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){t=Ut(t,"opacity");return""===t?"1":t}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,r,a=Y(e),l=te.test(e),c=t.style;if(l||(e=Zt(a)),r=C.cssHooks[e]||C.cssHooks[a],void 0===i)return r&&"get"in r&&void 0!==(s=r.get(t,!1,n))?s:c[e];"string"==(o=typeof i)&&(s=et.exec(i))&&s[1]&&(i=at(t,e,s),o="number"),null!=i&&i==i&&("number"!==o||l||(i+=s&&s[3]||(C.cssNumber[a]?"":"px")),b.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),r&&"set"in r&&void 0===(i=r.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var s,o=Y(e);return te.test(e)||(e=Zt(o)),"normal"===(s=void 0===(s=(o=C.cssHooks[e]||C.cssHooks[o])&&"get"in o?o.get(t,!0,i):s)?Ut(t,e,n):s)&&e in ie&&(s=ie[e]),""===i||i?(e=parseFloat(s),!0===i||isFinite(e)?e||0:s):s}}),C.each(["height","width"],function(t,a){C.cssHooks[a]={get:function(t,e,i){if(e)return!Jt.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,a,i):Dt(t,ee,function(){return oe(t,a,i)})},set:function(t,e,i){var n,s=Ft(t),o=!b.scrollboxSize()&&"absolute"===s.position,r=(o||i)&&"border-box"===C.css(t,"boxSizing",!1,s),i=i?se(t,a,i,r,s):0;return r&&o&&(i-=Math.ceil(t["offset"+a[0].toUpperCase()+a.slice(1)]-parseFloat(s[a])-se(t,a,"border",!1,s)-.5)),i&&(n=et.exec(e))&&"px"!==(n[3]||"px")&&(t.style[a]=e,e=C.css(t,a)),ne(0,e,i)}}}),C.cssHooks.marginLeft=Yt(b.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-Dt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(s,o){C.cssHooks[s+o]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+it[e]+o]=n[e]||n[e-2]||n[0];return i}},"margin"!==s&&(C.cssHooks[s+o].set=ne)}),C.fn.extend({css:function(t,e){return W(this,function(t,e,i){var n,s,o={},r=0;if(Array.isArray(e)){for(n=Ft(t),s=e.length;r<s;r++)o[e[r]]=C.css(t,e[r],!1,n);return o}return void 0!==i?C.style(t,e,i):C.css(t,e)},t,e,1<arguments.length)}}),((C.Tween=re).prototype={constructor:re,init:function(t,e,i,n,s,o){this.elem=t,this.prop=i,this.easing=s||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(C.cssNumber[i]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return(t&&t.get?t:re.propHooks._default).get(this)},run:function(t){var e,i=re.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:re.propHooks._default).set(this),this}}).init.prototype=re.prototype,(re.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=C.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Zt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=re.prototype.init,C.fx.step={};var ae,le,ce=/^(?:toggle|show|hide)$/,he=/queueHooks$/;function de(){le&&(!1===k.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(de):x.setTimeout(de,C.fx.interval),C.fx.tick())}function ue(){return x.setTimeout(function(){ae=void 0}),ae=Date.now()}function pe(t,e){var i,n=0,s={height:t};for(e=e?1:0;n<4;n+=2-e)s["margin"+(i=it[n])]=s["padding"+i]=t;return e&&(s.opacity=s.width=t),s}function fe(t,e,i){for(var n,s=(me.tweeners[e]||[]).concat(me.tweeners["*"]),o=0,r=s.length;o<r;o++)if(n=s[o].call(i,e,t))return n}function me(s,t,e){var i,o,n=0,r=me.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=ae||ue(),t=Math.max(0,c.startTime+c.duration-t),e=1-(t/c.duration||0),i=0,n=c.tweens.length;i<n;i++)c.tweens[i].run(e);return a.notifyWith(s,[c,e,t]),e<1&&n?t:(n||a.notifyWith(s,[c,1,0]),a.resolveWith(s,[c]),!1)},c=a.promise({elem:s,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},e),originalProperties:t,originalOptions:e,startTime:ae||ue(),duration:e.duration,tweens:[],createTween:function(t,e){t=C.Tween(s,c.opts,t,e,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(t),t},stop:function(t){var e=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;e<i;e++)c.tweens[e].run(1);return t?(a.notifyWith(s,[c,1,0]),a.resolveWith(s,[c,t])):a.rejectWith(s,[c,t]),this}}),h=c.props;for(function(t,e){var i,n,s,o,r;for(i in t)if(s=e[n=Y(i)],o=t[i],Array.isArray(o)&&(s=o[1],o=t[i]=o[0]),i!==n&&(t[n]=o,delete t[i]),(r=C.cssHooks[n])&&"expand"in r)for(i in o=r.expand(o),delete t[n],o)i in t||(t[i]=o[i],e[i]=s);else e[n]=s}(h,c.opts.specialEasing);n<r;n++)if(i=me.prefilters[n].call(c,s,h,c.opts))return y(i.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return C.map(h,fe,c),y(c.opts.start)&&c.opts.start.call(s,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(l,{elem:s,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(me,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return at(i.elem,t,et.exec(e),i),i}]},tweener:function(t,e){for(var i,n=0,s=(t=y(t)?(e=t,["*"]):t.match(M)).length;n<s;n++)i=t[n],me.tweeners[i]=me.tweeners[i]||[],me.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,s,o,r,a,l,c,h="width"in e||"height"in e,d=this,u={},p=t.style,f=t.nodeType&&rt(t),m=Q.get(t,"fxshow");for(n in i.queue||(null==(r=C._queueHooks(t,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,d.always(function(){d.always(function(){r.unqueued--,C.queue(t,"fx").length||r.empty.fire()})})),e)if(s=e[n],ce.test(s)){if(delete e[n],o=o||"toggle"===s,s===(f?"hide":"show")){if("show"!==s||!m||void 0===m[n])continue;f=!0}u[n]=m&&m[n]||C.style(t,n)}if((l=!C.isEmptyObject(e))||!C.isEmptyObject(u))for(n in h&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Q.get(t,"display")),"none"===(h=C.css(t,"display"))&&(c?h=c:(ct([t],!0),c=t.style.display||c,h=C.css(t,"display"),ct([t]))),("inline"===h||"inline-block"===h&&null!=c)&&"none"===C.css(t,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(h=p.display,c="none"===h?"":h)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,u)l||(m?"hidden"in m&&(f=m.hidden):m=Q.access(t,"fxshow",{display:c}),o&&(m.hidden=!f),f&&ct([t],!0),d.done(function(){for(n in f||ct([t]),Q.remove(t,"fxshow"),u)C.style(t,n,u[n])})),l=fe(f?m[n]:0,n,d),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?me.prefilters.unshift(t):me.prefilters.push(t)}}),C.speed=function(t,e,i){var n=t&&"object"==typeof t?C.extend({},t):{complete:i||!i&&e||y(t)&&t,duration:t,easing:i&&e||e&&!y(e)&&e};return C.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in C.fx.speeds?n.duration=C.fx.speeds[n.duration]:n.duration=C.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&C.dequeue(this,n.queue)},n},C.fn.extend({fadeTo:function(t,e,i,n){return this.filter(rt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=C.isEmptyObject(e),o=C.speed(t,i,n),n=function(){var t=me(this,C.extend({},e),o);(s||Q.get(this,"finish"))&&t.stop(!0)};return n.finish=n,s||!1===o.queue?this.each(n):this.queue(o.queue,n)},stop:function(s,t,o){function r(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof s&&(o=t,t=s,s=void 0),t&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=C.timers,n=Q.get(this);if(e)n[e]&&n[e].stop&&r(n[e]);else for(e in n)n[e]&&n[e].stop&&he.test(e)&&r(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(o),t=!1,i.splice(e,1));!t&&o||C.dequeue(this,s)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=Q.get(this),i=e[r+"queue"],n=e[r+"queueHooks"],s=C.timers,o=i?i.length:0;for(e.finish=!0,C.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),t=s.length;t--;)s[t].elem===this&&s[t].queue===r&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),C.each(["toggle","show","hide"],function(t,n){var s=C.fn[n];C.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(pe(n,!0),t,e,i)}}),C.each({slideDown:pe("show"),slideUp:pe("hide"),slideToggle:pe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){C.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),C.timers=[],C.fx.tick=function(){var t,e=0,i=C.timers;for(ae=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||C.fx.stop(),ae=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){le||(le=!0,de())},C.fx.stop=function(){le=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(n,t){return n=C.fx&&C.fx.speeds[n]||n,this.queue(t=t||"fx",function(t,e){var i=x.setTimeout(t,n);e.stop=function(){x.clearTimeout(i)}})},d=k.createElement("input"),tt=k.createElement("select").appendChild(k.createElement("option")),d.type="checkbox",b.checkOn=""!==d.value,b.optSelected=tt.selected,(d=k.createElement("input")).value="t",d.type="radio",b.radioValue="t"===d.value;var ge,ve=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return W(this,C.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,i){var n,s,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,i):(1===o&&C.isXMLDoc(t)||(s=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?ge:void 0)),void 0!==i?null===i?void C.removeAttr(t,e):s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:(t.setAttribute(e,i+""),i):!(s&&"get"in s&&null!==(n=s.get(t,e)))&&null==(n=C.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!b.radioValue&&"radio"===e&&S(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,s=e&&e.match(M);if(s&&1===t.nodeType)for(;i=s[n++];)t.removeAttribute(i)}}),ge={set:function(t,e,i){return!1===e?C.removeAttr(t,i):t.setAttribute(i,i),i}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var r=ve[e]||C.find.attr;ve[e]=function(t,e,i){var n,s,o=e.toLowerCase();return i||(s=ve[o],ve[o]=n,n=null!=r(t,e,i)?o:null,ve[o]=s),n}});var be=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;function we(t){return(t.match(M)||[]).join(" ")}function _e(t){return t.getAttribute&&t.getAttribute("class")||""}function xe(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(M)||[]}C.fn.extend({prop:function(t,e){return W(this,C.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,i){var n,s,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,s=C.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(C.propHooks.selected={get:function(t){t=t.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,i,n,s,o,r,a=0;if(y(e))return this.each(function(t){C(this).addClass(e.call(this,t,_e(this)))});if((t=xe(e)).length)for(;i=this[a++];)if(r=_e(i),n=1===i.nodeType&&" "+we(r)+" "){for(o=0;s=t[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");r!==(r=we(n))&&i.setAttribute("class",r)}return this},removeClass:function(e){var t,i,n,s,o,r,a=0;if(y(e))return this.each(function(t){C(this).removeClass(e.call(this,t,_e(this)))});if(!arguments.length)return this.attr("class","");if((t=xe(e)).length)for(;i=this[a++];)if(r=_e(i),n=1===i.nodeType&&" "+we(r)+" "){for(o=0;s=t[o++];)for(;-1<n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");r!==(r=we(n))&&i.setAttribute("class",r)}return this},toggleClass:function(s,e){var o=typeof s,r="string"==o||Array.isArray(s);return"boolean"==typeof e&&r?e?this.addClass(s):this.removeClass(s):y(s)?this.each(function(t){C(this).toggleClass(s.call(this,t,_e(this),e),e)}):this.each(function(){var t,e,i,n;if(r)for(e=0,i=C(this),n=xe(s);t=n[e++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==s&&"boolean"!=o||((t=_e(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",!t&&!1!==s&&Q.get(this,"__className__")||""))})},hasClass:function(t){for(var e,i=0,n=" "+t+" ";e=this[i++];)if(1===e.nodeType&&-1<(" "+we(_e(e))+" ").indexOf(n))return!0;return!1}});var ke=/\r/g;C.fn.extend({val:function(e){var i,t,n,s=this[0];return arguments.length?(n=y(e),this.each(function(t){1===this.nodeType&&(null==(t=n?e.call(this,t,C(this).val()):e)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=C.map(t,function(t){return null==t?"":t+""})),(i=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,t,"value")||(this.value=t))})):s?(i=C.valHooks[s.type]||C.valHooks[s.nodeName.toLowerCase()])&&"get"in i&&void 0!==(t=i.get(s,"value"))?t:"string"==typeof(t=s.value)?t.replace(ke,""):null==t?"":t:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:we(C.text(t))}},select:{get:function(t){for(var e,i=t.options,n=t.selectedIndex,s="select-one"===t.type,o=s?null:[],r=s?n+1:i.length,a=n<0?r:s?n:0;a<r;a++)if(((e=i[a]).selected||a===n)&&!e.disabled&&(!e.parentNode.disabled||!S(e.parentNode,"optgroup"))){if(e=C(e).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var i,n,s=t.options,o=C.makeArray(e),r=s.length;r--;)((n=s[r]).selected=-1<C.inArray(C.valHooks.option.get(n),o))&&(i=!0);return i||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<C.inArray(C(t).val(),e)}},b.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),b.focusin="onfocusin"in x;function Ce(t){t.stopPropagation()}var $e=/^(?:focusinfocus|focusoutblur)$/;C.extend(C.event,{trigger:function(t,e,i,n){var s,o,r,a,l,c,h,d=[i||k],u=v.call(t,"type")?t.type:t,p=v.call(t,"namespace")?t.namespace.split("."):[],f=h=o=i=i||k;if(3!==i.nodeType&&8!==i.nodeType&&!$e.test(u+C.event.triggered)&&(-1<u.indexOf(".")&&(u=(p=u.split(".")).shift(),p.sort()),a=u.indexOf(":")<0&&"on"+u,(t=t[C.expando]?t:new C.Event(u,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:C.makeArray(e,[t]),c=C.event.special[u]||{},n||!c.trigger||!1!==c.trigger.apply(i,e))){if(!n&&!c.noBubble&&!m(i)){for(r=c.delegateType||u,$e.test(r+u)||(f=f.parentNode);f;f=f.parentNode)d.push(f),o=f;o===(i.ownerDocument||k)&&d.push(o.defaultView||o.parentWindow||x)}for(s=0;(f=d[s++])&&!t.isPropagationStopped();)h=f,t.type=1<s?r:c.bindType||u,(l=(Q.get(f,"events")||Object.create(null))[t.type]&&Q.get(f,"handle"))&&l.apply(f,e),(l=a&&f[a])&&l.apply&&V(f)&&(t.result=l.apply(f,e),!1===t.result&&t.preventDefault());return t.type=u,n||t.isDefaultPrevented()||c._default&&!1!==c._default.apply(d.pop(),e)||!V(i)||a&&y(i[u])&&!m(i)&&((o=i[a])&&(i[a]=null),C.event.triggered=u,t.isPropagationStopped()&&h.addEventListener(u,Ce),i[u](),t.isPropagationStopped()&&h.removeEventListener(u,Ce),C.event.triggered=void 0,o&&(i[a]=o)),t.result}},simulate:function(t,e,i){t=C.extend(new C.Event,i,{type:t,isSimulated:!0});C.event.trigger(t,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return C.event.trigger(t,e,i,!0)}}),b.focusin||C.each({focus:"focusin",blur:"focusout"},function(i,n){function s(t){C.event.simulate(n,t.target,C.event.fix(t))}C.event.special[n]={setup:function(){var t=this.ownerDocument||this.document||this,e=Q.access(t,n);e||t.addEventListener(i,s,!0),Q.access(t,n,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this.document||this,e=Q.access(t,n)-1;e?Q.access(t,n,e):(t.removeEventListener(i,s,!0),Q.remove(t,n))}}});var Te=x.location,Se={guid:Date.now()},Ie=/\?/;C.parseXML=function(t){var e,i;if(!t||"string"!=typeof t)return null;try{e=(new x.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=e&&e.getElementsByTagName("parsererror")[0],e&&!i||C.error("Invalid XML: "+(i?C.map(i.childNodes,function(t){return t.textContent}).join("\n"):t)),e};var Ee=/\[\]$/,Pe=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Ne=/^(?:input|select|textarea|keygen)/i;C.param=function(t,e){function i(t,e){e=y(e)?e():e,s[s.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==e?"":e)}var n,s=[];if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){i(this.name,this.value)});else for(n in t)!function i(n,t,s,o){if(Array.isArray(t))C.each(t,function(t,e){s||Ee.test(n)?o(n,e):i(n+"["+("object"==typeof e&&null!=e?t:"")+"]",e,s,o)});else if(s||"object"!==f(t))o(n,t);else for(var e in t)i(n+"["+e+"]",t[e],s,o)}(n,t[n],e,i);return s.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Ne.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!ht.test(t))}).map(function(t,e){var i=C(this).val();return null==i?null:Array.isArray(i)?C.map(i,function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}}):{name:e.name,value:i.replace(Pe,"\r\n")}}).get()}});var De=/%20/g,Oe=/#.*$/,Me=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)$/gm,Le=/^(?:GET|HEAD)$/,je=/^\/\//,ze={},Be={},qe="*/".concat("*"),We=k.createElement("a");function Fe(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(M)||[];if(y(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(e)):(o[i]=o[i]||[]).push(e)}}function Re(e,n,s,o){var r={},a=e===Be;function l(t){var i;return r[t]=!0,C.each(e[t]||[],function(t,e){e=e(n,s,o);return"string"!=typeof e||a||r[e]?a?!(i=e):void 0:(n.dataTypes.unshift(e),l(e),!1)}),i}return l(n.dataTypes[0])||!r["*"]&&l("*")}function Ue(t,e){var i,n,s=C.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((s[i]?t:n=n||{})[i]=e[i]);return n&&C.extend(!0,t,n),t}We.href=Te.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Te.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Te.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qe,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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ue(Ue(t,C.ajaxSettings),e):Ue(C.ajaxSettings,t)},ajaxPrefilter:Fe(ze),ajaxTransport:Fe(Be),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var l,c,h,i,d,u,p,n,s,f=C.ajaxSetup({},e=e||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?C(m):C.event,v=C.Deferred(),b=C.Callbacks("once memory"),y=f.statusCode||{},o={},r={},a="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(u){if(!i)for(i={};e=He.exec(h);)i[e[1].toLowerCase()+" "]=(i[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=i[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?h:null},setRequestHeader:function(t,e){return null==u&&(t=r[t.toLowerCase()]=r[t.toLowerCase()]||t,o[t]=e),this},overrideMimeType:function(t){return null==u&&(f.mimeType=t),this},statusCode:function(t){if(t)if(u)w.always(t[w.status]);else for(var e in t)y[e]=[y[e],t[e]];return this},abort:function(t){t=t||a;return l&&l.abort(t),_(0,t),this}};if(v.promise(w),f.url=((t||f.url||Te.href)+"").replace(je,Te.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(M)||[""],null==f.crossDomain){s=k.createElement("a");try{s.href=f.url,s.href=s.href,f.crossDomain=We.protocol+"//"+We.host!=s.protocol+"//"+s.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=C.param(f.data,f.traditional)),Re(ze,f,e,w),u)return w;for(n in(p=C.event&&f.global)&&0==C.active++&&C.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Le.test(f.type),c=f.url.replace(Oe,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(De,"+")):(s=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Ie.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Me,"$1"),s=(Ie.test(c)?"&":"?")+"_="+Se.guid+++s),f.url=c+s),f.ifModified&&(C.lastModified[c]&&w.setRequestHeader("If-Modified-Since",C.lastModified[c]),C.etag[c]&&w.setRequestHeader("If-None-Match",C.etag[c])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+qe+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(m,w,f)||u))return w.abort();if(a="abort",b.add(f.complete),w.done(f.success),w.fail(f.error),l=Re(Be,f,e,w)){if(w.readyState=1,p&&g.trigger("ajaxSend",[w,f]),u)return w;f.async&&0<f.timeout&&(d=x.setTimeout(function(){w.abort("timeout")},f.timeout));try{u=!1,l.send(o,_)}catch(t){if(u)throw t;_(-1,t)}}else _(-1,"No Transport");function _(t,e,i,n){var s,o,r,a=e;u||(u=!0,d&&x.clearTimeout(d),l=void 0,h=n||"",w.readyState=0<t?4:0,n=200<=t&&t<300||304===t,i&&(r=function(t,e,i){for(var n,s,o,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)o=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){o=s;break}r=r||s}o=o||r}if(o)return o!==l[0]&&l.unshift(o),i[o]}(f,w,i)),!n&&-1<C.inArray("script",f.dataTypes)&&C.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),r=function(t,e,i,n){var s,o,r,a,l,c={},h=t.dataTypes.slice();if(h[1])for(r in t.converters)c[r.toLowerCase()]=t.converters[r];for(o=h.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=h.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=c[l+" "+o]||c["* "+o]))for(s in c)if((a=s.split(" "))[1]===o&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[s]:!0!==c[s]&&(o=a[0],h.unshift(a[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(f,r,w,n),n?(f.ifModified&&((i=w.getResponseHeader("Last-Modified"))&&(C.lastModified[c]=i),(i=w.getResponseHeader("etag"))&&(C.etag[c]=i)),204===t||"HEAD"===f.type?a="nocontent":304===t?a="notmodified":(a=r.state,s=r.data,n=!(o=r.error))):(o=a,!t&&a||(a="error",t<0&&(t=0))),w.status=t,w.statusText=(e||a)+"",n?v.resolveWith(m,[s,a,w]):v.rejectWith(m,[w,a,o]),w.statusCode(y),y=void 0,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[w,f,n?s:o]),b.fireWith(m,[w,a]),p&&(g.trigger("ajaxComplete",[w,f]),--C.active||C.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,i){return C.get(t,e,i,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,s){C[s]=function(t,e,i,n){return y(e)&&(n=n||i,i=e,e=void 0),C.ajax(C.extend({url:t,type:s,dataType:n,data:e,success:i},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){for(var e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,i){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,i)}})},C.fn.extend({wrapAll:function(t){return this[0]&&(y(t)&&(t=t.call(this[0])),t=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(t){C(this).wrapInner(i.call(this,t))}):this.each(function(){var t=C(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=y(e);return this.each(function(t){C(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(t){}};var Ye={0:200,1223:204},Ve=C.ajaxSettings.xhr();b.cors=!!Ve&&"withCredentials"in Ve,b.ajax=Ve=!!Ve,C.ajaxTransport(function(s){var o,r;if(b.cors||Ve&&!s.crossDomain)return{send:function(t,e){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)n.setRequestHeader(i,t[i]);o=function(t){return function(){o&&(o=r=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===t?n.abort():"error"===t?"number"!=typeof n.status?e(0,"error"):e(n.status,n.statusText):e(Ye[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=o(),r=n.onerror=n.ontimeout=o("error"),void 0!==n.onabort?n.onabort=r:n.onreadystatechange=function(){4===n.readyState&&x.setTimeout(function(){o&&r()})},o=o("abort");try{n.send(s.hasContent&&s.data||null)}catch(t){if(o)throw t}},abort:function(){o&&o()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(i){var n,s;if(i.crossDomain||i.scriptAttrs)return{send:function(t,e){n=C("<script>").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}});var Xe=[],Qe=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||C.expando+"_"+Se.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,o,r=!1!==t.jsonp&&(Qe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qe.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(Qe,"$1"+n):!1!==t.jsonp&&(t.url+=(Ie.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return o||C.error(n+" was not called"),o[0]},t.dataTypes[0]="json",s=x[n],x[n]=function(){o=arguments},i.always(function(){void 0===s?C(x).removeProp(n):x[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(n)),o&&y(s)&&s(o[0]),o=s=void 0}),"script"}),b.createHTMLDocument=((d=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===d.childNodes.length),C.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(b.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),n=!i&&[],(i=I.exec(t))?[e.createElement(i[1])]:(i=vt([t],e,n),n&&n.length&&C(n).remove(),C.merge([],i.childNodes)));var n},C.fn.load=function(t,e,i){var n,s,o,r=this,a=t.indexOf(" ");return-1<a&&(n=we(t.slice(a)),t=t.slice(0,a)),y(e)?(i=e,e=void 0):e&&"object"==typeof e&&(s="POST"),0<r.length&&C.ajax({url:t,type:s||"GET",dataType:"html",data:e}).done(function(t){o=arguments,r.html(n?C("<div>").append(C.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,o||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(t,e,i){var n,s,o,r,a=C.css(t,"position"),l=C(t),c={};"static"===a&&(t.style.position="relative"),o=l.offset(),n=C.css(t,"top"),r=C.css(t,"left"),r=("absolute"===a||"fixed"===a)&&-1<(n+r).indexOf("auto")?(s=(a=l.position()).top,a.left):(s=parseFloat(n)||0,parseFloat(r)||0),null!=(e=y(e)?e.call(t,i,C.extend({},o)):e).top&&(c.top=e.top-o.top+s),null!=e.left&&(c.left=e.left-o.left+r),"using"in e?e.using.call(t,c):l.css(c)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],s={top:0,left:0};if("fixed"===C.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((s=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),s.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-C.css(n,"marginTop",!0),left:e.left-s.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||nt})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var o="pageYOffset"===s;C.fn[e]=function(t){return W(this,function(t,e,i){var n;return m(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i?n?n[s]:t[e]:void(n?n.scrollTo(o?n.pageXOffset:i,o?i:n.pageYOffset):t[e]=i)},e,t,arguments.length)}}),C.each(["top","left"],function(t,i){C.cssHooks[i]=Yt(b.pixelPosition,function(t,e){if(e)return e=Ut(t,i),Wt.test(e)?C(t).position()[i]+"px":e})}),C.each({Height:"height",Width:"width"},function(r,a){C.each({padding:"inner"+r,content:a,"":"outer"+r},function(n,o){C.fn[o]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return W(this,function(t,e,i){var n;return m(t)?0===o.indexOf("outer")?t["inner"+r]:t.document.documentElement["client"+r]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+r],n["scroll"+r],t.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?C.css(t,e,s):C.style(t,e,i,s)},a,i?t:void 0,i)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){C.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}});var Ge=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var i,n;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return i=a.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(a.call(arguments)))}).guid=t.guid=t.guid||C.guid++,n},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=S,C.isFunction=y,C.isWindow=m,C.camelCase=Y,C.type=f,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(Ge,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Ke=x.jQuery,Ze=x.$;return C.noConflict=function(t){return x.$===C&&(x.$=Ze),t&&x.jQuery===C&&(x.jQuery=Ke),C},void 0===t&&(x.jQuery=x.$=C),C}),function(){var a,t,s,r,o={}.hasOwnProperty;function e(){return e.__super__.constructor.apply(this,arguments)}function i(t,e){this.form_field=t,this.options=null!=e?e:{},i.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}function n(){this.options_index=0,this.parsed=[]}n.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},n.prototype.add_group=function(t){var e,i,n,s,o,r=this.parsed.length;for(this.parsed.push({array_index:r,group:!0,label:this.escapeExpression(t.label),title:t.title||void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],i=0,n=(s=t.childNodes).length;i<n;i++)e=s[i],o.push(this.add_option(e,r,t.disabled));return o},n.prototype.add_option=function(t,e,i){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title||void 0,selected:t.selected,disabled:!0===i?i:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},n.prototype.escapeExpression=function(t){var e;return null==t||!1===t?"":/[\&\<\>\"\'\`]/.test(t)?(e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},t.replace(/&(?!\w+;)|[\<\>\"\'\`]/g,function(t){return e[t]||"&amp;"})):t},(r=n).select_to_array=function(t){for(var e,i=new r,n=t.childNodes,s=0,o=n.length;s<o;s++)e=n[s],i.add_node(e);return i.parsed},i.prototype.set_default_values=function(){var e=this;return this.click_test_action=function(t){return e.test_active_click(t)},this.activate_action=function(t){return e.activate_field(t)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1},i.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||i.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||i.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||i.default_no_result_text},i.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+t.group_label+"</b>"+t.html:t.html},i.prototype.mouse_enter=function(){return this.mouse_on_container=!0},i.prototype.mouse_leave=function(){return this.mouse_on_container=!1},i.prototype.input_focus=function(t){var e=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return e.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},i.prototype.input_blur=function(t){var e=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(){return e.blur_test()},100)},i.prototype.results_option_build=function(t){for(var e,i,n="",s=0,o=this.results_data,r=0,a=o.length;r<a&&(""!==(i=(e=o[r]).group?this.result_add_group(e):this.result_add_option(e))&&(s++,n+=i),null!=t&&t.first&&(e.selected&&this.is_multiple?this.choice_build(e):e.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(e))),!(s>=this.max_shown_results));r++);return n},i.prototype.result_add_option=function(t){var e,i;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),i.style.cssText=t.style,i.setAttribute("data-option-array-index",t.array_index),i.innerHTML=t.search_text,t.title&&(i.title=t.title),this.outerHTML(i)):""},i.prototype.result_add_group=function(t){var e,i;return(t.search_match||t.group_match)&&0<t.active_options?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(i=document.createElement("li")).className=e.join(" "),i.innerHTML=t.search_text,t.title&&(i.title=t.title),this.outerHTML(i)):""},i.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},i.prototype.reset_single_select_options=function(){for(var t,e=this.results_data,i=[],n=0,s=e.length;n<s;n++)(t=e[n]).selected?i.push(t.selected=!1):i.push(void 0);return i},i.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},i.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},i.prototype.winnow_results=function(){var t,e,i,n,s,o,r,a,l,c,h,d;for(this.no_results_clear(),n=0,t=(o=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),l=new RegExp(t,"i"),i=this.get_search_regex(t),c=0,h=(d=this.results_data).length;c<h;c++)(e=d[c]).search_match=!1,s=null,this.include_option_in_results(e)&&(e.group&&(e.group_match=!1,e.active_options=0),null!=e.group_array_index&&this.results_data[e.group_array_index]&&(0===(s=this.results_data[e.group_array_index]).active_options&&s.search_match&&(n+=1),s.active_options+=1),e.search_text=e.group?e.label:e.html,e.group&&!this.group_search||(e.search_match=this.search_string_match(e.search_text,i),e.search_match&&!e.group&&(n+=1),e.search_match?(o.length&&(r=e.search_text.search(l),a=e.search_text.substr(0,r+o.length)+"</em>"+e.search_text.substr(r+o.length),e.search_text=a.substr(0,r)+"<em>"+a.substr(r)),null!=s&&(s.group_match=!0)):null!=e.group_array_index&&this.results_data[e.group_array_index].search_match&&(e.search_match=!0)));return this.result_clear_highlight(),n<1&&o.length?(this.update_results_content(""),this.no_results(o)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},i.prototype.get_search_regex=function(t){var e=this.search_contains?"":"^",i=this.case_sensitive_search?"":"i";return new RegExp(e+t,i)},i.prototype.search_string_match=function(t,e){var i,n,s,o;if(e.test(t))return!0;if(this.enable_split_word_search&&(0<=t.indexOf(" ")||0===t.indexOf("["))&&(n=t.replace(/\[|\]/g,"").split(" ")).length)for(s=0,o=n.length;s<o;s++)if(i=n[s],e.test(i))return!0},i.prototype.choices_count=function(){var t,e,i;if(null!=this.selected_option_count)return this.selected_option_count;for(t=this.selected_option_count=0,e=(i=this.form_field.options).length;t<e;t++)i[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},i.prototype.choices_click=function(t){if(t.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},i.prototype.keyup_checker=function(t){var e=null!=(e=t.which)?e:t.keyCode;switch(this.search_field_scale(),e){case 8:if(this.is_multiple&&this.backstroke_length<1&&0<this.choices_count())return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(t.preventDefault(),this.results_showing)return this.result_select(t);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:case 18:break;default:return this.results_search()}},i.prototype.clipboard_event_checker=function(t){var e=this;return setTimeout(function(){return e.results_search()},50)},i.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},i.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected||!this.display_disabled_options&&t.disabled||t.empty)},i.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},i.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},i.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},i.prototype.outerHTML=function(t){var e;return t.outerHTML||((e=document.createElement("div")).appendChild(t),e.innerHTML)},i.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?8<=document.documentMode:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},i.default_multiple_text="Select Some Options",i.default_single_text="Select an Option",i.default_no_result_text="No results match",t=i,(a=jQuery).fn.extend({chosen:function(n){return t.browser_is_supported()?this.each(function(t){var e=a(this),i=e.data("chosen");return"destroy"===n?void(i instanceof s&&i.destroy()):void(i instanceof s||e.data("chosen",new s(this,n)))}):this}}),function(t,e){function i(){this.constructor=t}for(var n in e)o.call(e,n)&&(t[n]=e[n]);i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(e,t),e.prototype.setup=function(){return this.form_field_jq=a(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},e.prototype.set_up_html=function(){var t=["chosen-container"];return t.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),t={class:t.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(t.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=a("<div />",t),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},e.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},e.prototype.register_observers=function(){var e=this;return this.container.bind("touchstart.chosen",function(t){return e.container_mousedown(t),t.preventDefault()}),this.container.bind("touchend.chosen",function(t){return e.container_mouseup(t),t.preventDefault()}),this.container.bind("mousedown.chosen",function(t){e.container_mousedown(t)}),this.container.bind("mouseup.chosen",function(t){e.container_mouseup(t)}),this.container.bind("mouseenter.chosen",function(t){e.mouse_enter(t)}),this.container.bind("mouseleave.chosen",function(t){e.mouse_leave(t)}),this.search_results.bind("mouseup.chosen",function(t){e.search_results_mouseup(t)}),this.search_results.bind("mouseover.chosen",function(t){e.search_results_mouseover(t)}),this.search_results.bind("mouseout.chosen",function(t){e.search_results_mouseout(t)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(t){e.search_results_mousewheel(t)}),this.search_results.bind("touchstart.chosen",function(t){e.search_results_touchstart(t)}),this.search_results.bind("touchmove.chosen",function(t){e.search_results_touchmove(t)}),this.search_results.bind("touchend.chosen",function(t){e.search_results_touchend(t)}),this.form_field_jq.bind("chosen:updated.chosen",function(t){e.results_update_field(t)}),this.form_field_jq.bind("chosen:activate.chosen",function(t){e.activate_field(t)}),this.form_field_jq.bind("chosen:open.chosen",function(t){e.container_mousedown(t)}),this.form_field_jq.bind("chosen:close.chosen",function(t){e.input_blur(t)}),this.search_field.bind("blur.chosen",function(t){e.input_blur(t)}),this.search_field.bind("keyup.chosen",function(t){e.keyup_checker(t)}),this.search_field.bind("keydown.chosen",function(t){e.keydown_checker(t)}),this.search_field.bind("focus.chosen",function(t){e.input_focus(t)}),this.search_field.bind("cut.chosen",function(t){e.clipboard_event_checker(t)}),this.search_field.bind("paste.chosen",function(t){e.clipboard_event_checker(t)}),this.is_multiple?this.search_choices.bind("click.chosen",function(t){e.choices_click(t)}):this.container.bind("click.chosen",function(t){t.preventDefault()})},e.prototype.destroy=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},e.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},e.prototype.container_mousedown=function(t){if(!this.is_disabled&&(t&&"mousedown"===t.type&&!this.results_showing&&t.preventDefault(),null==t||!a(t.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!t||a(t.target)[0]!==this.selected_item[0]&&!a(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field()},e.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},e.prototype.search_results_mousewheel=function(t){var e;if(null!=(e=t.originalEvent?t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail:e))return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},e.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},e.prototype.close_field=function(){return a(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},e.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},e.prototype.test_active_click=function(t){t=a(t.target).closest(".chosen-container");return t.length&&this.container[0]===t[0]?this.active_field=!0:this.close_field()},e.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=r.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},e.prototype.result_do_highlight=function(t){var e,i,n;if(t.length)return this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),(i=parseInt(this.search_results.css("maxHeight"),10))+(n=this.search_results.scrollTop())<=(t=(e=this.result_highlight.position().top)+this.result_highlight.outerHeight())?this.search_results.scrollTop(0<t-i?t-i:0):e<n?this.search_results.scrollTop(e):void 0},e.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},e.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},e.prototype.update_results_content=function(t){return this.search_results.html(t)},e.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},e.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},e.prototype.set_label_behavior=function(){var e=this;if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=a("label[for='"+this.form_field.id+"']")),0<this.form_field_label.length)return this.form_field_label.bind("click.chosen",function(t){return e.is_multiple?e.container_mousedown(t):e.activate_field()})},e.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},e.prototype.search_results_mouseup=function(t){var e=a(t.target).hasClass("active-result")?a(t.target):a(t.target).parents(".active-result").first();if(e.length)return this.result_highlight=e,this.result_select(t),this.search_field.focus()},e.prototype.search_results_mouseover=function(t){if(t=a(t.target).hasClass("active-result")?a(t.target):a(t.target).parents(".active-result").first())return this.result_do_highlight(t)},e.prototype.search_results_mouseout=function(t){if(a(t.target).hasClass("active-result"))return this.result_clear_highlight()},e.prototype.choice_build=function(t){var e=this,i=a("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(t)+"</span>");return t.disabled?i.addClass("search-choice-disabled"):((t=a("<a />",{class:"search-choice-close","data-option-array-index":t.array_index})).bind("click.chosen",function(t){return e.choice_destroy_link_click(t)}),i.append(t)),this.search_container.before(i)},e.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(a(t.target))},e.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.show_search_field_default(),this.is_multiple&&0<this.choices_count()&&this.search_field.val().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},e.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},e.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},e.prototype.result_select=function(t){var e;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),(e=this.results_data[e[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[e.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(e):this.single_set_selected_text(this.choice_label(e)),(t.metaKey||t.ctrlKey)&&this.is_multiple||this.results_hide(),this.show_search_field_default(),!this.is_multiple&&this.form_field.selectedIndex===this.current_selectedIndex||this.form_field_jq.trigger("change",{selected:this.form_field.options[e.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},e.prototype.single_set_selected_text=function(t){return(t=null==t?this.default_text:t)===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},e.prototype.result_deselect=function(t){t=this.results_data[t];return!this.form_field.options[t.options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},e.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},e.prototype.get_search_text=function(){return a("<div/>").text(a.trim(this.search_field.val())).html()},e.prototype.winnow_results_set_highlight=function(){var t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),t=(t.length?t:this.search_results.find(".active-result")).first();if(null!=t)return this.result_do_highlight(t)},e.prototype.no_results=function(t){var e=a('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>');return e.find("span").first().html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},e.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},e.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},e.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(0<this.choices_count()&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},e.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},e.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},e.prototype.keydown_checker=function(t){var e=null!=(e=t.which)?e:t.keyCode;switch(this.search_field_scale(),8!==e&&this.pending_backstroke&&this.clear_backstroke(),e){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},e.prototype.search_field_scale=function(){var t,e,i,n,s,o,r;if(this.is_multiple){for(i="position:absolute; left: -1000px; top: -1000px; display:none;",o=s=0,r=(n=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"]).length;o<r;o++)i+=(e=n[o])+":"+this.search_field.css(e)+";";return(t=a("<div />",{style:i})).text(this.search_field.val()),a("body").append(t),s=t.width()+25,t.remove(),t=this.container.outerWidth(),this.search_field.css({width:(s=t-10<s?t-10:s)+"px"})}},s=e}.call(this),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var n,r=window.Slick||{};n=0,(r=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('<button type="button" data-role="none" role="button" tabindex="0" />').text(e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},c.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=c(t),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,t=c(t).data("slick")||{},i.options=c.extend({},i.defaults,e,t),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=c.proxy(i.autoPlay,i),i.autoPlayClear=c.proxy(i.autoPlayClear,i),i.autoPlayIterator=c.proxy(i.autoPlayIterator,i),i.changeSlide=c.proxy(i.changeSlide,i),i.clickHandler=c.proxy(i.clickHandler,i),i.selectHandler=c.proxy(i.selectHandler,i),i.setPosition=c.proxy(i.setPosition,i),i.swipeHandler=c.proxy(i.swipeHandler,i),i.dragHandler=c.proxy(i.dragHandler,i),i.keyHandler=c.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(t,e,i){var n=this;if("boolean"==typeof e)i=e,e=null;else if(e<0||e>=n.slideCount)return!1;n.unload(),"number"==typeof e?0===e&&0===n.$slides.length?c(t).appendTo(n.$slideTrack):i?c(t).insertBefore(n.$slides.eq(e)):c(t).insertAfter(n.$slides.eq(e)):!0===i?c(t).prependTo(n.$slideTrack):c(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,e){c(e).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},r.prototype.animateHeight=function(){var t,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(t=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.animate({height:t},e.options.speed))},r.prototype.animateSlide=function(t,e){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(t=-t),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,e):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,e):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),c({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(t){t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate("+t+"px, 0px)":i[n.animType]="translate(0px,"+t+"px)",n.$slideTrack.css(i)},complete:function(){e&&e.call()}})):(n.applyTransition(),t=Math.ceil(t),!1===n.options.vertical?i[n.animType]="translate3d("+t+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(i),e&&setTimeout(function(){n.disableTransition(),e.call()},n.options.speed))},r.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t=t&&null!==t?c(t).not(this.$slider):t},r.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each(function(){var t=c(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},r.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,(!1===e.options.fade?e.$slideTrack:e.$slides.eq(t)).css(i)},r.prototype.autoPlay=function(){var t=this;t.autoPlayClear(),t.slideCount>t.options.slidesToShow&&(t.autoPlayTimer=setInterval(t.autoPlayIterator,t.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var t=this,e=t.currentSlide+t.options.slidesToScroll;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(1===t.direction&&t.currentSlide+1===t.slideCount-1?t.direction=0:0===t.direction&&(e=t.currentSlide-t.options.slidesToScroll,t.currentSlide-1==0&&(t.direction=1))),t.slideHandler(e))},r.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=c(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=c(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var t,e,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),e=c("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)e.append(c("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=e.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},r.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,e){c(e).attr("data-slick-index",t).data("originalStyling",c(e).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?c('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),c("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},r.prototype.buildRows=function(){var t,e,i,n=this,s=document.createDocumentFragment(),o=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,e=Math.ceil(o.length/i),t=0;t<e;t++){for(var r=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),c=0;c<n.options.slidesPerRow;c++){var h=t*i+(a*n.options.slidesPerRow+c);o.get(h)&&l.appendChild(o.get(h))}r.appendChild(l)}s.appendChild(r)}n.$slider.empty().append(s),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(t,e){var i,n,s,o=this,r=!1,a=o.$slider.width(),l=window.innerWidth||c(window).width();if("window"===o.respondTo?s=l:"slider"===o.respondTo?s=a:"min"===o.respondTo&&(s=Math.min(l,a)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(i in n=null,o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[i]&&(n=o.breakpoints[i]):s>o.breakpoints[i]&&(n=o.breakpoints[i]));null!==n?null!==o.activeBreakpoint&&n===o.activeBreakpoint&&!e||(o.activeBreakpoint=n,"unslick"===o.breakpointSettings[n]?o.unslick(n):(o.options=c.extend({},o.originalSettings,o.breakpointSettings[n]),!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t)),r=n):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===t&&(o.currentSlide=o.options.initialSlide),o.refresh(t),r=n),t||!1===r||o.$slider.trigger("breakpoint",[o,r])}},r.prototype.changeSlide=function(t,e){var i,n=this,s=c(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,t.data.message){case"previous":o=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-o,!1,e);break;case"next":o=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+o,!1,e);break;case"index":var o=0===t.data.index?0:t.data.index||s.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(o),!1,e),s.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(t){var e=this.getNavigableIndexes(),i=0;if(t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}return t},r.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&c("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",c.proxy(t.interrupt,t,!0)).off("mouseleave.slick",c.proxy(t.interrupt,t,!1)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),c(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().off("click.slick",t.selectHandler),c(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),c(window).off("resize.slick.slick-"+t.instanceUid,t.resize),c("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),c(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),c(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.cleanUpRows=function(){var t;1<this.options.rows&&((t=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(t))},r.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},r.prototype.destroy=function(t){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),c(".slick-cloned",e.$slider).detach(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){c(this).attr("style",c(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,t||e.$slider.trigger("destroy",[e])},r.prototype.disableTransition=function(t){var e={};e[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(t)).css(e)},r.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(i.$slides.eq(t).css({zIndex:i.options.zIndex}),i.$slides.eq(t).animate({opacity:1},i.options.speed,i.options.easing,e)):(i.applyTransition(t),i.$slides.eq(t).css({opacity:1,zIndex:i.options.zIndex}),e&&setTimeout(function(){i.disableTransition(t),e.call()},i.options.speed))},r.prototype.fadeSlideOut=function(t){var e=this;!1===e.cssTransitions?e.$slides.eq(t).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(t),e.$slides.eq(t).css({opacity:0,zIndex:e.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(t){var e=this;null!==t&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(t).appendTo(e.$slideTrack),e.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(t){t.stopImmediatePropagation();var e=c(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=e.is(":focus"),i.autoPlay())},0)})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else if(!0===t.options.centerMode)n=t.slideCount;else if(t.options.asNavFor)for(;e<t.slideCount;)++n,e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;else n=1+Math.ceil((t.slideCount-t.options.slidesToShow)/t.options.slidesToScroll);return n-1},r.prototype.getLeft=function(t){var e,i=this,n=0;return i.slideOffset=0,e=i.$slides.first().outerHeight(!0),!0===i.options.infinite?(i.slideCount>i.options.slidesToShow&&(i.slideOffset=i.slideWidth*i.options.slidesToShow*-1,n=e*i.options.slidesToShow*-1),i.slideCount%i.options.slidesToScroll!=0&&t+i.options.slidesToScroll>i.slideCount&&i.slideCount>i.options.slidesToShow&&(n=t>i.slideCount?(i.slideOffset=(i.options.slidesToShow-(t-i.slideCount))*i.slideWidth*-1,(i.options.slidesToShow-(t-i.slideCount))*e*-1):(i.slideOffset=i.slideCount%i.options.slidesToScroll*i.slideWidth*-1,i.slideCount%i.options.slidesToScroll*e*-1))):t+i.options.slidesToShow>i.slideCount&&(i.slideOffset=(t+i.options.slidesToShow-i.slideCount)*i.slideWidth,n=(t+i.options.slidesToShow-i.slideCount)*e),i.slideCount<=i.options.slidesToShow&&(n=i.slideOffset=0),!0===i.options.centerMode&&!0===i.options.infinite?i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)-i.slideWidth:!0===i.options.centerMode&&(i.slideOffset=0,i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)),e=!1===i.options.vertical?t*i.slideWidth*-1+i.slideOffset:t*e*-1+n,!0===i.options.variableWidth&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===i.options.centerMode&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(t):i.$slideTrack.children(".slick-slide").eq(t+i.options.slidesToShow+1),e=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(i.$list.width()-n.outerWidth())/2)),e},r.prototype.getOption=r.prototype.slickGetOption=function(t){return this.options[t]},r.prototype.getNavigableIndexes=function(){for(var t=this,e=0,i=0,n=[],s=!1===t.options.infinite?t.slideCount:(e=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,2*t.slideCount);e<s;)n.push(e),e=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return n},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var i,n=this,s=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(t,e){return e.offsetLeft-s+c(e).outerWidth()/2>-1*n.swipeLeft?(i=e,!1):void 0}),Math.abs(c(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:parseInt(t)}},e)},r.prototype.init=function(t){var e=this;c(e.$slider).hasClass("slick-initialized")||(c(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),t&&e.$slider.trigger("init",[e]),!0===e.options.accessibility&&e.initADA(),e.options.autoplay&&(e.paused=!1,e.autoPlay())},r.prototype.initADA=function(){var e=this;e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),e.$slideTrack.attr("role","listbox"),e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){c(this).attr({role:"option","aria-describedby":"slick-slide"+e.instanceUid+t})}),null!==e.$dots&&e.$dots.attr("role","tablist").find("li").each(function(t){c(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+e.instanceUid+t,id:"slick-slide"+e.instanceUid+t})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),e.activateADA()},r.prototype.initArrowEvents=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},t.changeSlide),t.$nextArrow.off("click.slick").on("click.slick",{message:"next"},t.changeSlide))},r.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&c("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&c("li",t.$dots).on("mouseenter.slick",c.proxy(t.interrupt,t,!0)).on("mouseleave.slick",c.proxy(t.interrupt,t,!1))},r.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",c.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",c.proxy(t.interrupt,t,!1)))},r.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),c(document).on(t.visibilityChange,c.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),c(window).on("orientationchange.slick.slick-"+t.instanceUid,c.proxy(t.orientationChange,t)),c(window).on("resize.slick.slick-"+t.instanceUid,c.proxy(t.resize,t)),c("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),c(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),c(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},r.prototype.initUI=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.show()},r.prototype.keyHandler=function(t){var e=this;t.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===t.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){function t(t){c("img[data-lazy]",t).each(function(){var t=c(this),e=c(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",e).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,t,e])})},i.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,t,e])},i.src=e})}var e,i,n=this;!0===n.options.centerMode?i=!0===n.options.infinite?(e=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(e=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),n.options.slidesToShow/2+1+2+n.currentSlide):(e=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,i=Math.ceil(e+n.options.slidesToShow),!0===n.options.fade&&(0<e&&e--,i<=n.slideCount&&i++)),t(n.$slider.find(".slick-slide").slice(e,i)),n.slideCount<=n.options.slidesToShow?t(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?t(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&t(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},r.prototype.loadSlider=function(){var t=this;t.setPosition(),t.$slideTrack.css({opacity:1}),t.$slider.removeClass("slick-loading"),t.initUI(),"progressive"===t.options.lazyLoad&&t.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){var t=this;t.autoPlay(),t.options.autoplay=!0,t.paused=!1,t.focussed=!1,t.interrupted=!1},r.prototype.postSlide=function(t){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,t]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),!0===e.options.accessibility&&e.initADA())},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(t){t.preventDefault()},r.prototype.progressiveLazyLoad=function(t){t=t||1;var e,i,n=this,s=c("img[data-lazy]",n.$slider);s.length?(e=s.first(),i=e.attr("data-lazy"),(s=document.createElement("img")).onload=function(){e.attr("src",i).removeAttr("data-lazy").removeClass("slick-loading"),!0===n.options.adaptiveHeight&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,e,i]),n.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout(function(){n.progressiveLazyLoad(t+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,i]),n.progressiveLazyLoad())},s.src=i):n.$slider.trigger("allImagesLoaded",[n])},r.prototype.refresh=function(t){var e=this,i=e.slideCount-e.options.slidesToShow;!e.options.infinite&&e.currentSlide>i&&(e.currentSlide=i),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),i=e.currentSlide,e.destroy(!0),c.extend(e,e.initials,{currentSlide:i}),e.init(),t||e.changeSlide({data:{message:"index",index:i}},!1)},r.prototype.registerBreakpoints=function(){var t,e,i,n=this,s=n.options.responsive||null;if("array"===c.type(s)&&s.length){for(t in n.respondTo=n.options.respondTo||"window",s)if(i=n.breakpoints.length-1,e=s[t].breakpoint,s.hasOwnProperty(t)){for(;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===e&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(e),n.breakpointSettings[e]=s[t].settings}n.breakpoints.sort(function(t,e){return n.options.mobileFirst?t-e:e-t})}},r.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&c(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},r.prototype.resize=function(){var t=this;c(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=c(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(t,e,i){var n=this;return t="boolean"==typeof t?!0===(e=t)?0:n.slideCount-1:!0===e?--t:t,!(n.slideCount<1||t<0||t>n.slideCount-1)&&(n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(t)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},r.prototype.setCSS=function(t){var e,i,n=this,s={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",s[n.positionProp]=t,!1===n.transformsEnabled||(!(s={})===n.cssTransitions?s[n.animType]="translate("+e+", "+i+")":s[n.animType]="translate3d("+e+", "+i+", 0px)"),n.$slideTrack.css(s)},r.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?t.$slideTrack.width(5e3*t.slideCount):(t.slideWidth=Math.ceil(t.listWidth),t.$slideTrack.height(Math.ceil(t.$slides.first().outerHeight(!0)*t.$slideTrack.children(".slick-slide").length)));var e=t.$slides.first().outerWidth(!0)-t.$slides.first().width();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(t,e){i=n.slideWidth*t*-1,!0===n.options.rtl?c(e).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}):c(e).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var t,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(t=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.css("height",t))},r.prototype.setOption=r.prototype.slickSetOption=function(){var t,e,i,n,s,o=this,r=!1;if("object"===c.type(arguments[0])?(i=arguments[0],r=arguments[1],s="multiple"):"string"===c.type(arguments[0])&&(i=arguments[0],n=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===c.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)o.options[i]=n;else if("multiple"===s)c.each(i,function(t,e){o.options[t]=e});else if("responsive"===s)for(e in n)if("array"!==c.type(o.options.responsive))o.options.responsive=[n[e]];else{for(t=o.options.responsive.length-1;0<=t;)o.options.responsive[t].breakpoint===n[e].breakpoint&&o.options.responsive.splice(t,1),t--;o.options.responsive.push(n[e])}r&&(o.unload(),o.reinit())},r.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?t.setCSS(t.getLeft(t.currentSlide)):t.setFade(),t.$slider.trigger("setPosition",[t])},r.prototype.setProps=function(){var t=this,e=document.body.style;t.positionProp=!0===t.options.vertical?"top":"left","top"===t.positionProp?t.$slider.addClass("slick-vertical"):t.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0!==t.options.useCSS||(t.cssTransitions=!0),t.options.fade&&("number"==typeof t.options.zIndex?t.options.zIndex<3&&(t.options.zIndex=3):t.options.zIndex=t.defaults.zIndex),void 0!==e.OTransform&&(t.animType="OTransform",t.transformType="-o-transform",t.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.MozTransform&&(t.animType="MozTransform",t.transformType="-moz-transform",t.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(t.animType=!1)),void 0!==e.webkitTransform&&(t.animType="webkitTransform",t.transformType="-webkit-transform",t.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(t.animType=!1)),void 0!==e.msTransform&&(t.animType="msTransform",t.transformType="-ms-transform",t.transitionType="msTransition",void 0===e.msTransform&&(t.animType=!1)),void 0!==e.transform&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},r.prototype.setSlideClasses=function(t){var e,i,n=this,s=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");n.$slides.eq(t).addClass("slick-current"),!0===n.options.centerMode?(i=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i<=t&&t<=n.slideCount-1-i?n.$slides.slice(t-i,t+i+1).addClass("slick-active").attr("aria-hidden","false"):(e=n.options.slidesToShow+t,s.slice(e-i+1,e+i+2).addClass("slick-active").attr("aria-hidden","false")),0===t?s.eq(s.length-1-n.options.slidesToShow).addClass("slick-center"):t===n.slideCount-1&&s.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(t).addClass("slick-center")):0<=t&&t<=n.slideCount-n.options.slidesToShow?n.$slides.slice(t,t+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):s.length<=n.options.slidesToShow?s.addClass("slick-active").attr("aria-hidden","false"):(i=n.slideCount%n.options.slidesToShow,e=!0===n.options.infinite?n.options.slidesToShow+t:t,(n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-t<n.options.slidesToShow?s.slice(e-(n.options.slidesToShow-i),e+i):s.slice(e,e+n.options.slidesToShow)).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},r.prototype.setupInfinite=function(){var t,e,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(e=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-i;--t)c(n.$slides[e=t-1]).clone(!0).attr("id","").attr("data-slick-index",e-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;t<i;t+=1)c(n.$slides[e=t]).clone(!0).attr("id","").attr("data-slick-index",e+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){c(this).attr("id","")})}},r.prototype.interrupt=function(t){t||this.autoPlay(),this.interrupted=t},r.prototype.selectHandler=function(t){var e=this,t=c(t.target).is(".slick-slide")?c(t.target):c(t.target).parents(".slick-slide"),t=(t=parseInt(t.attr("data-slick-index")))||0;return e.slideCount<=e.options.slidesToShow?(e.setSlideClasses(t),void e.asNavFor(t)):void e.slideHandler(t)},r.prototype.slideHandler=function(t,e,i){var n,s,o,r=this;return e=e||!1,!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===t||r.slideCount<=r.options.slidesToShow?void 0:(!1===e&&r.asNavFor(t),o=r.getLeft(n=t),e=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?e:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(t<0||t>r.getDotCount()*r.options.slidesToScroll)||!1===r.options.infinite&&!0===r.options.centerMode&&(t<0||t>r.slideCount-r.options.slidesToScroll)?void(!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(e,function(){r.postSlide(n)}):r.postSlide(n))):(r.options.autoplay&&clearInterval(r.autoPlayTimer),s=n<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+n:n>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:n-r.slideCount:n,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,s]),t=r.currentSlide,r.currentSlide=s,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&((e=(e=r.getNavTarget()).slick("getSlick")).slideCount<=e.options.slidesToShow&&e.setSlideClasses(r.currentSlide)),r.updateDots(),r.updateArrows(),!0===r.options.fade?(!0!==i?(r.fadeSlideOut(t),r.fadeSlide(s,function(){r.postSlide(s)})):r.postSlide(s),void r.animateHeight()):void(!0!==i?r.animateSlide(o,function(){r.postSlide(s)}):r.postSlide(s))))},r.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var t=this,e=t.touchObject.startX-t.touchObject.curX,i=t.touchObject.startY-t.touchObject.curY,e=Math.atan2(i,e),e=Math.round(180*e/Math.PI);return(e=e<0?360-Math.abs(e):e)<=45&&0<=e||e<=360&&315<=e?!1===t.options.rtl?"left":"right":135<=e&&e<=225?!1===t.options.rtl?"right":"left":!0===t.options.verticalSwiping?35<=e&&e<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(t){var e,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":e=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(e),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},r.prototype.swipeHandler=function(t){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),t.data.action){case"start":e.swipeStart(t);break;case"move":e.swipeMove(t);break;case"end":e.swipeEnd(t)}},r.prototype.swipeMove=function(t){var e,i,n=this,s=void 0!==t.originalEvent?t.originalEvent.touches:null;return!(!n.dragging||s&&1!==s.length)&&(e=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==s?s[0].pageX:t.clientX,n.touchObject.curY=void 0!==s?s[0].pageY:t.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2)))),"vertical"!==(i=n.swipeDirection())?(void 0!==t.originalEvent&&4<n.touchObject.swipeLength&&t.preventDefault(),s=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(s=n.touchObject.curY>n.touchObject.startY?1:-1),t=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===i||n.currentSlide>=n.getDotCount()&&"left"===i)&&(t=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=e+t*s:n.swipeLeft=e+t*(n.$list.height()/n.listWidth)*s,!0===n.options.verticalSwiping&&(n.swipeLeft=e+t*s),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))):void 0)},r.prototype.swipeStart=function(t){var e,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?!(i.touchObject={}):(void 0!==t.originalEvent&&void 0!==t.originalEvent.touches&&(e=t.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==e?e.pageX:t.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==e?e.pageY:t.clientY,void(i.dragging=!0))},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){var t=this;null!==t.$slidesCache&&(t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.appendTo(t.$slideTrack),t.reinit())},r.prototype.unload=function(){var t=this;c(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},r.prototype.unslick=function(t){this.$slider.trigger("unslick",[this,t]),this.destroy()},r.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2);!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode||t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode)&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){var t=this;null!==t.$dots&&(t.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),t.$dots.find("li").eq(Math.floor(t.currentSlide/t.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},r.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},c.fn.slick=function(){for(var t,e=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),s=e.length,o=0;o<s;o++)if("object"==typeof i||void 0===i?e[o].slick=new r(e[o],i):t=e[o].slick[i].apply(e[o].slick,n),void 0!==t)return t;return e}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(o){"use strict";function i(t,e){function i(t){void 0!==t.open&&(t.open=!t.open)}var n=function(t){for(var e,i=[],n=t.parentNode;(e=n)&&(0===e.offsetWidth||0===e.offsetHeight||!1===e.open);)i.push(n),n=n.parentNode;return i}(t),s=n.length,o=[],r=t[e];if(s){for(var a=0;a<s;a++)o[a]=n[a].style.cssText,n[a].style.setProperty?n[a].style.setProperty("display","block","important"):n[a].style.cssText+=";display: block !important",n[a].style.height="0",n[a].style.overflow="hidden",n[a].style.visibility="hidden",i(n[a]);for(var r=t[e],l=0;l<s;l++)n[l].style.cssText=o[l],i(n[l])}return r}function n(t,e){t=parseFloat(t);return Number.isNaN(t)?e:t}function s(t){return t.charAt(0).toUpperCase()+t.substr(1)}function r(t,e){if(this.$window=o(window),this.$document=o(document),this.$element=o(t),this.options=o.extend({},h,e),this.polyfill=this.options.polyfill,this.orientation=this.$element[0].getAttribute("data-orientation")||this.options.orientation,this.onInit=this.options.onInit,this.onSlide=this.options.onSlide,this.onSlideEnd=this.options.onSlideEnd,this.DIMENSION=d.orientation[this.orientation].dimension,this.DIRECTION=d.orientation[this.orientation].direction,this.DIRECTION_STYLE=d.orientation[this.orientation].directionStyle,this.COORDINATE=d.orientation[this.orientation].coordinate,this.polyfill&&c)return!1;this.identifier="js-"+a+"-"+l++,this.startEvent=this.options.startEvent.join("."+this.identifier+" ")+"."+this.identifier,this.moveEvent=this.options.moveEvent.join("."+this.identifier+" ")+"."+this.identifier,this.endEvent=this.options.endEvent.join("."+this.identifier+" ")+"."+this.identifier,this.toFixed=(this.step+"").replace(".","").length-1,this.$fill=o('<div class="'+this.options.fillClass+'" />'),this.$handle=o('<div class="'+this.options.handleClass+'" />'),this.$range=o('<div class="'+this.options.rangeClass+" "+this.options[this.orientation+"Class"]+'" id="'+this.identifier+'" />').insertAfter(this.$element).prepend(this.$fill,this.$handle),this.$element.css({position:"absolute",width:"1px",height:"1px",overflow:"hidden",opacity:"0"}),this.handleDown=o.proxy(this.handleDown,this),this.handleMove=o.proxy(this.handleMove,this),this.handleEnd=o.proxy(this.handleEnd,this),this.init();var i,n,s=this;this.$window.on("resize."+this.identifier,(i=function(){!function(t,e){var i=Array.prototype.slice.call(arguments,2);setTimeout(function(){return t.apply(null,i)},e)}(function(){s.update(!1,!1)},300)},n=(n=20)||100,function(){var t;return i.debouncing||(t=Array.prototype.slice.apply(arguments),i.lastReturnVal=i.apply(window,t),i.debouncing=!0),clearTimeout(i.debounceTimeout),i.debounceTimeout=setTimeout(function(){i.debouncing=!1},n),i.lastReturnVal})),this.$document.on(this.startEvent,"#"+this.identifier+":not(."+this.options.disabledClass+")",this.handleDown),this.$element.on("change."+this.identifier,function(t,e){e&&e.origin===s.identifier||(t=t.target.value,t=s.getPositionFromValue(t),s.setPosition(t))})}Number.isNaN=Number.isNaN||function(t){return"number"==typeof t&&t!=t};var t,a="rangeslider",l=0,c=((t=document.createElement("input")).setAttribute("type","range"),"text"!==t.type),h={polyfill:!0,orientation:"horizontal",rangeClass:"rangeslider",disabledClass:"utf_rangeslider_disabled",activeClass:"rangeslider--active",horizontalClass:"utf_rangeslider_horizontal",verticalClass:"utf_rangeslider_vertical_part",fillClass:"utf_rangeslider_fill",handleClass:"utf_rangeslider_handle",startEvent:["mousedown","touchstart","pointerdown"],moveEvent:["mousemove","touchmove","pointermove"],endEvent:["mouseup","touchend","pointerup"]},d={orientation:{horizontal:{dimension:"width",direction:"left",directionStyle:"left",coordinate:"x"},vertical:{dimension:"height",direction:"top",directionStyle:"bottom",coordinate:"y"}}};return r.prototype.init=function(){this.update(!0,!1),this.onInit&&"function"==typeof this.onInit&&this.onInit()},r.prototype.update=function(t,e){(t=t||!1)&&(this.min=n(this.$element[0].getAttribute("min"),0),this.max=n(this.$element[0].getAttribute("max"),100),this.value=n(this.$element[0].value,Math.round(this.min+(this.max-this.min)/2)),this.step=n(this.$element[0].getAttribute("step"),1)),this.handleDimension=i(this.$handle[0],"offset"+s(this.DIMENSION)),this.rangeDimension=i(this.$range[0],"offset"+s(this.DIMENSION)),this.maxHandlePos=this.rangeDimension-this.handleDimension,this.grabPos=this.handleDimension/2,this.position=this.getPositionFromValue(this.value),this.$element[0].disabled?this.$range.addClass(this.options.disabledClass):this.$range.removeClass(this.options.disabledClass),this.setPosition(this.position,e)},r.prototype.handleDown=function(t){var e,i;t.preventDefault(),this.$document.on(this.moveEvent,this.handleMove),this.$document.on(this.endEvent,this.handleEnd),this.$range.addClass(this.options.activeClass),-1<(" "+t.target.className+" ").replace(/[\n\t]/g," ").indexOf(this.options.handleClass)||(e=this.getRelativePosition(t),i=this.$range[0].getBoundingClientRect()[this.DIRECTION],t=this.getPositionFromNode(this.$handle[0])-i,i="vertical"===this.orientation?this.maxHandlePos-(e-this.grabPos):e-this.grabPos,this.setPosition(i),t<=e&&e<t+this.handleDimension&&(this.grabPos=e-t))},r.prototype.handleMove=function(t){t.preventDefault();t=this.getRelativePosition(t),t="vertical"===this.orientation?this.maxHandlePos-(t-this.grabPos):t-this.grabPos;this.setPosition(t)},r.prototype.handleEnd=function(t){t.preventDefault(),this.$document.off(this.moveEvent,this.handleMove),this.$document.off(this.endEvent,this.handleEnd),this.$range.removeClass(this.options.activeClass),this.$element.trigger("change",{origin:this.identifier}),this.onSlideEnd&&"function"==typeof this.onSlideEnd&&this.onSlideEnd(this.position,this.value)},r.prototype.cap=function(t,e,i){return t<e?e:i<t?i:t},r.prototype.setPosition=function(t,e){var i;void 0===e&&(e=!0),i=this.getValueFromPosition(this.cap(t,0,this.maxHandlePos)),t=this.getPositionFromValue(i),this.$fill[0].style[this.DIMENSION]=t+this.grabPos+"px",this.$handle[0].style[this.DIRECTION_STYLE]=t+"px",this.setValue(i),this.position=t,this.value=i,e&&this.onSlide&&"function"==typeof this.onSlide&&this.onSlide(t,i)},r.prototype.getPositionFromNode=function(t){for(var e=0;null!==t;)e+=t.offsetLeft,t=t.offsetParent;return e},r.prototype.getRelativePosition=function(t){var e=s(this.COORDINATE),i=this.$range[0].getBoundingClientRect()[this.DIRECTION],n=0;return void 0!==t.originalEvent["client"+e]?n=t.originalEvent["client"+e]:t.originalEvent.touches&&t.originalEvent.touches[0]&&void 0!==t.originalEvent.touches[0]["client"+e]?n=t.originalEvent.touches[0]["client"+e]:t.currentPoint&&void 0!==t.currentPoint[this.COORDINATE]&&(n=t.currentPoint[this.COORDINATE]),n-i},r.prototype.getPositionFromValue=function(t){t=(t-this.min)/(this.max-this.min);return Number.isNaN(t)?0:t*this.maxHandlePos},r.prototype.getValueFromPosition=function(t){var t=t/(this.maxHandlePos||1),t=this.step*Math.round(t*(this.max-this.min)/this.step)+this.min;return Number(t.toFixed(this.toFixed))},r.prototype.setValue=function(t){t===this.value&&""!==this.$element[0].value||this.$element.val(t).trigger("input",{origin:this.identifier})},r.prototype.destroy=function(){this.$document.off("."+this.identifier),this.$window.off("."+this.identifier),this.$element.off("."+this.identifier).removeAttr("style").removeData("plugin_"+a),this.$range&&this.$range.length&&this.$range[0].parentNode.removeChild(this.$range[0])},o.fn[a]=function(i){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=o(this),e=t.data("plugin_"+a);e||t.data("plugin_"+a,e=new r(this,i)),"string"==typeof i&&e[i].apply(e,n)})},"rangeslider.js is available in jQuery context e.g $(selector).rangeslider(options);"}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function($){"use strict";function r(t){return $.each([{re:/[\xC0-\xC6]/g,ch:"A"},{re:/[\xE0-\xE6]/g,ch:"a"},{re:/[\xC8-\xCB]/g,ch:"E"},{re:/[\xE8-\xEB]/g,ch:"e"},{re:/[\xCC-\xCF]/g,ch:"I"},{re:/[\xEC-\xEF]/g,ch:"i"},{re:/[\xD2-\xD6]/g,ch:"O"},{re:/[\xF2-\xF6]/g,ch:"o"},{re:/[\xD9-\xDC]/g,ch:"U"},{re:/[\xF9-\xFC]/g,ch:"u"},{re:/[\xC7-\xE7]/g,ch:"c"},{re:/[\xD1]/g,ch:"N"},{re:/[\xF1]/g,ch:"n"}],function(){t=t?t.replace(this.re,this.ch):""}),t}function e(t){var o=arguments,r=t;[].shift.apply(o);var a,t=this.each(function(){var t=$(this);if(t.is("select")){var e=t.data("selectpicker"),i="object"==typeof r&&r;if(e){if(i)for(var n in i)i.hasOwnProperty(n)&&(e.options[n]=i[n])}else{var s=$.extend({},u.DEFAULTS,$.fn.selectpicker.defaults||{},t.data(),i);s.template=$.extend({},u.DEFAULTS.template,$.fn.selectpicker.defaults?$.fn.selectpicker.defaults.template:{},t.data().template,i.template),t.data("selectpicker",e=new u(this,s))}"string"==typeof r&&(a=e[r]instanceof Function?e[r].apply(e,o):e.options[r])}});return void 0!==a?a:t}function t(t){if(null==this)throw new TypeError;var e=String(this);if(t&&"[object RegExp]"==a.call(t))throw new TypeError;var i=e.length,n=String(t),s=n.length,t=1<arguments.length?arguments[1]:void 0,t=t?Number(t):0;t!=t&&(t=0);var o=Math.min(Math.max(t,0),i);if(i<s+o)return!1;for(var r=-1;++r<s;)if(e.charCodeAt(o+r)!=n.charCodeAt(r))return!1;return!0}var a,o,i,l;function n(t){if(null==this)throw new TypeError;var e=String(this);if(t&&"[object RegExp]"==o.call(t))throw new TypeError;var i=e.length,n=String(t),s=n.length,t=1<arguments.length?arguments[1]:void 0,t=t?Number(t):0;return t!=t&&(t=0),!(i<s+Math.min(Math.max(t,0),i))&&-1!=l.call(e,n,t)}String.prototype.includes||(o={}.toString,i=function(){try{var t={},e=Object.defineProperty,i=e(t,t,t)&&e}catch(t){}return i}(),l="".indexOf,i?i(String.prototype,"includes",{value:n,configurable:!0,writable:!0}):String.prototype.includes=n),String.prototype.startsWith||(h=function(){try{var t={},e=Object.defineProperty,i=e(t,t,t)&&e}catch(t){}return i}(),a={}.toString,h?h(String.prototype,"startsWith",{value:t,configurable:!0,writable:!0}):String.prototype.startsWith=t),Object.keys||(Object.keys=function(t,e,i){for(e in i=[],t)i.hasOwnProperty.call(t,e)&&i.push(e);return i});var s={useDefault:!1,_set:$.valHooks.select.set};$.valHooks.select.set=function(t,e){return e&&!s.useDefault&&$(t).data("selected",!0),s._set.apply(this,arguments)};var g=null,c=function(){try{return new Event("change"),!0}catch(t){return!1}}();$.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(c?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)},$.expr.pseudos.icontains=function(t,e,i){t=$(t).find("a");return(t.data("tokens")||t.text()).toString().toUpperCase().includes(i[3].toUpperCase())},$.expr.pseudos.ibegins=function(t,e,i){t=$(t).find("a");return(t.data("tokens")||t.text()).toString().toUpperCase().startsWith(i[3].toUpperCase())},$.expr.pseudos.aicontains=function(t,e,i){t=$(t).find("a");return(t.data("tokens")||t.data("normalizedText")||t.text()).toString().toUpperCase().includes(i[3].toUpperCase())},$.expr.pseudos.aibegins=function(t,e,i){t=$(t).find("a");return(t.data("tokens")||t.data("normalizedText")||t.text()).toString().toUpperCase().startsWith(i[3].toUpperCase())};var h=function(e){function i(t){return e[t]}var t="(?:"+Object.keys(e).join("|")+")",n=RegExp(t),s=RegExp(t,"g");return function(t){return n.test(t=null==t?"":""+t)?t.replace(s,i):t}},x=h({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}),d=h({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#x27;":"'","&#x60;":"`"}),u=function(t,e){s.useDefault||($.valHooks.select.set=s._set,s.useDefault=!0),this.$element=$(t),this.$newElement=null,this.$button=null,this.$menu=null,this.$lis=null,this.options=e,null===this.options.title&&(this.options.title=this.$element.attr("title"));e=this.options.windowPadding;"number"==typeof e&&(this.options.windowPadding=[e,e,e,e]),this.val=u.prototype.val,this.render=u.prototype.render,this.refresh=u.prototype.refresh,this.setStyle=u.prototype.setStyle,this.selectAll=u.prototype.selectAll,this.deselectAll=u.prototype.deselectAll,this.destroy=u.prototype.destroy,this.remove=u.prototype.remove,this.show=u.prototype.show,this.hide=u.prototype.hide,this.init()};u.VERSION="1.12.4",u.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(t,e){return 1==t?"{0} item selected":"{0} items selected"},maxOptionsText:function(t,e){return[1==t?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==e?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:"btn-default",size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:"glyphicon",tickIcon:"glyphicon-ok",showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0},u.prototype={constructor:u,init:function(){var e=this,t=this.$element.attr("id");this.$element.addClass("bs-select-hidden"),this.liObj={},this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$newElement=this.createView(),this.$element.after(this.$newElement).appendTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(".dropdown-menu"),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element.removeClass("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu.addClass("dropdown-menu-right"),void 0!==t&&(this.$button.attr("data-id",t),$('label[for="'+t+'"]').click(function(t){t.preventDefault(),e.$button.focus()})),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.render(),this.setStyle(),this.setWidth(),this.options.container&&this.selectPosition(),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){e.$menuInner.attr("aria-expanded",!1),e.$element.trigger("hide.bs.select",t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden.bs.select",t)},"show.bs.dropdown":function(t){e.$menuInner.attr("aria-expanded",!0),e.$element.trigger("show.bs.select",t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown.bs.select",t)}}),e.$element[0].hasAttribute("required")&&this.$element.on("invalid",function(){e.$button.addClass("bs-invalid"),e.$element.on({"focus.bs.select":function(){e.$button.focus(),e.$element.off("focus.bs.select")},"shown.bs.select":function(){e.$element.val(e.$element.val()).off("shown.bs.select")},"rendered.bs.select":function(){this.validity.valid&&e.$button.removeClass("bs-invalid"),e.$element.off("rendered.bs.select")}}),e.$button.on("blur.bs.select",function(){e.$element.focus().blur(),e.$button.off("blur.bs.select")})}),setTimeout(function(){e.$element.trigger("loaded.bs.select")})},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",e=this.$element.parent().hasClass("input-group")?" input-group-btn":"",i=this.autofocus?" autofocus":"",n=this.options.header?'<div class="popover-title"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>":"",s=this.options.liveSearch?'<div class="bs-searchbox"><input type="text" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+x(this.options.liveSearchPlaceholder)+'"')+' role="textbox" aria-label="Search"></div>':"",o=this.multiple&&this.options.actionsBox?'<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn btn-default">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn btn-default">'+this.options.deselectAllText+"</button></div></div>":"",r=this.multiple&&this.options.doneButton?'<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm btn-default">'+this.options.doneButtonText+"</button></div></div>":"",r='<div class="btn-group bootstrap-select'+t+e+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" data-toggle="dropdown"'+i+' role="button"><span class="filter-option pull-left"></span>&nbsp;<span class="bs-caret">'+this.options.template.caret+'</span></button><div class="dropdown-menu open" role="combobox">'+n+s+o+'<ul class="dropdown-menu inner" role="listbox" aria-expanded="false"></ul>'+r+"</div></div>";return $(r)},createView:function(){var t=this.createDropdown(),e=this.createLi();return t.find("ul")[0].innerHTML=e,t},reloadLi:function(){var t=this.createLi();this.$menuInner[0].innerHTML=t},createLi:function(){function m(t,e,i,n){return"<li"+(void 0!==i&&""!==i?' class="'+i+'"':"")+(null!=e?' data-original-index="'+e+'"':"")+(null!=n?'data-optgroup="'+n+'"':"")+">"+t+"</li>"}function g(t,e,i,n){return'<a tabindex="0"'+(void 0!==e?' class="'+e+'"':"")+(i?' style="'+i+'"':"")+(v.options.liveSearchNormalize?' data-normalized-text="'+r(x($(t).html()))+'"':"")+(void 0!==n||null!==n?' data-tokens="'+n+'"':"")+' role="option">'+t+'<span class="'+v.options.iconBase+" "+v.options.tickIcon+' check-mark"></span></a>'}var t,v=this,b=[],y=0,e=document.createElement("option"),w=-1;!this.options.title||this.multiple||(w--,this.$element.find(".bs-title-option").length)||(t=this.$element[0],e.className="bs-title-option",e.innerHTML=this.options.title,e.value="",t.insertBefore(e,t.firstChild),void 0===$(t.options[t.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected")&&(e.selected=!0));var _=this.$element.find("option");return _.each(function(t){var e=$(this);if(w++,!e.hasClass("bs-title-option")){var i,n=this.className||"",s=x(this.style.cssText),o=e.data("content")?e.data("content"):e.html(),r=e.data("tokens")?e.data("tokens"):null,a=void 0!==e.data("subtext")?'<small class="text-muted">'+e.data("subtext")+"</small>":"",l=void 0!==e.data("icon")?'<span class="'+v.options.iconBase+" "+e.data("icon")+'"></span> ':"",c=e.parent(),h="OPTGROUP"===c[0].tagName,d=h&&c[0].disabled,u=this.disabled||d;if(""!==l&&u&&(l="<span>"+l+"</span>"),v.options.hideDisabled&&(u&&!h||d))return i=e.data("prevHiddenIndex"),e.next().data("prevHiddenIndex",void 0!==i?i:t),void w--;if(e.data("content")||(o=l+'<span class="text">'+o+a+"</span>"),h&&!0!==e.data("divider")){if(v.options.hideDisabled&&u)if(void 0===c.data("allOptionsDisabled")&&(p=c.children(),c.data("allOptionsDisabled",p.filter(":disabled").length===p.length)),c.data("allOptionsDisabled"))return void w--;var p,f=" "+c[0].className||"";if(0===e.index()&&(y+=1,h=c[0].label,p=void 0!==c.data("subtext")?'<small class="text-muted">'+c.data("subtext")+"</small>":"",h=(c.data("icon")?'<span class="'+v.options.iconBase+" "+c.data("icon")+'"></span> ':"")+'<span class="text">'+x(h)+p+"</span>",0!==t&&0<b.length&&(w++,b.push(m("",null,"divider",y+"div"))),w++,b.push(m(h,null,"dropdown-header"+f,y))),v.options.hideDisabled&&u)return void w--;b.push(m(g(o,"opt "+n+f,s,r),t,"",y))}else!0===e.data("divider")?b.push(m("",t,"divider")):!0===e.data("hidden")?(i=e.data("prevHiddenIndex"),e.next().data("prevHiddenIndex",void 0!==i?i:t),b.push(m(g(o,n,s,r),t,"hidden is-hidden"))):((f=this.previousElementSibling&&"OPTGROUP"===this.previousElementSibling.tagName)||!v.options.hideDisabled||void 0===(i=e.data("prevHiddenIndex"))||(i=_.eq(i)[0].previousElementSibling)&&"OPTGROUP"===i.tagName&&!i.disabled&&(f=!0),f&&(w++,b.push(m("",null,"divider",y+"div"))),b.push(m(g(o,n,s,r),t)));v.liObj[t]=w}}),this.multiple||0!==this.$element.find("option:selected").length||this.options.title||this.$element.find("option").eq(0).prop("selected",!0).attr("selected","selected"),b.join("")},findLis:function(){return null==this.$lis&&(this.$lis=this.$menu.find("li")),this.$lis},render:function(t){var n=this,e=this.$element.find("option");!1!==t&&e.each(function(t){var e=n.findLis().eq(n.liObj[t]);n.setDisabled(t,this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled,e),n.setSelected(t,this.selected,e)}),this.togglePlaceholder(),this.tabIndex();var i=e.map(function(){if(this.selected&&(!n.options.hideDisabled||!(this.disabled||"OPTGROUP"===this.parentNode.tagName&&this.parentNode.disabled))){var t=$(this),e=t.data("icon")&&n.options.showIcon?'<i class="'+n.options.iconBase+" "+t.data("icon")+'"></i> ':"",i=n.options.showSubtext&&t.data("subtext")&&!n.multiple?' <small class="text-muted">'+t.data("subtext")+"</small>":"";return void 0!==t.attr("title")?t.attr("title"):t.data("content")&&n.options.showContent?t.data("content").toString():e+t.html()+i}}).toArray(),s=this.multiple?i.join(this.options.multipleSeparator):i[0];this.multiple&&-1<this.options.selectedTextFormat.indexOf("count")&&((1<(t=this.options.selectedTextFormat.split(">")).length&&i.length>t[1]||1==t.length&&2<=i.length)&&(t=this.options.hideDisabled?", [disabled]":"",t=e.not('[data-divider="true"], [data-hidden="true"]'+t).length,s=("function"==typeof this.options.countSelectedText?this.options.countSelectedText(i.length,t):this.options.countSelectedText).replace("{0}",i.length.toString()).replace("{1}",t.toString()))),null==this.options.title&&(this.options.title=this.$element.attr("title")),s=(s="static"==this.options.selectedTextFormat?this.options.title:s)||(void 0!==this.options.title?this.options.title:this.options.noneSelectedText),this.$button.attr("title",d($.trim(s.replace(/<[^>]*>?/g,"")))),this.$button.children(".filter-option").html(s),this.$element.trigger("rendered.bs.select")},setStyle:function(t,e){this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));t=t||this.options.style;"add"==e?this.$button.addClass(t):"remove"==e?this.$button.removeClass(t):(this.$button.removeClass(this.options.style),this.$button.addClass(t))},liHeight:function(t){var e,i,n,s,o,r,a,l,c,h,d;(t||!1!==this.options.size&&!this.sizeInfo)&&(e=document.createElement("div"),h=document.createElement("div"),o=document.createElement("ul"),d=document.createElement("li"),i=document.createElement("li"),r=document.createElement("a"),n=document.createElement("span"),a=this.options.header&&0<this.$menu.find(".popover-title").length?this.$menu.find(".popover-title")[0].cloneNode(!0):null,l=this.options.liveSearch?document.createElement("div"):null,c=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,t=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,n.className="text",e.className=this.$menu[0].parentNode.className+" open",h.className="dropdown-menu open",o.className="dropdown-menu inner",d.className="divider",n.appendChild(document.createTextNode("Inner text")),r.appendChild(n),i.appendChild(r),o.appendChild(i),o.appendChild(d),a&&h.appendChild(a),l&&(s=document.createElement("input"),l.className="bs-searchbox",s.className="form-control",l.appendChild(s),h.appendChild(l)),c&&h.appendChild(c),h.appendChild(o),t&&h.appendChild(t),e.appendChild(h),document.body.appendChild(e),s=r.offsetHeight,o=a?a.offsetHeight:0,r=l?l.offsetHeight:0,a=c?c.offsetHeight:0,l=t?t.offsetHeight:0,c=$(d).outerHeight(!0),d=(t="function"==typeof getComputedStyle&&getComputedStyle(h))?null:$(h),d={vert:(h={vert:parseInt(t?t.paddingTop:d.css("paddingTop"))+parseInt(t?t.paddingBottom:d.css("paddingBottom"))+parseInt(t?t.borderTopWidth:d.css("borderTopWidth"))+parseInt(t?t.borderBottomWidth:d.css("borderBottomWidth")),horiz:parseInt(t?t.paddingLeft:d.css("paddingLeft"))+parseInt(t?t.paddingRight:d.css("paddingRight"))+parseInt(t?t.borderLeftWidth:d.css("borderLeftWidth"))+parseInt(t?t.borderRightWidth:d.css("borderRightWidth"))}).vert+parseInt(t?t.marginTop:d.css("marginTop"))+parseInt(t?t.marginBottom:d.css("marginBottom"))+2,horiz:h.horiz+parseInt(t?t.marginLeft:d.css("marginLeft"))+parseInt(t?t.marginRight:d.css("marginRight"))+2},document.body.removeChild(e),this.sizeInfo={liHeight:s,headerHeight:o,searchHeight:r,actionsHeight:a,doneButtonHeight:l,dividerHeight:c,menuPadding:h,menuExtras:d})},setSize:function(){var i,n,s,o,r,a,l,c,h,d,u,p,f,m,g,v,b,t,y,w,_,e,x,k,C;this.findLis(),this.liHeight(),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size&&(c=(l=this).$menu,h=this.$menuInner,d=$(window),u=this.$newElement[0].offsetHeight,p=this.$newElement[0].offsetWidth,f=this.sizeInfo.liHeight,m=this.sizeInfo.headerHeight,g=this.sizeInfo.searchHeight,v=this.sizeInfo.actionsHeight,b=this.sizeInfo.doneButtonHeight,t=this.sizeInfo.dividerHeight,y=this.sizeInfo.menuPadding,w=this.sizeInfo.menuExtras,x=this.options.hideDisabled?".disabled":"",(_=function(){var t,e=l.$newElement.offset(),i=$(l.options.container);l.options.container&&!i.is("body")?((t=i.offset()).top+=parseInt(i.css("borderTopWidth")),t.left+=parseInt(i.css("borderLeftWidth"))):t={top:0,left:0};i=l.options.windowPadding;s=e.top-t.top-d.scrollTop(),o=d.height()-s-u-t.top-i[2],r=e.left-t.left-d.scrollLeft(),a=d.width()-r-p-t.left-i[1],s-=i[0],r-=i[3]})(),"auto"===this.options.size?((e=function(){var t=function(e,i){return function(t){return i?t.classList?t.classList.contains(e):$(t).hasClass(e):!(t.classList?t.classList.contains(e):$(t).hasClass(e))}},e=l.$menuInner[0].getElementsByTagName("li"),e=Array.prototype.filter?Array.prototype.filter.call(e,t("hidden",!1)):l.$lis.not(".hidden"),t=Array.prototype.filter?Array.prototype.filter.call(e,t("dropdown-header",!0)):e.filter(".dropdown-header");_(),k=o-w.vert,i=a-w.horiz,n=l.options.container?(c.data("height")||c.data("height",c.height()),C=c.data("height"),c.data("width")||c.data("width",c.width()),c.data("width")):(C=c.height(),c.width()),l.options.dropupAuto&&l.$newElement.toggleClass("dropup",o<s&&k-w.vert<C),l.$newElement.hasClass("dropup")&&(k=s-w.vert),"auto"===l.options.dropdownAlignRight&&c.toggleClass("dropdown-menu-right",a<r&&i-w.horiz<n-p),t=3<e.length+t.length?3*f+w.vert-2:0,c.css({"max-height":k+"px",overflow:"hidden","min-height":t+m+g+v+b+"px"}),h.css({"max-height":k-m-g-v-b-y.vert+"px","overflow-y":"auto","min-height":Math.max(t-y.vert,0)+"px"})})(),this.$searchbox.off("input.getSize propertychange.getSize").on("input.getSize propertychange.getSize",e),d.off("resize.getSize scroll.getSize").on("resize.getSize scroll.getSize",e)):this.options.size&&"auto"!=this.options.size&&this.$lis.not(x).length>this.options.size&&(x=this.$lis.not(".divider").not(x).children().slice(0,this.options.size).last().parent().index(),x=this.$lis.slice(0,x+1).filter(".divider").length,k=f*this.options.size+x*t+y.vert,C=l.options.container?(c.data("height")||c.data("height",c.height()),c.data("height")):c.height(),l.options.dropupAuto&&this.$newElement.toggleClass("dropup",o<s&&k-w.vert<C),c.css({"max-height":k+m+g+v+b+"px",overflow:"hidden","min-height":""}),h.css({"max-height":k-y.vert+"px","overflow-y":"auto","min-height":""})))},setWidth:function(){var t,e,i,n;"auto"===this.options.width?(this.$menu.css("min-width","0"),t=this.$menu.parent().clone().appendTo("body"),e=this.options.container?this.$newElement.clone().appendTo("body"):t,i=t.children(".dropdown-menu").outerWidth(),n=e.css("width","auto").children("button").outerWidth(),t.remove(),e.remove(),this.$newElement.css("width",Math.max(i,n)+"px")):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement.removeClass("fit-width")},selectPosition:function(){this.$bsContainer=$('<div class="bs-container" />');function e(t){o.$bsContainer.addClass(t.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass("dropup",t.hasClass("dropup")),i=t.offset(),r.is("body")?n={top:0,left:0}:((n=r.offset()).top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),s=t.hasClass("dropup")?0:t[0].offsetHeight,o.$bsContainer.css({top:i.top-n.top+s,left:i.left-n.left,width:t[0].offsetWidth})}var i,n,s,o=this,r=$(this.options.container);this.$button.on("click",function(){var t=$(this);o.isDisabled()||(e(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass("open",!t.hasClass("open")).append(o.$menu))}),$(window).on("resize scroll",function(){e(o.$newElement)}),this.$element.on("hide.bs.select",function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()})},setSelected:function(t,e,i){i||(this.togglePlaceholder(),i=this.findLis().eq(this.liObj[t])),i.toggleClass("selected",e).find("a").attr("aria-selected",e)},setDisabled:function(t,e,i){i=i||this.findLis().eq(this.liObj[t]),e?i.addClass("disabled").children("a").attr("href","#").attr("tabindex",-1).attr("aria-disabled",!0):i.removeClass("disabled").children("a").removeAttr("href").attr("tabindex",0).attr("aria-disabled",!1)},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){var t=this;this.isDisabled()?(this.$newElement.addClass("disabled"),this.$button.addClass("disabled").attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button.hasClass("disabled")&&(this.$newElement.removeClass("disabled"),this.$button.removeClass("disabled").attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex")),this.$button.click(function(){return!t.isDisabled()})},togglePlaceholder:function(){var t=this.$element.val();this.$button.toggleClass("bs-placeholder",null===t||""===t||t.constructor===Array&&0===t.length)},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var m=this,e=$(document);e.data("spaceSelect",!1),this.$button.on("keyup",function(t){/(32)/.test(t.keyCode.toString(10))&&e.data("spaceSelect")&&(t.preventDefault(),e.data("spaceSelect",!1))}),this.$button.on("click",function(){m.setSize()}),this.$element.on("shown.bs.select",function(){var t;m.options.liveSearch||m.multiple?m.multiple||"number"==typeof(t=m.liObj[m.$element[0].selectedIndex])&&!1!==m.options.size&&(t=(t=m.$lis.eq(t)[0].offsetTop-m.$menuInner[0].offsetTop)-m.$menuInner[0].offsetHeight/2+m.sizeInfo.liHeight/2,m.$menuInner[0].scrollTop=t):m.$menuInner.find(".selected a").focus()}),this.$menuInner.on("click","li a",function(t){var e,i,n,s,o,r,a,l,c,h=$(this),d=h.parent().data("originalIndex"),u=m.$element.val(),p=m.$element.prop("selectedIndex"),f=!0;m.multiple&&1!==m.options.maxOptions&&t.stopPropagation(),t.preventDefault(),m.isDisabled()||h.parent().hasClass("disabled")||(n=(i=(e=m.$element.find("option")).eq(d)).prop("selected"),l=i.parent("optgroup"),s=m.options.maxOptions,o=l.data("maxOptions")||!1,m.multiple?(i.prop("selected",!n),m.setSelected(d,!n),h.blur(),!1===s&&!1===o||(r=s<e.filter(":selected").length,a=o<l.find("option:selected").length,(s&&r||o&&a)&&(s&&1==s?(e.prop("selected",!1),i.prop("selected",!0),m.$menuInner.find(".selected").removeClass("selected"),m.setSelected(d,!0)):o&&1==o?(l.find("option:selected").prop("selected",!1),i.prop("selected",!0),c=h.parent().data("optgroup"),m.$menuInner.find('[data-optgroup="'+c+'"]').removeClass("selected"),m.setSelected(d,!0)):(h=(l="function"==typeof(t="string"==typeof m.options.maxOptionsText?[m.options.maxOptionsText,m.options.maxOptionsText]:m.options.maxOptionsText)?t(s,o):t)[0].replace("{n}",s),c=l[1].replace("{n}",o),t=$('<div class="notify"></div>'),l[2]&&(h=h.replace("{var}",l[2][1<s?0:1]),c=c.replace("{var}",l[2][1<o?0:1])),i.prop("selected",!1),m.$menu.append(t),s&&r&&(t.append($("<div>"+h+"</div>")),f=!1,m.$element.trigger("maxReached.bs.select")),o&&a&&(t.append($("<div>"+c+"</div>")),f=!1,m.$element.trigger("maxReachedGrp.bs.select")),setTimeout(function(){m.setSelected(d,!1)},10),t.delay(750).fadeOut(300,function(){$(this).remove()}))))):(e.prop("selected",!1),i.prop("selected",!0),m.$menuInner.find(".selected").removeClass("selected").find("a").attr("aria-selected",!1),m.setSelected(d,!0)),!m.multiple||m.multiple&&1===m.options.maxOptions?m.$button.focus():m.options.liveSearch&&m.$searchbox.focus(),f&&(u!=m.$element.val()&&m.multiple||p!=m.$element.prop("selectedIndex")&&!m.multiple)&&(g=[d,i.prop("selected"),n],m.$element.triggerNative("change")))}),this.$menu.on("click","li.disabled a, .popover-title, .popover-title :not(.close)",function(t){t.currentTarget==this&&(t.preventDefault(),t.stopPropagation(),(m.options.liveSearch&&!$(t.target).hasClass("close")?m.$searchbox:m.$button).focus())}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),(m.options.liveSearch?m.$searchbox:m.$button).focus()}),this.$menu.on("click",".popover-title .close",function(){m.$button.click()}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(t){(m.options.liveSearch?m.$searchbox:m.$button).focus(),t.preventDefault(),t.stopPropagation(),$(this).hasClass("bs-select-all")?m.selectAll():m.deselectAll()}),this.$element.change(function(){m.render(!1),m.$element.trigger("changed.bs.select",g),g=null})},liveSearchListener:function(){var s=this,o=$('<li class="no-results"></li>');this.$button.on("click.dropdown.data-api",function(){s.$menuInner.find(".active").removeClass("active"),s.$searchbox.val()&&(s.$searchbox.val(""),s.$lis.not(".is-hidden").removeClass("hidden"),o.parent().length&&o.remove()),s.multiple||s.$menuInner.find(".selected").addClass("active"),setTimeout(function(){s.$searchbox.focus()},10)}),this.$searchbox.on("click.dropdown.data-api focus.dropdown.data-api touchend.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var t,e,i,n;s.$lis.not(".is-hidden").removeClass("hidden"),s.$lis.filter(".active").removeClass("active"),o.remove(),s.$searchbox.val()&&(e=s.$lis.not(".is-hidden, .divider, .dropdown-header"),(t=s.options.liveSearchNormalize?e.not(":a"+s._searchStyle()+'("'+r(s.$searchbox.val())+'")'):e.not(":"+s._searchStyle()+'("'+s.$searchbox.val()+'")')).length===e.length?(o.html(s.options.noneResultsText.replace("{0}",'"'+x(s.$searchbox.val())+'"')),s.$menuInner.append(o),s.$lis.addClass("hidden")):(t.addClass("hidden"),(n=s.$lis.not(".hidden")).each(function(t){var e=$(this);e.hasClass("divider")?void 0===i?e.addClass("hidden"):(i&&i.addClass("hidden"),i=e):e.hasClass("dropdown-header")&&n.eq(t+1).data("optgroup")!==e.data("optgroup")?e.addClass("hidden"):i=null}),i&&i.addClass("hidden"),e.not(".hidden").first().addClass("active"),s.$menuInner.scrollTop(0)))})},_searchStyle:function(){return{begins:"ibegins",startsWith:"ibegins"}[this.options.liveSearchStyle]||"icontains"},val:function(t){return void 0!==t?(this.$element.val(t),this.render(),this.$element):this.$element.val()},changeAll:function(t){if(this.multiple){void 0===t&&(t=!0),this.findLis();var e=this.$element.find("option"),i=this.$lis.not(".divider, .dropdown-header, .disabled, .hidden"),n=i.length,s=[];if(t){if(i.filter(".selected").length===i.length)return}else if(0===i.filter(".selected").length)return;i.toggleClass("selected",t);for(var o=0;o<n;o++){var r=i[o].getAttribute("data-original-index");s[s.length]=e.eq(r)[0]}$(s).prop("selected",t),this.render(!1),this.togglePlaceholder(),this.$element.triggerNative("change")}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(t){(t=t||window.event)&&t.stopPropagation(),this.$button.trigger("click")},keydown:function(e){var t,i,n,s,o=$(this),r=(o.is("input")?o.parent():o).parent().data("this"),a=":not(.disabled, .hidden, .dropdown-header, .divider)",l={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},c=r.$newElement.hasClass("open");if(!c&&(48<=e.keyCode&&e.keyCode<=57||96<=e.keyCode&&e.keyCode<=105||65<=e.keyCode&&e.keyCode<=90))return r.options.container?r.$button.trigger("click"):(r.setSize(),r.$menu.parent().addClass("open"),c=!0),void r.$searchbox.focus();if(r.options.liveSearch&&/(^9$|27)/.test(e.keyCode.toString(10))&&c&&(e.preventDefault(),e.stopPropagation(),r.$menuInner.click(),r.$button.focus()),/(38|40)/.test(e.keyCode.toString(10))){if(!(s=r.$lis.filter(a)).length)return;t=r.options.liveSearch?s.index(s.filter(".active")):s.index(s.find("a").filter(":focus").parent()),i=r.$menuInner.data("prevIndex"),38==e.keyCode?(!r.options.liveSearch&&t!=i||-1==t||t--,t<0&&(t+=s.length)):40==e.keyCode&&(!r.options.liveSearch&&t!=i||t++,t%=s.length),r.$menuInner.data("prevIndex",t),r.options.liveSearch?(e.preventDefault(),o.hasClass("dropdown-toggle")||(s.removeClass("active").eq(t).addClass("active").children("a").focus(),o.focus())):s.eq(t).children("a").focus()}else o.is("input")||(n=[],(s=r.$lis.filter(a)).each(function(t){$.trim($(this).children("a").text().toLowerCase()).substring(0,1)==l[e.keyCode]&&n.push(t)}),a=$(document).data("keycount"),a++,$(document).data("keycount",a),$.trim($(":focus").text().toLowerCase()).substring(0,1)!=l[e.keyCode]?(a=1,$(document).data("keycount",a)):a>=n.length&&($(document).data("keycount",0),a>n.length&&(a=1)),s.eq(n[a-1]).children("a").focus());(/(13|32)/.test(e.keyCode.toString(10))||/(^9$)/.test(e.keyCode.toString(10))&&r.options.selectOnTab)&&c&&(/(32)/.test(e.keyCode.toString(10))||e.preventDefault(),r.options.liveSearch?/(32)/.test(e.keyCode.toString(10))||(r.$menuInner.find(".active a").click(),o.focus()):((o=$(":focus")).click(),o.focus(),e.preventDefault(),$(document).data("spaceSelect",!0)),$(document).data("keycount",0)),(/(^9$|27)/.test(e.keyCode.toString(10))&&c&&(r.multiple||r.options.liveSearch)||/(27)/.test(e.keyCode.toString(10))&&!c)&&(r.$menu.parent().removeClass("open"),r.options.container&&r.$newElement.removeClass("open"),r.$button.focus())},mobile:function(){this.$element.addClass("mobile-device")},refresh:function(){this.$lis=null,this.liObj={},this.reloadLi(),this.render(),this.checkDisabled(),this.liHeight(!0),this.setStyle(),this.setWidth(),this.$lis&&this.$searchbox.trigger("propertychange"),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),(this.$bsContainer||this.$menu).remove(),this.$element.off(".bs.select").removeData("selectpicker").removeClass("bs-select-hidden selectpicker")}};var p=$.fn.selectpicker;$.fn.selectpicker=e,$.fn.selectpicker.Constructor=u,$.fn.selectpicker.noConflict=function(){return $.fn.selectpicker=p,this},$(document).data("keycount",0).on("keydown.bs.select",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',u.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle=dropdown], .bootstrap-select [role="listbox"], .bs-searchbox input',function(t){t.stopPropagation()}),$(window).on("load.bs.select.data-api",function(){$(".selectpicker").each(function(){var t=$(this);e.call(t,t.data())})})}(t)}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function numericalRating(t){$(t).each(function(){var t=$(this).attr("data-rating");4<=t?$(this).addClass("high"):3<=t?$(this).addClass("mid"):t<3&&$(this).addClass("low")})}function starRating(t){$(t).each(function(){var t=$(this).attr("data-rating");function e(t,e,i,n,s){return'<span class="'+t+'"></span><span class="'+e+'"></span><span class="'+i+'"></span><span class="'+n+'"></span><span class="'+s+'"></span>'}4.75<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span>'):4.25<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star half"></span>'):3.75<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star"></span><span class="star"></span><span class="star empty"></span>'):3.25<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star"></span><span class="star half"></span><span class="star empty"></span>'):2.75<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star"></span><span class="star empty"></span><span class="star empty"></span>'):2.25<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star half"></span><span class="star empty"></span><span class="star empty"></span>'):1.75<=t?$(this).append('<span class="star"></span><span class="star"></span><span class="star empty"></span><span class="star empty"></span><span class="star empty"></span>'):1.25<=t?$(this).append('<span class="star"></span><span class="star half"></span><span class="star empty"></span><span class="star empty"></span><span class="star empty"></span>'):t<1.25&&$(this).append('<span class="star"></span><span class="star empty"></span><span class="star empty"></span><span class="star empty"></span><span class="star empty"></span>')}),$(window).on("load",function(){setTimeout(function(){$(".preloader").delay(700).fadeOut(700).addClass("loaded")},800)})}!function(){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(s){"use strict";function o(t){var e=t.attr("data-target"),e=(e=!e?(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""):e)&&s(e);return e&&e.length?e:t.parent()}function r(n){n&&3===n.which||(s(".dropdown-backdrop").remove(),s(a).each(function(){var t=s(this),e=o(t),i={relatedTarget:this};e.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&s.contains(e[0],n.target)||(e.trigger(n=s.Event("hide.bs.dropdown",i)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(s.Event("hidden.bs.dropdown",i)))))}))}function n(t){s(t).on("click.bs.dropdown",this.toggle)}var a='[data-toggle="dropdown"]';n.VERSION="3.3.7",n.prototype.toggle=function(t){var e=s(this);if(!e.is(".disabled, :disabled")){var i=o(e),n=i.hasClass("open");if(r(),!n){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&s(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(s(this)).on("click",r);n={relatedTarget:this};if(i.trigger(t=s.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(s.Event("shown.bs.dropdown",n))}return!1}},n.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=s(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=o(e),n=i.hasClass("open");if(!n&&27!=t.which||n&&27==t.which)return 27==t.which&&i.find(a).trigger("focus"),e.trigger("click");e=i.find(".dropdown-menu li:not(.disabled):visible a");e.length&&(i=e.index(t.target),38==t.which&&0<i&&i--,40==t.which&&i<e.length-1&&i++,e.eq(i=!~i?0:i).trigger("focus"))}}};var t=s.fn.dropdown;s.fn.dropdown=function(i){return this.each(function(){var t=s(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new n(this)),"string"==typeof i&&e[i].call(t)})},s.fn.dropdown.Constructor=n,s.fn.dropdown.noConflict=function(){return s.fn.dropdown=t,this},s(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",a,n.prototype.toggle).on("keydown.bs.dropdown.data-api",a,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(c){function t(){}function h(t,e){f.ev.on("mfp"+t+w,e)}function d(t,e,i,n){var s=document.createElement("div");return s.className="mfp-"+t,i&&(s.innerHTML=i),n?e&&e.appendChild(s):(s=c(s),e&&s.appendTo(e)),s}function u(t,e){f.ev.triggerHandler("mfp"+t,e),f.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),f.st.callbacks[t]&&f.st.callbacks[t].apply(f,c.isArray(e)?e:[e]))}function p(t){return t===e&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=c(f.st.closeMarkup.replace("%title%",f.st.tClose)),e=t),f.currTemplate.closeBtn}function o(){c.magnificPopup.instance||((f=new t).init(),c.magnificPopup.instance=f)}var f,n,m,s,g,e,l="Close",v="BeforeClose",b="MarkupParse",y="Open",w=".mfp",_="mfp-ready",i="mfp-removing",r="mfp-prevent-close",a=!!window.jQuery,x=c(window);t.prototype={constructor:t,init:function(){var t=navigator.appVersion;f.isIE7=-1!==t.indexOf("MSIE 7."),f.isIE8=-1!==t.indexOf("MSIE 8."),f.isLowIE=f.isIE7||f.isIE8,f.isAndroid=/android/gi.test(t),f.isIOS=/iphone|ipad|ipod/gi.test(t),f.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=c(document),f.popupsCache={}},open:function(t){if(!1===t.isObj){f.items=t.items.toArray(),f.index=0;for(var e,i=t.items,n=0;n<i.length;n++)if((e=(e=i[n]).parsed?e.el[0]:e)===t.el[0]){f.index=n;break}}else f.items=c.isArray(t.items)?t.items:[t.items],f.index=t.index||0;if(!f.isOpen){f.types=[],g="",f.ev=t.mainEl&&t.mainEl.length?t.mainEl.eq(0):m,t.key?(f.popupsCache[t.key]||(f.popupsCache[t.key]={}),f.currTemplate=f.popupsCache[t.key]):f.currTemplate={},f.st=c.extend(!0,{},c.magnificPopup.defaults,t),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=d("bg").on("click"+w,function(){f.close()}),f.wrap=d("wrap").attr("tabindex",-1).on("click"+w,function(t){f._checkIfClose(t.target)&&f.close()}),f.container=d("container",f.wrap)),f.contentContainer=d("content"),f.st.preloader&&(f.preloader=d("preloader",f.container,f.st.tLoading));var s=c.magnificPopup.modules;for(n=0;n<s.length;n++){var o=(o=s[n]).charAt(0).toUpperCase()+o.slice(1);f["init"+o].call(f)}u("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(h(b,function(t,e,i,n){i.close_replaceWith=p(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(p())),f.st.alignTop&&(g+=" mfp-align-top"),f.wrap.css(f.fixedContentPos?{overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}:{top:x.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}),f.st.enableEscapeKey&&m.on("keyup"+w,function(t){27===t.keyCode&&f.close()}),x.on("resize"+w,function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var r=f.wH=x.height(),a={};f.fixedContentPos&&f._hasScrollBar(r)&&((l=f._getScrollbarSize())&&(a.marginRight=l)),f.fixedContentPos&&(f.isIE7?c("body, html").css("overflow","hidden"):a.overflow="hidden");var l=f.st.mainClass;return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),u("BuildControls"),c("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||c(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(_),f._setFocus()):f.bgOverlay.addClass(_),m.on("focusin"+w,f._onFocusIn)},16),f.isOpen=!0,f.updateSize(r),u(y),t}f.updateItemHTML()},close:function(){f.isOpen&&(u(v),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(i),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){u(l);var t=i+" "+_+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(t+=f.st.mainClass+" "),f._removeClassFromMFP(t),f.fixedContentPos&&(t={marginRight:""},f.isIE7?c("body, html").css("overflow",""):t.overflow="",c("html").css(t)),m.off("keyup.mfp focusin"+w),f.ev.off(w),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f._lastFocusedEl&&c(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,u("AfterClose")},updateSize:function(t){var e;f.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,e=window.innerHeight*e,f.wrap.css("height",e),f.wH=e):f.wH=t||x.height(),f.fixedContentPos||f.wrap.css("height",f.wH),u("Resize")},updateItemHTML:function(){var t=f.items[f.index];f.contentContainer.detach(),f.content&&f.content.detach();var e=(t=!t.parsed?f.parseEl(f.index):t).type;u("BeforeChange",[f.currItem?f.currItem.type:"",e]),f.currItem=t,f.currTemplate[e]||(i=!!f.st[e]&&f.st[e].markup,u("FirstMarkupParse",i),f.currTemplate[e]=!i||c(i)),s&&s!==t.type&&f.container.removeClass("mfp-"+s+"-holder");var i=f["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,f.currTemplate[e]);f.appendContent(i,e),t.preloaded=!0,u("Change",t),s=t.type,f.container.prepend(f.contentContainer),u("AfterChange")},appendContent:function(t,e){(f.content=t)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[e]?f.content.find(".mfp-close").length||f.content.append(p()):f.content=t:f.content="",u("BeforeAppend"),f.container.addClass("mfp-"+e+"-holder"),f.contentContainer.append(f.content)},parseEl:function(t){var e,i=f.items[t];if((i=i.tagName?{el:c(i)}:(e=i.type,{data:i,src:i.src})).el){for(var n=f.types,s=0;s<n.length;s++)if(i.el.hasClass("mfp-"+n[s])){e=n[s];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=e||f.st.type||"inline",i.index=t,i.parsed=!0,f.items[t]=i,u("ElementParse",i),f.items[t]},addGroup:function(e,i){function t(t){t.mfpEl=this,f._openClick(t,e,i)}var n="click.magnificPopup";(i=i||{}).mainEl=e,i.items?(i.isObj=!0,e.off(n).on(n,t)):(i.isObj=!1,i.delegate?e.off(n).on(n,i.delegate,t):(i.items=e).off(n).on(n,t))},_openClick:function(t,e,i){if((void 0!==i.midClick?i:c.magnificPopup.defaults).midClick||2!==t.which&&!t.ctrlKey&&!t.metaKey){var n=(void 0!==i.disableOn?i:c.magnificPopup.defaults).disableOn;if(n)if(c.isFunction(n)){if(!n.call(f))return!0}else if(x.width()<n)return!0;t.type&&(t.preventDefault(),f.isOpen&&t.stopPropagation()),i.el=c(t.mfpEl),i.delegate&&(i.items=e.find(i.delegate)),f.open(i)}},updateStatus:function(t,e){var i;f.preloader&&(n!==t&&f.container.removeClass("mfp-s-"+n),i={status:t,text:e=!e&&"loading"===t?f.st.tLoading:e},u("UpdateStatus",i),t=i.status,f.preloader.html(e=i.text),f.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+t),n=t)},_checkIfClose:function(t){if(!c(t).hasClass(r)){var e=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(e&&i)return!0;if(!f.content||c(t).hasClass("mfp-close")||f.preloader&&t===f.preloader[0])return!0;if(t===f.content[0]||c.contains(f.content[0],t)){if(e)return!0}else if(i&&c.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){f.bgOverlay.addClass(t),f.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),f.wrap.removeClass(t)},_hasScrollBar:function(t){return(f.isIE7?m.height():document.body.scrollHeight)>(t||x.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(t){return t.target===f.wrap[0]||c.contains(f.wrap[0],t.target)?void 0:(f._setFocus(),!1)},_parseMarkup:function(s,t,e){var o;e.data&&(t=c.extend(e.data,t)),u(b,[s,t,e]),c.each(t,function(t,e){return void 0===e||!1===e||void(1<(o=t.split("_")).length?0<(i=s.find(w+"-"+o[0])).length&&("replaceWith"===(n=o[1])?i[0]!==e[0]&&i.replaceWith(e):"img"===n?i.is("img")?i.attr("src",e):i.replaceWith('<img src="'+e+'" class="'+i.attr("class")+'" />'):i.attr(o[1],e)):s.find(w+"-"+t).html(e));var i,n})},_getScrollbarSize:function(){var t;return void 0===f.scrollbarSize&&((t=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),f.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),f.scrollbarSize}},c.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return o(),(t=t?c.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(c.magnificPopup.defaults[t]=e.options),c.extend(this.proto,e.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"></button>',tClose:"Close (Esc)",tLoading:"Loading..."}},c.fn.magnificPopup=function(t){o();var e,i,n,s=c(this);return"string"==typeof t?"open"===t?(e=a?s.data("magnificPopup"):s[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=e.items?e.items[i]:(n=s,(n=e.delegate?n.find(e.delegate):n).eq(i)),f._openClick({mfpEl:n},s,e)):f.isOpen&&f[t].apply(f,Array.prototype.slice.call(arguments,1)):(t=c.extend(!0,{},t),a?s.data("magnificPopup",t):s[0].magnificPopup=t,f.addGroup(s,t)),s};function k(){T&&($.after(T.addClass(C)).detach(),T=null)}var C,$,T,S="inline";c.magnificPopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(S),h(l+"."+S,function(){k()})},getInline:function(t,e){if(k(),t.src){var i,n=f.st.inline,s=c(t.src);return s.length?((i=s[0].parentNode)&&i.tagName&&($||(C=n.hiddenClass,$=d(C),C="mfp-"+C),T=s.after($).detach().removeClass(C)),f.updateStatus("ready")):(f.updateStatus("error",n.tNotFound),s=c("<div>")),t.inlineElement=s}return f.updateStatus("ready"),f._parseMarkup(e,{},t),e}}});function I(){P&&c(document.body).removeClass(P)}function E(){I(),f.req&&f.req.abort()}var P,A="ajax";c.magnificPopup.registerModule(A,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(A),P=f.st.ajax.cursor,h(l+"."+A,E),h("BeforeChange."+A,E)},getAjax:function(n){P&&c(document.body).addClass(P),f.updateStatus("loading");var t=c.extend({url:n.src,success:function(t,e,i){i={data:t,xhr:i};u("ParseAjax",i),f.appendContent(c(i.data),A),n.finished=!0,I(),f._setFocus(),setTimeout(function(){f.wrap.addClass(_)},16),f.updateStatus("ready"),u("AjaxContentAdded")},error:function(){I(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=c.ajax(t),""}}});var N;c.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 t=f.st.image,e=".image";f.types.push("image"),h(y+e,function(){"image"===f.currItem.type&&t.cursor&&c(document.body).addClass(t.cursor)}),h(l+e,function(){t.cursor&&c(document.body).removeClass(t.cursor),x.off("resize"+w)}),h("Resize"+e,f.resizeImage),f.isLowIE&&h("AfterChange",f.resizeImage)},resizeImage:function(){var t,e=f.currItem;e&&e.img&&f.st.image.verticalFit&&(t=0,f.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",f.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,N&&clearInterval(N),t.isCheckingImgSize=!1,u("ImageHasSize",t),t.imgHidden&&(f.content&&f.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],s=function(t){N&&clearInterval(N),N=setInterval(function(){return 0<n.naturalWidth?void f._onImageHasSize(e):(200<i&&clearInterval(N),void(3===++i?s(10):40===i?s(50):100===i&&s(500)))},t)};s(1)},getImage:function(t,e){var i,n=0,s=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,u("ImageLoadComplete")):++n<200?setTimeout(s,100):o())},o=function(){t&&(t.img.off(".mfploader"),t===f.currItem&&(f._onImageHasSize(t),f.updateStatus("error",r.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},r=f.st.image,a=e.find(".mfp-img");return a.length&&((i=document.createElement("img")).className="mfp-img",t.el&&t.el.find("img").length&&(i.alt=t.el.find("img").attr("alt")),t.img=c(i).on("load.mfploader",s).on("error.mfploader",o),i.src=t.src,a.is("img")&&(t.img=t.img.clone()),0<(i=t.img[0]).naturalWidth?t.hasSize=!0:i.width||(t.hasSize=!1)),f._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=f.st.image.titleSrc;if(e){if(c.isFunction(e))return e.call(f,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),f.resizeImage(),t.hasSize?(N&&clearInterval(N),t.loadError?(e.addClass("mfp-loading"),f.updateStatus("error",r.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),f.findImageSize(t))),e}}});var D;c.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,i,n,s,o,r=f.st.zoom,a=".zoom";r.enabled&&f.supportsTransition&&(n=r.duration,s=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+r.duration/1e3+"s "+r.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},t="transition";return n["-webkit-"+t]=n["-moz-"+t]=n["-o-"+t]=n[t]=i,e.css(n),e},o=function(){f.content.css("visibility","visible")},h("BuildControls"+a,function(){f._allowZoom()&&(clearTimeout(e),f.content.css("visibility","hidden"),(t=f._getItemToZoom())?((i=s(t)).css(f._getOffset()),f.wrap.append(i),e=setTimeout(function(){i.css(f._getOffset(!0)),e=setTimeout(function(){o(),setTimeout(function(){i.remove(),t=i=null,u("ZoomAnimationEnded")},16)},n)},16)):o())}),h(v+a,function(){if(f._allowZoom()){if(clearTimeout(e),f.st.removalDelay=n,!t){if(!(t=f._getItemToZoom()))return;i=s(t)}i.css(f._getOffset(!0)),f.wrap.append(i),f.content.css("visibility","hidden"),setTimeout(function(){i.css(f._getOffset())},16)}}),h(l+a,function(){f._allowZoom()&&(o(),i&&i.remove(),t=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(t){var e=t?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),i=e.offset(),n=parseInt(e.css("padding-top"),10),t=parseInt(e.css("padding-bottom"),10);i.top-=c(window).scrollTop()-n;n={width:e.width(),height:(a?e.innerHeight():e[0].offsetHeight)-t-n};return(D=void 0===D?void 0!==document.createElement("p").style.MozTransform:D)?n["-moz-transform"]=n.transform="translate("+i.left+"px,"+i.top+"px)":(n.left=i.left,n.top=i.top),n}}});function O(t){var e;!f.currTemplate[M]||(e=f.currTemplate[M].find("iframe")).length&&(t||(e[0].src="//about:blank"),f.isIE8&&e.css("display",t?"block":"none"))}var M="iframe";c.magnificPopup.registerModule(M,{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(){f.types.push(M),h("BeforeChange",function(t,e,i){e!==i&&(e===M?O():i===M&&O(!0))}),h(l+"."+M,function(){O()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe;c.each(n.patterns,function(){return-1<i.indexOf(this.index)?(this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1):void 0});var s={};return n.srcAction&&(s[n.srcAction]=i),f._parseMarkup(e,s,t),f.updateStatus("ready"),e}}});function H(t){var e=f.items.length;return e-1<t?t-e:t<0?e+t:t}function L(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)}c.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=f.st.gallery,t=".utf_gallery",n=Boolean(c.fn.mfpFastClick);return f.direction=!0,!(!o||!o.enabled)&&(g+=" utf_gallery",h(y+t,function(){o.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){return 1<f.items.length?(f.next(),!1):void 0}),m.on("keydown"+t,function(t){37===t.keyCode?f.prev():39===t.keyCode&&f.next()})}),h("UpdateStatus"+t,function(t,e){e.text&&(e.text=L(e.text,f.currItem.index,f.items.length))}),h(b+t,function(t,e,i,n){var s=f.items.length;i.counter=1<s?L(o.tCounter,n.index,s):""}),h("BuildControls"+t,function(){var t,e,i;1<f.items.length&&o.arrows&&!f.arrowLeft&&(i=o.arrowMarkup,t=f.arrowLeft=c(i.replace(/%title%/gi,o.tPrev).replace(/%dir%/gi,"left")).addClass(r),e=f.arrowRight=c(i.replace(/%title%/gi,o.tNext).replace(/%dir%/gi,"right")).addClass(r),t[i=n?"mfpFastClick":"click"](function(){f.prev()}),e[i](function(){f.next()}),f.isIE7&&(d("b",t[0],!1,!0),d("a",t[0],!1,!0),d("b",e[0],!1,!0),d("a",e[0],!1,!0)),f.container.append(t.add(e)))}),h("Change"+t,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),void h(l+t,function(){m.off(t),f.wrap.off("click"+t),f.arrowLeft&&n&&f.arrowLeft.add(f.arrowRight).destroyMfpFastClick(),f.arrowRight=f.arrowLeft=null}))},next:function(){f.direction=!0,f.index=H(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=H(f.index-1),f.updateItemHTML()},goTo:function(t){f.direction=t>=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),n=1;n<=(f.direction?i:e);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?e:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(t){var e;t=H(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),u("LazyLoad",e),"image"===e.type&&(e.img=c('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,u("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}});var j,z,B="retina";function q(){x.off("touchmove"+z+" touchend"+z)}c.magnificPopup.registerModule(B,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n)&&(h("ImageHasSize."+B,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/n,width:"100%"})}),h("ElementParse."+B,function(t,e){e.src=i.replaceSrc(e,n)})))}}}),j="ontouchstart"in window,z=".mfpFastClick",c.fn.mfpFastClick=function(l){return c(this).each(function(){var e,i,n,s,o,r,a,t=c(this);j&&t.on("touchstart"+z,function(t){o=!1,a=1,r=(t.originalEvent||t).touches[0],n=r.clientX,s=r.clientY,x.on("touchmove"+z,function(t){r=(t.originalEvent||t).touches,a=r.length,r=r[0],(10<Math.abs(r.clientX-n)||10<Math.abs(r.clientY-s))&&(o=!0,q())}).on("touchend"+z,function(t){q(),o||1<a||(e=!0,t.preventDefault(),clearTimeout(i),i=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+z,function(){e||l()})})},c.fn.destroyMfpFastClick=function(){c(this).off("touchstart"+z+" click"+z),j&&x.off("touchmove"+z+" touchend"+z)},o()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(p){p.ui=p.ui||{},p.ui.version="1.12.1";var s,i=0,a=Array.prototype.slice;p.cleanData=(s=p.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)try{(e=p._data(i,"events"))&&e.remove&&p(i).triggerHandler("remove")}catch(t){}s(t)}),p.widget=function(t,i,e){var n,s,o,r={},a=t.split(".")[0],l=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=p.Widget),p.isArray(e)&&(e=p.extend.apply(null,[{}].concat(e))),p.expr[":"][l.toLowerCase()]=function(t){return!!p.data(t,l)},p[a]=p[a]||{},n=p[a][t],s=p[a][t]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new s(t,e)},p.extend(s,n,{version:e.version,_proto:p.extend({},e),_childConstructors:[]}),(o=new i).options=p.widget.extend({},o.options),p.each(e,function(e,n){return p.isFunction(n)?void(r[e]=function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}):void(r[e]=n);function s(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}}),s.prototype=p.widget.extend(o,{widgetEventPrefix:n&&o.widgetEventPrefix||t},r,{constructor:s,namespace:a,widgetName:t,widgetFullName:l}),n?(p.each(n._childConstructors,function(t,e){var i=e.prototype;p.widget(i.namespace+"."+i.widgetName,s,e._proto)}),delete n._childConstructors):i._childConstructors.push(s),p.widget.bridge(t,s),s},p.widget.extend=function(t){for(var e,i,n=a.call(arguments,1),s=0,o=n.length;s<o;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&void 0!==i&&(t[e]=p.isPlainObject(i)?p.isPlainObject(t[e])?p.widget.extend({},t[e],i):p.widget.extend({},i):i);return t},p.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;p.fn[o]=function(i){var t="string"==typeof i,n=a.call(arguments,1),s=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=p.data(this,r);return"instance"===i?(s=e,!1):e?p.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&void 0!==t?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:p.error("no such method '"+i+"' for "+o+" widget instance"):p.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):s=void 0:(n.length&&(i=p.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=p.data(this,r);t?(t.option(i||{}),t._init&&t._init()):p.data(this,r,new e(i,this))})),s}},p.Widget=function(){},p.Widget._childConstructors=[],p.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=p(e||this.defaultElement||this)[0],this.element=p(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=p(),this.hoverable=p(),this.focusable=p(),this.classesElementLookup={},e!==this&&(p.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=p(e.style?e.ownerDocument:e.document||e),this.window=p(this.document[0].defaultView||this.document[0].parentWindow)),this.options=p.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:p.noop,_create:p.noop,_init:p.noop,destroy:function(){var i=this;this._destroy(),p.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:p.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return p.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=p.widget.extend({},this.options[t]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=p(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(s){function t(t,e){for(var i,n=0;t.length>n;n++)i=r.classesElementLookup[t[n]]||p(),i=s.add?p(p.unique(i.get().concat(s.element.get()))):p(i.not(s.element).get()),r.classesElementLookup[t[n]]=i,o.push(t[n]),e&&s.classes[t[n]]&&o.push(s.classes[t[n]])}var o=[],r=this;return s=p.extend({element:this.element,classes:this.options.classes||{}},s),this._on(s.element,{remove:"_untrackClassesElement"}),s.keys&&t(s.keys.match(/\S+/g)||[],!0),s.extra&&t(s.extra.match(/\S+/g)||[]),o.join(" ")},_untrackClassesElement:function(i){var n=this;p.each(n.classesElementLookup,function(t,e){-1!==p.inArray(i.target,e)&&(n.classesElementLookup[t]=p(e.not(i.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var s="string"==typeof t||null===t,i={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:n="boolean"==typeof n?n:i};return i.element.toggleClass(this._classes(i),n),this},_on:function(s,o,t){var r,a=this;"boolean"!=typeof s&&(t=o,o=s,s=!1),t?(o=r=p(o),this.bindings=this.bindings.add(o)):(t=o,o=this.element,r=this.widget()),p.each(t,function(t,e){function i(){return s||!0!==a.options.disabled&&!p(this).hasClass("ui-state-disabled")?("string"==typeof e?a[e]:e).apply(a,arguments):void 0}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||p.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),t=n[1]+a.eventNamespace,n=n[2];n?r.on(t,n,i):o.on(t,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e).off(e),this.bindings=p(this.bindings.not(t).get()),this.focusable=p(this.focusable.not(t).get()),this.hoverable=p(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(p(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(p(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(p(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(p(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,s,o=this.options[t];if(i=i||{},(e=p.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(p.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},p.each({show:"fadeIn",hide:"fadeOut"},function(o,r){p.Widget.prototype["_"+o]=function(e,t,i){var n=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:o,s=!p.isEmptyObject(t="number"==typeof(t=t||{})?{duration:t}:t);t.complete=i,t.delay&&e.delay(t.delay),s&&p.effects&&p.effects.effect[n]?e[o](t):n!==o&&e[n]?e[n](t.duration,t.easing,i):e.queue(function(t){p(this)[o](),i&&i.call(e[0]),t()})}}),p.widget,p.extend(p.expr[":"],{data:p.expr.createPseudo?p.expr.createPseudo(function(e){return function(t){return!!p.data(t,e)}}):function(t,e,i){return!!p.data(t,i[3])}}),p.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=p(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:p(this[0].ownerDocument||document)},p.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var o=!1;p(document).on("mouseup",function(){o=!1}),p.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(t){return!0===p.data(t.target,e.widgetName+".preventClickEvent")?(p.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!o){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,n=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&p(t.target).closest(this.options.cancel).length;return i&&!n&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?t.preventDefault():(!0===p.data(t.target,this.widgetName+".preventClickEvent")&&p.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),o=!0)),!0}},_mouseMove:function(t){if(this._mouseMoved){if(p.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&p.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,o=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),p.widget("ui.sortable",p.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return e<=t&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),p.each(this.items,function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,e){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),p(t.target).parents().each(function(){return p.data(this,s.widgetName+"-item")===s?(i=p(this),!1):void 0}),!!(i=p.data(t.target,s.widgetName+"-item")===s?p(t.target):i)&&(!(this.options.handle&&!e&&(p(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},p.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=p("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return p.ui.ddmanager&&(p.ui.ddmanager.current=this),p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,n,s,o=this.options,r=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:t.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:t.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-this.document.scrollTop()<o.scrollSensitivity?r=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<o.scrollSensitivity&&(r=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)),t.pageX-this.document.scrollLeft()<o.scrollSensitivity?r=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<o.scrollSensitivity&&(r=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed))),!1!==r&&p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;0<=e;e--)if(n=(i=this.items[e]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===s?"next":"prev"]()[0]!==n&&!p.contains(this.placeholder[0],n)&&("semi-dynamic"!==this.options.type||!p.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),p.ui.ddmanager&&p.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){var i,n,s,o;if(t)return p.ui.ddmanager&&!this.options.dropBehaviour&&p.ui.ddmanager.drop(this,t),this.options.revert?(n=(i=this).placeholder.offset(),o={},(s=this.options.axis)&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,p(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(t)})):this._clear(t,e),!1},cancel:function(){if(this.dragging){this._mouseUp(new p.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),p.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?p(this.domPosition.prev).after(this.currentItem):p(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},p(t).each(function(){var t=(p(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(p(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=t.left,r=o+t.width,a=t.top,l=a+t.height,c=this.offset.click.top,h=this.offset.click.left,c="x"===this.options.axis||a<n+c&&n+c<l,h="y"===this.options.axis||o<e+h&&e+h<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?c&&h:e+this.helperProportions.width/2>o&&r>i-this.helperProportions.width/2&&n+this.helperProportions.height/2>a&&l>s-this.helperProportions.height/2},_intersectsWithPointer:function(t){var e="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),t="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!!(e&&t)&&(e=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection(),this.floating?"right"===t||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),t=this._getDragHorizontalDirection();return this.floating&&t?"right"===t&&i||"left"===t&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){function e(){r.push(this)}var i,n,s,o,r=[],a=[],l=this._connectWith();if(l&&t)for(i=l.length-1;0<=i;i--)for(n=(s=p(l[i],this.document[0])).length-1;0<=n;n--)(o=p.data(s[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&a.push([p.isFunction(o.options.items)?o.options.items.call(o.element):p(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(a.push([p.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):p(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;0<=i;i--)a[i][0].each(e);return p(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=p.grep(this.items,function(t){for(var e=0;i.length>e;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,n,s,o,r,a,l,c=this.items,h=[[p.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):p(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(e=d.length-1;0<=e;e--)for(i=(n=p(d[e],this.document[0])).length-1;0<=i;i--)(s=p.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(h.push([p.isFunction(s.options.items)?s.options.items.call(s.element[0],t,{item:this.currentItem}):p(s.options.items,s.element),s]),this.containers.push(s));for(e=h.length-1;0<=e;e--)for(o=h[e][1],l=(r=h[e][i=0]).length;i<l;i++)(a=p(r[i])).data(this.widgetName+"-item",o),c.push({item:a,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var e,i,n,s;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),e=this.items.length-1;0<=e;e--)(i=this.items[e]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?p(this.options.toleranceElement,i.item):i.item,t||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)s=this.containers[e].element.offset(),this.containers[e].containerCache.left=s.left,this.containers[e].containerCache.top=s.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var t=i.currentItem[0].nodeName.toLowerCase(),e=p("<"+t+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",n||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===t?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),p("<tr>",i.document[0]).appendTo(e)):"tr"===t?i._createTrPlaceholder(i.currentItem,e):"img"===t&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(t,e){n&&!s.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=p(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){p("<td>&#160;</td>",i.document[0]).attr("colspan",p(this).attr("colspan")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,n,s,o,r,a,l,c,h=null,d=null,u=this.containers.length-1;0<=u;u--)if(!p.contains(this.currentItem[0],this.containers[u].element[0]))if(this._intersectsWith(this.containers[u].containerCache)){if(h&&p.contains(this.containers[u].element[0],h.element[0]))continue;h=this.containers[u],d=u}else this.containers[u].containerCache.over&&(this.containers[u]._trigger("out",t,this._uiHash(this)),this.containers[u].containerCache.over=0);if(h)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(i=1e4,n=null,s=(l=h.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",c=l?"pageX":"pageY",e=this.items.length-1;0<=e;e--)p.contains(this.containers[d].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(r=this.items[e].item.offset()[s],a=!1,t[c]-r>this.items[e][o]/2&&(a=!0),i>Math.abs(t[c]-r)&&(i=Math.abs(t[c]-r),n=this.items[e],this.direction=a?"up":"down"));(n||this.options.dropOnEmpty)&&(this.currentContainer!==this.containers[d]?(n?this._rearrange(t,n,null,!0):this._rearrange(t,null,this.containers[d].element,!0),this._trigger("change",t,this._uiHash()),this.containers[d]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1):this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1))}},_createHelper:function(t){var e=this.options,t=p.isFunction(e.helper)?p(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return t.parents("body").length||p("parent"!==e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(t[0]),t[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),t[0].style.width&&!e.forceHelperSize||t.width(this.currentItem.width()),t[0].style.height&&!e.forceHelperSize||t.height(this.currentItem.height()),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=p.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&p.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&p.ui.ie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(t=p(i.containment)[0],e=p(i.containment).offset(),i="hidden"!==p(t).css("overflow"),this.containment=[e.left+(parseInt(p(t).css("borderLeftWidth"),10)||0)+(parseInt(p(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(p(t).css("borderTopWidth"),10)||0)+(parseInt(p(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(p(t).css("borderLeftWidth"),10)||0)-(parseInt(p(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(p(t).css("borderTopWidth"),10)||0)-(parseInt(p(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e=e||this.position;var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,t=/(html|body)/i.test(n[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():t?0:n.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():t?0:n.scrollLeft())*i}},_generatePosition:function(t){var e=this.options,i=t.pageX,n=t.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(n=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((n-this.originalPageY)/e.grid[1])*e.grid[1],n=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[0])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0])),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:s.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:s.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){function i(e,i,n){return function(t){n._trigger(e,t,i._uiHash(i))}}this.reverting=!1;var n,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;0<=n;n--)e||s.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(s.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(n=0;s.length>n;n++)s[n].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===p.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||p([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.jquery_mmenu_js=e(t.jQuery)}(this,function(t){var o,r,a,l,e,i,n,s,c,h,d,u,p,f,m,g,v,b,y,w,_,x,k,C,$;return(y=t)[$="mmenu"]&&"6.1.8"<y[$].version||(y[$]=function(t,e,i){return this.$menu=t,this._api=["bind","getInstance","initPanels","openPanel","closePanel","closeAllPanels","setSelected"],this.opts=e,this.conf=i,this.vars={},this.cbck={},this.mtch={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initAddons(),this._initExtensions(),this._initMenu(),this._initPanels(),this._initOpened(),this._initAnchors(),this._initMatchMedia(),"function"==typeof this.___debug&&this.___debug(),this},y[$].version="6.1.8",y[$].addons={},y[$].uniqueId=0,y[$].defaults={extensions:[],initMenu:function(){},initPanels:function(){},navbar:{add:!0,title:"Menu",titleLink:"parent"},onClick:{setSelected:!0},slidingSubmenus:!0},y[$].configuration={classNames:{divider:"Divider",inset:"Inset",nolistview:"NoListview",nopanel:"NoPanel",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},y[$].prototype={getInstance:function(){return this},initPanels:function(t){this._initPanels(t)},openPanel:function(t,e){if(this.trigger("openPanel:before",t),t&&t.length&&(t=!t.is("."+w.panel)?t.closest("."+w.panel):t).is("."+w.panel)){var i=this;if("boolean"!=typeof e&&(e=!0),t.hasClass(w.vertical))t.add(t.parents("."+w.vertical)).removeClass(w.hidden).parent("li").addClass(w.opened),this.openPanel(t.parents("."+w.panel).not("."+w.vertical).first()),this.trigger("openPanel:start",t),this.trigger("openPanel:finish",t);else{if(t.hasClass(w.opened))return;var n=this.$pnls.children("."+w.panel),s=n.filter("."+w.opened);if(!y[$].support.csstransitions)return s.addClass(w.hidden).removeClass(w.opened),t.removeClass(w.hidden).addClass(w.opened),this.trigger("openPanel:start",t),void this.trigger("openPanel:finish",t);n.not(t).removeClass(w.subopened);for(var o=t.data(_.parent);o;)(o=o.closest("."+w.panel)).is("."+w.vertical)||o.addClass(w.subopened),o=o.data(_.parent);n.removeClass(w.highest).not(s).not(t).addClass(w.hidden),t.removeClass(w.hidden),this.openPanelStart=function(){s.removeClass(w.opened),t.addClass(w.opened),t.hasClass(w.subopened)?(s.addClass(w.highest),t.removeClass(w.subopened)):(s.addClass(w.subopened),t.addClass(w.highest)),this.trigger("openPanel:start",t)},this.openPanelFinish=function(){s.removeClass(w.highest).addClass(w.hidden),t.removeClass(w.highest),this.trigger("openPanel:finish",t)},e&&!t.hasClass(w.noanimation)?setTimeout(function(){i.__transitionend(t,function(){i.openPanelFinish.call(i)},i.conf.transitionDuration),i.openPanelStart.call(i)},i.conf.openingInterval):(this.openPanelStart.call(this),this.openPanelFinish.call(this))}this.trigger("openPanel:after",t)}},closePanel:function(t){this.trigger("closePanel:before",t);var e=t.parent();e.hasClass(w.vertical)&&(e.removeClass(w.opened),this.trigger("closePanel",t)),this.trigger("closePanel:after",t)},closeAllPanels:function(t){this.trigger("closeAllPanels:before"),this.$pnls.find("."+w.listview).children().removeClass(w.selected).filter("."+w.vertical).removeClass(w.opened);var e=this.$pnls.children("."+w.panel),e=t&&t.length?t:e.first();this.$pnls.children("."+w.panel).not(e).removeClass(w.subopened).removeClass(w.opened).removeClass(w.highest).addClass(w.hidden),this.openPanel(e,!1),this.trigger("closeAllPanels:after")},togglePanel:function(t){var e=t.parent();e.hasClass(w.vertical)&&this[e.hasClass(w.opened)?"closePanel":"openPanel"](t)},setSelected:function(t){this.trigger("setSelected:before",t),this.$menu.find("."+w.listview).children("."+w.selected).removeClass(w.selected),t.addClass(w.selected),this.trigger("setSelected:after",t)},bind:function(t,e){this.cbck[t]=this.cbck[t]||[],this.cbck[t].push(e)},trigger:function(){var t=Array.prototype.slice.call(arguments),e=t.shift();if(this.cbck[e])for(var i=0,n=this.cbck[e].length;i<n;i++)this.cbck[e][i].apply(this,t)},matchMedia:function(t,e,i){i={yes:e,no:i};this.mtch[t]=this.mtch[t]||[],this.mtch[t].push(i)},_initAddons:function(){for(var t in this.trigger("initAddons:before"),y[$].addons)y[$].addons[t].add.call(this),y[$].addons[t].add=function(){};for(t in y[$].addons)y[$].addons[t].setup.call(this);this.trigger("initAddons:after")},_initExtensions:function(){this.trigger("initExtensions:before");var t,e=this;for(t in this.opts.extensions.constructor===Array&&(this.opts.extensions={all:this.opts.extensions}),this.opts.extensions)this.opts.extensions[t]=this.opts.extensions[t].length?"mm-"+this.opts.extensions[t].join(" mm-"):"",this.opts.extensions[t]&&function(t){e.matchMedia(t,function(){this.$menu.addClass(this.opts.extensions[t])},function(){this.$menu.removeClass(this.opts.extensions[t])})}(t);this.trigger("initExtensions:after")},_initMenu:function(){this.trigger("initMenu:before"),this.conf.clone&&(this.$orig=this.$menu,this.$menu=this.$orig.clone(),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){y(this).attr("id",w.mm(y(this).attr("id")))})),this.opts.initMenu.call(this,this.$menu,this.$orig),this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.$pnls=y('<div class="'+w.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu);var t=[w.menu];this.opts.slidingSubmenus||t.push(w.vertical),this.$menu.addClass(t.join(" ")).parent().addClass(w.wrapper),this.trigger("initMenu:after")},_initPanels:function(t){this.trigger("initPanels:before",t),t=t||this.$pnls.children(this.conf.panelNodetype);var e=y(),i=this,n=function(t){t.filter(this.conf.panelNodetype).each(function(){var t=i._initPanel(y(this));t&&(i._initNavbar(t),i._initListview(t),e=e.add(t),(t=t.children("."+w.listview).children("li").children(i.conf.panelNodeType).add(t.children("."+i.conf.classNames.panel))).length&&n.call(i,t))})};n.call(this,t),this.opts.initPanels.call(this,e),this.trigger("initPanels:after",e)},_initPanel:function(t){if(this.trigger("initPanel:before",t),t.hasClass(w.panel))return t;if(this.__refactorClass(t,this.conf.classNames.panel,"panel"),this.__refactorClass(t,this.conf.classNames.nopanel,"nopanel"),this.__refactorClass(t,this.conf.classNames.vertical,"vertical"),this.__refactorClass(t,this.conf.classNames.inset,"inset"),t.filter("."+w.inset).addClass(w.nopanel),t.hasClass(w.nopanel))return!1;var e=t.hasClass(w.vertical)||!this.opts.slidingSubmenus;t.removeClass(w.vertical);var i=t.attr("id")||this.__getUniqueId();t.removeAttr("id"),t.is("ul, ol")&&(t.wrap("<div />"),t=t.parent()),t.addClass(w.panel+" "+w.hidden).attr("id",i);i=t.parent("li");return e?t.add(i).addClass(w.vertical):t.appendTo(this.$pnls),i.length&&(i.data(_.child,t),t.data(_.parent,i)),this.trigger("initPanel:after",t),t},_initNavbar:function(t){if(this.trigger("initNavbar:before",t),!t.children("."+w.navbar).length){var e=t.data(_.parent),i=y('<div class="'+w.navbar+'" />'),n=y[$].i18n(this.opts.navbar.title),s="";if(e&&e.length){if(e.hasClass(w.vertical))return;var o,r=(e=(o=(o=e.parent().is("."+w.listview)?e.children("a, span").not("."+w.next):e.closest("."+w.panel).find('a[href="#'+t.attr("id")+'"]')).first()).closest("."+w.panel)).attr("id"),n=o.text();switch(this.opts.navbar.titleLink){case"anchor":s=o.attr("href");break;case"parent":s="#"+r}i.append('<a class="'+w.btn+" "+w.prev+'" href="#'+r+'" />')}else if(!this.opts.navbar.title)return;this.opts.navbar.add&&t.addClass(w.hasnavbar),i.append('<a class="'+w.title+'"'+(s.length?' href="'+s+'"':"")+">"+n+"</a>").prependTo(t),this.trigger("initNavbar:after",t)}},_initListview:function(t){this.trigger("initListview:before",t);var e=this.__childAddBack(t,"ul, ol");this.__refactorClass(e,this.conf.classNames.nolistview,"nolistview"),e.filter("."+this.conf.classNames.inset).addClass(w.nolistview);var i=e.not("."+w.nolistview).addClass(w.listview).children();this.__refactorClass(i,this.conf.classNames.selected,"selected"),this.__refactorClass(i,this.conf.classNames.divider,"divider"),this.__refactorClass(i,this.conf.classNames.spacer,"spacer");e=t.data(_.parent);e&&e.parent().is("."+w.listview)&&!e.children("."+w.next).length&&(i=e.children("a, span").first(),e=y('<a class="'+w.next+'" href="#'+t.attr("id")+'" />').insertBefore(i),i.is("span")&&e.addClass(w.fullsubopen)),this.trigger("initListview:after",t)},_initOpened:function(){this.trigger("initOpened:before");var t=this.$pnls.find("."+w.listview).children("."+w.selected).removeClass(w.selected).last().addClass(w.selected),t=t.length?t.closest("."+w.panel):this.$pnls.children("."+w.panel).first();this.openPanel(t,!1),this.trigger("initOpened:after")},_initAnchors:function(){var a=this;k.$body.on(x.click+"-oncanvas","a[href]",function(t){var e,i=y(this),n=!1,s=a.$menu.find(i).length;for(e in y[$].addons)if(y[$].addons[e].clickAnchor.call(a,i,s)){n=!0;break}var o=i.attr("href");if(!n&&s&&1<o.length&&"#"==o.slice(0,1))try{var r=y(o,a.$menu);r.is("."+w.panel)&&(n=!0,a[i.parent().hasClass(w.vertical)?"togglePanel":"openPanel"](r))}catch(t){}n&&t.preventDefault(),n||!s||!i.is("."+w.listview+" > li > a")||i.is('[rel="external"]')||i.is('[target="_blank"]')||(a.__valueOrFn(a.opts.onClick.setSelected,i)&&a.setSelected(y(t.target).parent()),(o=a.__valueOrFn(a.opts.onClick.preventDefault,i,"#"==o.slice(0,1)))&&t.preventDefault(),a.__valueOrFn(a.opts.onClick.close,i,o)&&a.opts.offCanvas&&"function"==typeof a.close&&a.close())})},_initMatchMedia:function(){var e=this;this._fireMatchMedia(),k.$wndw.on(x.resize,function(t){e._fireMatchMedia()})},_fireMatchMedia:function(){for(var t in this.mtch)for(var e=window.matchMedia&&window.matchMedia(t).matches?"yes":"no",i=0;i<this.mtch[t].length;i++)this.mtch[t][i][e].call(this)},_getOriginalMenuId:function(){var t=this.$menu.attr("id");return t=this.conf.clone&&t&&t.length?w.umm(t):t},__api:function(){var i=this,n={};return y.each(this._api,function(t){var e=this;n[e]=function(){var t=i[e].apply(i,arguments);return void 0===t?n:t}}),n},__valueOrFn:function(t,e,i){return"function"==typeof t?t.call(e[0]):void 0===t&&void 0!==i?i:t},__refactorClass:function(t,e,i){return t.filter("."+e).removeClass(e).addClass(w[i])},__findAddBack:function(t,e){return t.find(e).add(t.filter(e))},__childAddBack:function(t,e){return t.children(e).add(t.filter(e))},__filterListItems:function(t){return t.not("."+w.divider).not("."+w.hidden)},__filterListItemAnchors:function(t){return this.__filterListItems(t).children("a").not("."+w.next)},__transitionend:function(e,i,t){function n(t){void 0!==t&&t.target!=e[0]||(s||(e.off(x.transitionend),e.off(x.webkitTransitionEnd),i.call(e[0])),s=!0)}var s=!1;e.on(x.transitionend,n),e.on(x.webkitTransitionEnd,n),setTimeout(n,1.1*t)},__getUniqueId:function(){return w.mm(y[$].uniqueId++)}},y.fn[$]=function(e,i){y[$].glbl||(k={$wndw:y(window),$docu:y(document),$html:y("html"),$body:y("body")},w={},_={},x={},y.each([w,_,x],function(t,n){n.add=function(t){for(var e=0,i=(t=t.split(" ")).length;e<i;e++)n[t[e]]=n.mm(t[e])}}),w.mm=function(t){return"mm-"+t},w.add("wrapper menu panels panel nopanel highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen noanimation"),w.umm=function(t){return t="mm-"==t.slice(0,3)?t.slice(3):t},_.mm=function(t){return"mm-"+t},_.add("parent child"),x.mm=function(t){return t+".mm"},x.add("transitionend webkitTransitionEnd click scroll resize keydown mousedown mouseup touchstart touchmove touchend orientationchange"),y[$]._c=w,y[$]._d=_,y[$]._e=x,y[$].glbl=k),e=y.extend(!0,{},y[$].defaults,e),i=y.extend(!0,{},y[$].configuration,i);var n=y();return this.each(function(){var t=y(this);t.data($)||((t=new y[$](t,e,i)).$menu.data($,t.__api()),n=n.add(t.$menu))}),n},y[$].i18n=(C={},function(t){switch(typeof t){case"object":return y.extend(C,t),C;case"string":return C[t]||t;case"undefined":default:return C}}),y[$].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:"undefined"==typeof Modernizr||void 0===Modernizr.csstransitions||Modernizr.csstransitions,csstransforms:"undefined"==typeof Modernizr||void 0===Modernizr.csstransforms||Modernizr.csstransforms,csstransforms3d:"undefined"==typeof Modernizr||void 0===Modernizr.csstransforms3d||Modernizr.csstransforms3d}),b="offCanvas",(u=t)[v="mmenu"].addons[b]={setup:function(){var n,t,s,o;this.opts[b]&&(t=(n=this).opts[b],s=this.conf[b],g=u[v].glbl,this._api=u.merge(this._api,["open","close","setPage"]),"top"!=(t="object"!=typeof t?{}:t).position&&"bottom"!=t.position||(t.zposition="front"),t=this.opts[b]=u.extend(!0,{},u[v].defaults[b],t),"string"!=typeof s.pageSelector&&(s.pageSelector="> "+s.pageNodetype),this.vars.opened=!1,o=[p.offcanvas],"left"!=t.position&&o.push(p.mm(t.position)),"back"!=t.zposition&&o.push(p.mm(t.zposition)),u[v].support.csstransforms||o.push(p["no-csstransforms"]),u[v].support.csstransforms3d||o.push(p["no-csstransforms3d"]),this.bind("initMenu:after",function(){var t=this;this.setPage(g.$page),this._initBlocker(),this["_initWindow_"+b](),this.$menu.addClass(o.join(" ")).parent("."+p.wrapper).removeClass(p.wrapper),this.$menu[s.menuInsertMethod](s.menuInsertSelector);var e,i=window.location.hash;!i||(e=this._getOriginalMenuId())&&e==i.slice(1)&&setTimeout(function(){t.open()},1e3)}),this.bind("initExtensions:after",function(){for(var e=[p.mm("widescreen"),p.mm("iconbar")],t=0;t<e.length;t++)for(var i in this.opts.extensions)if(-1<this.opts.extensions[i].indexOf(e[t])){!function(t){n.matchMedia(i,function(){g.$html.addClass(e[t])},function(){g.$html.removeClass(e[t])})}(t);break}}),this.bind("open:start:sr-aria",function(){this.__sr_aria(this.$menu,"hidden",!1)}),this.bind("close:finish:sr-aria",function(){this.__sr_aria(this.$menu,"hidden",!0)}),this.bind("initMenu:after:sr-aria",function(){this.__sr_aria(this.$menu,"hidden",!0)}))},add:function(){p=u[v]._c,f=u[v]._d,m=u[v]._e,p.add("offcanvas slideout blocking modal background opening blocker page no-csstransforms3d"),f.add("style")},clickAnchor:function(t,e){var i=this;if(this.opts[b]){var n=this._getOriginalMenuId();if(n&&t.is('[href="#'+n+'"]')){if(e)return!0;var s=t.closest("."+p.menu);if(s.length){e=s.data("mmenu");if(e&&e.close)return e.close(),i.__transitionend(s,function(){i.open()},i.conf.transitionDuration),!0}return this.open(),!0}if(g.$page)return(n=g.$page.first().attr("id"))&&t.is('[href="#'+n+'"]')?(this.close(),!0):void 0}}},u[v].defaults[b]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},u[v].configuration[b]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuInsertMethod:"prependTo",menuInsertSelector:"body"},u[v].prototype.open=function(){var t;this.trigger("open:before"),this.vars.opened||((t=this)._openSetup(),setTimeout(function(){t._openFinish()},this.conf.openingInterval),this.trigger("open:after"))},u[v].prototype._openSetup=function(){var t=this,e=this.opts[b];this.closeAllOthers(),g.$page.each(function(){u(this).data(f.style,u(this).attr("style")||"")}),g.$wndw.trigger(m.resize+"-"+b,[!0]);var i=[p.opened];e.blockUI&&i.push(p.blocking),"modal"==e.blockUI&&i.push(p.modal),e.moveBackground&&i.push(p.background),"left"!=e.position&&i.push(p.mm(this.opts[b].position)),"back"!=e.zposition&&i.push(p.mm(this.opts[b].zposition)),g.$html.addClass(i.join(" ")),setTimeout(function(){t.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(p.opened)},u[v].prototype._openFinish=function(){var t=this;this.__transitionend(g.$page.first(),function(){t.trigger("open:finish")},this.conf.transitionDuration),this.trigger("open:start"),g.$html.addClass(p.opening)},u[v].prototype.close=function(){var e;this.trigger("close:before"),this.vars.opened&&((e=this).__transitionend(g.$page.first(),function(){e.$menu.removeClass(p.opened);var t=[p.opened,p.blocking,p.modal,p.background,p.mm(e.opts[b].position),p.mm(e.opts[b].zposition)];g.$html.removeClass(t.join(" ")),g.$page.each(function(){u(this).attr("style",u(this).data(f.style))}),e.vars.opened=!1,e.trigger("close:finish")},this.conf.transitionDuration),this.trigger("close:start"),g.$html.removeClass(p.opening),this.trigger("close:after"))},u[v].prototype.closeAllOthers=function(){g.$body.find("."+p.menu+"."+p.offcanvas).not(this.$menu).each(function(){var t=u(this).data(v);t&&t.close&&t.close()})},u[v].prototype.setPage=function(t){this.trigger("setPage:before",t);var e=this,i=this.conf[b];t&&t.length||(t=g.$body.find(i.pageSelector),1<(t=i.noPageSelector.length?t.not(i.noPageSelector.join(", ")):t).length&&i.wrapPageIfNeeded&&(t=t.wrapAll("<"+this.conf[b].pageNodetype+" />").parent())),t.each(function(){u(this).attr("id",u(this).attr("id")||e.__getUniqueId())}),t.addClass(p.page+" "+p.slideout),g.$page=t,this.trigger("setPage:after",t)},u[v].prototype["_initWindow_"+b]=function(){g.$wndw.off(m.keydown+"-"+b).on(m.keydown+"-"+b,function(t){if(g.$html.hasClass(p.opened)&&9==t.keyCode)return t.preventDefault(),!1});var n=0;g.$wndw.off(m.resize+"-"+b).on(m.resize+"-"+b,function(t,e){var i;1==g.$page.length&&(e||g.$html.hasClass(p.opened))&&(i=g.$wndw.height(),!e&&i==n||(n=i,g.$page.css("minHeight",i)))})},u[v].prototype._initBlocker=function(){var e=this;this.opts[b].blockUI&&(g.$blck||(g.$blck=u('<div id="'+p.blocker+'" class="'+p.slideout+'" />')),g.$blck.appendTo(g.$body).off(m.touchstart+"-"+b+" "+m.touchmove+"-"+b).on(m.touchstart+"-"+b+" "+m.touchmove+"-"+b,function(t){t.preventDefault(),t.stopPropagation(),g.$blck.trigger(m.mousedown+"-"+b)}).off(m.mousedown+"-"+b).on(m.mousedown+"-"+b,function(t){t.preventDefault(),g.$html.hasClass(p.modal)||(e.closeAllOthers(),e.close())}))},d="scrollBugFix",(i=t)[h="mmenu"].addons[d]={setup:function(){var t=this.opts[d];this.conf[d],c=i[h].glbl,i[h].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&((t=this.opts[d]=i.extend(!0,{},i[h].defaults[d],t="object"!=typeof(t="boolean"==typeof t?{fix:t}:t)?{}:t)).fix&&(this.bind("open:start",function(){this.$pnls.children("."+n.opened).scrollTop(0)}),this.bind("initMenu:after",function(){this["_initWindow_"+d]()})))},add:function(){n=i[h]._c,i[h]._d,s=i[h]._e},clickAnchor:function(t,e){}},i[h].defaults[d]={fix:!0},i[h].prototype["_initWindow_"+d]=function(){var t=this;c.$docu.off(s.touchmove+"-"+d).on(s.touchmove+"-"+d,function(t){c.$html.hasClass(n.opened)&&t.preventDefault()});var e=!1;c.$body.off(s.touchstart+"-"+d).on(s.touchstart+"-"+d,"."+n.panels+"> ."+n.panel,function(t){c.$html.hasClass(n.opened)&&(e||(e=!0,0===t.currentTarget.scrollTop?t.currentTarget.scrollTop=1:t.currentTarget.scrollHeight===t.currentTarget.scrollTop+t.currentTarget.offsetHeight&&--t.currentTarget.scrollTop,e=!1))}).off(s.touchmove+"-"+d).on(s.touchmove+"-"+d,"."+n.panels+"> ."+n.panel,function(t){c.$html.hasClass(n.opened)&&i(this)[0].scrollHeight>i(this).innerHeight()&&t.stopPropagation()}),c.$wndw.off(s.orientationchange+"-"+d).on(s.orientationchange+"-"+d,function(){t.$pnls.children("."+n.opened).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})},e="screenReader",(o=t)[l="mmenu"].addons[e]={setup:function(){var n=this,t=this.opts[e],s=this.conf[e];o[l].glbl,(t=this.opts[e]=o.extend(!0,{},o[l].defaults[e],t="object"!=typeof(t="boolean"==typeof t?{aria:t,text:t}:t)?{}:t)).aria&&(this.bind("initAddons:after",function(){this.bind("initMenu:after",function(){this.trigger("initMenu:after:sr-aria")}),this.bind("initNavbar:after",function(){this.trigger("initNavbar:after:sr-aria",arguments[0])}),this.bind("openPanel:start",function(){this.trigger("openPanel:start:sr-aria",arguments[0])}),this.bind("close:start",function(){this.trigger("close:start:sr-aria")}),this.bind("close:finish",function(){this.trigger("close:finish:sr-aria")}),this.bind("open:start",function(){this.trigger("open:start:sr-aria")}),this.bind("open:finish",function(){this.trigger("open:finish:sr-aria")})}),this.bind("updateListview",function(){this.$pnls.find("."+r.listview).children().each(function(){n.__sr_aria(o(this),"hidden",o(this).is("."+r.hidden))})}),this.bind("openPanel:start",function(t){var e=this.$menu.find("."+r.panel).not(t).not(t.parents("."+r.panel)),t=t.add(t.find("."+r.vertical+"."+r.opened).children("."+r.panel));this.__sr_aria(e,"hidden",!0),this.__sr_aria(t,"hidden",!1)}),this.bind("closePanel",function(t){this.__sr_aria(t,"hidden",!0)}),this.bind("initPanels:after",function(t){t=t.find("."+r.prev+", ."+r.next).each(function(){n.__sr_aria(o(this),"owns",o(this).attr("href").replace("#",""))});this.__sr_aria(t,"haspopup",!0)}),this.bind("initNavbar:after",function(t){var e=t.children("."+r.navbar);this.__sr_aria(e,"hidden",!t.hasClass(r.hasnavbar))}),t.text&&(this.bind("initlistview:after",function(t){t=t.find("."+r.listview).find("."+r.fullsubopen).parent().children("span");this.__sr_aria(t,"hidden",!0)}),"parent"==this.opts.navbar.titleLink&&this.bind("initNavbar:after",function(t){var e=t.children("."+r.navbar),t=!!e.children("."+r.prev).length;this.__sr_aria(e.children("."+r.title),"hidden",t)}))),t.text&&(this.bind("initAddons:after",function(){this.bind("setPage:after",function(){this.trigger("setPage:after:sr-text",arguments[0])})}),this.bind("initNavbar:after",function(t){var e=t.children("."+r.navbar),i=e.children("."+r.title).text(),t=o[l].i18n(s.text.closeSubmenu);i&&(t+=" ("+i+")"),e.children("."+r.prev).html(this.__sr_text(t))}),this.bind("initListview:after",function(t){var e,i=t.data(a.parent);i&&i.length&&(t=(e=i.children("."+r.next)).nextAll("span, a").first().text(),i=o[l].i18n(s.text[e.parent().is("."+r.vertical)?"toggleSubmenu":"openSubmenu"]),t&&(i+=" ("+t+")"),e.html(n.__sr_text(i)))}))},add:function(){r=o[l]._c,a=o[l]._d,o[l]._e,r.add("sronly")},clickAnchor:function(t,e){}},o[l].defaults[e]={aria:!0,text:!0},o[l].configuration[e]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}},o[l].prototype.__sr_aria=function(t,e,i){t.prop("aria-"+e,i)[i?"attr":"removeAttr"]("aria-"+e,i)},o[l].prototype.__sr_text=function(t){return'<span class="'+r.sronly+'">'+t+"</span>"},!0}),function(n){var s,o,r="mmenu",a="counters";n[r].addons[a]={setup:function(){var t,i=this,e=this.opts[a];this.conf[a],n[r].glbl,e=this.opts[a]=n.extend(!0,{},n[r].defaults[a],e="object"!=typeof(e="boolean"==typeof e?{add:e,update:e}:e)?{}:e),this.bind("initListview:after",function(t){this.__refactorClass(n("em",t),this.conf.classNames[a].counter,"counter")}),e.add&&this.bind("initListview:after",function(t){t="panels"===e.addTo?t:t.filter(e.addTo);t.each(function(){var t=n(this).data(o.parent);t&&(t.children("em."+s.counter).length||t.prepend(n('<em class="'+s.counter+'" />')))})}),e.update&&(t=function(t){(t=t||this.$pnls.children("."+s.panel)).each(function(){var t=n(this),e=t.data(o.parent);e&&(!(e=e.children("em."+s.counter)).length||(t=t.children("."+s.listview)).length&&e.html(i.__filterListItems(t.children()).length))})},this.bind("initListview:after",t),this.bind("updateListview",t))},add:function(){s=n[r]._c,o=n[r]._d,n[r]._e,s.add("counter search noresultsmsg")},clickAnchor:function(t,e){}},n[r].defaults[a]={add:!1,addTo:"panels",count:!1},n[r].configuration.classNames[a]={counter:"Counter"}}(jQuery),function(x){x.fn.tipTip=function(t){var b,y,w,_=x.extend({activation:"hover",keepAlive:!1,maxWidth:"200px",edgeOffset:3,defaultPosition:"top",delay:80,fadeIn:200,fadeOut:50,attribute:"title",content:!1,enter:function(){},exit:function(){}},t);return x("#tiptip_holder").length<=0?(b=x('<div id="tiptip_holder" style="max-width:'+_.maxWidth+';"></div>'),y=x('<div id="tiptip_content"></div>'),w=x('<div id="tiptip_arrow"></div>'),x("html").append(b.html(y).prepend(w.html('<div id="tiptip_arrow_inner"></div>')))):(b=x("#tiptip_holder"),y=x("#tiptip_content"),w=x("#tiptip_arrow")),this.each(function(){var m,g,v=x(this);function t(){_.enter.call(this),y.html(m),b.hide().removeAttr("class").css("margin","0"),w.removeAttr("style");var t=parseInt(v.offset().top),e=parseInt(v.offset().left),i=parseInt(v.outerWidth()),n=parseInt(v.outerHeight()),s=b.outerWidth(),o=b.outerHeight(),r=Math.round((i-s)/2),a=Math.round((n-o)/2),l=Math.round(e+r),c=Math.round(t+n+_.edgeOffset),h="",d="",u=Math.round(s-12)/2;"bottom"==_.defaultPosition?h="_bottom":"top"==_.defaultPosition?h="_top":"left"==_.defaultPosition?h="_left":"right"==_.defaultPosition&&(h="_right");var p=r+e<parseInt(x(window).scrollLeft()),f=s+e>parseInt(x(window).width());p&&r<0||"_right"==h&&!f||"_left"==h&&e<s+_.edgeOffset+5?(h="_right",d=Math.round(o-13)/2,u=-12,l=Math.round(e+i+_.edgeOffset),c=Math.round(t+a)):(f&&r<0||"_left"==h&&!p)&&(h="_left",d=Math.round(o-13)/2,u=Math.round(s),l=Math.round(e-(s+_.edgeOffset+5)),c=Math.round(t+a));s=t+n+_.edgeOffset+o+8>parseInt(x(window).height()+x(window).scrollTop()),a=t+n-(_.edgeOffset+o+8)<0;s||"_bottom"==h&&s||"_top"==h&&!a?("_top"==h||"_bottom"==h?h="_top":h+="_top",d=o,c=Math.round(t-(o+5+_.edgeOffset))):(a|("_top"==h&&a)||"_bottom"==h&&!s)&&("_top"==h||"_bottom"==h?h="_bottom":h+="_bottom",d=-12,c=Math.round(t+n+_.edgeOffset)),"_right_top"==h||"_left_top"==h?c+=5:"_right_bottom"!=h&&"_left_bottom"!=h||(c-=5),"_left_top"!=h&&"_left_bottom"!=h||(l+=5),w.css({"margin-left":u+"px","margin-top":d+"px"}),b.css({"margin-left":l+"px","margin-top":c+"px"}).attr("class","tip"+h),g&&clearTimeout(g),g=setTimeout(function(){b.stop(!0,!0).fadeIn(_.fadeIn)},_.delay)}function e(){_.exit.call(this),g&&clearTimeout(g),b.fadeOut(_.fadeOut)}""!=(m=_.content||v.attr(_.attribute))&&(_.content||v.removeAttr(_.attribute),g=!1,"hover"==_.activation?(v.hover(function(){t()},function(){_.keepAlive||e()}),_.keepAlive&&b.hover(function(){},function(){e()})):"focus"==_.activation?v.focus(function(){t()}).blur(function(){e()}):"click"==_.activation&&(v.click(function(){return t(),!1}).hover(function(){},function(){_.keepAlive||e()}),_.keepAlive&&b.hover(function(){},function(){e()})))})}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t=t||self).UIkit=e()}(this,function(){"use strict";var e=Object.prototype,i=e.hasOwnProperty;function c(t,e){return i.call(t,e)}var n={},s=/([a-z\d])([A-Z])/g;function u(t){return t in n||(n[t]=t.replace(s,"$1-$2").toLowerCase()),n[t]}var o=/-(\w)/g;function p(t){return t.replace(o,r)}function r(t,e){return e?e.toUpperCase():""}function f(t){return t.length?r(0,t.charAt(0))+t.slice(1):""}var t=String.prototype,a=t.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function g(t,e){return a.call(t,e)}var l=t.endsWith||function(t){return this.substr(-t.length)===t};function h(t,e){return l.call(t,e)}function d(t,e){return~this.indexOf(t,e)}var m=Array.prototype,v=t.includes||d,b=m.includes||d;function y(t,e){return t&&(D(t)?v:b).call(t,e)}var w=m.findIndex||function(t){for(var e=arguments,i=0;i<this.length;i++)if(t.call(e[1],this[i],i,this))return i;return-1};function _(t,e){return w.call(t,e)}var x=Array.isArray;function k(t){return"function"==typeof t}function C(t){return null!==t&&"object"==typeof t}function $(t){return C(t)&&Object.getPrototypeOf(t)===e}function T(t){return C(t)&&t===t.window}function S(t){return C(t)&&9===t.nodeType}function I(t){return C(t)&&!!t.jquery}function E(t){return t instanceof Node||C(t)&&1<=t.nodeType}var P=e.toString;function A(t){return P.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)}function N(t){return"boolean"==typeof t}function D(t){return"string"==typeof t}function O(t){return"number"==typeof t}function M(t){return O(t)||D(t)&&!isNaN(t-parseFloat(t))}function H(t){return!(x(t)?t.length:C(t)&&Object.keys(t).length)}function L(t){return void 0===t}function j(t){return N(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function z(t){t=Number(t);return!isNaN(t)&&t}function B(t){return parseFloat(t)||0}function q(t){return E(t)||T(t)||S(t)?t:A(t)||I(t)?t[0]:x(t)?q(t[0]):null}function W(t){return E(t)?[t]:A(t)?m.slice.call(t):x(t)?t.map(q).filter(Boolean):I(t)?t.toArray():[]}function F(t){return x(t)?t:D(t)?t.split(/,(?![^(]*\))/).map(function(t){return M(t)?z(t):j(t.trim())}):[t]}function R(t){return t?h(t,"ms")?B(t):1e3*B(t):0}function U(t,i){return t===i||C(t)&&C(i)&&Object.keys(t).length===Object.keys(i).length&&Q(t,function(t,e){return t===i[e]})}function Y(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}var V=Object.assign||function(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];t=Object(t);for(var n=0;n<e.length;n++){var s=e[n];if(null!==s)for(var o in s)c(s,o)&&(t[o]=s[o])}return t};function X(t){return t[t.length-1]}function Q(t,e){for(var i in t)if(!1===e(t[i],i))return!1;return!0}function G(t,i){return t.sort(function(t,e){t=t[i],e=e[i];return(e=void 0===e?0:e)<(t=void 0===t?0:t)?1:t<e?-1:0})}function K(t,e){var i=new Set;return t.filter(function(t){t=t[e];return!i.has(t)&&(i.add(t)||!0)})}function Z(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(z(t)||0,e),i)}function J(){}function tt(t,e){return t.left<e.right&&t.right>e.left&&t.top<e.bottom&&t.bottom>e.top}function et(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var it={ratio:function(t,e,i){var n,s="width"===e?"height":"width";return(n={})[s]=t[e]?Math.round(i*t[s]/t[e]):t[s],n[e]=i,n},contain:function(i,n){var s=this;return Q(i=V({},i),function(t,e){return i=i[e]>n[e]?s.ratio(i,e,n[e]):i}),i},cover:function(i,n){var s=this;return Q(i=this.contain(i,n),function(t,e){return i=i[e]<n[e]?s.ratio(i,e,n[e]):i}),i}};function nt(t,e,i){if(C(e))for(var n in e)nt(t,n,e[n]);else{if(L(i))return(t=q(t))&&t.getAttribute(e);W(t).forEach(function(t){null===(i=k(i)?i.call(t,nt(t,e)):i)?ot(t,e):t.setAttribute(e,i)})}}function st(t,e){return W(t).some(function(t){return t.hasAttribute(e)})}function ot(t,e){t=W(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.hasAttribute(e)&&t.removeAttribute(e)})})}function rt(t,e){for(var i=0,n=[e,"data-"+e];i<n.length;i++)if(st(t,n[i]))return nt(t,n[i])}var at=/msie|trident/i.test(window.navigator.userAgent),lt="rtl"===nt(document.documentElement,"dir"),ct="ontouchstart"in window,ht=window.PointerEvent,dt=ct||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,ut=ht?"pointerdown":ct?"touchstart":"mousedown",pt=ht?"pointermove":ct?"touchmove":"mousemove",ft=ht?"pointerup":ct?"touchend":"mouseup",mt=ht?"pointerenter":ct?"":"mouseenter",gt=ht?"pointerleave":ct?"":"mouseleave",vt=ht?"pointercancel":"touchcancel";function bt(t,e){return q(t)||_t(t,wt(t,e))}function yt(t,e){var i=W(t);return i.length&&i||xt(t,wt(t,e))}function wt(t,e){return void 0===e&&(e=document),Tt(t)||S(e)?e:e.ownerDocument}function _t(t,e){return q(kt(t,e,"querySelector"))}function xt(t,e){return W(kt(t,e,"querySelectorAll"))}function kt(t,o,e){if(void 0===o&&(o=document),!t||!D(t))return null;var r;Tt(t=t.replace($t,"$1 *"))&&(r=[],t=t.match(St).map(function(t){return t.replace(/,$/,"").trim()}).map(function(t,e){var i,n,s=o;return"!"===t[0]&&(n=t.substr(1).trim().split(" "),s=Nt(o.parentNode,n[0]),t=n.slice(1).join(" ").trim()),"-"===t[0]&&(i=t.substr(1).trim().split(" "),n=(s||o).previousElementSibling,s=Pt(n,t.substr(1))?n:null,t=i.slice(1).join(" ")),s?(s.id||(s.id="uk-"+Date.now()+e,r.push(function(){return ot(s,"id")})),"#"+Mt(s.id)+" "+t):null}).filter(Boolean).join(","),o=document);try{return o[e](t)}catch(t){return null}finally{r&&r.forEach(function(t){return t()})}}var Ct=/(^|[^\\],)\s*[!>+~-]/,$t=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function Tt(t){return D(t)&&t.match(Ct)}var St=/.*?[^\\](?:,|$)/g,It=Element.prototype,Et=It.matches||It.webkitMatchesSelector||It.msMatchesSelector;function Pt(t,e){return W(t).some(function(t){return Et.call(t,e)})}var At=It.closest||function(t){var e=this;do{if(Pt(e,t))return e}while((e=e.parentNode)&&1===e.nodeType)};function Nt(t,e){return g(e,">")&&(e=e.slice(1)),E(t)?At.call(t,e):W(t).map(function(t){return Nt(t,e)}).filter(Boolean)}function Dt(t,e){var i=[];for(t=q(t);(t=t.parentNode)&&1===t.nodeType;)Pt(t,e)&&i.push(t);return i}var Ot=window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function Mt(t){return D(t)?Ot.call(null,t):""}var Ht={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function Lt(t){return W(t).some(function(t){return Ht[t.tagName.toLowerCase()]})}function jt(t){return W(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var zt="input,select,textarea,button";function Bt(t){return W(t).some(function(t){return Pt(t,zt)})}function qt(t,e){return W(t).filter(function(t){return Pt(t,e)})}function Wt(t,e){return D(e)?Pt(t,e)||Nt(t,e):t===e||(S(e)?e.documentElement:q(e)).contains(q(t))}function Ft(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n,s=Xt(t),o=s[0],r=s[1],a=s[2],l=s[3],c=s[4],o=Zt(o);return 1<l.length&&(n=l,l=function(t){return x(t.detail)?n.apply(void 0,[t].concat(t.detail)):n(t)}),a&&(l=function(t,n,s){var o=this;return function(i){t.forEach(function(t){var e=">"===n[0]?xt(n,t).reverse().filter(function(t){return Wt(i.target,t)})[0]:Nt(i.target,n);e&&(i.delegate=t,i.current=e,s.call(o,i))})}}(o,a,l)),c&&c.self&&(i=l,l=function(t){if(t.target===t.currentTarget||t.target===t.current)return i.call(null,t)}),c=Qt(c),r.split(" ").forEach(function(e){return o.forEach(function(t){return t.addEventListener(e,l,c)})}),function(){return Rt(o,r,l,c)}}function Rt(t,e,i,n){n=Qt(n=void 0===n?!1:n),t=Zt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,i,n)})})}function Ut(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Xt(t),n=i[0],s=i[1],o=i[2],r=i[3],a=i[4],l=i[5],c=Ft(n,s,o,function(t){var e=!l||l(t);e&&(c(),r(t,e))},a);return c}function Yt(t,i,n){return Zt(t).reduce(function(t,e){return t&&e.dispatchEvent(Vt(i,!0,!0,n))},!0)}function Vt(t,e,i,n){var s;return void 0===e&&(e=!0),void 0===i&&(i=!1),D(t)&&((s=document.createEvent("CustomEvent")).initCustomEvent(t,e,i,n),t=s),t}function Xt(t){return k(t[2])&&t.splice(2,0,!1),t}function Qt(t){return t&&at&&!N(t)?!!t.capture:t}function Gt(t){return t&&"addEventListener"in t}function Kt(t){return Gt(t)?t:q(t)}function Zt(t){return x(t)?t.map(Kt).filter(Boolean):D(t)?xt(t):Gt(t)?[t]:W(t)}function Jt(t){return"touch"===t.pointerType||!!t.touches}function te(t,e){var i=t.touches,n=t.changedTouches,t=i&&i[0]||n&&n[0]||t;return{x:t[(e=void 0===e?"client":e)+"X"],y:t[e+"Y"]}}function ee(){var i=this;this.promise=new ie(function(t,e){i.reject=e,i.resolve=t})}var ie="Promise"in window?window.Promise:oe,ne=2,se="setImmediate"in window?setImmediate:setTimeout;function oe(t){this.state=ne,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}oe.reject=function(i){return new oe(function(t,e){e(i)})},oe.resolve=function(i){return new oe(function(t,e){t(i)})},oe.all=function(o){return new oe(function(i,t){var n=[],s=0;0===o.length&&i(n);for(var e=0;e<o.length;e+=1)oe.resolve(o[e]).then(function(e){return function(t){n[e]=t,(s+=1)===o.length&&i(n)}}(e),t)})},oe.race=function(n){return new oe(function(t,e){for(var i=0;i<n.length;i+=1)oe.resolve(n[i]).then(t,e)})};var re=oe.prototype;function ae(r,a){return new ie(function(t,e){var i=V({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:J,responseType:""},a);i.beforeSend(i);var n,s,o=i.xhr;for(n in i)if(n in o)try{o[n]=i[n]}catch(t){}for(s in o.open(i.method.toUpperCase(),r),i.headers)o.setRequestHeader(s,i.headers[s]);Ft(o,"load",function(){0===o.status||200<=o.status&&o.status<300||304===o.status?t(o):e(V(Error(o.statusText),{xhr:o,status:o.status}))}),Ft(o,"error",function(){return e(V(Error("Network Error"),{xhr:o}))}),Ft(o,"timeout",function(){return e(V(Error("Network Timeout"),{xhr:o}))}),o.send(i.data)})}function le(n,s,o){return new ie(function(t,e){var i=new Image;i.onerror=e,i.onload=function(){return t(i)},o&&(i.sizes=o),s&&(i.srcset=s),i.src=n})}function ce(t){var e;"loading"===document.readyState?e=Ft(document,"DOMContentLoaded",function(){e(),t()}):t()}function he(t,e){return e?W(t).indexOf(q(e)):W((t=q(t))&&t.parentNode.children).indexOf(t)}function de(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var s=(e=W(e)).length;return t=M(t)?z(t):"next"===t?i+1:"previous"===t?i-1:he(e,t),n?Z(t,0,s-1):(t%=s)<0?t+s:t}function ue(t){return(t=Te(t)).innerHTML="",t}function pe(t,e){return t=Te(t),L(e)?t.innerHTML:fe(t.hasChildNodes()?ue(t):t,e)}function fe(e,t){return e=Te(e),ve(t,function(t){return e.appendChild(t)})}function me(e,t){return e=Te(e),ve(t,function(t){return e.parentNode.insertBefore(t,e)})}function ge(e,t){return e=Te(e),ve(t,function(t){return e.nextSibling?me(e.nextSibling,t):fe(e.parentNode,t)})}function ve(t,e){return(t=D(t)?Ce(t):t)?"length"in t?W(t).map(e):e(t):null}function be(t){W(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function ye(t,e){for(e=q(me(t,e));e.firstChild;)e=e.firstChild;return fe(e,t),e}function we(t,e){return W(W(t).map(function(t){return t.hasChildNodes?ye(W(t.childNodes),e):fe(t,e)}))}function _e(t){W(t).map(function(t){return t.parentNode}).filter(function(t,e,i){return i.indexOf(t)===e}).forEach(function(t){me(t,t.childNodes),be(t)})}re.resolve=function(t){var e=this;if(e.state===ne){if(t===e)throw new TypeError("Promise settled with itself.");var i=!1;try{var n=t&&t.then;if(null!==t&&C(t)&&k(n))return void n.call(t,function(t){i||e.resolve(t),i=!0},function(t){i||e.reject(t),i=!0})}catch(t){return void(i||e.reject(t))}e.state=0,e.value=t,e.notify()}},re.reject=function(t){if(this.state===ne){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},re.notify=function(){var o=this;se(function(){if(o.state!==ne)for(;o.deferred.length;){var t=o.deferred.shift(),e=t[0],i=t[1],n=t[2],s=t[3];try{0===o.state?k(e)?n(e.call(void 0,o.value)):n(o.value):1===o.state&&(k(i)?n(i.call(void 0,o.value)):s(o.value))}catch(t){s(t)}}})},re.then=function(i,n){var s=this;return new oe(function(t,e){s.deferred.push([i,n,t,e]),s.notify()})},re.catch=function(t){return this.then(void 0,t)};var xe=/^\s*<(\w+|!)[^>]*>/,ke=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ce(t){var e=ke.exec(t);if(e)return document.createElement(e[1]);e=document.createElement("div");return xe.test(t)?e.insertAdjacentHTML("beforeend",t.trim()):e.textContent=t,1<e.childNodes.length?W(e.childNodes):e.firstChild}function $e(t,e){if(t&&1===t.nodeType)for(e(t),t=t.firstElementChild;t;)$e(t,e),t=t.nextElementSibling}function Te(t,e){return D(t)?Ie(t)?q(Ce(t)):_t(t,e):q(t)}function Se(t,e){return D(t)?Ie(t)?W(Ce(t)):xt(t,e):W(t)}function Ie(t){return"<"===t[0]||t.match(/^\s*</)}function Ee(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];Me(t,e,"add")}function Pe(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];Me(t,e,"remove")}function Ae(t,e){nt(t,"class",function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")})}function Ne(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];e[0]&&Pe(t,e[0]),e[1]&&Ee(t,e[1])}function De(t,e){return e&&W(t).some(function(t){return t.classList.contains(e.split(" ")[0])})}function Oe(t){for(var n,s=[],e=arguments.length-1;0<e--;)s[e]=arguments[e+1];s.length&&(n=D(X(s=He(s)))?[]:s.pop(),s=s.filter(Boolean),W(t).forEach(function(t){for(var e=t.classList,i=0;i<s.length;i++)Le.Force?e.toggle.apply(e,[s[i]].concat(n)):e[(L(n)?!e.contains(s[i]):n)?"add":"remove"](s[i])}))}function Me(t,i,n){(i=He(i).filter(Boolean)).length&&W(t).forEach(function(t){var e=t.classList;Le.Multiple?e[n].apply(e,i):i.forEach(function(t){return e[n](t)})})}function He(t){return t.reduce(function(t,e){return t.concat.call(t,D(e)&&y(e," ")?e.trim().split(" "):e)},[])}var Le={get Multiple(){return this.get("_multiple")},get Force(){return this.get("_force")},get:function(t){var e;return c(this,t)||((e=document.createElement("_").classList).add("a","b"),e.toggle("c",!1),this._multiple=e.contains("b"),this._force=!e.contains("c")),this[t]}},je={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function ze(t,e,s){return W(t).map(function(i){if(D(e)){if(e=Ue(e),L(s))return qe(i,e);s||O(s)?i.style[e]=M(s)&&!je[e]?s+"px":s:i.style.removeProperty(e)}else{if(x(e)){var n=Be(i);return e.reduce(function(t,e){return t[e]=n[Ue(e)],t},{})}C(e)&&Q(e,function(t,e){return ze(i,e,t)})}return i})[0]}function Be(t,e){return(t=q(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function qe(t,e,i){return Be(t,i)[e]}var We={};function Fe(t){var e,i=document.documentElement;return at?(t in We||(Ee(e=fe(i,document.createElement("div")),"uk-"+t),We[t]=qe(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),be(e)),We[t]):Be(i).getPropertyValue("--uk-"+t)}var Re={};function Ue(t){var e=Re[t];return e||(Re[t]=function(t){t=u(t);var e=document.documentElement.style;if(t in e)return t;for(var i,n=Ye.length;n--;)if((i="-"+Ye[n]+"-"+t)in e)return i}(t)||t)}var Ye=["webkit","moz","ms"];function Ve(t,r,a,l){return void 0===a&&(a=400),void 0===l&&(l="linear"),ie.all(W(t).map(function(o){return new ie(function(e,i){for(var t in r){var n=ze(o,t);""===n&&ze(o,t,n)}var s=setTimeout(function(){return Yt(o,"transitionend")},a);Ut(o,"transitionend transitioncanceled",function(t){t=t.type;clearTimeout(s),Pe(o,"uk-transition"),ze(o,{"transition-property":"","transition-duration":"","transition-timing-function":""}),("transitioncanceled"===t?i:e)()},{self:!0}),Ee(o,"uk-transition"),ze(o,V({"transition-property":Object.keys(r).map(Ue).join(","),"transition-duration":a+"ms","transition-timing-function":l},r))})}))}var Xe={start:Ve,stop:function(t){return Yt(t,"transitionend"),ie.resolve()},cancel:function(t){Yt(t,"transitioncanceled")},inProgress:function(t){return De(t,"uk-transition")}},Qe="uk-animation-",Ge="uk-cancel-animation";function Ke(t,e,r,a,l){var c=arguments;return void 0===r&&(r=200),ie.all(W(t).map(function(o){return new ie(function(i,n){var t;function s(){ze(o,"animationDuration",""),Ae(o,Qe+"\\S*")}De(o,Ge)?requestAnimationFrame(function(){return ie.resolve().then(function(){return Ke.apply(void 0,c).then(i,n)})}):(t=e+" "+Qe+(l?"leave":"enter"),g(e,Qe)&&(a&&(t+=" uk-transform-origin-"+a),l&&(t+=" "+Qe+"reverse")),s(),Ut(o,"animationend animationcancel",function(t){var t=t.type,e=!1;"animationcancel"===t?(n(),s()):(i(),ie.resolve().then(function(){e=!0,s()})),requestAnimationFrame(function(){e||(Ee(o,Ge),requestAnimationFrame(function(){return Pe(o,Ge)}))})},{self:!0}),ze(o,"animationDuration",r+"ms"),Ee(o,t))})}))}var Ze=new RegExp(Qe+"(enter|leave)"),Je={in:function(t,e,i,n){return Ke(t,e,i,n,!1)},out:function(t,e,i,n){return Ke(t,e,i,n,!0)},inProgress:function(t){return Ze.test(nt(t,"class"))},cancel:function(t){Yt(t,"animationcancel")}},ti={width:["x","left","right"],height:["y","top","bottom"]};function ei(t,e,h,d,u,i,n,s){h=hi(h),d=hi(d);var p={element:h,target:d};if(!t||!e)return p;var o,f=ni(t),m=ni(e),g=m;return ci(g,h,f,-1),ci(g,d,m,1),u=di(u,f.width,f.height),i=di(i,m.width,m.height),u.x+=i.x,u.y+=i.y,g.left+=u.x,g.top+=u.y,n&&(o=[ni(yi(t))],s&&o.unshift(ni(s)),Q(ti,function(t,r){var a=t[0],l=t[1],c=t[2];!0!==n&&!y(n,a)||o.some(function(i){var t=h[a]===l?-f[r]:h[a]===c?f[r]:0,e=d[a]===l?m[r]:d[a]===c?-m[r]:0;if(g[l]<i[l]||g[l]+f[r]>i[c]){var n=f[r]/2,s="center"===d[a]?-m[r]/2:0;return"center"===h[a]&&(o(n,s)||o(-n,-s))||o(t,e)}function o(e,t){t=g[l]+e+t-2*u[a];if(t>=i[l]&&t+f[r]<=i[c])return g[l]=t,["element","target"].forEach(function(t){p[t][a]=e?p[t][a]===ti[r][1]?ti[r][2]:ti[r][1]:p[t][a]}),!0}})})),ii(t,g),p}function ii(i,n){if(i=q(i),!n)return ni(i);var s=ii(i),o=ze(i,"position");["left","top"].forEach(function(t){var e;t in n&&(e=ze(i,t),ze(i,t,n[t]-s[t]+B("absolute"===o&&"auto"===e?si(i)[t]:e)))})}function ni(t){if(!(t=q(t)))return{};var e,i,n=yi(t),s=n.pageYOffset,o=n.pageXOffset;if(T(t)){var n=t.innerHeight,r=t.innerWidth;return{top:s,left:o,height:n,width:r,bottom:s+n,right:o+r}}jt(t)||"none"!==ze(t,"display")||(e=nt(t,"style"),i=nt(t,"hidden"),nt(t,{style:(e||"")+";display:block !important;",hidden:null}));r=t.getBoundingClientRect();return L(e)||nt(t,{style:e,hidden:i}),{height:r.height,width:r.width,top:r.top+s,left:r.left+o,bottom:r.bottom+s,right:r.right+o}}function si(n){var s=(n=q(n)).offsetParent||wi(n).documentElement,o=ii(s),t=["top","left"].reduce(function(t,e){var i=f(e);return t[e]-=o[e]+B(ze(n,"margin"+i))+B(ze(s,"border"+i+"Width")),t},ii(n));return{top:t.top,left:t.left}}var oi=ai("height"),ri=ai("width");function ai(n){var s=f(n);return function(t,e){if(t=q(t),L(e)){if(T(t))return t["inner"+s];if(S(t)){var i=t.documentElement;return Math.max(i["offset"+s],i["scroll"+s])}return(e="auto"===(e=ze(t,n))?t["offset"+s]:B(e)||0)-li(n,t)}ze(t,n,e||0===e?+e+li(n,t)+"px":"")}}function li(t,i,e){return void 0===e&&(e="border-box"),ze(i,"boxSizing")===e?ti[t].slice(1).map(f).reduce(function(t,e){return t+B(ze(i,"padding"+e))+B(ze(i,"border"+e+"Width"))},0):0}function ci(s,o,r,a){Q(ti,function(t,e){var i=t[0],n=t[1],t=t[2];o[i]===t?s[n]+=r[e]*a:"center"===o[i]&&(s[n]+=r[e]*a/2)})}function hi(t){var e=/left|center|right/,i=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat(["center"]):i.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:i.test(t[1])?t[1]:"center"}}function di(t,e,i){var n=(t||"").split(" "),t=n[0],n=n[1];return{x:t?B(t)*(h(t,"%")?e/100:1):0,y:n?B(n)*(h(n,"%")?i/100:1):0}}function ui(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function pi(t,e,i){if(void 0===e&&(e=0),void 0===i&&(i=0),!jt(t))return!1;var n=yi(t=q(t)),t=t.getBoundingClientRect(),n={top:-e,left:-i,bottom:e+oi(n),right:i+ri(n)};return tt(t,n)||et({x:t.left,y:t.top},n)}function fi(t,e){if(void 0===e&&(e=0),!jt(t))return 0;var i=yi(t=q(t)),n=wi(t),s=t.offsetHeight+e,o=gi(t)[0],r=oi(i),t=r+Math.min(0,o-r),e=Math.max(0,r-(oi(n)+e-(o+s)));return Z((t+i.pageYOffset-o)/((t+(s-(e<r?e:0)))/100)/100)}function mi(t,e){var i;T(t=q(t))||S(t)?(0,(i=yi(t)).scrollTo)(i.pageXOffset,e):t.scrollTop=e}function gi(t){var e=[0,0];do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===ze(t,"position")){var i=yi(t);return e[0]+=i.pageYOffset,e[1]+=i.pageXOffset,e}}while(t=t.offsetParent);return e}function vi(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),M(t)?+t:h(t,"vh")?bi(oi(yi(i)),t):h(t,"vw")?bi(ri(yi(i)),t):h(t,"%")?bi(ni(i)[e],t):B(t)}function bi(t,e){return t*B(e)/100}function yi(t){return T(t)?t:wi(t).defaultView}function wi(t){return q(t).ownerDocument}var _i={reads:[],writes:[],read:function(t){return this.reads.push(t),ki(),t},write:function(t){return this.writes.push(t),ki(),t},clear:function(t){return $i(this.reads,t)||$i(this.writes,t)},flush:xi};function xi(){Ci(_i.reads),Ci(_i.writes.splice(0,_i.writes.length)),_i.scheduled=!1,(_i.reads.length||_i.writes.length)&&ki(!0)}function ki(t){void 0===t&&(t=!1),_i.scheduled||(_i.scheduled=!0,t?ie.resolve().then(xi):requestAnimationFrame(xi))}function Ci(t){for(var e;e=t.shift();)e()}function $i(t,e){e=t.indexOf(e);return!!~e&&!!t.splice(e,1)}function Ti(){}function Si(t,e){return(e.y-t.y)/(e.x-t.x)}Ti.prototype={positions:[],position:null,init:function(){var n=this;this.positions=[],this.position=null;var s=!1;this.unbind=Ft(document,"mousemove",function(i){s||(setTimeout(function(){var t=Date.now(),e=n.positions.length;e&&100<t-n.positions[e-1].time&&n.positions.splice(0,e),n.positions.push({time:t,x:i.pageX,y:i.pageY}),5<n.positions.length&&n.positions.shift(),s=!1},5),s=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=ii(t),i=X(this.positions),n=this.positions[0];if(e.left<=i.x&&i.x<=e.right&&e.top<=i.y&&i.y<=e.bottom)return!1;t=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]];return e.right<=i.x||(e.left>=i.x?(t[0].reverse(),t[1].reverse()):e.bottom<=i.y?t[0].reverse():e.top>=i.y&&t[1].reverse()),!!t.reduce(function(t,e){return t+(Si(n,e[0])<Si(i,e[0])&&Si(n,e[1])>Si(i,e[1]))},0)}};var Ii={};function Ei(t,e,i){return Ii.computed(k(t)?t.call(i,i):t,k(e)?e.call(i,i):e)}function Pi(t,e){return t=t&&!x(t)?[t]:t,e?t?t.concat(e):x(e)?e:[e]:t}function Ai(e,i,n){var t,s,o={};if((i=k(i)?i.options:i).extends&&(e=Ai(e,i.extends,n)),i.mixins)for(var r=0,a=i.mixins.length;r<a;r++)e=Ai(e,i.mixins[r],n);for(t in e)l(t);for(s in i)c(e,s)||l(s);function l(t){o[t]=(Ii[t]||function(t,e){return L(e)?t:e})(e[t],i[t],n)}return o}function Ni(t,e){var i;void 0===e&&(e=[]);try{return t?g(t,"{")?JSON.parse(t):e.length&&!y(t,":")?((i={})[e[0]]=t,i):t.split(";").reduce(function(t,e){var i=e.split(/:(.*)/),e=i[0],i=i[1];return e&&!L(i)&&(t[e.trim()]=i.trim()),t},{}):{}}catch(t){return{}}}function Di(t){this.id=++Oi,this.el=q(t)}Ii.events=Ii.created=Ii.beforeConnect=Ii.connected=Ii.beforeDisconnect=Ii.disconnected=Ii.destroy=Pi,Ii.args=function(t,e){return!1!==e&&Pi(e||t)},Ii.update=function(t,e){return G(Pi(t,k(e)?{read:e}:e),"order")},Ii.props=function(t,e){return x(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),Ii.methods(t,e)},Ii.computed=Ii.methods=function(t,e){return e?t?V({},t,e):e:t},Ii.data=function(e,i,t){return t?Ei(e,i,t):i?e?function(t){return Ei(e,i,t)}:i:e};var Oi=0;function Mi(t,e){try{t.contentWindow.postMessage(JSON.stringify(V({event:"command"},e)),"*")}catch(t){}}Di.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Di.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Di.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Di.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Di.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Di.prototype.enableApi=function(){var n=this;if(this.ready)return this.ready;var e,s=this.isYoutube(),o=this.isVimeo();return s||o?this.ready=new ie(function(t){Ut(n.el,"load",function(){var t;s&&(t=function(){return Mi(n.el,{event:"listening",id:n.id})},e=setInterval(t,100),t())}),new ie(function(i){Ut(window,"message",function(t,e){return i(e)},!1,function(t){var e=t.data;if(e&&D(e)){try{e=JSON.parse(e)}catch(t){return}return e&&(e=e,s&&e.id===n.id&&"onReady"===e.event||o&&Number(e.player_id)===n.id)}})}).then(function(){t(),e&&clearInterval(e)}),nt(n.el,"src",n.el.src+(y(n.el.src,"?")?"&":"?")+(s?"enablejsapi=1":"api=1&player_id="+n.id))}):ie.resolve()},Di.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return Mi(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(J)}catch(t){}},Di.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Mi(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Di.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return Mi(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,nt(this.el,"muted","")))};var Hi,Li,ji,zi,Bi,qi,Wi,Fi="IntersectionObserver"in window?window.IntersectionObserver:(Ri.prototype.takeRecords=function(){var i=this;return this.targets.filter(function(t){var e=pi(t.target,i.offsetTop,i.offsetLeft);if(null===t.isIntersecting||e^t.isIntersecting)return t.isIntersecting=e,!0})},Ri.prototype.observe=function(t){this.targets.push({target:t,isIntersecting:null}),this.apply()},Ri.prototype.disconnect=function(){this.targets=[],this.off()},Ri);function Ri(e,t){var i=this,n=(t=void 0===t?{}:t).rootMargin;void 0===n&&(n="0 0"),this.targets=[];var s,t=(n||"0 0").split(" ").map(B),n=t[0],t=t[1];this.offsetTop=n,this.offsetLeft=t,this.apply=function(){s=s||requestAnimationFrame(function(){return setTimeout(function(){var t=i.takeRecords();t.length&&e(t,i),s=!1})})},this.off=Ft(window,"scroll resize load",this.apply,{passive:!0,capture:!0})}function Ui(t){return!(!g(t,"uk-")&&!g(t,"data-uk-"))&&p(t.replace("data-uk-","").replace("uk-",""))}function Yi(t){this._init(t)}function Vi(t,e){if(t)for(var i in t)t[i]._connected&&t[i]._callUpdate(e)}function Xi(t,e){var i={},n=t.args;void 0===n&&(n=[]);var s,o=t.props,r=t.el;if(!(o=void 0===o?{}:o))return i;for(s in o){var a=u(s),l=rt(r,a);L(l)||(l=o[s]===Boolean&&""===l||Gi(o[s],l),("target"!==a||l&&!g(l,"_"))&&(i[s]=l))}var c,h=Ni(rt(r,e),n);for(c in h){var d=p(c);void 0!==o[d]&&(i[d]=Gi(o[d],h[c]))}return i}function Qi(e,i,n){var t=(i=!$(i)?{name:n,handler:i}:i).name,s=i.el,o=i.handler,r=i.capture,a=i.passive,l=i.delegate,c=i.filter,h=i.self,s=k(s)?s.call(e):s||e.$el;x(s)?s.forEach(function(t){return Qi(e,V({},i,{el:t}),n)}):!s||c&&!c.call(e)||e._events.push(Ft(s,t,l?D(l)?l:l.call(e):null,D(o)?e[o]:o.bind(e),{passive:a,capture:r,self:h}))}function Gi(t,e){return t===Boolean?j(e):t===Number?z(e):"list"===t?F(e):t?t(e):e}Yi.util=Object.freeze({ajax:ae,getImage:le,transition:Ve,Transition:Xe,animate:Ke,Animation:Je,attr:nt,hasAttr:st,removeAttr:ot,data:rt,addClass:Ee,removeClass:Pe,removeClasses:Ae,replaceClass:Ne,hasClass:De,toggleClass:Oe,positionAt:ei,offset:ii,position:si,height:oi,width:ri,boxModelAdjust:li,flipPosition:ui,isInView:pi,scrolledOver:fi,scrollTop:mi,offsetPosition:gi,toPx:vi,ready:ce,index:he,getIndex:de,empty:ue,html:pe,prepend:function(e,t){return(e=Te(e)).hasChildNodes()?ve(t,function(t){return e.insertBefore(t,e.firstChild)}):fe(e,t)},append:fe,before:me,after:ge,remove:be,wrapAll:ye,wrapInner:we,unwrap:_e,fragment:Ce,apply:$e,$:Te,$$:Se,isIE:at,isRtl:lt,hasTouch:dt,pointerDown:ut,pointerMove:pt,pointerUp:ft,pointerEnter:mt,pointerLeave:gt,pointerCancel:vt,on:Ft,off:Rt,once:Ut,trigger:Yt,createEvent:Vt,toEventTargets:Zt,isTouch:Jt,getEventPos:te,fastdom:_i,isVoidElement:Lt,isVisible:jt,selInput:zt,isInput:Bt,filter:qt,within:Wt,hasOwn:c,hyphenate:u,camelize:p,ucfirst:f,startsWith:g,endsWith:h,includes:y,findIndex:_,isArray:x,isFunction:k,isObject:C,isPlainObject:$,isWindow:T,isDocument:S,isJQuery:I,isNode:E,isNodeCollection:A,isBoolean:N,isString:D,isNumber:O,isNumeric:M,isEmpty:H,isUndefined:L,toBoolean:j,toNumber:z,toFloat:B,toNode:q,toNodes:W,toList:F,toMs:R,isEqual:U,swap:Y,assign:V,last:X,each:Q,sortBy:G,uniqueBy:K,clamp:Z,noop:J,intersectRect:tt,pointInRect:et,Dimensions:it,MouseTracker:Ti,mergeOptions:Ai,parseOptions:Ni,Player:Di,Promise:ie,Deferred:ee,IntersectionObserver:Fi,query:bt,queryAll:yt,find:_t,findAll:xt,matches:Pt,closest:Nt,parents:Dt,escape:Mt,css:ze,getStyles:Be,getStyle:qe,getCssVar:Fe,propName:Ue}),Yi.data="__uikit__",Yi.prefix="uk-",Yi.options={},ji=(Hi=Yi).data,Hi.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},Hi.mixin=function(t,e){(e=(D(e)?Hi.component(e):e)||this).options=Ai(e.options,t)},Hi.extend=function(t){function e(t){this._init(t)}return t=t||{},((e.prototype=Object.create(this.prototype)).constructor=e).options=Ai(this.options,t),e.super=this,e.extend=this.extend,e},Hi.update=function(t,e){(function t(e,i){e&&e!==document.body&&e.parentNode&&(t(e.parentNode,i),i(e.parentNode))})(t=t?q(t):document.body,function(t){return Vi(t[ji],e)}),$e(t,function(t){return Vi(t[ji],e)})},Object.defineProperty(Hi,"container",{get:function(){return Li||document.body},set:function(t){Li=Te(t)}}),(rs=Yi).prototype._callHook=function(t){var e=this,t=this.$options[t];t&&t.forEach(function(t){return t.call(e)})},rs.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},rs.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},rs.prototype._callUpdate=function(t){var s=this,o=(t=void 0===t?"update":t).type||t;y(["update","resize"],o)&&this._callWatches();var e=this.$options.update,t=this._frames,r=t.reads,a=t.writes;e&&e.forEach(function(t,e){var i=t.read,n=t.write,t=t.events;"update"!==o&&!y(t,o)||(i&&!y(_i.reads,r[e])&&(r[e]=_i.read(function(){var t=s._connected&&i.call(s,s._data,o);!1===t&&n?_i.clear(a[e]):$(t)&&V(s._data,t)})),n&&!y(_i.writes,a[e])&&(a[e]=_i.write(function(){return s._connected&&n.call(s,s._data,o)})))})},zi=0,(as=Yi).prototype._init=function(o){(o=o||{}).data=function(t){var e=o.data,n=(o.el,t.args),i=t.props;if(void 0===i&&(i={}),e=x(e)?H(n)?void 0:e.slice(0,n.length).reduce(function(t,e,i){return $(e)?V(t,e):t[n[i]]=e,t},{}):e)for(var s in e)L(e[s])?delete e[s]:e[s]=i[s]?Gi(i[s],e[s]):e[s];return e}(this.constructor.options),this.$options=Ai(this.constructor.options,o,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=zi++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),o.el&&this.$mount(o.el)},as.prototype._initData=function(){var t,e=this.$options.data;for(t in e=void 0===e?{}:e)this.$props[t]=this[t]=e[t]},as.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},as.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)!function(n,s,o){Object.defineProperty(n,s,{enumerable:!0,get:function(){var t=n._computeds,e=n.$props,i=n.$el;return c(t,s)||(t[s]=(o.get||o).call(n,e,i)),t[s]},set:function(t){var e=n._computeds;e[s]=o.set?o.set.call(n,t):t,L(e[s])&&delete e[s]}})}(this,e,t[e])},as.prototype._callWatches=function(){var t,e=this.$options.computed,i=this._computeds;for(t in i){var n=i[t];delete i[t],e[t].watch&&!U(n,this[t])&&e[t].watch.call(this,this[t],n)}},as.prototype._initProps=function(t){for(var e in t=t||Xi(this.$options,this.$name))L(t[e])||(this.$props[e]=t[e]);var i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&function(t,e){return t.every(function(t){return!t||!c(t,e)})}(i,e)&&(this[e]=this.$props[e])},as.prototype._initEvents=function(){var i=this,t=this.$options.events;t&&t.forEach(function(t){if(c(t,"handler"))Qi(i,t);else for(var e in t)Qi(i,t[e],e)})},as.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},as.prototype._initObserver=function(){var i=this,t=this.$options,n=t.attrs,e=t.props,t=t.el;!this._observer&&e&&!1!==n&&(n=x(n)?n:Object.keys(e),this._observer=new MutationObserver(function(){var e=Xi(i.$options,i.$name);n.some(function(t){return!L(e[t])&&e[t]!==i.$props[t]})&&i.$reset()}),e=n.map(u).concat(this.$name),this._observer.observe(t,{attributes:!0,attributeFilter:e.concat(e.map(function(t){return"data-"+t}))}))},qi=(Bi=Yi).data,Wi={},Bi.component=function(r,t){if(!t)return $(Wi[r])&&(Wi[r]=Bi.extend(Wi[r])),Wi[r];Bi[r]=function(t,i){for(var e=arguments.length,n=Array(e);e--;)n[e]=arguments[e];var s=Bi.component(r);return $(t)?new s({data:t}):s.options.functional?new s({data:[].concat(n)}):t&&t.nodeType?o(t):Se(t).map(o)[0];function o(t){var e=Bi.getComponent(t,r);if(e){if(!i)return e;e.$destroy()}return new s({el:t,data:i})}};var e,i=$(t)?V({},t):t.options;return i.name=r,i.install&&i.install(Bi,i,r),Bi._initialized&&!i.functional&&(e=u(r),_i.read(function(){return Bi[r]("[uk-"+e+"],[data-uk-"+e+"]")})),Wi[r]=$(t)?i:t},Bi.getComponents=function(t){return t&&t[qi]||{}},Bi.getComponent=function(t,e){return Bi.getComponents(t)[e]},Bi.connect=function(t){if(t[qi])for(var e in t[qi])t[qi][e]._callConnected();for(var i=0;i<t.attributes.length;i++){var n=Ui(t.attributes[i].name);n&&n in Wi&&Bi[n](t)}},Bi.disconnect=function(t){for(var e in t[qi])t[qi][e]._callDisconnected()},function(n){var s=n.data;n.prototype.$mount=function(t){var e=this.$options.name;t[s]||(t[s]={}),t[s][e]||((t[s][e]=this).$el=this.$options.el=this.$options.el||t,Wt(t,document)&&this._callConnected())},n.prototype.$emit=function(t){this._callUpdate(t)},n.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},n.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=this.$options,i=e.el,e=e.name;i&&this._callDisconnected(),this._callHook("destroy"),i&&i[s]&&(delete i[s][e],H(i[s])||delete i[s],t&&be(this.$el))},n.prototype.$create=function(t,e,i){return n[t](e,i)},n.prototype.$update=n.update,n.prototype.$getComponent=n.getComponent;var e={};Object.defineProperties(n.prototype,{$container:Object.getOwnPropertyDescriptor(n,"container"),$name:{get:function(){var t=this.$options.name;return e[t]||(e[t]=n.prefix+u(t)),e[t]}}})}(Yi);var Ki={connected:function(){De(this.$el,this.$name)||Ee(this.$el,this.$name)}},Zi={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},computed:{hasAnimation:function(t){return!!t.animation[0]},hasTransition:function(t){t=t.animation;return this.hasAnimation&&!0===t[0]}},methods:{toggleElement:function(l,c,h){var d=this;return new ie(function(t){function e(t){return ie.all(t.map(function(t){return d._toggleElement(t,c,h)}))}var i,n,s,o,r=(l=W(l)).filter(function(t){return d.isToggled(t)}),a=l.filter(function(t){return!y(r,t)});d.queued&&L(h)&&L(c)&&d.hasAnimation&&!(l.length<2)?(i=document.body,n=i.scrollTop,o=r[0],s=Je.inProgress(o)&&De(o,"uk-animation-leave")||Xe.inProgress(o)&&"0px"===o.style.height,o=e(r),s||(o=o.then(function(){var t=e(a);return i.scrollTop=n,t}))):o=e(a.concat(r)),o.then(t,J)})},toggleNow:function(e,i){var n=this;return new ie(function(t){return ie.all(W(e).map(function(t){return n._toggleElement(t,i,!1)})).then(t,J)})},isToggled:function(t){t=W(t||this.$el);return this.cls?De(t,this.cls.split(" ")[0]):!st(t,"hidden")},updateAria:function(t){!1===this.cls&&nt(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(e=N(e)?e:Je.inProgress(t)?De(t,"uk-animation-leave"):Xe.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!Yt(t,"before"+(e?"show":"hide"),[this]))return ie.reject();var s,o,r,a,l,c,h,d,u,p,f,s=(k(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?(c=(i=this).isToggled,h=i.duration,d=i.initProps,u=i.hideProps,p=i.transition,f=i._toggle,function(t,e){var i=Xe.inProgress(t),n=t.hasChildNodes?B(ze(t.firstElementChild,"marginTop"))+B(ze(t.lastElementChild,"marginBottom")):0,s=jt(t)?oi(t)+(i?0:n):0;Xe.cancel(t),c(t)||f(t,!0),oi(t,""),_i.flush();n=oi(t)+(i?0:n);return oi(t,s),(e?Xe.start(t,V({},d,{overflow:"hidden",height:n}),Math.round(h*(1-s/n)),p):Xe.start(t,u,Math.round(h*(s/n)),p).then(function(){return f(t,!1)})).then(function(){return ze(t,d)})}):(o=(s=this).animation,r=s.duration,a=s.origin,l=s._toggle,function(t,e){return Je.cancel(t),e?(l(t,!0),Je.in(t,o[0],r,a)):Je.out(t,o[1]||o[0],r,a).then(function(){return l(t,!1)})}):this._toggle)(t,e);function m(){Yt(t,e?"shown":"hidden",[n]),n.$update(t)}return Yt(t,e?"show":"hide",[this]),s?s.then(m):ie.resolve(m())},_toggle:function(t,e){var i;t&&(e=Boolean(e),this.cls?(i=y(this.cls," ")||e!==De(t,this.cls))&&Oe(t,this.cls,y(this.cls," ")?void 0:e):(i=e===st(t,"hidden"))&&nt(t,"hidden",e?null:""),Se("[autofocus]",t).some(function(t){return jt(t)?t.focus()||!0:t.blur()}),this.updateAria(t),i&&this.$update(t))}}},Ji={mixins:[Ki,Zi],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function(t,e){return Se(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(he(Se(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){var t;!1===this.active||(t=this.items[Number(this.active)])&&!De(t,this.clsOpen)&&this.toggle(t,!1)},update:function(){var e=this;this.items.forEach(function(t){return e._toggle(Te(e.content,t),De(t,e.clsOpen))});var t=!this.collapsible&&!De(this.items,this.clsOpen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(s,o){var r=this,t=de(s,this.items),a=qt(this.items,"."+this.clsOpen);(s=this.items[t])&&[s].concat(!this.multiple&&!y(a,s)&&a||[]).forEach(function(t){var e,i=t===s,n=i&&!De(t,r.clsOpen);!n&&i&&!r.collapsible&&a.length<2||(Oe(t,r.clsOpen,n),e=t._wrapper?t._wrapper.firstElementChild:Te(r.content,t),t._wrapper||(t._wrapper=ye(e,"<div>"),nt(t._wrapper,"hidden",n?"":null)),r._toggle(e,!0),r.toggleElement(t._wrapper,n,o).then(function(){De(t,r.clsOpen)===n&&(n||r._toggle(e,!1),t._wrapper=null,_e(e))}))})}}},tn={mixins:[Ki,Zi],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:V({opacity:0},Zi.data.hideProps)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}};var en,nn={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!st(this.$el,"preload")&&(this.$el.preload="none"),this.player=new Di(this.$el),this.automute&&this.player.mute()},update:{read:function(){return!!this.player&&{visible:jt(this.$el)&&"hidden"!==ze(this.$el,"visibility"),inView:this.inView&&pi(this.$el)}},write:function(t){var e=t.visible,t=t.inView;!e||this.inView&&!t?this.player.pause():(!0===this.autoplay||this.inView&&t)&&this.player.play()},events:["resize","scroll"]}},sn={mixins:[Ki,nn],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=t.parentNode,i=e.offsetHeight,e=e.offsetWidth,i=it.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:e+(e%2?1:0),height:i+(i%2?1:0)});return!(!i.width||!i.height)&&i},write:function(t){var e=t.height,t=t.width;ze(this.$el,{height:e,width:t})},events:["resize"]}},on={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(lt?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){t=t.pos;return(t+(y(t,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){var n;Ae(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),ze(t,{top:"",left:""});var s=this.offset,o=this.getAxis();M(s)||(s=(n=Te(s))?ii(n)["x"===o?"left":"top"]-ii(e)["x"===o?"right":"bottom"]:0);s=ei(t,e,"x"===o?ui(this.dir)+" "+this.align:this.align+" "+ui(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-s:s):" "+("top"===this.dir?-s:s),null,this.flip,i).target,i=s.x,s=s.y;this.dir="x"===o?i:s,this.align="x"===o?s:i,Oe(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},rn={mixins:[on,Zi],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){return bt(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new Ti},connected:function(){Ee(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",bt(t,this.$el),{target:this.$el,mode:this.mode}),this.toggle||Yt(this.$el,"updatearia")},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.defaultPrevented,t=t.current.hash;e||!t||Wt(t,this.$el)||this.hide(!1)}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1)}},{name:mt,filter:function(){return y(this.mode,"hover")},handler:function(t){Jt(t)||(en&&en!==this&&en.toggle&&y(en.toggle.mode,"hover")&&!Wt(t.target,en.toggle.$el)&&!et({x:t.pageX,y:t.pageY},ii(en.$el))&&en.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!y(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+gt,handler:function(t,e){Jt(t)||e&&!y(e.target,this.$el)||(t.preventDefault(),this.toggle&&y(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),Je.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){var i=this;this.tracker.init(),Yt(this.$el,"updatearia");var t=an(document,"click",function(t){var e=t.defaultPrevented,t=t.target;e||Wt(t,i.$el)||i.toggle&&Wt(t,i.toggle.$el)||i.hide(!1)});Ut(this.$el,"hide",t,{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){t=t.target;this.$el===t?(en=this.isActive()?null:en,Yt(this.$el,"updatearia"),this.tracker.cancel()):en=null===en&&Wt(t,this.$el)&&this.isToggled()?this:en}},{name:"updatearia",self:!0,handler:function(t,e){t.preventDefault(),this.updateAria(this.$el),(e||this.toggle)&&(nt((e||this.toggle).$el,"aria-expanded",this.isToggled()),Oe(this.toggle.$el,this.cls,this.isToggled()))}}],update:{write:function(){this.isToggled()&&!Je.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,i){var n=this;function s(){return!n.isToggled()&&n.toggleElement(n.$el,!0)}function t(){if(n.toggle=e||n.toggle,n.clearTimers(),!n.isActive())if(i&&en&&en!==n&&en.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(en)){if(!en.hideTimer)return;en.hide(!1)}else if(n.isChildOf(en))en.clearTimers();else if(en&&!n.isChildOf(en)&&!n.isParentOf(en))for(var t;en&&en!==t&&!n.isChildOf(en);)(t=en).hide(!1);i&&n.delayShow?n.showTimer=setTimeout(s,n.delayShow):s(),en=n}}void 0===i&&(i=!0),e&&this.toggle&&e.$el!==this.toggle.$el?(Ut(this.$el,"hide",t),this.hide(!1)):t()},hide:function(t){var e=this;function i(){return e.toggleNow(e.$el,!1)}void 0===t&&(t=!0),this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return en===this},isChildOf:function(t){return t&&t!==this&&Wt(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&Wt(t.$el,this.$el)},position:function(){Ae(this.$el,this.clsDrop+"-(stack|boundary)"),ze(this.$el,{top:"",left:"",display:"block"}),Oe(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t,e=ii(this.boundary),i=this.boundaryAlign?e:ii(this.toggle.$el);"justify"===this.align?(t="y"===this.getAxis()?"width":"height",ze(this.$el,t,i[t])):this.$el.offsetWidth>Math.max(e.right-i.left,i.right-e.left)&&Ee(this.$el,this.clsDrop+"-stack"),this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),ze(this.$el,"display","")}}};function an(t,e,i){var n=Ut(t,e,function(){return n=Ft(t,e,i)},!0);return function(){return n()}}var ln={extends:rn},cn={mixins:[Ki],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Te(zt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){t=t.target;return t&&(!0===t&&this.input.parentNode===e&&this.input.nextElementSibling||bt(t,e))}},update:function(){var t,e,i=this.target,n=this.input;!i||i[e=Bt(i)?"value":"textContent"]!==(n=n.files&&n.files[0]?n.files[0].name:Pt(n,"select")&&(t=Se("option",n).filter(function(t){return t.selected})[0])?t.textContent:n.value)&&(i[e]=n)},events:[{name:"change",handler:function(){this.$emit()}},{name:"reset",el:function(){return Nt(this.$el,"form")},handler:function(){this.$emit()}}]},hn={update:{read:function(t){var e=pi(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","resize"]}},dn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!jt(this.$el))return t.rows=[[]];t.rows=un(e),t.stacks=!t.rows.some(function(t){return 1<t.length})},write:function(t){var n=this;t.rows.forEach(function(t,i){return t.forEach(function(t,e){Oe(t,n.margin,0!==i),Oe(t,n.firstColumn,0===e)})})},events:["resize"]}};function un(t){for(var e=[[]],i=0;i<t.length;i++){var n=t[i],s=pn(n);if(s.height)for(var o=e.length-1;0<=o;o--){var r=e[o];if(!r[0]){r.push(n);break}var a=r[0].offsetParent===n.offsetParent?pn(r[0]):(s=pn(n,!0),pn(r[0],!0));if(s.top>=a.bottom-1&&s.top!==a.top){e.push([n]);break}if(s.bottom>a.top){if(s.left<a.left&&!lt){r.unshift(n);break}r.push(n);break}if(0===o){e.unshift([n]);break}}}return e}function pn(t,e){var i=t.offsetTop,n=t.offsetLeft,s=t.offsetHeight;return(e=void 0===e?!1:e)&&(i=(t=gi(t))[0],n=t[1]),{top:i,left:n,height:s,bottom:i+s}}var fn={extends:dn,mixins:[Ki],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},computed:{length:function(t,e){return e.children.length},parallax:function(t){t=t.parallax;return t&&this.length?Math.abs(t):""}},connected:function(){this.masonry&&Ee(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{read:function(t){var s=t.rows;(this.masonry||this.parallax)&&(s=s.map(function(t){return G(t,"offsetLeft")}),lt&&s.map(function(t){return t.reverse()}));var o,e,i,n=s.some(function(t){return t.some(Xe.inProgress)}),r=!1,a="";return this.masonry&&this.length&&(o=0,r=s.reduce(function(i,t,n){return i[n]=t.map(function(t,e){return 0===n?0:B(i[n-1][e])+(o-B(s[n-1][e]&&s[n-1][e].offsetHeight))}),o=t.reduce(function(t,e){return Math.max(t,e.offsetHeight)},0),i},[]),a=Math.max.apply(Math,s.reduce(function(i,t){return t.forEach(function(t,e){return i[e]=(i[e]||0)+t.offsetHeight}),i},[]))+(e=this.$el,i=this.margin,t=W(e.children),B((e=t.filter(function(t){return De(t,i)})[0])?ze(e,"marginTop"):ze(t[0],"paddingLeft"))*(s.length-1))),{padding:this.parallax&&function(t,e,i){for(var n=0,s=0,o=0,r=e.length-1;0<=r;r--)for(var a=n;a<e[r].length;a++){var l=e[r][a],l=l.offsetTop+oi(l)+(i&&-i[r][a]),s=Math.max(s,l),o=Math.max(o,l+(a%2?t:t/8));n++}return o-s}(this.parallax,s,r),rows:s,translates:r,height:!n&&a}},write:function(t){var e=t.stacks,i=t.height,t=t.padding;Oe(this.$el,this.clsStack,e),ze(this.$el,"paddingBottom",t),!1!==i&&ze(this.$el,"height",i)},events:["resize"]},{read:function(t){t=t.height;return{scrolled:!!this.parallax&&fi(this.$el,t?t-oi(this.$el):0)*this.parallax}},write:function(t){var e=t.rows,n=t.scrolled,s=t.translates;!1===n&&!s||e.forEach(function(t,i){return t.forEach(function(t,e){return ze(t,"transform",n||s?"translateY("+((s&&-s[i][e])+(n?e%2?n:n/8:0))+"px)":"")})})},events:["scroll","resize"]}]},mn=at?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){t=t.selMinHeight;return t?Se(t,e):[e]}},update:[{read:function(){ze(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var i=this;this.elements.forEach(function(t){var e=B(ze(t,"minHeight"));e&&(i.forceHeight||Math.round(e+li("height",t,"content-box"))>=t.offsetHeight)&&ze(t,"height",e)})},order:5,events:["resize"]}]}:{},gn={mixins:[mn],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Se(t.target,e)}},update:{read:function(){return{rows:(this.row?un(this.elements):[this.elements]).map(vn)}},write:function(t){t.rows.forEach(function(t){var i=t.heights;return t.elements.forEach(function(t,e){return ze(t,"minHeight",i[e])})})},events:["resize"]}};function vn(t){if(t.length<2)return{heights:[""],elements:t};var e=bn(t),i=e.heights,n=e.max,s=t.some(function(t){return t.style.minHeight}),e=t.some(function(t,e){return!t.style.minHeight&&i[e]<n});return s&&e&&(ze(t,"minHeight",""),e=bn(t),i=e.heights,n=e.max),{heights:i=t.map(function(t,e){return i[e]===n&&B(t.style.minHeight).toFixed(2)!==n.toFixed(2)?"":n}),elements:t}}function bn(t){t=t.map(function(t){return ii(t).height-li("height",t,"content-box")});return{heights:t,max:Math.max.apply(null,t)}}var yn={mixins:[mn],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{read:function(t){var e=t.minHeight;if(!jt(this.$el))return!1;var i="",n=li("height",this.$el,"content-box");if(this.expand){if(this.$el.dataset.heightExpand="",Te("[data-height-expand]")!==this.$el)return!1;i=oi(window)-(wn(document.documentElement)-wn(this.$el))-n||""}else{i="calc(100vh";this.offsetTop&&(i+=0<(t=ii(this.$el).top)&&t<oi(window)/2?" - "+t+"px":""),!0===this.offsetBottom?i+=" - "+wn(this.$el.nextElementSibling)+"px":M(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&h(this.offsetBottom,"px")?i+=" - "+B(this.offsetBottom)+"px":D(this.offsetBottom)&&(i+=" - "+wn(bt(this.offsetBottom,this.$el))+"px"),i+=(n?" - "+n+"px":"")+")"}return{minHeight:i,prev:e}},write:function(t){var e=t.minHeight,t=t.prev;ze(this.$el,{minHeight:e}),e!==t&&this.$update(this.$el,"resize"),this.minHeight&&B(ze(this.$el,"minHeight"))<this.minHeight&&ze(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function wn(t){return t&&ii(t).height||0}var _n={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect:function(){var t,e=this;this.class+=" uk-svg",!this.icon&&y(this.src,"#")&&1<(t=this.src.split("#")).length&&(this.src=(t=t)[0],this.icon=t[1]),this.svg=this.getSvg().then(function(t){return e.applyAttributes(t),e.svgEl=function(t,e){if(Lt(e)||"CANVAS"===e.tagName){nt(e,"hidden",!0);var i=e.nextElementSibling;return Tn(t,i)?i:ge(e,t)}i=e.lastElementChild;return Tn(t,i)?i:fe(e,t)}(t,e.$el)},J)},disconnected:function(){var e=this;Lt(this.$el)&&nt(this.$el,"hidden",null),this.svg&&this.svg.then(function(t){return(!e._connected||t!==e.svgEl)&&be(t)},J),this.svg=this.svgEl=null},update:{read:function(){return!!(this.strokeAnimation&&this.svgEl&&jt(this.svgEl))},write:function(){var t,e;t=this.svgEl,(e=$n(t))&&t.style.setProperty("--uk-animation-stroke",e)},type:["resize"]},methods:{getSvg:function(){var i,n=this;return i=this.src,(xn[i]||(xn[i]=new ie(function(e,t){i?g(i,"data:")?e(decodeURIComponent(i.split(",")[1])):ae(i).then(function(t){return e(t.response)},function(){return t("SVG not found.")}):t()}))).then(function(t){return e=t,t=n.icon,(e=Te((e=t&&y(e,"<symbol")?function(t,e){if(!Cn[t]){var i;for(Cn[t]={};i=kn.exec(t);)Cn[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>";kn.lastIndex=0}return Cn[t][e]}(e,t)||e:e).substr(e.indexOf("<svg"))))&&e.hasChildNodes()&&e||ie.reject("SVG not found.");var e})},applyAttributes:function(i){var t,e,n=this;for(t in this.$options.props)this[t]&&y(this.include,t)&&nt(i,t,this[t]);for(e in this.attributes){var s=this.attributes[e].split(":",2),o=s[0],s=s[1];nt(i,o,s)}this.id||ot(i,"id");var r=["width","height"],a=[this.width,this.height];a.some(function(t){return t})||(a=r.map(function(t){return nt(i,t)}));var l=nt(i,"viewBox");(a=l&&!a.some(function(t){return t})?l.split(" ").slice(2):a).forEach(function(t,e){(t=(0|t)*n.ratio)&&nt(i,r[e],t),t&&!a[1^e]&&ot(i,r[1^e])}),nt(i,"data-svg",this.icon||this.src)}}},xn={},kn=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,Cn={};function $n(t){return Math.ceil(Math.max.apply(Math,Se("[stroke]",t).map(function(t){return t.getTotalLength&&t.getTotalLength()||0}).concat([0])))}function Tn(t,e){return nt(t,"data-svg")===nt(e,"data-svg")}var Sn={},In={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},En={install:function(s){s.icon.add=function(t,e){var i,n=D(t)?((i={})[t]=e,i):t;Q(n,function(t,e){In[e]=t,delete Sn[e]}),s._initialized&&$e(document.body,function(t){return Q(s.getComponents(t),function(t){t.$options.isIcon&&t.icon in n&&t.$reset()})})}},extends:_n,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Ee(this.$el,"uk-icon")},methods:{getSvg:function(){var t,t=(t=this.icon,t=lt?Y(Y(t,"left","right"),"previous","next"):t,In[t]?(Sn[t]||(Sn[t]=Te(In[t].trim())),Sn[t].cloneNode(!0)):null);return t?ie.resolve(t):ie.reject("Icon not found.")}}},Pn={args:!1,extends:En,data:function(t){return{icon:u(t.constructor.options.name)}},beforeConnect:function(){Ee(this.$el,this.$name)}},An={extends:Pn,beforeConnect:function(){Ee(this.$el,"uk-slidenav")},computed:{icon:function(t,e){t=t.icon;return De(e,"uk-slidenav-large")?t+"-large":t}}},Nn={extends:Pn,computed:{icon:function(t,e){t=t.icon;return De(e,"uk-search-icon")&&Dt(e,".uk-search-large").length?"search-large":Dt(e,".uk-search-navbar").length?"search-navbar":t}}},Dn={extends:Pn,computed:{icon:function(){return"close-"+(De(this.$el,"uk-close-large")?"large":"icon")}}},On={extends:Pn,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&ze(Te("circle",t),"strokeWidth",1/e.ratio)},J)}},Mn={args:"dataSrc",props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){t=t.dataSrc;return this.$name+"."+t},width:function(t){var e=t.width,t=t.dataWidth;return e||t},height:function(t){var e=t.height,t=t.dataHeight;return e||t},sizes:function(t){var e=t.sizes,t=t.dataSizes;return e||t},isImg:function(t,e){return Wn(e)},target:{get:function(t){t=t.target;return[this.$el].concat(yt(t,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return vi(t.offsetTop,"height")},offsetLeft:function(t){return vi(t.offsetLeft,"width")}},connected:function(){var t,e,i;Rn[this.cacheKey]?Hn(this.$el,Rn[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&Hn(this.$el,(t=this.width,e=this.height,(i=this.sizes)&&(t=(i=it.ratio({width:t,height:e},"width",vi(jn(i)))).width,e=i.height),'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>')),this.observer=new Fi(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)},disconnected:function(){this.observer.disconnect()},update:{read:function(t){var e=this,t=t.image;if(t||"complete"!==document.readyState||this.load(this.observer.takeRecords()),this.isImg)return!1;t&&t.then(function(t){return t&&""!==t.currentSrc&&Hn(e.$el,Fn(t))})},write:function(t){var e,i,n;this.dataSrcset&&1!==window.devicePixelRatio&&(!(i=ze(this.$el,"backgroundSize")).match(/^(auto\s?)+$/)&&B(i)!==t.bgSize||(t.bgSize=(e=this.dataSrcset,i=this.sizes,n=vi(jn(i)),(e=(e.match(qn)||[]).map(B).sort(function(t,e){return t-e})).filter(function(t){return n<=t})[0]||e.pop()||""),ze(this.$el,"backgroundSize",t.bgSize+"px")))},events:["resize"]},methods:{load:function(t){var e=this;t.some(function(t){return L(t.isIntersecting)||t.isIntersecting})&&(this._data.image=le(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return Hn(e.$el,Fn(t),t.srcset,t.sizes),Rn[e.cacheKey]=Fn(t),t},J),this.observer.disconnect())},observe:function(){var e=this;!this._data.image&&this._connected&&this.target.forEach(function(t){return e.observer.observe(t)})}}};function Hn(t,e,i,n){Wn(t)?(n&&(t.sizes=n),i&&(t.srcset=i),e&&(t.src=e)):e&&(y(t.style.backgroundImage,e)||(ze(t,"backgroundImage","url("+Mt(e)+")"),Yt(t,Vt("load",!1))))}var Ln=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function jn(t){var e,i;for(Ln.lastIndex=0;e=Ln.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=g(i=e[2],"calc")?i.substring(5,i.length-1).replace(zn,function(t){return vi(t)}).replace(/ /g,"").match(Bn).reduce(function(t,e){return t+ +e},0):i;break}return e||"100vw"}var zn=/\d+(?:\w+|%)/g,Bn=/[+-]?(\d+)/g,qn=/\s+\d+w\s*(?:,|$)/g;function Wn(t){return"IMG"===t.tagName}function Fn(t){return t.currentSrc||t.src}var Rn;try{(Rn=window.sessionStorage||{}).__test__=1,delete Rn.__test__}catch(t){Rn={}}var Un={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(D(t))if("@"===t[0])t=B(Fe("breakpoint-"+t.substr(1)));else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}},Yn={mixins:[Ki,Un],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Fe("leader-fill-content")}},connected:function(){var t=we(this.$el,'<span class="'+this.clsWrapper+'">');this.wrapper=t[0]},disconnected:function(){_e(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,i=t.width,t=i;return{width:i=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:e||t!==i,hide:!this.matchMedia}},write:function(t){Oe(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,nt(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},Vn={props:{container:Boolean},data:{container:!0},computed:{container:function(t){t=t.container;return!0===t&&this.$container||t&&Te(t)}}},Xn=[],Qn={mixins:[Ki,Vn,Zi],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Te(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleNow(this.$el,!1)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){if(y(Xn,this))return!1;!this.stack&&Xn.length?(ie.all(Xn.map(function(t){return t.hide()})).then(this.show),t.preventDefault()):Xn.push(this)}},{name:"show",self:!0,handler:function(){var n=this;ri(window)-ri(document)&&this.overlay&&ze(document.body,"overflowY","scroll"),Ee(document.documentElement,this.clsPage),this.bgClose&&Ut(this.$el,"hide",an(document,"click",function(t){var e=t.defaultPrevented,i=t.target,t=X(Xn);e||t!==n||t.overlay&&!Wt(i,t.$el)||Wt(i,t.panel)||t.hide()}),{self:!0}),this.escClose&&Ut(this.$el,"hide",Ft(document,"keydown",function(t){var e=X(Xn);27===t.keyCode&&e===n&&(t.preventDefault(),e.hide())}),{self:!0})}},{name:"hidden",self:!0,handler:function(){var e=this;Xn.splice(Xn.indexOf(this),1),Xn.length||ze(document.body,"overflowY",""),Xn.some(function(t){return t.clsPage===e.clsPage})||Pe(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.container&&this.$el.parentNode!==this.container?(fe(this.container,this.$el),new ie(function(t){return requestAnimationFrame(function(){return e.show().then(t)})})):this.toggleElement(this.$el,!0,Gn(this))},hide:function(){return this.toggleElement(this.$el,!1,Gn(this))}}};function Gn(t){var r=t.transitionElement,a=t._toggle;return function(s,o){return new ie(function(i,n){return Ut(s,"show hide",function(){s._reject&&s._reject(),s._reject=n,a(s,o);var t=Ut(r,"transitionstart",function(){Ut(r,"transitionend transitioncancel",i,{self:!0}),clearTimeout(e)},{self:!0}),e=setTimeout(function(){t(),i()},R(ze(r,"transitionDuration")))})})}}var Kn={install:function(a){a.modal.dialog=function(t,e){var i=a.modal(' <div class="uk-modal"> <div class="uk-modal-dialog">'+t+"</div> </div> ",e);return i.show(),Ft(i.$el,"hidden",function(){return ie.resolve(function(){return i.$destroy(!0)})},{self:!0}),i},a.modal.alert=function(e,i){return i=V({bgClose:!1,escClose:!1,labels:a.modal.labels},i),new ie(function(t){return Ft(a.modal.dialog(' <div class="uk-modal-body">'+(D(e)?e:pe(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+i.labels.ok+"</button> </div> ",i).$el,"hide",t)})},a.modal.confirm=function(s,o){return o=V({bgClose:!1,escClose:!0,labels:a.modal.labels},o),new ie(function(e,t){var i=a.modal.dialog(' <form> <div class="uk-modal-body">'+(D(s)?s:pe(s))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+o.labels.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+o.labels.ok+"</button> </div> </form> ",o),n=!1;Ft(i.$el,"submit","form",function(t){t.preventDefault(),e(),n=!0,i.hide()}),Ft(i.$el,"hide",function(){n||t()})})},a.modal.prompt=function(t,o,r){return r=V({bgClose:!1,escClose:!0,labels:a.modal.labels},r),new ie(function(e){var i=a.modal.dialog(' <form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(D(t)?t:pe(t))+'</label> <input class="uk-input" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+r.labels.cancel+'</button> <button class="uk-button uk-button-primary">'+r.labels.ok+"</button> </div> </form> ",r),n=Te("input",i.$el);n.value=o;var s=!1;Ft(i.$el,"submit","form",function(t){t.preventDefault(),e(n.value),s=!0,i.hide()}),Ft(i.$el,"hide",function(){s||e(null)})})},a.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[Qn],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler:function(){De(this.panel,"uk-margin-auto-vertical")?Ee(this.$el,"uk-flex"):ze(this.$el,"display","block"),oi(this.$el)}},{name:"hidden",self:!0,handler:function(){ze(this.$el,"display",""),Pe(this.$el,"uk-flex")}}]},Zn={extends:Ji,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Jn={mixins:[Ki,mn],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".uk-navbar-nav > li",align:lt?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle"},computed:{boundary:function(t,e){var i=t.boundary,t=t.boundaryAlign;return!0===i||t?e:i},dropbarAnchor:function(t,e){return bt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return Se(t.dropdown+" ."+t.clsDrop,e)}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(bt(t,this.$el)||Te("+ .uk-navbar-dropbar",this.$el)||Te("<div></div>")),this.dropbar&&(Ee(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarMode&&Ee(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&be(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter(function(t){return!e.getDropdown(t)}),V({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,t=this.getActive();t&&t.toggle&&!Wt(t.toggle.$el,e)&&!t.tracker.movesTo(t.$el)&&t.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!this.dropdowns.some(function(t){return Pt(t,":hover")})&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||ge(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,e=e.dir;this.clsDrop&&Ee(i,this.clsDrop+"-dropbar"),"bottom"===e&&this.transitionTo(i.offsetHeight+B(ze(i,"marginTop"))+B(ze(i,"marginBottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,e=this.getActive();Pt(this.dropbar,":hover")&&e&&e.$el===i&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,e=this.getActive();(!e||e&&e.$el===i)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t&&t.isActive()})[0];return t&&y(t.mode,"hover")&&Wt(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var i=this,n=this.dropbar,s=jt(n)?oi(n):0;return ze(e=s<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+s+"px,0)"),oi(n,s),Xe.cancel([e,n]),ie.all([Xe.start(n,{height:t},this.duration),Xe.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(J).then(function(){ze(e,{clip:""}),i.$update(n)})},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},ts={mixins:[Qn],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip:function(t){var e=t.flip,t=t.clsFlip;return e?t:""},clsOverlay:function(t){var e=t.overlay,t=t.clsOverlay;return e?t:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,t=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":t},clsContainerAnimation:function(t){var e=t.mode,t=t.clsContainerAnimation;return"push"!==e&&"reveal"!==e?"":t},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current.hash;!t.defaultPrevented&&e&&Te(e,document.body)&&this.hide()}},{name:"touchstart",passive:!0,el:function(){return this.panel},handler:function(t){t=t.targetTouches;1===t.length&&(this.clientY=t[0].clientY)}},{name:"touchmove",self:!0,passive:!1,filter:function(){return this.overlay},handler:function(t){t.cancelable&&t.preventDefault()}},{name:"touchmove",passive:!1,el:function(){return this.panel},handler:function(t){var e,i,n,s;1===t.targetTouches.length&&(e=event.targetTouches[0].clientY-this.clientY,i=(s=this.panel).scrollTop,((n=s.scrollHeight)<=(s=s.clientHeight)||0===i&&0<e||n-i<=s&&e<0)&&t.cancelable&&t.preventDefault())}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||De(this.panel.parentNode,this.clsMode)||(ye(this.panel,"<div>"),Ee(this.panel.parentNode,this.clsMode)),ze(document.documentElement,"overflowY",this.overlay?"hidden":""),Ee(document.body,this.clsContainer,this.clsFlip),ze(document.body,"touch-action","pan-y pinch-zoom"),ze(this.$el,"display","block"),Ee(this.$el,this.clsOverlay),Ee(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),oi(document.body),Ee(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(es().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Pe(document.body,this.clsContainerAnimation),ze(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=es()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&_e(this.panel),Pe(this.panel,this.clsSidebarAnimation,this.clsMode),Pe(this.$el,this.clsOverlay),ze(this.$el,"display",""),Pe(document.body,this.clsContainer,this.clsFlip),ze(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&h(t.type,"Left")^this.flip&&this.hide()}}]};function es(){return Te('meta[name="viewport"]',document.head)||fe(document.head,'<meta name="viewport">')}var is={mixins:[Ki],props:{selContainer:String,selContent:String},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog"},computed:{container:function(t,e){return Nt(e,t.selContainer)},content:function(t,e){return Nt(e,t.selContent)}},connected:function(){ze(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:B(ze(this.$el,"maxHeight")),max:Math.max(150,oi(this.container)-(ii(this.content).height-oi(this.$el)))}},write:function(t){var e=t.current,t=t.max;ze(this.$el,"maxHeight",t),Math.round(e)!==Math.round(t)&&Yt(this.$el,"resize")},events:["resize"]}},ns={props:["width","height"],connected:function(){Ee(this.$el,"uk-responsive-width")},update:{read:function(){return!!(jt(this.$el)&&this.width&&this.height)&&{width:ri(this.$el.parentNode),height:this.height}},write:function(t){oi(this.$el,it.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},ss={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(e){var i=this;e=e&&Te(e)||document.body;var n,s,o,t=oi(document),r=oi(window),a=ii(e).top-this.offset;t<a+r&&(a=t-r),Yt(this.$el,"beforescroll",[this,e])&&(n=Date.now(),s=window.pageYOffset,(o=function(){var t,t=s+(a-s)*(t=Z((Date.now()-n)/i.duration),.5*(1-Math.cos(Math.PI*t)));mi(window,t),t!==a?requestAnimationFrame(o):Yt(i.$el,"scrolled",[i,e])})())}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(Mt(decodeURIComponent(this.$el.hash)).substr(1)))}}},ct={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}},computed:{elements:function(t,e){t=t.target;return t?Se(t,e):[e]}},update:[{write:function(){this.hidden&&ze(qt(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(t){var i=this;t.update&&this.elements.forEach(function(t){var e=t._ukScrollspyState;(e=e||{cls:rt(t,"uk-scrollspy-class")||i.cls}).show=pi(t,i.offsetTop,i.offsetLeft),t._ukScrollspyState=e})},write:function(s){var o=this;if(!s.update)return this.$emit(),s.update=!0;this.elements.forEach(function(t){var i,n=t._ukScrollspyState,e=n.cls;!n.show||n.inview||n.queued?!n.show&&(n.inview||n.queued)&&o.repeat&&(n.abort&&n.abort(),n.inview&&(ze(t,"visibility",o.hidden?"hidden":""),Pe(t,o.inViewClass),Oe(t,e),Yt(t,"outview"),o.$update(t),n.inview=!1)):(i=function(){ze(t,"visibility",""),Ee(t,o.inViewClass),Oe(t,e),Yt(t,"inview"),o.$update(t),n.inview=!0,n.abort&&n.abort()},o.delay?(n.queued=!0,s.promise=(s.promise||ie.resolve()).then(function(){return!n.inview&&new ie(function(t){var e=setTimeout(function(){i(),t()},s.promise||1===o.elements.length?o.delay:0);n.abort=function(){clearTimeout(e),t(),n.queued=!1}})})):i())})},events:["scroll","resize"]}]},ht={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return Se('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(t){t=t.closest;return Nt(this.links,t||"*")},targets:function(){return Se(this.links.map(function(t){return Mt(t.hash).substr(1)}).join(","))}},update:[{read:function(){this.scroll&&this.$create("scroll",this.links,{offset:this.offset||0})}},{read:function(o){var r=this,a=window.pageYOffset+this.offset+1,l=oi(document)-oi(window)+this.offset;o.active=!1,this.targets.every(function(t,e){var i=ii(t).top,n=e+1===r.targets.length;if(!r.overflow&&(0===e&&a<i||n&&i+t.offsetTop<a))return!1;if(!n&&ii(r.targets[e+1]).top<=a)return!0;if(l<=a)for(var s=r.targets.length-1;e<s;s--)if(pi(r.targets[s])){t=r.targets[s];break}return!(o.active=Te(qt(r.links,'[href="#'+t.id+'"]')))})},write:function(t){t=t.active;this.links.forEach(function(t){return t.blur()}),Pe(this.elements,this.cls),t&&Yt(this.$el,"active",[t,Ee(this.closest?Nt(t,this.closest):t,this.cls)])},events:["scroll","resize"]}]},It={mixins:[Ki,Un],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return vi(t.offset)},selTarget:function(t,e){t=t.selTarget;return t&&Te(t,e)||e},widthElement:function(t,e){return bt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return De(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(Ne(this.selTarget,this.clsInactive,this.clsActive),Yt(this.$el,"active")):t||De(this.selTarget,this.clsInactive)||(Ne(this.selTarget,this.clsActive,this.clsInactive),Yt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Te("+ .uk-sticky-placeholder",this.$el)||Te('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Pe(this.selTarget,this.clsInactive)),be(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:window,handler:function(){var n,s=this;!1!==this.targetOffset&&location.hash&&0<window.pageYOffset&&((n=Te(location.hash))&&_i.read(function(){var t=ii(n).top,e=ii(s.$el).top,i=s.$el.offsetHeight;s.isFixed&&t<=e+i&&e<=t+n.offsetHeight&&mi(window,t-i-(M(s.targetOffset)?s.targetOffset:0)-s.offset)}))}}],update:[{read:function(t,e){t=t.height;this.isActive&&"update"!==e&&(this.hide(),t=this.$el.offsetHeight,this.show()),t=this.isActive?t:this.$el.offsetHeight,this.topOffset=ii(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+t;e=os("bottom",this);return this.top=Math.max(B(os("top",this)),this.topOffset)-this.offset,this.bottom=e&&e-t,this.inactive=!this.matchMedia,{lastScroll:!1,height:t,margins:ze(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(t){var e=t.height,i=t.margins,t=this.placeholder;ze(t,V({height:e},i)),Wt(t,document)||(ge(this.$el,t),nt(t,"hidden","")),this.isActive=this.isActive},events:["resize"]},{read:function(t){t=t.scroll;return void 0===t&&(t=0),this.width=(jt(this.widthElement)?this.widthElement:this.$el).offsetWidth,this.scroll=window.pageYOffset,{dir:t<=this.scroll?"down":"up",scroll:this.scroll,visible:jt(this.$el),top:gi(this.placeholder)[0]}},write:function(t,e){var i=this,n=t.initTimestamp;void 0===n&&(n=0);var s=t.dir,o=t.lastDir,r=t.lastScroll,a=t.scroll,l=t.top,c=t.visible,h=performance.now();(t.lastScroll=a)<0||a===r||!c||this.disabled||this.showOnUp&&"scroll"!==e||((300<h-n||s!==o)&&(t.initScroll=a,t.initTimestamp=h),t.lastDir=s,this.showOnUp&&Math.abs(t.initScroll-a)<=30&&Math.abs(r-a)<=10)||(this.inactive||a<this.top||this.showOnUp&&(a<=this.top||"down"===s||"up"===s&&!this.isFixed&&a<=this.bottomOffset)?this.isFixed?(this.isFixed=!1,this.animation&&a>this.topOffset?(Je.cancel(this.$el),Je.out(this.$el,this.animation).then(function(){return i.hide()},J)):this.hide()):Je.inProgress(this.$el)&&a<l&&(Je.cancel(this.$el),this.hide()):this.isFixed?this.update():this.animation?(Je.cancel(this.$el),this.show(),Je.in(this.$el,this.animation).catch(J)):this.show())},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),nt(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,Pe(this.$el,this.clsFixed,this.clsBelow),ze(this.$el,{position:"",top:"",width:""}),nt(this.placeholder,"hidden","")},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);this.bottom&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),ze(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,Oe(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Ee(this.$el,this.clsFixed)}}};function os(t,e){var i=e.$props,n=e.$el,e=e[t+"Offset"],t=i[t];if(t)return M(t)&&D(t)&&t.match(/^-?\d/)?e+vi(t):ii(!0===t?n.parentNode:bt(t,n)).bottom}var re={mixins:[Zi],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},computed:{connects:function(t,e){return yt(t.connect,e)},toggles:function(t,e){return Se(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(e){e.preventDefault(),this.show(W(this.$el.children).filter(function(t){return Wt(e.current,t)})[0])}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(rt(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){t=t.type;this.show(h(t,"Left")?"next":"previous")}}],update:function(){var e=this;this.connects.forEach(function(t){return e.updateAria(t.children)});var t=this.$el.children;this.show(qt(t,"."+this.cls)[0]||t[this.active]||t[0]),this.swiping&&ze(this.connects,"touch-action","pan-y pinch-zoom")},methods:{index:function(){return!H(this.connects)&&he(qt(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,i,n=this,s=this.$el.children,o=s.length,r=this.index(),a=0<=r,l="previous"===t?-1:1,c=de(t,s,r),h=0;h<o;h++,c=(c+l+o)%o)if(!Pt(this.toggles[c],".uk-disabled *, .uk-disabled, [disabled]")){e=this.toggles[c],i=s[c];break}!i||0<=r&&De(i,this.cls)||r===c||(Pe(s,this.cls),Ee(i,this.cls),nt(this.toggles,"aria-expanded",!1),nt(e,"aria-expanded",!0),this.connects.forEach(function(t){a?n.toggleElement([t.children[r],t.children[c]]):n.toggleNow(t.children[c])}))}}},rs={mixins:[Ki],extends:re,props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected:function(){var t=De(this.$el,"uk-tab-left")?"uk-tab-left":!!De(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},as={mixins:[Un,Zi],args:"target",props:{href:String,target:null,mode:"list"},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:function(t,e){var i=t.href,t=t.target;return(t=yt(t||i,e)).length&&t||[e]}},connected:function(){Yt(this.target,"updatearia",[this])},events:[{name:mt+" "+gt,filter:function(){return y(this.mode,"hover")},handler:function(t){Jt(t)||this.toggle("toggle"+(t.type===mt?"show":"hide"))}},{name:"click",filter:function(){return y(this.mode,"click")||dt&&y(this.mode,"hover")},handler:function(t){var e;(Nt(t.target,'a[href="#"], a[href=""]')||(e=Nt(t.target,"a[href]"))&&(this.cls||!jt(this.target)||e.hash&&Pt(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}],update:{read:function(){return!(!y(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,t=this.isToggled(this.target);(e?!t:t)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){Yt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}};Yi.version="3.2.0",(mn=Yi).component("accordion",Ji),mn.component("alert",tn),mn.component("cover",sn),mn.component("drop",rn),mn.component("dropdown",ln),mn.component("formCustom",cn),mn.component("gif",hn),mn.component("grid",fn),mn.component("heightMatch",gn),mn.component("heightViewport",yn),mn.component("icon",En),mn.component("img",Mn),mn.component("leader",Yn),mn.component("margin",dn),mn.component("modal",Kn),mn.component("nav",Zn),mn.component("navbar",Jn),mn.component("offcanvas",ts),mn.component("overflowAuto",is),mn.component("responsive",ns),mn.component("scroll",ss),mn.component("scrollspy",ct),mn.component("scrollspyNav",ht),mn.component("sticky",It),mn.component("svg",_n),mn.component("switcher",re),mn.component("tab",rs),mn.component("toggle",as),mn.component("video",nn),mn.component("close",Dn),mn.component("marker",Pn),mn.component("navbarToggleIcon",Pn),mn.component("overlayIcon",Pn),mn.component("paginationNext",Pn),mn.component("paginationPrevious",Pn),mn.component("searchIcon",Nn),mn.component("slidenavNext",An),mn.component("slidenavPrevious",An),mn.component("spinner",On),mn.component("totop",Pn),mn.use(function(s){ce(function(){var i;s.update(),Ft(window,"load resize",function(){return s.update(null,"resize")}),Ft(document,"loadedmetadata load",function(t){t=t.target;return s.update(t,"resize")},!0),Ft(window,"scroll",function(t){var e;i||(i=!0,_i.write(function(){return i=!1}),e=t.target,s.update(1!==e.nodeType?document.body:e,t.type))},{passive:!0,capture:!0});var e,n=0;Ft(document,"animationstart",function(t){t=t.target;(ze(t,"animationName")||"").match(/^uk-.*(left|right)/)&&(n++,ze(document.body,"overflowX","hidden"),setTimeout(function(){--n||ze(document.body,"overflowX","")},R(ze(t,"animationDuration"))+100))},!0),Ft(document,ut,function(t){var r,a;e&&e(),Jt(t)&&(r=te(t),a="tagName"in t.target?t.target:t.target.parentNode,e=Ut(document,ft+" "+vt,function(t){var t=te(t),s=t.x,o=t.y;(a&&s&&100<Math.abs(r.x-s)||o&&100<Math.abs(r.y-o))&&setTimeout(function(){var t,e,i,n;Yt(a,"swipe"),Yt(a,"swipe"+(t=r.x,e=r.y,i=s,n=o,Math.abs(t-i)>=Math.abs(e-n)?0<t-i?"Left":"Right":0<e-n?"Up":"Down"))})}),"touchstart"==ut&&(ze(document.body,"cursor","pointer"),Ut(document,ft+" "+vt,function(){return setTimeout(function(){return ze(document.body,"cursor","")},50)})))},{passive:!0})})});var ls,rs={mixins:[Ki],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},computed:{date:function(t){t=t.date;return Date.parse(t)},days:function(t,e){return Te(t.clsWrapper.replace("%unit%","days"),e)},hours:function(t,e){return Te(t.clsWrapper.replace("%unit%","hours"),e)},minutes:function(t,e){return Te(t.clsWrapper.replace("%unit%","minutes"),e)},seconds:function(t,e){return Te(t.clsWrapper.replace("%unit%","seconds"),e)},units:function(){var e=this;return["days","hours","minutes","seconds"].filter(function(t){return e[t]})}},connected:function(){this.start()},disconnected:function(){var e=this;this.stop(),this.units.forEach(function(t){return ue(e[t])})},events:[{name:"visibilitychange",el:document,handler:function(){document.hidden?this.stop():this.start()}}],update:{write:function(){var n=this,s=function(t){t-=Date.now();return{total:t,seconds:t/1e3%60,minutes:t/1e3/60%60,hours:t/1e3/60/60%24,days:t/1e3/60/60/24}}(this.date);s.total<=0&&(this.stop(),s.days=s.hours=s.minutes=s.seconds=0),this.units.forEach(function(t){var e=(e=String(Math.floor(s[t]))).length<2?"0"+e:e,i=n[t];i.textContent!==e&&((e=e.split("")).length!==i.children.length&&pe(i,e.map(function(){return"<span></span>"}).join("")),e.forEach(function(t,e){return i.children[e].textContent=t}))})}},methods:{start:function(){var t=this;this.stop(),this.date&&this.units.length&&(this.$emit(),this.timer=setInterval(function(){return t.$emit()},1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}},cs="uk-animation-target",as={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var i=this;ls||(ls=fe(document.head,"<style>").sheet).insertRule("."+cs+" > * {\n            margin-top: 0 !important;\n            transform: none !important;\n        }",0);var n=W(this.target.children),s=n.map(function(t){return hs(t,!0)}),e=oi(this.target),o=window.pageYOffset;t(),Xe.cancel(this.target),n.forEach(Xe.cancel),ds(this.target),this.$update(this.target),_i.flush();var t=oi(this.target),r=(n=n.concat(W(this.target.children).filter(function(t){return!y(n,t)}))).map(function(t,e){return!!(t.parentNode&&e in s)&&(s[e]?jt(t)?us(t):{opacity:0}:{opacity:jt(t)?1:0})}),s=r.map(function(t,e){e=n[e].parentNode===i.target&&(s[e]||hs(n[e]));return e&&(t?"opacity"in t||(e.opacity%1?t.opacity=1:delete e.opacity):delete e.opacity),e});return Ee(this.target,cs),n.forEach(function(t,e){return s[e]&&ze(t,s[e])}),ze(this.target,"height",e),mi(window,o),ie.all(n.map(function(t,e){return s[e]&&r[e]?Xe.start(t,r[e],i.animation,"ease"):ie.resolve()}).concat(Xe.start(this.target,{height:t},this.animation,"ease"))).then(function(){n.forEach(function(t,e){return ze(t,{display:0===r[e].opacity?"none":"",zIndex:""})}),ds(i.target),i.$update(i.target),_i.flush()},J)}}};function hs(t,e){var i=ze(t,"zIndex");return!!jt(t)&&V({display:"",opacity:e?ze(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?he(t):i},us(t))}function ds(t){ze(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",width:""}),Pe(t,cs),ze(t,"height","")}function us(t){var e=t.getBoundingClientRect(),i=e.height,n=e.width,s=si(t),e=s.top,s=s.left;return{top:e+=B(ze(t,"marginTop")),left:s,height:i,width:n}}nn={mixins:[as],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",animation:250},computed:{toggles:{get:function(t,e){return t.attrItem,Se("["+this.attrItem+"],[data-"+this.attrItem+"]",e)},watch:function(){this.updateState()}},target:function(t,e){return Te(t.target,e)},children:{get:function(){return W(this.target&&this.target.children)},watch:function(t,e){var i;i=e,t.length===i.length&&t.every(function(t){return~i.indexOf(t)})||this.updateState()}}},events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.apply(t.current)}}],connected:function(){var e,i=this;this.updateState(),!1!==this.selActive&&(e=Se(this.selActive,this.$el),this.toggles.forEach(function(t){return Oe(t,i.cls,y(e,t))}))},methods:{apply:function(t){this.setState(fs(t,this.attrItem,this.getState()))},getState:function(){var i=this;return this.toggles.filter(function(t){return De(t,i.cls)}).reduce(function(t,e){return fs(e,i.attrItem,t)},{filter:{"":""},sort:[]})},setState:function(l,t){var r=this;void 0===t&&(t=!0),l=V({filter:{"":""},sort:[]},l),Yt(this.$el,"beforeFilter",[this,l]);var a=this.children;function e(){var e,i=(o=l.filter,e="",Q(o,function(t){return e+=t||""}),e);a.forEach(function(t){return ze(t,"display",i&&!Pt(t,i)?"none":"")});var n,s,t=l.sort,o=t[0],t=t[1];o&&(n=o,s=t,U(t=V([],a).sort(function(t,e){return rt(t,n).localeCompare(rt(e,n),void 0,{numeric:!0})*("asc"===s||-1)}),a)||t.forEach(function(t){return fe(r.target,t)}))}this.toggles.forEach(function(a){return Oe(a,r.cls,!!function(t){var e=l.filter;void 0===e&&(e={"":""});var i=l.sort,n=i[0],s=i[1],o=ps(a,t),r=o.filter;void 0===r&&(r="");i=o.group;void 0===i&&(i="");t=o.sort,o=o.order;return void 0===o&&(o="asc"),L(t)?i in e&&r===e[i]||!r&&i&&!(i in e)&&!e[""]:n===t&&s===o}(r.attrItem))}),t?this.animate(e).then(function(){return Yt(r.$el,"afterFilter",[r])}):(e(),Yt(this.$el,"afterFilter",[this]))},updateState:function(){var t=this;_i.write(function(){return t.setState(t.getState(),!1)})}}};function ps(t,e){return Ni(rt(t,e),["filter"])}function fs(t,e,i){var n=ps(t,e),s=n.filter,t=n.group,e=n.sort,n=n.order;return void 0===n&&(n="asc"),(s||L(e))&&(t?s?(delete i.filter[""],i.filter[t]=s):(delete i.filter[t],(H(i.filter)||""in i.filter)&&(i.filter={"":s||""})):i.filter={"":s||""}),L(e)||(i.sort=[e,n]),i}Dn={slide:{show:function(t){return[{transform:gs(-100*t)},{transform:gs()}]},percent:ms,translate:function(t,e){return[{transform:gs(-100*e*t)},{transform:gs(100*e*(1-t))}]}}};function ms(t){return Math.abs(ze(t,"transform").split(",")[4]/t.offsetWidth)||0}function gs(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),t+=t?e:"",at?"translateX("+t+")":"translate3d("+t+", 0, 0)"}function vs(t){return"scale3d("+t+", "+t+", 1)"}var bs=V({},Dn,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-ze(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:vs(.8)},{opacity:1,transform:vs(1)}]},percent:function(t){return 1-ze(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:vs(1-.2*t)},{opacity:t,transform:vs(.8+.2*t)}]}}});function ys(t,e,i){Yt(t,Vt(e,!1,!1,i))}Nn={mixins:[{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.autoplay&&this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:function(){nt(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:document,filter:function(){return this.autoplay},handler:function(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.interval=setInterval(function(){return(!t.draggable||!Te(":focus",t.$el))&&(!t.pauseOnHover||!Pt(t.$el,":hover"))&&!t.stack.length&&t.show("next")},this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}},{props:{draggable:Boolean},data:{draggable:!0,threshold:10},created:function(){var n=this;["start","move","end"].forEach(function(t){var i=n[t];n[t]=function(t){var e=te(t).x*(lt?-1:1);n.prevPos=e!==n.pos?n.pos:n.prevPos,n.pos=e,i(t)}})},events:[{name:ut,delegate:function(){return this.selSlides},handler:function(t){var e;!this.draggable||!Jt(t)&&(!(e=t.target).children.length&&e.childNodes.length)||0<t.button||this.length<2||this.start(t)}},{name:"touchmove",passive:!1,handler:"move",delegate:function(){return this.selSlides}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){var t=this;this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index;var e="touchmove"!=pt?Ft(document,pt,this.move,{passive:!1}):J;this.unbindMove=function(){e(),t.unbindMove=null},Ft(window,"scroll",this.unbindMove),Ft(document,ft,this.end,!0),ze(this.list,"userSelect","none")},move:function(t){var e=this;if(this.unbindMove){var i=this.pos-this.drag;if(!(0==i||this.prevPos===this.pos||!this.dragging&&Math.abs(i)<this.threshold)){ze(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=i<0?1:-1;for(var n=this.slides,s=this.prevIndex,o=Math.abs(i),r=this.getIndex(s+this.dir,s),a=this._getDistance(s,r)||n[s].offsetWidth;r!==s&&a<o;)this.drag-=a*this.dir,o-=a,r=this.getIndex((s=r)+this.dir,s),a=this._getDistance(s,r)||n[s].offsetWidth;this.percent=o/a;var l,c=n[s],t=n[r],i=this.index!==r,h=s===r;[this.index,this.prevIndex].filter(function(t){return!y([r,s],t)}).forEach(function(t){Yt(n[t],"itemhidden",[e]),h&&(l=!0,e.prevIndex=s)}),(this.index===s&&this.prevIndex!==s||l)&&Yt(n[this.index],"itemshown",[this]),i&&(this.prevIndex=s,this.index=r,h||Yt(c,"beforeitemhide",[this]),Yt(t,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),c,!h&&t),i&&(h||Yt(c,"itemhide",[this]),Yt(t,"itemshow",[this]))}}},end:function(){var t;Rt(window,"scroll",this.unbindMove),this.unbindMove&&this.unbindMove(),Rt(document,ft,this.end,!0),this.dragging&&(this.dragging=null,this.index===this.prevIndex?(this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null):(t=(lt?this.dir*(lt?1:-1):this.dir)<0==this.prevPos>this.pos,this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(0<this.dir&&!t||this.dir<0&&t?"next":"previous",!0))),ze(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav:function(t,e){return Te(t.selNav,e)},selNavItem:function(t){t=t.attrItem;return"["+t+"],[data-"+t+"]"},navItems:function(t,e){return Se(this.selNavItem,e)}},update:{write:function(){var i=this;this.nav&&this.length!==this.nav.children.length&&pe(this.nav,this.slides.map(function(t,e){return"<li "+i.attrItem+'="'+e+'"><a href="#"></a></li>'}).join("")),Oe(Se(this.selNavItem,this.$el).concat(this.nav),"uk-hidden",!this.maxIndex),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(rt(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var i=this,n=this.getValidIndex();this.navItems.forEach(function(t){var e=rt(t,i.attrItem);Oe(t,i.clsActive,z(e)===n),Oe(t,"uk-invisible",i.finite&&("previous"===e&&0===n||"next"===e&&n>=i.maxIndex))})}}}],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:function(){return{easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},connected:function(){this.prevIndex=-1,this.index=this.getValidIndex(this.index),this.stack=[]},disconnected:function(){Pe(this.slides,this.clsActive)},computed:{duration:function(t,e){t=t.velocity;return ws(e.offsetWidth/t)},list:function(t,e){return Te(t.selList,e)},maxIndex:function(){return this.length-1},selSlides:function(t){return t.selList+" > *"},slides:{get:function(){return W(this.list.children)},watch:function(){this.$reset()}},length:function(){return this.slides.length}},events:{itemshown:function(){this.$update(this.list)}},methods:{show:function(t,e){var i=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var n=this.stack,s=e?0:n.length,o=function(){n.splice(s,1),n.length&&i.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&1<n.length)2===n.length&&this._transitioner.forward(Math.min(this.duration,200));else{var r=this.index,a=De(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),c=this.slides[l];if(a!==c){if(this.dir="next"!==t&&("previous"===t||t<r)?-1:1,this.prevIndex=r,this.index=l,a&&Yt(a,"beforeitemhide",[this]),!Yt(c,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();e=this._show(a,c,e).then(function(){return a&&Yt(a,"itemhidden",[i]),Yt(c,"itemshown",[i]),new ie(function(t){_i.write(function(){n.shift(),n.length?i.show(n.shift(),!0):i._transitioner=null,t()})})});return a&&Yt(a,"itemhide",[this]),Yt(c,"itemshow",[this]),e}o()}}},getIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.index),Z(de(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),this.getIndex(t,e)},_show:function(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,V({easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing},this.transitionOptions)),!i&&!t)return this._transitioner.translate(1),ie.resolve();t=this.stack.length;return this._transitioner[1<t?"forward":"show"](1<t?Math.min(this.duration,75+75/(t-1)):this.duration,this.percent)},_getDistance:function(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,i){void 0===e&&(e=this.prevIndex),void 0===i&&(i=this.index);i=this._getTransitioner(e!==i&&e,i);return i.translate(t),i},_getTransitioner:function(t,e,i,n){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===i&&(i=this.dir||1),void 0===n&&(n=this.transitionOptions),new this.Transitioner(O(t)?this.slides[t]:t,O(e)?this.slides[e]:e,i*(lt?-1:1),n)}}};function ws(t){return.5*t+300}var An={mixins:[Nn],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:Dn,Transitioner:function(s,o,r,t){var e=t.animation,a=t.easing,i=e.percent,n=e.translate,e=e.show,l=(e=void 0===e?J:e)(r),c=new ee;return{dir:r,show:function(t,e,i){var n=this;void 0===e&&(e=0);i=i?"linear":a;return t-=Math.round(t*Z(e,-1,1)),this.translate(e),ys(o,"itemin",{percent:e,duration:t,timing:i,dir:r}),ys(s,"itemout",{percent:1-e,duration:t,timing:i,dir:r}),ie.all([Xe.start(o,l[1],t,i),Xe.start(s,l[0],t,i)]).then(function(){n.reset(),c.resolve()},J),c.promise},stop:function(){return Xe.stop([o,s])},cancel:function(){Xe.cancel([o,s])},reset:function(){for(var t in l[0])ze([o,s],t,"")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel([o,s]),this.show(t,e,!0)},translate:function(t){this.reset();var e=n(t,r);ze(o,e[1]),ze(s,e[0]),ys(o,"itemtranslatein",{percent:t,dir:r}),ys(s,"itemtranslateout",{percent:1-t,dir:r})},percent:function(){return i(s||o,o,r)},getDistance:function(){return s&&s.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,t=t.Animations;return V(e in t?t[e]:t.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){t=t.target;this.$update(t)},beforeitemshow:function(t){Ee(t.target,this.clsActive)},itemshown:function(t){Ee(t.target,this.clsActivated)},itemhidden:function(t){Pe(t.target,this.clsActive,this.clsActivated)}}},_s={mixins:[Vn,Qn,Zi,An],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:bs,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href="#" uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href="#" uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}},created:function(){var t=Te(this.template),e=Te(this.selList,t);this.items.forEach(function(){return fe(e,"<li></li>")}),this.$mount(fe(this.container,t))},computed:{caption:function(t,e){return t.selCaption,Te(".uk-lightbox-caption",e)}},events:[{name:pt+" "+ut+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selSlides},handler:function(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:function(){this.showControls()}},{name:"hide",self:!0,handler:function(){this.hideControls(),Pe(this.slides,this.clsActive),Xe.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:document,handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleNow(this.$el,!0),this.animation=bs.scale,Pe(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(t){var e=he(t.target),t=this.getItem(e).caption;ze(this.caption,"display",t?"":"none"),pe(this.caption,t);for(var i=0;i<=this.preload;i++)this.loadItem(this.getIndex(e+i)),this.loadItem(this.getIndex(e-i))}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,i){var n,e,s,o,r=this,a=i.source,l=i.type,c=i.alt;this.setItem(i,"<span uk-spinner></span>"),a&&("image"===l||a.match(/\.(jp(e)?g|png|gif|svg|webp)($|\?)/i)?le(a).then(function(t){return r.setItem(i,'<img width="'+t.width+'" height="'+t.height+'" src="'+a+'" alt="'+(c||"")+'">')},function(){return r.setError(i)}):"video"===l||a.match(/\.(mp4|webm|ogv)($|\?)/i)?(nt(e=Te("<video controls playsinline"+(i.poster?' poster="'+i.poster+'"':"")+' uk-video="'+this.videoAutoplay+'"></video>'),"src",a),Ut(e,"error loadedmetadata",function(t){"error"===t?r.setError(i):(nt(e,{width:e.videoWidth,height:e.videoHeight}),r.setItem(i,e))})):"iframe"===l||a.match(/\.(html|php)($|\?)/i)?this.setItem(i,'<iframe class="uk-lightbox-iframe" src="'+a+'" frameborder="0" allowfullscreen></iframe>'):(n=a.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/)||a.match(/()youtu\.be\/(.*)/))?(s=n[2],o=function(t,e){return r.setItem(i,xs("https://www.youtube"+(n[1]||"")+".com/embed/"+s,t=void 0===t?640:t,e=void 0===e?450:e,r.videoAutoplay))},le("https://img.youtube.com/vi/"+s+"/maxresdefault.jpg").then(function(t){var e=t.width,t=t.height;120===e&&90===t?le("https://img.youtube.com/vi/"+s+"/0.jpg").then(function(t){var e=t.width,t=t.height;return o(e,t)},o):o(e,t)},o)):(n=a.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&ae("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(a),{responseType:"json",withCredentials:!1}).then(function(t){var e=t.response,t=e.height,e=e.width;return r.setItem(i,xs("https://player.vimeo.com/video/"+n[2],e,t,r.videoAutoplay))},function(){return r.setError(i)}))}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);t=this.getItem(t);t.content||Yt(this.$el,"itemload",[t])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(t,e){V(t,{content:e});e=pe(this.slides[this.items.indexOf(t)],e);Yt(this.$el,"itemloaded",[this,e]),this.$update(e)},setError:function(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Ee(this.$el,"uk-active","uk-transition-active")},hideControls:function(){Pe(this.$el,"uk-active","uk-transition-active")}}};function xs(t,e,i,n){return'<iframe src="'+t+'" width="'+e+'" height="'+i+'" style="max-width: 100%; box-sizing: border-box;" frameborder="0" allowfullscreen uk-video="autoplay: '+n+'" uk-responsive></iframe>'}On={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",_s),V(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get:function(t,e){return Se(t.toggle,e)},watch:function(){this.hide()}},items:function(){return K(this.toggles.map(ks),"source")}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault();var e=rt(t.current,"href");this.show(_(this.items,function(t){return t.source===e}))}}],methods:{show:function(t){var e=this;return this.panel=this.panel||this.$create("lightboxPanel",V({},this.$props,{items:this.items})),Ft(this.panel.$el,"hidden",function(){return e.panel=!1}),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}};function ks(i){return["href","caption","type","poster","alt"].reduce(function(t,e){return t["href"===e?"source":e]=rt(i,e),t},{})}var Cs={},mn={functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:function(n){n.notification.closeAll=function(e,i){$e(document.body,function(t){t=n.getComponent(t,"notification");!t||e&&e!==t.group||t.close(i)})}},computed:{marginProp:function(t){return"margin"+(g(t.pos,"top")?"Top":"Bottom")},startProps:function(){var t;return(t={opacity:0})[this.marginProp]=-this.$el.offsetHeight,t}},created:function(){Cs[this.pos]||(Cs[this.pos]=fe(this.$container,'<div class="uk-notification uk-notification-'+this.pos+'"></div>'));var t=ze(Cs[this.pos],"display","block");this.$mount(fe(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'"> <a href="#" class="'+this.clsClose+'" data-uk-close></a> <div>'+this.message+"</div> </div>"))},connected:function(){var t,e=this,i=B(ze(this.$el,this.marginProp));Xe.start(ze(this.$el,this.startProps),((t={opacity:1})[this.marginProp]=i,t)).then(function(){e.timeout&&(e.timer=setTimeout(e.close,e.timeout))})},events:((Pn={click:function(t){Nt(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()}})[mt]=function(){this.timer&&clearTimeout(this.timer)},Pn[gt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},Pn),methods:{close:function(t){function e(){Yt(i.$el,"close",[i]),be(i.$el),Cs[i.pos].children.length||ze(Cs[i.pos],"display","none")}var i=this;this.timer&&clearTimeout(this.timer),t?e():Xe.start(this.$el,this.startProps).then(e)}}},$s=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity","stroke"],Qn={mixins:[Un],props:$s.reduce(function(t,e){return t[e]="list",t},{}),data:$s.reduce(function(t,e){return t[e]=void 0,t},{}),computed:{props:function(p,f){var m=this;return $s.reduce(function(t,e){if(L(p[e]))return t;var i,n,s=e.match(/color/i),o=s||"opacity"===e,r=p[e].slice(0);o&&ze(f,e,""),r.length<2&&r.unshift(("scale"===e?1:o?ze(f,e):0)||0);var a,l,c,h,d,o=r.reduce(function(t,e){return D(e)&&e.replace(/-|\d/g,"").trim()||t},"");if(s?(s=f.style.color,r=r.map(function(t){return ze(ze(f,"color",t),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(B)}),f.style.color=s):g(e,"bg")?(a="bgy"===e?"height":"width",r=r.map(function(t){return vi(t,a,m.$el)}),ze(f,"background-position-"+e[2],""),n=ze(f,"backgroundPosition").split(" ")["x"===e[2]?0:1],i=m.covers?(l=Math.min.apply(Math,r),c=Math.max.apply(Math,r),h=r.indexOf(l)<r.indexOf(c),d=c-l,r=r.map(function(t){return t-(h?l:c)}),(h?-d:0)+"px"):n):r=r.map(B),"stroke"===e){if(!r.some(function(t){return t}))return t;var u=$n(m.$el);ze(f,"strokeDasharray",u),r=(r="%"===o?r.map(function(t){return t*u/100}):r).reverse(),e="strokeDashoffset"}return t[e]={steps:r,unit:o,pos:i,bgPos:n,diff:d},t},{})},bgProps:function(){var e=this;return["bgx","bgy"].filter(function(t){return t in e.props})},covers:function(t,e){return n=(i=e).style.backgroundSize,e="cover"===ze(ze(i,"backgroundSize",""),"backgroundSize"),i.style.backgroundSize=n,e;var i,n}},disconnected:function(){delete this._image},update:{read:function(t){var e,i,a,l,c,h=this;t.active=this.matchMedia,t.active&&(t.image||!this.covers||!this.bgProps.length||(e=ze(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1"))&&((i=new Image).src=e,(t.image=i).naturalWidth||(i.onload=function(){return h.$emit()})),(i=t.image)&&i.naturalWidth&&(a={width:this.$el.offsetWidth,height:this.$el.offsetHeight},l={width:i.naturalWidth,height:i.naturalHeight},c=it.cover(l,a),this.bgProps.forEach(function(t){var e,i=h.props[t],n=i.diff,s=i.bgPos,o=i.steps,i="bgy"===t?"height":"width",r=c[i]-a[i];r<n?a[i]=c[i]+n-r:n<r&&((e=a[i]/vi(s,i,h.$el))&&(h.props[t].steps=o.map(function(t){return t-(r-n)/e}))),c=it.cover(l,a)}),t.dim=c))},write:function(t){var e=t.dim;t.active?e&&ze(this.$el,{backgroundSize:e.width+"px "+e.height+"px",backgroundRepeat:"no-repeat"}):ze(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["resize"]},methods:{reset:function(){var i=this;Q(this.getCss(0),function(t,e){return ze(i.$el,e,"")})},getCss:function(d){var u=this.props;return Object.keys(u).reduce(function(t,e){var i=u[e],s=i.steps,n=i.unit,o=i.pos,r=function(t){void 0===t&&(t=2);var e=Ts(s,d),i=e[0],n=e[1],e=e[2];return(O(i)?i+Math.abs(i-n)*e*(i<n?1:-1):+n).toFixed(t)}();switch(e){case"x":case"y":n=n||"px",t.transform+=" translate"+f(e)+"("+B(r).toFixed("px"===n?0:2)+n+")";break;case"rotate":t.transform+=" rotate("+(r+(n=n||"deg"))+")";break;case"scale":t.transform+=" scale("+r+")";break;case"bgy":case"bgx":t["background-position-"+e[2]]="calc("+o+" + "+r+"px)";break;case"color":case"backgroundColor":case"borderColor":var a=Ts(s,d),l=a[0],c=a[1],h=a[2];t[e]="rgba("+l.map(function(t,e){return t+=h*(c[e]-t),3===e?B(t):parseInt(t,10)}).join(",")+")";break;case"blur":t.filter+=" blur("+(r+(n=n||"px"))+")";break;case"hue":t.filter+=" hue-rotate("+(r+(n=n||"deg"))+")";break;case"fopacity":t.filter+=" opacity("+(r+(n=n||"%"))+")";break;case"grayscale":case"invert":case"saturate":case"sepia":t.filter+=" "+e+"("+(r+(n=n||"%"))+")";break;default:t[e]=r}return t},{transform:"",filter:""})}}};function Ts(t,e){var i=t.length-1,n=Math.min(Math.floor(i*e),i-1),n=t.slice(n,n+2);return n.push(1===e?1:e%(1/i)*i),n}Pn={mixins:[Qn],props:{target:String,viewport:Number,easing:Number},data:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){t=t.target;return function t(e){return e?"offsetTop"in e?e:t(e.parentNode):document.body}(t&&bt(t,e)||e)}},update:{read:function(t,e){var i=t.percent;if("scroll"!==e&&(i=!1),t.active){var n=i;return{percent:(e=fi(this.target)/(this.viewport||1),t=this.easing,i=Z(e*(1-(t-t*e)))),style:n!==i&&this.getCss(i)}}},write:function(t){var e=t.style;t.active?e&&ze(this.$el,e):this.reset()},events:["scroll","resize"]}},Un={update:{write:function(){var t;this.stack.length||this.dragging||(t=this.getValidIndex(this.index),~this.prevIndex&&this.index===t||this.show(t))},events:["resize"]}};function Ss(t,e,i){var n=Ps(t,e);return i?n-(t=t,As(e).width/2-As(t).width/2):Math.min(n,Is(e))}function Is(t){return Math.max(0,Es(t)-As(t).width)}function Es(t){return Ds(t).reduce(function(t,e){return As(e).width+t},0)}function Ps(t,e){return(si(t).left+(lt?As(t).width-As(e).width:0))*(lt?-1:1)}function As(t){return t.getBoundingClientRect()}function Ns(t,e,i){Yt(t,Vt(e,!1,!1,i))}function Ds(t){return W(t.children)}Nn={mixins:[Ki,Nn,Un],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:function(n,s,o,t){var e=t.center,r=t.easing,a=t.list,l=new ee,i=n?Ss(n,a,e):Ss(s,a,e)+As(s).width*o,c=s?Ss(s,a,e):i+As(n).width*o*(lt?-1:1);return{dir:o,show:function(t,e,i){void 0===e&&(e=0);i=i?"linear":r;return t-=Math.round(t*Z(e,-1,1)),this.translate(e),n&&this.updateTranslates(),e=n?e:Z(e,0,1),Ns(this.getItemIn(),"itemin",{percent:e,duration:t,timing:i,dir:o}),n&&Ns(this.getItemIn(!0),"itemout",{percent:1-e,duration:t,timing:i,dir:o}),Xe.start(a,{transform:gs(-c*(lt?-1:1),"px")},t,i).then(l.resolve,J),l.promise},stop:function(){return Xe.stop(a)},cancel:function(){Xe.cancel(a)},reset:function(){ze(a,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel(a),this.show(t,e,!0)},translate:function(t){var e=this.getDistance()*o*(lt?-1:1);ze(a,"transform",gs(Z(e-e*t-c,-Es(a),As(a).width)*(lt?-1:1),"px")),this.updateTranslates(),n&&(t=Z(t,-1,1),Ns(this.getItemIn(),"itemtranslatein",{percent:t,dir:o}),Ns(this.getItemIn(!0),"itemtranslateout",{percent:1-t,dir:o}))},percent:function(){return Math.abs((ze(a,"transform").split(",")[4]*(lt?-1:1)+i)/(c-i))},getDistance:function(){return Math.abs(c-i)},getItemIn:function(t){void 0===t&&(t=!1);var e=this.getActives(),i=G(Ds(a),"offsetLeft"),e=he(i,e[0<o*(t?-1:1)?e.length-1:0]);return~e&&i[e+(n&&!t?o:0)]},getActives:function(){var i=Ss(n||s,a,e);return G(Ds(a).filter(function(t){var e=Ps(t,a);return i<=e&&e+As(t).width<=As(a).width+i}),"offsetLeft")},updateTranslates:function(){var i=this.getActives();Ds(a).forEach(function(t){var e=y(i,t);Ns(t,"itemtranslate"+(e?"in":"out"),{percent:e?1:0,dir:t.offsetLeft<=s.offsetLeft?1:-1})})}}}},computed:{avgWidth:function(){return Es(this.list)/this.length},finite:function(t){return t.finite||Es(this.list)<As(this.list).width+Ds(this.list).reduce(function(t,e){return Math.max(t,As(e).width)},0)+this.center},maxIndex:function(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return X(this.sets);ze(this.slides,"order","");for(var t=Is(this.list),e=this.length;e--;)if(Ps(this.list.children[e],this.list)<t)return Math.min(e+1,this.length-1);return 0},sets:function(t){var s=this,t=t.sets,o=As(this.list).width/(this.center?2:1),r=0,a=o,l=0;return!H(t=t&&this.slides.reduce(function(t,e,i){var n=As(e).width;return r<l+n&&!y(t,i=!s.center&&i>s.maxIndex?s.maxIndex:i)&&(e=s.slides[i+1],s.center&&e&&n<a-As(e).width/2?a-=n:(a=o,t.push(i),r=l+o+(s.center?n/2:0))),l+=n,t},[]))&&t},transitionOptions:function(){return{center:this.center,list:this.list}}},connected:function(){Oe(this.$el,this.clsContainer,!Te("."+this.clsContainer,this.$el))},update:{write:function(){var i=this;Se("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el).forEach(function(t){var e=rt(t,i.attrItem);i.maxIndex&&Oe(t,"uk-hidden",M(e)&&(i.sets&&!y(i.sets,B(e))||e>i.maxIndex))}),this.dragging||this.stack.length||this._getTransitioner().translate(1)},events:["resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!y(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(0<this.dir&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&1<e){for(var i=0;i<e;i++)this.stack.splice(1,0,0<this.dir?"next":"previous");t.preventDefault()}else this.duration=ws(this.avgWidth/this.velocity)*(As(this.dir<0||!this.slides[this.prevIndex]?this.slides[this.index]:this.slides[this.prevIndex]).width/this.avgWidth),this.reorder()},itemshow:function(){L(this.prevIndex)||Ee(this._getTransitioner().getItemIn(),this.clsActive)},itemshown:function(){var e=this,i=this._getTransitioner(this.index).getActives();this.slides.forEach(function(t){return Oe(t,e.clsActive,y(i,t))}),this.sets&&!y(this.sets,B(this.index))||this.slides.forEach(function(t){return Oe(t,e.clsActivated,y(i,t))})}},methods:{reorder:function(){var i=this;if(ze(this.slides,"order",""),!this.finite){var n=0<this.dir&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(function(t,e){return ze(t,"order",0<i.dir&&e<n?1:i.dir<0&&e>=i.index?-1:"")}),this.center)for(var t=this.slides[n],e=As(this.list).width/2-As(t).width/2,s=0;0<e;){var o=this.getIndex(--s+n,n),r=this.slides[o];ze(r,"order",n<o?-2:-1),e-=As(r).width}}},getValidIndex:function(t,e){if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;var i;do{if(y(this.sets,t))return t}while((t=this.getIndex((i=t)+this.dir,e))!==i);return t}}},Qn={mixins:[Qn],data:{selItem:"!li"},computed:{item:function(t,e){return bt(t.selItem,e)}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){ze(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,s=i.duration,t=i.timing,i=i.dir;Xe.cancel(this.$el),ze(this.$el,this.getCss(Ms(e,i,n))),Xe.start(this.$el,this.getCss(Os(e)?.5:0<i?1:0),s,t).catch(J)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){Xe.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,t=i.percent,i=i.dir;Xe.cancel(this.$el),ze(this.$el,this.getCss(Ms(e,i,t)))}}]};function Os(t){return h(t,"in")}function Ms(t,e,i){return i/=2,Os(t)?e<0?1-i:i:e<0?i:1-i}var Hs,Dn=V({},Dn,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-ze(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:vs(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-ze(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:vs(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:gs(30),zIndex:-1},{transform:gs(),zIndex:0}]:[{transform:gs(-100),zIndex:0},{transform:gs(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-ms(e):ms(t)},translate:function(t,e){return e<0?[{transform:gs(30*t),zIndex:-1},{transform:gs(-100*(1-t)),zIndex:0}]:[{transform:gs(100*-t),zIndex:0},{transform:gs(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:gs(100),zIndex:0},{transform:gs(),zIndex:-1}]:[{transform:gs(-30),zIndex:-1},{transform:gs(),zIndex:0}]},percent:function(t,e,i){return 0<i?1-ms(e):ms(t)},translate:function(t,e){return e<0?[{transform:gs(100*t),zIndex:0},{transform:gs(-30*(1-t)),zIndex:-1}]:[{transform:gs(-30*t),zIndex:-1},{transform:gs(100*(1-t)),zIndex:0}]}}}),Dn={mixins:[Ki,An,Un],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:Dn},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],t=(t=t[1])*this.list.offsetWidth/e||0;return this.minHeight&&(t=Math.max(this.minHeight,t)),{height:(t=this.maxHeight?Math.min(this.maxHeight,t):t)-li(this.list,"content-box")}},write:function(t){t=t.height;0<t&&ze(this.list,"minHeight",t)},events:["resize"]}},as={mixins:[Ki,as],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1},created:function(){var s=this;["init","start","move","end"].forEach(function(t){var n=s[t];s[t]=function(t){s.scrollY=window.pageYOffset;var e=te(t,"page"),i=e.x,e=e.y;s.pos={x:i,y:e},n(t)}})},events:{name:ut,passive:!1,handler:"init"},update:{write:function(){var t,e;this.clsEmpty&&Oe(this.$el,this.clsEmpty,H(this.$el.children)),ze(this.handle?Se(this.handle,this.$el):this.$el.children,{touchAction:"none",userSelect:"none"}),this.drag&&(t=(e=ii(window)).right,e=e.bottom,ii(this.drag,{top:Z(this.pos.y+this.origin.top,0,e-this.drag.offsetHeight),left:Z(this.pos.x+this.origin.left,0,t-this.drag.offsetWidth)}),function o(t){var n,r=t.x,a=t.y;clearTimeout(Hs),t=document.elementFromPoint(r-window.pageXOffset,a-window.pageYOffset),n=js(),function(t){for(var e,i=[];(e=t)!==n&&!Ls.test(ze(e,"overflow"))||i.unshift(t),t=t&&t.parentElement;);return i}(t).some(function(t){var e=t.scrollTop,i=t.scrollHeight;js()===t&&(t=window,i-=window.innerHeight);var n=ii(t),s=n.top,n=n.bottom;if(s<a&&a<s+30?e-=5:a<n&&n-20<a&&(e+=5),0<e&&e<i)return Hs=setTimeout(function(){mi(t,e),o({x:r,y:a})},10)})}(this.pos))}},methods:{init:function(t){var e=t.target,i=t.button,n=t.defaultPrevented,s=W(this.$el.children).filter(function(t){return Wt(e,t)})[0];!s||n||0<i||Bt(e)||Wt(e,"."+this.clsNoDrag)||this.handle&&!Wt(e,this.handle)||(t.preventDefault(),this.touched=[this],this.placeholder=s,this.origin=V({target:e,index:he(s)},this.pos),Ft(document,pt,this.move),Ft(document,ft,this.end),Ft(window,"scroll",this.scroll),this.threshold||this.start(t))},start:function(t){this.drag=fe(this.$container,this.placeholder.outerHTML.replace(/^<li/i,"<div").replace(/li>$/i,"div>")),ze(this.drag,V({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight,overflow:"hidden"},ze(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),nt(this.drag,"uk-no-boot",""),Ee(this.drag,this.clsDrag,this.clsCustom),oi(this.drag.firstElementChild,oi(this.placeholder.firstElementChild));var e=ii(this.placeholder),i=e.left,e=e.top;V(this.origin,{left:i-this.pos.x,top:e-this.pos.y}),Ee(this.placeholder,this.clsPlaceholder),Ee(this.$el.children,this.clsItem),Ee(document.documentElement,this.clsDragState),Yt(this.$el,"start",[this,this.placeholder]),this.move(t)},move:function(t){if(this.drag){this.$emit();var e="mousemove"===t.type?t.target:document.elementFromPoint(this.pos.x-window.pageXOffset,this.pos.y-window.pageYOffset),i=this.getSortable(e),n=this.getSortable(this.placeholder),s=i!==n;if(i&&!Wt(e,this.placeholder)&&(!s||i.group&&i.group===n.group)){if(e=i.$el===e.parentNode&&e||W(i.$el.children).filter(function(t){return Wt(e,t)})[0],s)n.remove(this.placeholder);else if(!e)return;i.insert(this.placeholder,e),y(this.touched,i)||this.touched.push(i)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end:function(t){var e,i;Rt(document,pt,this.move),Rt(document,ft,this.end),Rt(window,"scroll",this.scroll),this.drag?(clearTimeout(Hs),e=this.getSortable(this.placeholder),this===e?this.origin.index!==he(this.placeholder)&&Yt(this.$el,"moved",[this,this.placeholder]):(Yt(e.$el,"added",[e,this.placeholder]),Yt(this.$el,"removed",[this,this.placeholder])),Yt(this.$el,"stop",[this,this.placeholder]),be(this.drag),this.drag=null,i=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" "),this.touched.forEach(function(t){return Pe(t.$el.children,i)}),Pe(document.documentElement,this.clsDragState)):"touchend"===t.type&&t.target.click()},scroll:function(){var t=window.pageYOffset;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},insert:function(e,i){var n=this;function t(){var t;i?(!Wt(e,n.$el)||(t=i,e.parentNode===t.parentNode&&he(e)>he(t))?me:ge)(i,e):fe(n.$el,e)}Ee(this.$el.children,this.clsItem),this.animation?this.animate(t):t()},remove:function(t){Wt(t,this.$el)&&(ze(this.handle?Se(this.handle,t):t,{touchAction:"",userSelect:""}),this.animation?this.animate(function(){return be(t)}):be(t))},getSortable:function(t){return t&&(this.$getComponent(t,"sortable")||this.getSortable(t.parentNode))}}},Ls=/auto|scroll/;function js(){return document.scrollingElement||document.documentElement}var zs,Bs,qs,Ws=[],gt={mixins:[Vn,Zi,on],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},beforeConnect:function(){this._hasTitle=st(this.$el,"title"),nt(this.$el,{title:"","aria-expanded":!1})},disconnected:function(){this.hide(),nt(this.$el,{title:this._hasTitle?this.title:null,"aria-expanded":null})},methods:{show:function(){var e=this;!this.isActive()&&this.title&&(Ws.forEach(function(t){return t.hide()}),Ws.push(this),this._unbind=Ft(document,ft,function(t){return!Wt(t.target,e.$el)&&e.hide()}),clearTimeout(this.showTimer),this.showTimer=setTimeout(function(){e._show(),e.hideTimer=setInterval(function(){jt(e.$el)||e.hide()},150)},this.delay))},hide:function(){this.isActive()&&!Pt(this.$el,"input:focus")&&(Ws.splice(Ws.indexOf(this),1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),nt(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&be(this.tooltip),this.tooltip=!1,this._unbind())},_show:function(){this.tooltip=fe(this.container,'<div class="'+this.clsPos+'" aria-expanded="true" aria-hidden> <div class="'+this.clsPos+'-inner">'+this.title+"</div> </div>"),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?ui(this.dir)+"-"+this.align:this.align+"-"+ui(this.dir),this.toggleElement(this.tooltip,!0)},isActive:function(){return y(Ws,this)}},events:((on={focus:"show",blur:"hide"})[mt+" "+gt]=function(t){Jt(t)||(t.type===mt?this.show():this.hide())},on[ut]=function(t){Jt(t)&&(this.isActive()?this.hide():this.show())},on)},on={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:J,beforeAll:J,beforeSend:J,complete:J,completeAll:J,error:J,fail:J,load:J,loadEnd:J,loadStart:J,progress:J},events:{change:function(t){Pt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){Rs(t);t=t.dataTransfer;t&&t.files&&(Pe(this.$el,this.clsDragover),this.upload(t.files))},dragenter:function(t){Rs(t)},dragover:function(t){Rs(t),Ee(this.$el,this.clsDragover)},dragleave:function(t){Rs(t),Pe(this.$el,this.clsDragover)}},methods:{upload:function(t){var n=this;if(t.length){Yt(this.$el,"upload",[t]);for(var e=0;e<t.length;e++){if(this.maxSize&&1e3*this.maxSize<t[e].size)return void this.fail(this.msgInvalidSize.replace("%s",this.maxSize));if(this.allow&&!Fs(this.allow,t[e].name))return void this.fail(this.msgInvalidName.replace("%s",this.allow));if(this.mime&&!Fs(this.mime,t[e].type))return void this.fail(this.msgInvalidMime.replace("%s",this.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var s=function(t,e){for(var i=[],n=0;n<t.length;n+=e){for(var s=[],o=0;o<e;o++)s.push(t[n+o]);i.push(s)}return i}(t,this.concurrent),o=function(t){var e,i=new FormData;for(e in t.forEach(function(t){return i.append(n.name,t)}),n.params)i.append(e,n.params[e]);ae(n.url,{data:i,method:n.method,responseType:n.type,beforeSend:function(t){var e=t.xhr;e.upload&&Ft(e.upload,"progress",n.progress),["loadStart","load","loadEnd","abort"].forEach(function(t){return Ft(e,t.toLowerCase(),n[t])}),n.beforeSend(t)}}).then(function(t){n.complete(t),s.length?o(s.shift()):n.completeAll(t)},function(t){return n.error(t)})};o(s.shift())}}}};function Fs(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function Rs(t){t.preventDefault(),t.stopPropagation()}function Us(){Vs(document.body,Bs),_i.flush(),new MutationObserver(function(t){return t.forEach(Ys)}).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),zs._initialized=!0}function Ys(s){var t=s.target;("attributes"!==s.type?function(){for(var t=s.addedNodes,e=s.removedNodes,i=0;i<t.length;i++)Vs(t[i],Bs);for(var n=0;n<e.length;n++)Vs(e[n],qs);return 1}:function(){var t=s.target,e=s.attributeName;if("href"===e)return 1;var i=Ui(e);if(i&&i in zs){if(st(t,e))return zs[i](t),1;i=zs.getComponent(t,i);return i&&(i.$destroy(),1)}})()&&zs.update(t)}function Vs(t,e){if(1===t.nodeType&&!st(t,"uk-no-boot"))for(e(t),t=t.firstElementChild;t;){var i=t.nextElementSibling;Vs(t,e),t=i}}return Yi.component("countdown",rs),Yi.component("filter",nn),Yi.component("lightbox",On),Yi.component("lightboxPanel",_s),Yi.component("notification",mn),Yi.component("parallax",Pn),Yi.component("slider",Nn),Yi.component("sliderParallax",Qn),Yi.component("slideshow",Dn),Yi.component("slideshowParallax",Qn),Yi.component("sortable",as),Yi.component("tooltip",gt),Yi.component("upload",on),Bs=(zs=Yi).connect,qs=zs.disconnect,"MutationObserver"in window&&(document.body?_i.read(Us):new MutationObserver(function(){document.body&&(this.disconnect(),Us())}).observe(document,{childList:!0,subtree:!0})),Yi}),function(g){"use strict";g(document).ready(function(){g(function(){function t(){var t,e;g(window).width()<="1024"&&(g(".mmenu-init").remove(),g("#navigation").clone().addClass("mmenu-init").insertBefore("#navigation").removeAttr("id").removeClass("style-1 style-2").find("ul, div").removeClass("style-1 style-2 mega-menu mega-menu-content mega-menu-section").removeAttr("id"),g(".mmenu-init").find("ul").addClass("mm-listview"),g(".mmenu-init").find(".mobile-styles .mm-listview").unwrap(),g(".mmenu-init").mmenu({counters:!0},{offCanvas:{pageNodetype:"#main_wrapper"}}),t=g(".mmenu-init").data("mmenu"),e=g(".hamburger"),g(".mmenu-trigger").click(function(){t.open()}),t.bind("open:finish",function(){setTimeout(function(){e.addClass("is-active")})}),t.bind("close:finish",function(){setTimeout(function(){e.removeClass("is-active")})})),g(".mm-next").addClass("mm-fullsubopen")}t(),g(window).resize(function(){t()})}),g(".utf_user_menu").on("click",function(){g(this).toggleClass("active")}),g("#header").not("#header.not-sticky").clone(!0).addClass("cloned unsticky").insertAfter("#header"),g("#navigation.style-2").clone(!0).addClass("cloned unsticky").insertAfter("#navigation.style-2"),g("#logo .sticky-logo").clone(!0).prependTo("#navigation.style-2.cloned ul#responsive");var t=2*g("#header_part").height();g(window).scroll(function(){g(window).scrollTop()>=t?(g("#header.cloned").addClass("sticky").removeClass("unsticky"),g("#navigation.style-2.cloned").addClass("sticky").removeClass("unsticky")):(g("#header.cloned").addClass("unsticky").removeClass("sticky"),g("#navigation.style-2.cloned").addClass("unsticky").removeClass("sticky"))});g(window).scroll(function(){600<=g(window).scrollTop()?g("#bottom_backto_top").addClass("visible"):g("#bottom_backto_top").removeClass("visible")}),g("#bottom_backto_top a").on("click",function(){return g("html, body").animate({scrollTop:0},500),!1});for(var e=document.querySelectorAll(".utf_payment_trigger_tab > input"),i=0;i<e.length;i++)e[i].addEventListener("change",n);function n(t){for(var e=document.querySelectorAll(".utf_payment_tab_block"),i=0;i<e.length;i++)e[i].classList.remove("utf_payment_tab_block_active");t.target.parentNode.parentNode.classList.add("utf_payment_tab_block_active")}g(".search_container_block, section.fullwidth_block, .utf_listing_slider .item, .address-container, .img-box-background, .image-edge, .edge-bg").each(function(){var t=g(this).attr("data-background-image"),e=g(this).attr("data-background-color");void 0!==t&&g(this).css("background-image","url("+t+")"),void 0!==e&&g(this).css("background",""+e)});var s=g(".accordion");s.each(function(){g(this).toggleClass("ui-accordion ui-widget ui-helper-reset"),g(this).find("h3").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-corner-all"),g(this).find("div").addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"),g(this).find("div").hide()}),s.find("h3").on("click",function(t){var e=g(this).parent();g(this).next().is(":hidden")&&((e=g("h3",e)).removeClass("ui-accordion-header-active ui-state-active ui-corner-top").next().slideUp(300),e.find("span").removeClass("ui-accordion-icon-active"),g(this).find("span").addClass("ui-accordion-icon-active"),g(this).addClass("ui-accordion-header-active ui-state-active ui-corner-top").next().slideDown(300)),t.preventDefault()}),g(".parallax").prepend('<div class="parallax-overlay"></div>'),g(".parallax").each(function(){var t=g(this).attr("data-background"),e=g(this).attr("data-color"),i=g(this).attr("data-color-opacity");void 0!==t&&g(this).css("background-image","url("+t+")"),void 0!==e&&g(this).find(".parallax-overlay").css("background-color",""+e),void 0!==i&&g(this).find(".parallax-overlay").css("opacity",""+i)}),g(".category-box").each(function(){g(this).append('<div class="category-box-background"></div>'),g(this).children(".category-box-background").css({"background-image":"url("+g(this).attr("data-background-image")+")"})}),g(".img-box").each(function(){g(this).append('<div class="img-box-background"></div>'),g(this).children(".img-box-background").css({"background-image":"url("+g(this).attr("data-background-image")+")"})});try{for(var o=g(".js-item-menu"),r=-1,i=0;i<o.length;i++)g(o[i]).on("click",function(t){if(t.preventDefault(),g(".js-right-sidebar").removeClass("show-sidebar"),jQuery.inArray(this,o)==r)g(this).toggleClass("show-dropdown"),r=-1;else{for(var e=0;e<o.length;e++)g(o[e]).removeClass("show-dropdown");g(this).toggleClass("show-dropdown"),r=jQuery.inArray(this,o)}});g(".js-item-menu, .js-dropdown").click(function(t){t.stopPropagation()}),g("body,html").on("click",function(){for(var t=0;t<o.length;t++)o[t].classList.remove("show-dropdown");r=-1})}catch(t){console.log(t)}function a(){var e=g("body").height();g(".content-b").each(function(t){g(this).innerHeight()>e&&g(this).closest(".fullscreen").addClass("overflow")})}function l(){var c=g(window).height();g(".parallax").each(function(t){var e=g(this),i=e.width(),n=e.height(),s=e.attr("data-img-width"),o=e.attr("data-img-height"),r=s/o,a=(a=100)||0,l=0;(s=(o=n+(l=e.hasClass("parallax")&&!g("html").hasClass("touch")?c-n:l)+a)*r)<i&&(o=(s=i)/r),e.data("resized-imgW",s),e.data("resized-imgH",o),e.css("background-size",s+"px "+o+"px")})}function c(t){var a=g(window).height(),l=g(window).scrollTop(),c=l+a,h=(l+c)/2;g(".parallax").each(function(t){var e,i,n=g(this),s=n.height(),o=n.offset().top,r=o+s;o<c&&l<r&&(e=-(i=n.data("resized-imgH"))+a,o-=i=s<a?i-s:i-a,r+=i,i=0,i=g(".parallax").is(".titlebar")?+e*(h-o)/(r-o)*2+0:+e*(h-o)/(r-o)+0,n=(n=n.attr("data-oriz-pos"))||"50%",g(this).css("background-position",n+" "+i+"px"))})}"ontouchstart"in window&&(document.documentElement.className=document.documentElement.className+" touch"),g("html").hasClass("touch")||g(".parallax").css("background-attachment","fixed"),g(window).resize(a),a(),g(window).resize(l),g(window).focus(l),l(),g("html").hasClass("touch")||(g(window).resize(c),g(window).scroll(c),c()),navigator.userAgent.match(/Trident\/7\./)&&g("body").on("mousewheel",function(){event.preventDefault();var t=event.wheelDelta,e=window.pageYOffset;window.scrollTo(0,e-t)});var h,d={".utf_chosen_select":{disable_search_threshold:10,width:"100%"},".utf_chosen_select-deselect":{allow_single_deselect:!0,width:"100%"},".utf_chosen_select_single":{disable_search_threshold:100,width:"100%"},".utf_chosen_select_single.no-search":{disable_search_threshold:10,width:"100%"},".utf_chosen_select-no-results":{no_results_text:"Oops, nothing found!"},".utf_chosen_select-width":{width:"95%"}};for(h in d)d.hasOwnProperty(h)&&g(h).chosen(d[h]);g("#area-range").each(function(){var t=g(this).attr("data-min"),e=g(this).attr("data-max"),i=g(this).attr("data-unit");g(this).append("<input type='text' class='first-slider-value'disabled/><input type='text' class='second-slider-value' disabled/>"),g(this).slider({range:!0,min:t,max:e,step:10,values:[t,e],slide:function(t,e){g(this).children(".first-slider-value").val(e.values[0]+" "+i),g(this).children(".second-slider-value").val(e.values[1]+" "+i)}}),g(this).children(".first-slider-value").val(g(this).slider("values",0)+" "+i),g(this).children(".second-slider-value").val(g(this).slider("values",1)+" "+i)}),g(".utf_gallery_container").each(function(){g(this).magnificPopup({type:"image",delegate:"a.utf_gallery",fixedContentPos:!0,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!1,preloader:!0,removalDelay:0,mainClass:"mfp-fade",gallery:{enabled:!0,tCounter:""}})}),g(".popup-with-zoom-anim").magnificPopup({type:"inline",fixedContentPos:!1,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!0,preloader:!1,midClick:!0,removalDelay:300,mainClass:"my-mfp-zoom-in"}),g(".mfp-image").magnificPopup({type:"image",closeOnContentClick:!0,mainClass:"mfp-fade",image:{verticalFit:!0}}),g(".popup-youtube, .popup-vimeo, .popup-gmaps").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1}),g(".fullwidth_block-slick-carousel").slick({centerMode:!0,centerPadding:"15%",slidesToShow:3,dots:!0,arrows:!1,responsive:[{breakpoint:1441,settings:{centerPadding:"10%",slidesToShow:3}},{breakpoint:1025,settings:{centerPadding:"10px",slidesToShow:2}},{breakpoint:767,settings:{centerPadding:"10px",slidesToShow:1}}]}),g(".time-slot").each(function(){var e=g(this);g(this).find("input").on("change",function(){var t=e.find("strong").text();g(".panel-dropdown.time-slots-dropdown a").html(t),g(".panel-dropdown").removeClass("active")})}),g(".utf_testimonial_carousel").slick({centerMode:!0,centerPadding:"23%",slidesToShow:1,dots:!0,arrows:!1,responsive:[{breakpoint:1025,settings:{centerPadding:"10px",slidesToShow:2}},{breakpoint:767,settings:{centerPadding:"10px",slidesToShow:1}}]}),g(".utf_listing_slider").slick({centerMode:!0,dots:!0,centerPadding:"20%",slidesToShow:1,responsive:[{breakpoint:1367,settings:{centerPadding:"15%"}},{breakpoint:1025,settings:{centerPadding:"0"}},{breakpoint:767,settings:{centerPadding:"0",slidesToShow:1}}]}),g(".simple-slick-carousel").slick({infinite:!0,slidesToShow:3,slidesToScroll:3,dots:!0,arrows:!0,responsive:[{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1}}]}),g(".companie-logo-slick-carousel").slick({infinite:!0,slidesToShow:5,slidesToScroll:1,dots:!0,arrows:!0,responsive:[{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:1}}]}),g(".simple_slick_carousel_block").slick({infinite:!0,slidesToShow:3,slidesToScroll:1,dots:!0,arrows:!1,responsive:[{breakpoint:1720,settings:{slidesToShow:3}},{breakpoint:1365,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}]});var u=g(".utf_tabs_nav"),p=u.children("li");u.each(function(){var t=g(this);t.next().children(".tab_content").stop(!0,!0).hide().first().show(),t.children("li").first().addClass("active").stop(!0,!0).show()}),p.on("click",function(t){var e=g(this);e.siblings().removeClass("active").end().addClass("active"),e.parent().next().children(".tab_content").stop(!0,!0).hide().siblings(e.find("a").attr("href")).fadeIn(),t.preventDefault()});p=window.location.hash,p=g('.utf_tabs_nav a[href="'+p+'"]');0===p.length?(g(".utf_tabs_nav li:first").addClass("active").show(),g(".tab_content:first").show()):p.parent("li").click(),(s=g(".accordion")).each(function(){g(this).toggleClass("ui-accordion ui-widget ui-helper-reset"),g(this).find("h3").addClass("ui-accordion-header ui-helper-reset ui-state-default ui-accordion-icons ui-corner-all"),g(this).find("div").addClass("ui-accordion-content ui-helper-reset ui-utf_widget_content ui-corner-bottom"),g(this).find("div").hide()}),g(".toggle-container").hide(),g(".trigger, .trigger.opened").on("click",function(t){g(this).toggleClass("active"),t.preventDefault()}),g(".trigger").on("click",function(){g(this).next(".toggle-container").slideToggle(300)}),g(".trigger.opened").addClass("active").next(".toggle-container").show(),g(".tooltip.top").tipTip({defaultPosition:"top"}),g(".tooltip.bottom").tipTip({defaultPosition:"bottom"}),g(".tooltip.left").tipTip({defaultPosition:"left"}),g(".tooltip.right").tipTip({defaultPosition:"right"}),g(".like-icon, .widget-button, .like-button").on("click",function(t){t.preventDefault(),g(this).toggleClass("liked"),g(this).children(".like-icon").toggleClass("liked")}),g(".more-search-options-trigger").on("click",function(t){t.preventDefault(),g(".more-search-options, .more-search-options-trigger").toggleClass("active"),g(".more-search-options.relative").animate({height:"toggle",opacity:"toggle"},300)}),g(window).on("load resize",function(){var t=g(window).width();g("#header_part").height();g(".fs-inner-container, .fs-inner-container.map-fixed, #dashboard"),t<992?g(".fs-inner-container.map-fixed").insertBefore(".fs-inner-container.content"):g(".fs-inner-container.content").insertBefore(".fs-inner-container.map-fixed")}),g(".utf_leave_rating input").change(function(){var t=g(this);g(".utf_leave_rating .selected").removeClass("selected"),t.closest("label").addClass("selected")}),g(".utf_dashboard_navigation ul li a").on("click",function(){g(this).closest("li").has("ul").length&&g(this).parent("li").toggleClass("active")}),g(window).on("load resize",function(){var t=window.innerHeight,e=g("#header_part").height();992<g(window).width()?g(".utf_dashboard_navigation_inner_block").css("max-height",t-e):g(".utf_dashboard_navigation_inner_block").css("max-height","")}),g(".tip").each(function(){var t=g(this).attr("data-tip-content");g(this).append('<div class="tip-content">'+t+"</div>")}),g(".verified-badge.with-tip").each(function(){var t=g(this).attr("data-tip-content");g(this).append('<div class="tip-content">'+t+"</div>")}),g(window).on("load resize",function(){var t=g(".verified-badge.with-tip");t.find(".tip-content").css({width:t.outerWidth(),"max-width":t.outerWidth()})}),g(".add_utf_listing_section").each(function(){var t=g(this),e=g(this).find(".switch input");e.is(":checked")&&g(t).addClass("switcher-on"),e.change(function(){!0===this.checked?g(t).addClass("switcher-on"):g(t).removeClass("switcher-on")})}),g(".utf_dashboard_nav_responsive").on("click",function(t){t.preventDefault(),g(this).toggleClass("active");t=g("body").find(".utf_dashboard_navigation");g(this).hasClass("active")?g(t).addClass("active"):g(t).removeClass("active")}),g("table#utf_pricing_list_section").is("*")&&(g(".add-pricing-list-item").on("click",function(t){t.preventDefault(),(t=g("tr.pricing-list-item.pattern").first().clone()).find("input").val(""),t.appendTo("table#utf_pricing_list_section")}),g(document).on("click","#utf_pricing_list_section .delete",function(t){t.preventDefault(),g(this).parent().parent().remove()}),g(".add-pricing-submenu").on("click",function(t){t.preventDefault(),g('<tr class="pricing-list-item pricing-submenu"><td><div class="fm-move"><i class="sl sl-icon-cursor-move"></i></div><div class="fm-input"><input type="text" placeholder="Category Title" /></div><div class="fm-close"><a class="delete" href="#"><i class="fa fa-remove"></i></a></div></td></tr>').appendTo("table#utf_pricing_list_section")}),g("table#utf_pricing_list_section tbody").sortable({forcePlaceholderSize:!0,forceHelperSize:!1,placeholder:"sortableHelper",zIndex:999990,opacity:.6,tolerance:"pointer",start:function(t,e){e.placeholder.height(e.helper.outerHeight())}}));s=g(".pricing-price").children("input").attr("data-unit");function f(){g(".utf_panel_dropdown").removeClass("active"),g(".fs-inner-container.content").removeClass("faded-out")}g(".pricing-price").children("input").before('<i class="data-unit">'+s+"</i>"),g("a.close").removeAttr("href").on("click",function(){g(this).parent().css({opacity:0,transition:"opacity 0.5s"}).slideUp()}),g(".utf_panel_dropdown a").on("click",function(t){g(this).parent().is(".active")?f():(f(),g(this).parent().addClass("active"),g(".fs-inner-container.content").addClass("faded-out")),t.preventDefault()}),g(".panel-buttons button").on("click",function(t){g(".utf_panel_dropdown").removeClass("active"),g(".fs-inner-container.content").removeClass("faded-out")});var m=!1;g(".utf_panel_dropdown").hover(function(){m=!0},function(){m=!1}),g("body").mouseup(function(){m||f()}),g(".checkboxes.categories input").on("change",function(){g(this).hasClass("all")?(g(this).parents(".checkboxes").find("input").prop("checked",!1),g(this).prop("checked",!0)):g(".checkboxes input.all").prop("checked",!1)}),g('input[type="range"].distance-radius').rangeslider({polyfill:!1,onInit:function(){this.output=g('<div class="utf_range_output" />').insertBefore(this.$range).html(this.$element.val());var t=g(".distance-radius").attr("data-title");g(".utf_range_output").after('<i class="data-radius-title">'+t+"</i>")},onSlide:function(t,e){this.output.html(e)}}),g(".show-more-button").on("click",function(t){var e,i;t.preventDefault(),g(this).toggleClass("active"),g(".show-more").toggleClass("visible"),g(".show-more").is(".visible")?(i=(e=g(".show-more")).height(),t=e.css("height","auto").height(),e.height(i).animate({height:t},400)):g(".show-more").animate({height:"370px"},400)}),g(window).on("load resize",function(){var t=g(".container").width();g(".listing-nav-container.cloned .listing-nav").css("width",t)}),null!==document.getElementById("listing-nav")&&g(window).scroll(function(){var t=g(window).scrollTop();g(".listing-nav").not(".listing-nav-container.cloned .listing-nav").offset().top+90<t?g(".listing-nav-container.cloned").addClass("stick"):g(".listing-nav-container.cloned").removeClass("stick")}),g(".listing-nav-container").clone(!0).addClass("cloned").prependTo("body"),g(".listing-nav a, a.listing-address, .utf_star_rating_section a").on("click",function(t){t.preventDefault(),g("html,body").scrollTo(this.hash,this.hash,{gap:{y:-20}})}),g(".listing-nav li:first-child a, a.utf_add_review-btn, a[href='#utf_add_review']").on("click",function(t){t.preventDefault(),g("html,body").scrollTo(this.hash,this.hash,{gap:{y:-100}})}),g(window).on("load resize",function(){for(var t=g(".listing-nav li").children(),o=[],e=0;e<t.length;e++){var i=t[e],i=g(i).attr("href");o.push(i)}g(window).scroll(function(){for(var t=g(window).scrollTop(),e=0;e<o.length;e++){var i=o[e],n=g(i).offset().top-150,s=g(i).height();n<=t&&t<n+s?g("a[href='"+i+"']").addClass("active"):g("a[href='"+i+"']").removeClass("active")}})}),g(".utf_progress_button").each(function(){g(this).append('<div class="progress-bar"></div>'),g(this).on("click",function(){var t=g(this);t.children(".progress-bar").addClass("active"),setTimeout(function(){t.children(".progress-bar").removeClass("active")},1500),setTimeout(function(){t.children(".progress-bar").removeClass("active")},1500),setTimeout(function(){t.addClass("done")},1800),setTimeout(function(){t.removeClass("done")},3500)})});g("#message").hide(),g("#contact input[type=text], #contact input[type=number], #contact input[type=email], #contact input[type=url], #contact input[type=tel], #contact select, #contact textarea").each(function(){}),g("#name, #comments, #subject").focusout(function(){g(this).val()?g(this).removeClass("error").parent().find("mark").removeClass("error").addClass("valid"):g(this).addClass("error").parent().find("mark").removeClass("valid").addClass("error"),g("#submit").prop("disabled",!1).removeClass("disabled")}),g("#email").focusout(function(){var t;g(this).val()&&(t=g(this).val(),new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(t))?g(this).removeClass("error").parent().find("mark").removeClass("error").addClass("valid"):g(this).addClass("error").parent().find("mark").removeClass("valid").addClass("error")}),g("#email").focusin(function(){g("#submit").prop("disabled",!1).removeClass("disabled")}),g("#submit").on("click",function(){g("#contact-message").slideUp(200,function(){if(g("#contact-message").hide(),g("#name, #subject, #phone, #comments, #website, #email").triggerHandler("focusout"),0<g("#contact mark.error").size())return g("#contact input.error:first, #contact textarea.error:first").focus(),!1})}),g("#contactform").submit(function(){if(0<g("#contact mark.error").size())return!1;var t=g(this).attr("action");return g("#contact #submit").after('<img src="images/loader.gif" class="loader" />'),g("#submit").prop("disabled",!0).addClass("disabled"),g.post(t,g("#contactform").serialize(),function(t){g("#contact-message").html(t),g("#contact-message").slideDown(),g("#contactform img.loader").fadeOut("slow",function(){g(this).remove()}),null!==t.match("success")&&g("#contactform").slideUp("slow")}),!1})})}(this.jQuery),$.scrollTo=$.fn.scrollTo=function(t,e,i){return this instanceof $?(i=$.extend({},{gap:{x:0,y:0},animation:{easing:"swing",duration:600,complete:$.noop,step:$.noop}},i),this.each(function(){$(this).stop().animate({scrollLeft:isNaN(Number(t))?$(e).offset().left+i.gap.x:t,scrollTop:isNaN(Number(e))?$(e).offset().top+i.gap.y:e},i.animation)})):$.fn.scrollTo.apply($("html, body"),arguments)},numericalRating(".numerical-rating"),starRating(".utf_star_rating_section"),document.addEventListener("DOMContentLoaded",function(){Handle.init(),lazyLoadDom()});let Handle=function(){function t(){const t=document.querySelectorAll(".time-status");t.forEach(t=>{const e=t.getAttribute("data-time");if(!e||"closed"===e.toLowerCase())return t.textContent="Closed",t.classList.remove("now_open"),void t.classList.add("close_now");if(!e||"open 24 hours"===e.toLowerCase())return t.textContent="Open Now",t.classList.remove("badge-danger"),void t.classList.add("badge-success");var[i,n]=e.split(" - ");if(!i||!n)return t.textContent="Closed",t.classList.remove("now_open"),void t.classList.add("close_now");let s=new Date;i=new Date(s.toDateString()+" "+i);let o=new Date(s.toDateString()+" "+n);o<i&&o.setDate(o.getDate()+1),s>=i&&s<=o?(t.textContent="Open Now",t.classList.remove("close_now"),t.classList.add("now_open")):(t.textContent="Closed",t.classList.remove("now_open"),t.classList.add("close_now"))})}return{init:function(){$("body").on("click",".field-check",function(t){t.preventDefault();t=$(this).attr("href");window.location.href=t}),$("body").on("click",".menu-item",function(t){$(".menu-item").removeClass("current-menu-item"),$(this).addClass("current-menu-item")}),$("body").on("click",".item-menu-mobile",function(t){$(".item-menu-mobile").removeClass("current"),$(this).addClass("current")}),$(document).ready(function(){var t=window.location.hash;t&&($(".menu-item").removeClass("current-menu-item"),$('a[href*="'+t+'"]').closest(".menu-item").addClass("current-menu-item"))}),UIkit.util.on("#slider li","click",function(){UIkit.slideshow("#slideshow").show(this.getAttribute("uk-slideshow-item"))}),UIkit.util.on("#slideshow","itemshow",function(t,e){UIkit.slider("#slider").show(e.index)}),t(),setInterval(t,6e4)}}}();var lazyLoadDom=function(){let t=[].slice.call(document.querySelectorAll("img.lazy")),e=!1;const i=function(){!1===e&&(e=!0,setTimeout(function(){t.forEach(function(e){e.getBoundingClientRect().top<=window.innerHeight&&0<=e.getBoundingClientRect().bottom&&"none"!==getComputedStyle(e).display&&(e.src=e.dataset.src,e.classList.remove("lazy"),t=t.filter(function(t){return t!==e}),0===t.length&&(document.removeEventListener("scroll",i),window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i)))}),e=!1},200))};document.addEventListener("scroll",i),window.addEventListener("resize",i),window.addEventListener("orientationchange",i),i()};