/*! 11-02-2021 */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(S,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],C=S.document,n=Object.getPrototypeOf,a=t.slice,g=t.concat,l=t.push,o=t.indexOf,i={},r=i.toString,v=i.hasOwnProperty,s=v.toString,c=s.call(Object),y={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},d={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,i){var n,o,r=(i=i||C).createElement("script");if(r.text=e,t)for(n in d)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&r.setAttribute(n,o);i.head.appendChild(r).parentNode.removeChild(r)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[r.call(e)]||"object":typeof e}var u="3.4.0",T=function(e,t){return new T.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function h(e){var t=!!e&&"length"in e&&e.length,i=x(e);return!b(e)&&!m(e)&&("array"===i||0===t||"number"==typeof t&&0>10|55296,1023&n|56320)}function o(){_()}var e,h,w,r,s,f,p,m,x,l,c,_,S,a,C,g,d,v,y,T="sizzle"+ +new Date,b=i.document,k=0,n=0,E=le(),A=le(),I=le(),O=le(),D=function(e,t){return e===t&&(c=!0),0},N={}.hasOwnProperty,t=[],$=t.pop,L=t.push,H=t.push,P=t.slice,j=function(e,t){for(var i=0,n=e.length;i+~]|"+z+")"+z+"*"),V=new RegExp(z+"|>"),X=new RegExp(R),K=new RegExp("^"+B+"$"),Q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+R),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("^(?:"+M+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,ne=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=we(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=P.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,P.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ae(e,t,i,n){var o,r,s,a,l,c,d,u=t&&t.ownerDocument,p=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return i;if(!n&&((t?t.ownerDocument||t:b)!==S&&_(t),t=t||S,C)){if(11!==p&&(l=te.exec(e)))if(o=l[1]){if(9===p){if(!(s=t.getElementById(o)))return i;if(s.id===o)return i.push(s),i}else if(u&&(s=u.getElementById(o))&&y(t,s)&&s.id===o)return i.push(s),i}else{if(l[2])return H.apply(i,t.getElementsByTagName(e)),i;if((o=l[3])&&h.getElementsByClassName&&t.getElementsByClassName)return H.apply(i,t.getElementsByClassName(o)),i}if(h.qsa&&!O[e+" "]&&(!g||!g.test(e))&&(1!==p||"object"!==t.nodeName.toLowerCase())){if(d=e,u=t,1===p&&V.test(e)){for((a=t.getAttribute("id"))?a=a.replace(oe,re):t.setAttribute("id",a=T),r=(c=f(e)).length;r--;)c[r]="#"+a+" "+be(c[r]);d=c.join(","),u=ie.test(e)&&ve(t.parentNode)||t}try{return H.apply(i,u.querySelectorAll(d)),i}catch(t){O(e,!0)}finally{a===T&&t.removeAttribute("id")}}}return m(e.replace(F,"$1"),t,i,n)}function le(){var n=[];return function e(t,i){return n.push(t+" ")>w.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function ce(e){return e[T]=!0,e}function de(e){var t=S.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var i=e.split("|"),n=i.length;n--;)w.attrHandle[i[n]]=t}function pe(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function he(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}function me(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ge(s){return ce(function(r){return r=+r,ce(function(e,t){for(var i,n=s([],e.length,r),o=n.length;o--;)e[i=n[o]]&&(e[i]=!(t[i]=e[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in h=ae.support={},s=ae.isXML=function(e){var t=e.namespaceURI,i=(e.ownerDocument||e).documentElement;return!G.test(t||i&&i.nodeName||"HTML")},_=ae.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:b;return n!==S&&9===n.nodeType&&n.documentElement&&(a=(S=n).documentElement,C=!s(S),b!==S&&(i=S.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",o,!1):i.attachEvent&&i.attachEvent("onunload",o)),h.attributes=de(function(e){return e.className="i",!e.getAttribute("className")}),h.getElementsByTagName=de(function(e){return e.appendChild(S.createComment("")),!e.getElementsByTagName("*").length}),h.getElementsByClassName=ee.test(S.getElementsByClassName),h.getById=de(function(e){return a.appendChild(e).id=T,!S.getElementsByName||!S.getElementsByName(T).length}),h.getById?(w.filter.ID=function(e){var t=e.replace(ne,u);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i=t.getElementById(e);return i?[i]:[]}}):(w.filter.ID=function(e){var i=e.replace(ne,u);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i,n,o,r=t.getElementById(e);if(r){if((i=r.getAttributeNode("id"))&&i.value===e)return[r];for(o=t.getElementsByName(e),n=0;r=o[n++];)if((i=r.getAttributeNode("id"))&&i.value===e)return[r]}return[]}}),w.find.TAG=h.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):h.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],o=0,r=t.getElementsByTagName(e);if("*"!==e)return r;for(;i=r[o++];)1===i.nodeType&&n.push(i);return n},w.find.CLASS=h.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],g=[],(h.qsa=ee.test(S.querySelectorAll))&&(de(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+z+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+z+"*(?:value|"+M+")"),e.querySelectorAll("[id~="+T+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||g.push(".#.+[+~]")}),de(function(e){e.innerHTML="";var t=S.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+z+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(h.matchesSelector=ee.test(v=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&de(function(e){h.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),d.push("!=",R)}),g=g.length&&new RegExp(g.join("|")),d=d.length&&new RegExp(d.join("|")),t=ee.test(a.compareDocumentPosition),y=t||ee.test(a.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return c=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!h.sortDetached&&t.compareDocumentPosition(e)===i?e===S||e.ownerDocument===b&&y(b,e)?-1:t===S||t.ownerDocument===b&&y(b,t)?1:l?j(l,e)-j(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return c=!0,0;var i,n=0,o=e.parentNode,r=t.parentNode,s=[e],a=[t];if(!o||!r)return e===S?-1:t===S?1:o?-1:r?1:l?j(l,e)-j(l,t):0;if(o===r)return pe(e,t);for(i=e;i=i.parentNode;)s.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;s[n]===a[n];)n++;return n?pe(s[n],a[n]):s[n]===b?-1:a[n]===b?1:0}),S},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==S&&_(e),h.matchesSelector&&C&&!O[t+" "]&&(!d||!d.test(t))&&(!g||!g.test(t)))try{var i=v.call(e,t);if(i||h.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){O(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,u),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,u),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&X.test(i)&&(t=f(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,u).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+z+")"+e+"("+z+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,o){return function(e){var t=ae.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===o:"!="===n?t!==o:"^="===n?o&&0===t.indexOf(o):"*="===n?o&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,i,n){return b(i)?T.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?T.grep(e,function(e){return e===i!==n}):"string"!=typeof i?T.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,i){var n,o;if(!e)return this;if(i=i||D,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==i.ready?i.ready(e):e(T):T.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),I.test(n[1])&&T.isPlainObject(t))for(n in t)b(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=C.getElementById(n[2]))&&(this[0]=o,this.length=1),this}).prototype=T.fn,D=T(C);var $=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),i=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var i;return i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?T.merge([e],i):i}function ve(e,t){for(var i=0,n=e.length;ix",y.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var _e=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function ke(){return!1}function Ee(e,t){return e===function(){try{return C.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,i,n,o,r){var s,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)Ae(e,a,i,n,t[a],r);return e}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=ke;else if(!o)return e;return 1===r&&(s=o,(o=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,n,i)})}function Ie(e,o,r){r?(Q.set(e,o,!1),T.event.add(e,o,{namespace:!1,handler:function(e){var t,i,n=Q.get(this,o);if(1&e.isTrigger&&this[o]){if(n)(T.event.special[o]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),Q.set(this,o,n),t=r(this,o),this[o](),n!==(i=Q.get(this,o))||t?Q.set(this,o,!1):i=void 0,n!==i)return e.stopImmediatePropagation(),e.preventDefault(),i}else n&&(Q.set(this,o,T.event.trigger(T.extend(n.shift(),T.Event.prototype),n,this)),e.stopImmediatePropagation())}})):T.event.add(e,o,Te)}T.event={global:{},add:function(t,e,i,n,o){var r,s,a,l,c,d,u,p,h,f,m,g=Q.get(t);if(g)for(i.handler&&(i=(r=i).handler,o=r.selector),o&&T.find.matchesSelector(oe,o),i.guid||(i.guid=T.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(P)||[""]).length;c--;)h=m=(a=Ce.exec(e[c])||[])[1],f=(a[2]||"").split(".").sort(),h&&(u=T.event.special[h]||{},h=(o?u.delegateType:u.bindType)||h,u=T.event.special[h]||{},d=T.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:f.join(".")},r),(p=l[h])||((p=l[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,n,f,s)||t.addEventListener&&t.addEventListener(h,s)),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),T.event.global[h]=!0)},remove:function(e,t,i,n,o){var r,s,a,l,c,d,u,p,h,f,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(h=m=(a=Ce.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),h){for(u=T.event.special[h]||{},p=l[h=(n?u.delegateType:u.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)d=p[r],!o&&m!==d.origType||i&&i.guid!==d.guid||a&&!a.test(d.namespace)||n&&n!==d.selector&&("**"!==n||!d.selector)||(p.splice(r,1),d.selector&&p.delegateCount--,u.remove&&u.remove.call(e,d));s&&!p.length&&(u.teardown&&!1!==u.teardown.call(e,f,g.handle)||T.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)T.event.remove(e,h+t[c],i,n,!0);T.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,i,n,o,r,s,a=T.event.fix(e),l=new Array(arguments.length),c=(Q.get(this,"events")||{})[a.type]||[],d=T.event.special[a.type]||{};for(l[0]=a,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,De=/\s*$/g;function Le(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function je(e,t){var i,n,o,r,s,a,l,c;if(1===t.nodeType){if(Q.hasData(e)&&(r=Q.access(e),s=Q.set(t,r),c=r.events))for(o in delete s.handle,s.events={},c)for(i=0,n=c[o].length;i")},clone:function(e,t,i){var n,o,r,s,a,l,c,d=e.cloneNode(!0),u=re(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(s=ge(d),n=0,o=(r=ge(e)).length;n").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(e){n.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(n[0])},abort:function(){o&&o()}}});var ii,ni=[],oi=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ni.pop()||T.expando+"_"+Lt++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,i){var n,o,r,s=!1!==e.jsonp&&(oi.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&oi.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(oi,"$1"+n):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return r||T.error(n+" was not called"),r[0]},e.dataTypes[0]="json",o=S[n],S[n]=function(){r=arguments},i.always(function(){void 0===o?T(S).removeProp(n):S[n]=o,e[n]&&(e.jsonpCallback=t.jsonpCallback,ni.push(n)),r&&b(o)&&o(r[0]),r=o=void 0}),"script"}),y.createHTMLDocument=((ii=C.implementation.createHTMLDocument("").body).innerHTML="
",2===ii.childNodes.length),T.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(y.createHTMLDocument?((n=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(n)):t=C),r=!i&&[],(o=I.exec(e))?[t.createElement(o[1])]:(o=xe([e],t,r),r&&r.length&&T(r).remove(),T.merge([],o.childNodes)));var n,o,r},T.fn.load=function(e,t,i){var n,o,r,s=this,a=e.indexOf(" ");return-1").append(T.parseHTML(e)).find(n):e)}).always(i&&function(e,t){s.each(function(){i.apply(this,r||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,i){var n,o,r,s,a,l,c=T.css(e,"position"),d=T(e),u={};"static"===c&&(e.style.position="relative"),a=d.offset(),r=T.css(e,"top"),l=T.css(e,"left"),o=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(s=(n=d.position()).top,n.left):(s=parseFloat(r)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,i,T.extend({},a))),null!=t.top&&(u.top=t.top-a.top+s),null!=t.left&&(u.left=t.left-a.left+o),"using"in t?t.using.call(e,u):d.css(u)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],o={top:0,left:0};if("fixed"===T.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(n,"marginTop",!0),left:t.left-o.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||oe})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var r="pageYOffset"===o;T.fn[t]=function(e){return q(this,function(e,t,i){var n;if(m(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[o]:e[t];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),T.each(["top","left"],function(e,i){T.cssHooks[i]=Ge(y.pixelPosition,function(e,t){if(t)return t=Qe(e,i),Ve.test(t)?T(e).position()[i]+"px":t})}),T.each({Height:"height",Width:"width"},function(s,a){T.each({padding:"inner"+s,content:a,"":"outer"+s},function(n,r){T.fn[r]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),o=n||(!0===e||!0===t?"margin":"border");return q(this,function(e,t,i){var n;return m(e)?0===r.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+s],n["scroll"+s],e.body["offset"+s],n["offset"+s],n["client"+s])):void 0===i?T.css(e,t,o):T.style(e,t,i,o)},a,i?e:void 0,i)}})}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){T.fn[i]=function(e,t){return 0=n.clientWidth&&i>=n.clientHeight}),u=0l[e]&&!n.escapeWithReference&&(i=H(d[t],l[e]-("right"===e?d.width:d.height))),q({},t,i)}};return c.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";d=X({},d,u[t](e))}),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,n=t.reference,o=e.placement.split("-")[0],r=P,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return i[a]r(n[a])&&(e.offsets.popper[l]=r(n[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var i;if(!$(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",u=d.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",f=k(n)[c];a[h]-fs[h]&&(e.offsets.popper[u]+=a[u]+f-s[h]),e.offsets.popper=_(e.offsets.popper);var m=a[u]+a[c]/2-f/2,g=w(e.instance.popper),v=parseFloat(g["margin"+d],10),y=parseFloat(g["border"+d+"Width"],10),b=m-e.offsets.popper[u]-v-y;return b=M(H(s[c]-f,b),0),e.arrowElement=n,e.offsets.arrow=(q(i={},u,j(b)),q(i,p,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(f,m){if(e(f.instance.modifiers,"inner"))return f;if(f.flipped&&f.placement===f.originalPlacement)return f;var g=h(f.instance.popper,f.instance.reference,m.padding,m.boundariesElement,f.positionFixed),v=f.placement.split("-")[0],y=E(v),b=f.placement.split("-")[1]||"",w=[];switch(m.behavior){case J:w=[v,y];break;case Z:w=n(v);break;case ee:w=n(v,!0);break;default:w=m.behavior}return w.forEach(function(e,t){if(v!==e||w.length===t+1)return f;v=f.placement.split("-")[0],y=E(v);var i,n=f.offsets.popper,o=f.offsets.reference,r=P,s="left"===v&&r(n.right)>r(o.left)||"right"===v&&r(n.left)r(o.top)||"bottom"===v&&r(n.top)r(g.right),c=r(n.top)r(g.bottom),u="left"===v&&a||"right"===v&&l||"top"===v&&c||"bottom"===v&&d,p=-1!==["top","bottom"].indexOf(v),h=!!m.flipVariations&&(p&&"start"===b&&a||p&&"end"===b&&l||!p&&"start"===b&&c||!p&&"end"===b&&d);(s||u||h)&&(f.flipped=!0,(s||u)&&(v=w[t+1]),h&&(b="end"===(i=b)?"start":"start"===i?"end":i),f.placement=v+(b?"-"+b:""),f.offsets.popper=X({},f.offsets.popper,A(f.instance.popper,f.offsets.reference,f.placement)),f=O(f.instance.modifiers,f,"flip"))}),f},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=e.offsets,o=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return o[s?"left":"top"]=r[i]-(a?o[s?"width":"height"]:0),e.placement=E(t),e.offsets.popper=_(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!$(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=I(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomi.right||t.top>i.bottom||t.right
',trigger:"hover focus",offset:0,arrowSelector:".tooltip-arrow, .tooltip__arrow",innerSelector:".tooltip-inner, .tooltip__inner"},t=(e(a,[{key:"_create",value:function(e,t,i,n){var o=window.document.createElement("div");o.innerHTML=t.trim();var r=o.childNodes[0];r.id="tooltip_"+Math.random().toString(36).substr(2,10),r.setAttribute("aria-hidden","false");var s=o.querySelector(this.options.innerSelector);return this._addTitleContent(e,i,n,s),r}},{key:"_addTitleContent",value:function(e,t,i,n){var o;1===t.nodeType||11===t.nodeType?i&&n.appendChild(t):(o=t)&&"[object Function]"==={}.toString.call(o)?this._addTitleContent(e,t.call(e),i,n):i?n.innerHTML=t:n.textContent=t}},{key:"_show",value:function(e,t){if(this._isOpen&&!this._isOpening)return this;if(this._isOpen=!0,this._tooltipNode)return this._tooltipNode.style.visibility="visible",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.update(),this;var i=e.getAttribute("title")||t.title;if(!i)return this;var n=this._create(e,t.template,i,t.html);e.setAttribute("aria-describedby",n.id);var o=this._findContainer(t.container,e);return this._append(n,o),this._popperOptions=s({},t.popperOptions,{placement:t.placement}),this._popperOptions.modifiers=s({},this._popperOptions.modifiers,{arrow:s({},this._popperOptions.modifiers&&this._popperOptions.modifiers.arrow,{element:t.arrowSelector}),offset:s({},this._popperOptions.modifiers&&this._popperOptions.modifiers.offset,{offset:t.offset||this._popperOptions.modifiers&&this._popperOptions.modifiers.offset&&this._popperOptions.modifiers.offset.offset||t.offset})}),t.boundariesElement&&(this._popperOptions.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new r(e,n,this._popperOptions),this._tooltipNode=n,this}},{key:"_hide",value:function(){return this._isOpen&&(this._isOpen=!1,this._tooltipNode.style.visibility="hidden",this._tooltipNode.setAttribute("aria-hidden","true")),this}},{key:"_dispose",value:function(){var n=this;return this._events.forEach(function(e){var t=e.func,i=e.event;n.reference.removeEventListener(i,t)}),this._events=[],this._tooltipNode&&(this._hide(),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(n,e,o){var r=this,t=[],i=[];e.forEach(function(e){"hover"===e?(t.push("mouseenter"),i.push("mouseleave")):"focus"===e?(t.push("focus"),i.push("blur")):"click"===e&&(t.push("click"),i.push("click"))}),t.forEach(function(e){function t(e){!0===r._isOpening||(e.usedByTooltip=!0,r._scheduleShow(n,o.delay,o,e))}r._events.push({event:e,func:t}),n.addEventListener(e,t)}),i.forEach(function(e){function i(e){!0===e.usedByTooltip||r._scheduleHide(n,o.delay,o,e)}r._events.push({event:e,func:i}),n.addEventListener(e,i),"click"===e&&o.closeOnClickOutside&&document.addEventListener("mousedown",function(e){if(r._isOpening){var t=r.popperInstance.popper;n.contains(e.target)||t.contains(e.target)||i(e)}},!0)})}},{key:"_scheduleShow",value:function(e,t,i){var n=this;this._isOpening=!0;var o=t&&t.show||t||0;this._showTimeout=window.setTimeout(function(){return n._show(e,i)},o)}},{key:"_scheduleHide",value:function(e,t,i,n){var o=this;this._isOpening=!1;var r=t&&t.hide||t||0;window.clearTimeout(this._showTimeout),window.setTimeout(function(){if(!1!==o._isOpen&&document.body.contains(o._tooltipNode)){if("mouseleave"===n.type&&o._setTooltipNodeEvent(n,e,t,i))return;o._hide(e,i)}},r)}},{key:"_updateTitleContent",value:function(e){if(void 0!==this._tooltipNode){var t=this._tooltipNode.querySelector(this.options.innerSelector);this._clearTitleContent(t,this.options.html,this.reference.getAttribute("title")||this.options.title),this._addTitleContent(this.reference,e,this.options.html,t),this.options.title=e,this.popperInstance.update()}else void 0!==this.options.title&&(this.options.title=e)}},{key:"_clearTitleContent",value:function(e,t,i){1===i.nodeType||11===i.nodeType?t&&e.removeChild(i):t?e.innerHTML="":e.textContent=""}}]),a),o=function(){var s=this;this.show=function(){return s._show(s.reference,s.options)},this.hide=function(){return s._hide()},this.dispose=function(){return s._dispose()},this.toggle=function(){return s._isOpen?s.hide():s.show()},this.updateTitleContent=function(e){return s._updateTitleContent(e)},this._events=[],this._setTooltipNodeEvent=function(n,o,e,r){var t=n.relatedreference||n.toElement||n.relatedTarget;return!!s._tooltipNode.contains(t)&&(s._tooltipNode.addEventListener(n.type,function e(t){var i=t.relatedreference||t.toElement||t.relatedTarget;s._tooltipNode.removeEventListener(n.type,e),o.contains(i)||s._scheduleHide(o,r.delay,r,t)}),!0)}};function a(e,t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a),o.call(this),t=s({},n,t),e.jquery&&(e=e[0]),this.reference=e;var i="string"==typeof(this.options=t).trigger?t.trigger.split(" ").filter(function(e){return-1!==["click","hover","focus"].indexOf(e)}):[];this._isOpen=!1,this._popperOptions={},this._setEventListeners(e,i,t)}function l(e,t){for(var i,n=0;nthis._items.length-1||e<0))if(this._isSliding)f(this._element).one(j.SLID,function(){return t.to(e)});else{if(i===e)return this.pause(),void this.cycle();var n=idocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},xe._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},xe._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},Ge="show",Je={HIDE:"hide"+qe,HIDDEN:"hidden"+qe,SHOW:"show"+qe,SHOWN:"shown"+qe,INSERTED:"inserted"+qe,CLICK:"click"+qe,FOCUSIN:"focusin"+qe,FOCUSOUT:"focusout"+qe,MOUSEENTER:"mouseenter"+qe,MOUSELEAVE:"mouseleave"+qe},Ze="fade",et="show",tt="hover",it="focus",nt=((Be=ot.prototype).enable=function(){this._isEnabled=!0},Be.disable=function(){this._isEnabled=!1},Be.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Be.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,i=f(e.currentTarget).data(t);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(t,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(f(this.getTipElement()).hasClass(et))return void this._leave(null,this);this._enter(null,this)}},Be.dispose=function(){clearTimeout(this._timeout),f.removeData(this.element,this.constructor.DATA_KEY),f(this.element).off(this.constructor.EVENT_KEY),f(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&f(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},Be.show=function(){var t=this;if("none"===f(this.element).css("display"))throw new Error("Please use show on visible elements");var e=f.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){f(this.element).trigger(e);var i=m.findShadowRoot(this.element),n=f.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!n)return;var o=this.getTipElement(),r=m.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&f(o).addClass(Ze);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();f(o).data(this.constructor.DATA_KEY,this),f.contains(this.element.ownerDocument.documentElement,this.tip)||f(o).appendTo(l),f(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new u(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),f(o).addClass(et),"ontouchstart"in document.documentElement&&f(document.body).children().on("mouseover",null,f.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,f(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(f(this.tip).hasClass(Ze)){var d=m.getTransitionDurationFromElement(this.tip);f(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(d)}else c()}},Be.hide=function(e){function t(){i._hoverState!==Ge&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),f(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()}var i=this,n=this.getTipElement(),o=f.Event(this.constructor.Event.HIDE);if(f(this.element).trigger(o),!o.isDefaultPrevented()){if(f(n).removeClass(et),"ontouchstart"in document.documentElement&&f(document.body).children().off("mouseover",null,f.noop),this._activeTrigger.click=!1,this._activeTrigger[it]=!1,this._activeTrigger[tt]=!1,f(this.tip).hasClass(Ze)){var r=m.getTransitionDurationFromElement(n);f(n).one(m.TRANSITION_END,t).emulateTransitionEnd(r)}else t();this._hoverState=""}},Be.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Be.isWithContent=function(){return Boolean(this.getTitle())},Be.addAttachmentClass=function(e){f(this.getTipElement()).addClass(Ue+"-"+e)},Be.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},Be.setContent=function(){var e=this.getTipElement();this.setElementContent(f(e.querySelectorAll(".tooltip-inner")),this.getTitle()),f(e).removeClass(Ze+" "+et)},Be.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=ze(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?f(t).parent().is(e)||e.empty().append(t):e.text(f(t).text())},Be.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Be._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},Be._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?f(this.config.container):f(document).find(this.config.container)},Be._getAttachment=function(e){return Ke[e.toUpperCase()]},Be._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)f(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(e){return n.toggle(e)});else if("manual"!==e){var t=e===tt?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=e===tt?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;f(n.element).on(t,n.config.selector,function(e){return n._enter(e)}).on(i,n.config.selector,function(e){return n._leave(e)})}}),f(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Be._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Be._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||f(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?it:tt]=!0),f(t.getTipElement()).hasClass(et)||t._hoverState===Ge?t._hoverState=Ge:(clearTimeout(t._timeout),t._hoverState=Ge,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===Ge&&t.show()},t.config.delay.show):t.show())},Be._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||f(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),f(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?it:tt]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},Be._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},Be._getConfig=function(e){var t=f(this.element).data();return Object.keys(t).forEach(function(e){-1!==Ve.indexOf(e)&&delete t[e]}),"number"==typeof(e=s({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(We,e,this.constructor.DefaultType),e.sanitize&&(e.template=ze(e.template,e.whiteList,e.sanitizeFn)),e},Be._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},Be._cleanTipClass=function(){var e=f(this.getTipElement()),t=e.attr("class").match(Ye);null!==t&&t.length&&e.removeClass(t.join(""))},Be._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},Be._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(f(e).removeClass(Ze),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},ot._jQueryInterface=function(i){return this.each(function(){var e=f(this).data(Re),t="object"==typeof i&&i;if((e||!/dispose|hide/.test(i))&&(e||(e=new ot(this,t),f(this).data(Re,e)),"string"==typeof i)){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r(ot,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Qe}},{key:"NAME",get:function(){return We}},{key:"DATA_KEY",get:function(){return Re}},{key:"Event",get:function(){return Je}},{key:"EVENT_KEY",get:function(){return qe}},{key:"DefaultType",get:function(){return Xe}}]),ot);function ot(e,t){if(void 0===u)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}f.fn[We]=nt._jQueryInterface,f.fn[We].Constructor=nt,f.fn[We].noConflict=function(){return f.fn[We]=Fe,nt._jQueryInterface};var rt="popover",st="bs.popover",at="."+st,lt=f.fn[rt],ct="bs-popover",dt=new RegExp("(^|\\s)"+ct+"\\S+","g"),ut=s({},nt.Default,{placement:"right",trigger:"click",content:"",template:''}),pt=s({},nt.DefaultType,{content:"(string|element|function)"}),ht={HIDE:"hide"+at,HIDDEN:"hidden"+at,SHOW:"show"+at,SHOWN:"shown"+at,INSERTED:"inserted"+at,CLICK:"click"+at,FOCUSIN:"focusin"+at,FOCUSOUT:"focusout"+at,MOUSEENTER:"mouseenter"+at,MOUSELEAVE:"mouseleave"+at},ft=function(e){var t,i;function n(){return e.apply(this,arguments)||this}i=e,(t=n).prototype=Object.create(i.prototype),(t.prototype.constructor=t).__proto__=i;var o=n.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(e){f(this.getTipElement()).addClass(ct+"-"+e)},o.getTipElement=function(){return this.tip=this.tip||f(this.config.template)[0],this.tip},o.setContent=function(){var e=f(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var e=f(this.getTipElement()),t=e.attr("class").match(dt);null!==t&&0=this._offsets[o]&&(void 0===this._offsets[o+1]||e li > .active",Mt=((Ot=zt.prototype).show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&f(this._element).hasClass(Ht)||f(this._element).hasClass("disabled"))){var e,n,t=f(this._element).closest(".nav, .list-group")[0],o=m.getSelectorFromElement(this._element);if(t){var r="UL"===t.nodeName||"OL"===t.nodeName?jt:Pt;n=(n=f.makeArray(f(t).find(r)))[n.length-1]}var s=f.Event(Lt.HIDE,{relatedTarget:this._element}),a=f.Event(Lt.SHOW,{relatedTarget:n});if(n&&f(n).trigger(s),f(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(e=document.querySelector(o)),this._activate(this._element,t);var l=function(){var e=f.Event(Lt.HIDDEN,{relatedTarget:i._element}),t=f.Event(Lt.SHOWN,{relatedTarget:n});f(n).trigger(e),f(i._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},Ot.dispose=function(){f.removeData(this._element,Dt),this._element=null},Ot._activate=function(e,t,i){function n(){return o._transitionComplete(e,r,i)}var o=this,r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?f(t).children(Pt):f(t).find(jt))[0],s=i&&r&&f(r).hasClass("fade");if(r&&s){var a=m.getTransitionDurationFromElement(r);f(r).removeClass("show").one(m.TRANSITION_END,n).emulateTransitionEnd(a)}else n()},Ot._transitionComplete=function(e,t,i){if(t){f(t).removeClass(Ht);var n=f(t.parentNode).find("> .dropdown-menu .active")[0];n&&f(n).removeClass(Ht),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(f(e).addClass(Ht),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&f(e.parentNode).hasClass("dropdown-menu")){var o=f(e).closest(".dropdown")[0];if(o){var r=[].slice.call(o.querySelectorAll(".dropdown-toggle"));f(r).addClass(Ht)}e.setAttribute("aria-expanded",!0)}i&&i()},zt._jQueryInterface=function(i){return this.each(function(){var e=f(this),t=e.data(Dt);if(t||(t=new zt(this),e.data(Dt,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(zt,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),zt);function zt(e){this._element=e}f(document).on(Lt.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),Mt._jQueryInterface.call(f(this),"show")}),f.fn.tab=Mt._jQueryInterface,f.fn.tab.Constructor=Mt,f.fn.tab.noConflict=function(){return f.fn.tab=$t,Mt._jQueryInterface};var Bt,Wt="toast",Rt="bs.toast",qt="."+Rt,Ft=f.fn[Wt],Ut={CLICK_DISMISS:"click.dismiss"+qt,HIDE:"hide"+qt,HIDDEN:"hidden"+qt,SHOW:"show"+qt,SHOWN:"shown"+qt},Yt="show",Vt="showing",Xt={animation:"boolean",autohide:"boolean",delay:"number"},Kt={animation:!0,autohide:!0,delay:500},Qt=((Bt=Gt.prototype).show=function(){var e=this;function t(){e._element.classList.remove(Vt),e._element.classList.add(Yt),f(e._element).trigger(Ut.SHOWN),e._config.autohide&&e.hide()}if(f(this._element).trigger(Ut.SHOW),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Vt),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},Bt.hide=function(e){var t=this;this._element.classList.contains(Yt)&&(f(this._element).trigger(Ut.HIDE),e?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},Bt.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Yt)&&this._element.classList.remove(Yt),f(this._element).off(Ut.CLICK_DISMISS),f.removeData(this._element,Rt),this._element=null,this._config=null},Bt._getConfig=function(e){return e=s({},Kt,f(this._element).data(),"object"==typeof e&&e?e:{}),m.typeCheckConfig(Wt,e,this.constructor.DefaultType),e},Bt._setListeners=function(){var e=this;f(this._element).on(Ut.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return e.hide(!0)})},Bt._close=function(){function e(){t._element.classList.add("hide"),f(t._element).trigger(Ut.HIDDEN)}var t=this;if(this._element.classList.remove(Yt),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);f(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(i)}else e()},Gt._jQueryInterface=function(i){return this.each(function(){var e=f(this),t=e.data(Rt);if(t||(t=new Gt(this,"object"==typeof i&&i),e.data(Rt,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i](this)}})},r(Gt,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Xt}},{key:"Default",get:function(){return Kt}}]),Gt);function Gt(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}f.fn[Wt]=Qt._jQueryInterface,f.fn[Wt].Constructor=Qt,f.fn[Wt].noConflict=function(){return f.fn[Wt]=Ft,Qt._jQueryInterface},function(){if(void 0===f)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=f.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||4<=e[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=m,e.Alert=p,e.Button=T,e.Carousel=W,e.Collapse=ie,e.Dropdown=be,e.Modal=Le,e.Popover=ft,e.Scrollspy=At,e.Tab=Mt,e.Toast=Qt,e.Tooltip=nt,Object.defineProperty(e,"__esModule",{value:!0})}),jQuery(document).ready(function(t){var i=t(".cd-menu-trigger, .cd-lateral-nav .back, .menu-overlay"),n=t(".mp-pusher"),o=t("");i.on("click",function(e){i.toggleClass("is-clicked"),o.toggleClass("lateral-menu-is-open"),n.toggleClass("lateral-menu-is-open").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){}),t(".cd-lateral-nav").toggleClass("lateral-menu-is-open"),t(".cd-lateral-nav").hasClass("lateral-menu-is-open")?t("body").addClass("overflow-hidden"):(t("body").removeClass("overflow-hidden"),t("body").removeClass("menu-active")),t("html").hasClass("no-csstransitions")&&t("body").toggleClass("overflow-hidden")}),n.on("click",function(e){t(e.target).is(".cd-menu-trigger, .cd-menu-trigger span")||(i.removeClass("is-clicked"),o.removeClass("lateral-menu-is-open"),n.removeClass("lateral-menu-is-open").one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){t("body").removeClass("overflow-hidden")}),t(".cd-lateral-nav").removeClass("lateral-menu-is-open"),t("html").hasClass("no-csstransitions")&&t("body").removeClass("overflow-hidden"))}),t(".item-has-children").children(".icon").on("click",function(e){e.preventDefault(),e.stopPropagation(),t(this).toggleClass("submenu-open").next(".sub-menu").slideToggle(200).end().parent(".item-has-children").siblings(".item-has-children").children("a").removeClass("submenu-open").next(".sub-menu").slideUp(200)}),t(".item-has-children").children("a").on("click",function(e){})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.AOS=t()}(this,function(){"use strict";function y(){return d.Date.now()}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},b="Expected a function",n=NaN,o="[object Symbol]",r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,t="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,d=t||i||Function("return this")(),u=Object.prototype.toString,w=Math.max,x=Math.min;function p(n,o,e){var r,s,i,a,l,c,d=0,u=!1,p=!1,t=!0;if("function"!=typeof n)throw new TypeError(b);function h(e){var t=r,i=s;return r=s=void 0,d=e,a=n.apply(i,t)}function f(e){var t=e-c;return void 0===c||o<=t||t<0||p&&i<=e-d}function m(){var e,t=y();if(f(t))return g(t);l=setTimeout(m,(e=o-(t-c),p?x(e,i-(t-d)):e))}function g(e){return l=void 0,t&&r?h(e):(r=s=void 0,a)}function v(){var e,t=y(),i=f(t);if(r=arguments,s=this,c=t,i){if(void 0===l)return d=e=c,l=setTimeout(m,o),u?h(e):a;if(p)return l=setTimeout(m,o),h(c)}return void 0===l&&(l=setTimeout(m,o)),a}return o=S(o)||0,_(e)&&(u=!!e.leading,i=(p="maxWait"in e)?w(S(e.maxWait)||0,o):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==l&&clearTimeout(l),r=c=s=l=void(d=0)},v.flush=function(){return void 0===l?a:g(y())},v}function _(e){var t=typeof e;return e&&("object"==t||"function"==t)}function S(e){if("number"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&u.call(e)==o)return n;if(_(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var i=a.test(e);return i||l.test(e)?c(e.slice(2),i?2:8):s.test(e)?n:+e}function C(){return E.Date.now()}var h=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,g=/^0o[0-7]+$/i,v=parseInt,T="object"==typeof e&&e&&e.Object===Object&&e,k="object"==typeof self&&self&&self.Object===Object&&self,E=T||k||Function("return this")(),A=Object.prototype.toString,I=Math.max,O=Math.min;function D(e){var t=typeof e;return e&&("object"==t||"function"==t)}function N(e){if("number"==typeof e)return e;if("symbol"==typeof e||e&&"object"==typeof e&&"[object Symbol]"==A.call(e))return NaN;if(D(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=D(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(h,"");var i=m.test(e);return i||g.test(e)?v(e.slice(2),i?2:8):f.test(e)?NaN:+e}function $(n,o,e){var r,s,i,a,l,c,d=0,u=!1,p=!1,t=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function h(e){var t=r,i=s;return r=s=void 0,d=e,a=n.apply(i,t)}function f(e){var t=e-c;return void 0===c||o<=t||t<0||p&&i<=e-d}function m(){var e,t=C();if(f(t))return g(t);l=setTimeout(m,(e=o-(t-c),p?O(e,i-(t-d)):e))}function g(e){return l=void 0,t&&r?h(e):(r=s=void 0,a)}function v(){var e,t=C(),i=f(t);if(r=arguments,s=this,c=t,i){if(void 0===l)return d=e=c,l=setTimeout(m,o),u?h(e):a;if(p)return l=setTimeout(m,o),h(c)}return void 0===l&&(l=setTimeout(m,o)),a}return o=N(o)||0,D(e)&&(u=!!e.leading,i=(p="maxWait"in e)?I(N(e.maxWait)||0,o):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==l&&clearTimeout(l),r=c=s=l=void(d=0)},v.flush=function(){return void 0===l?a:g(C())},v}var L=function(){};function H(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),i=Array.prototype.slice.call(e.removedNodes);if(function e(t){var i=void 0,n=void 0;for(i=0;i=a.out&&!s.once?c():n>=a.in?i.animated||(o=l,(r=s.animatedClassNames)&&r.forEach(function(e){return o.classList.add(e)}),V("aos:in",l),i.options.id&&V("aos:in:"+i.options.id,l),i.animated=!0):i.animated&&!s.once&&c());var i,n,o,r,s,a,l,c})}function K(e){for(var t=0,i=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),i+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:i,left:t}}function Q(e,t,i){var n=e.getAttribute("data-aos-"+t);if(void 0!==n){if("true"===n)return!0;if("false"===n)return!1}return n||i}function G(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return{node:e}})}function J(){return document.all&&!window.atob}function Z(){var e,a;0r[0].parent().height()?C.call(this):(G(e,s[0].toString(),{dir:"y",dur:0,overwrite:"none"}),t.contentReset.y=null):(C.call(this),"y"===i.axis?k.call(this):"yx"===i.axis&&t.overflowed[1]&&G(e,s[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==i.axis&&(t.overflowed[1]?r[1].width()>r[1].parent().width()?C.call(this):(G(e,s[1].toString(),{dir:"x",dur:0,overwrite:"none"}),t.contentReset.x=null):(C.call(this),"x"===i.axis?k.call(this):"yx"===i.axis&&t.overflowed[0]&&G(e,s[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),a&&t&&(2===a&&i.callbacks.onImageLoad&&"function"==typeof i.callbacks.onImageLoad?i.callbacks.onImageLoad.call(this):3===a&&i.callbacks.onSelectorChange&&"function"==typeof i.callbacks.onSelectorChange?i.callbacks.onSelectorChange.call(this):i.callbacks.onUpdate&&"function"==typeof i.callbacks.onUpdate&&i.callbacks.onUpdate.call(this)),K.call(this)}})},scrollTo:function(a,l){if(void 0!==a&&null!=a){var e=c.call(this);return j(e).each(function(){var e=j(this);if(e.data(M)){var t=e.data(M),i=t.opt,n={trigger:"external",scrollInertia:i.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},o=j.extend(!0,{},n,l),r=V.call(this,a),s=0
","
"],r="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",s="yx"===i.axis?o[0]+o[1]:"x"===i.axis?o[1]:o[0],a="yx"===i.axis?"
":"",l=i.autoHideScrollbar?" "+x[6]:"",c="x"!==i.axis&&"rtl"===t.langDir?" "+x[7]:"";i.setWidth&&e.css("width",i.setWidth),i.setHeight&&e.css("height",i.setHeight),i.setLeft="y"!==i.axis&&"rtl"===t.langDir?"989999px":i.setLeft,e.addClass(h+" _"+M+"_"+t.idx+l+c).wrapInner("
");var d=j("#mCSB_"+t.idx),u=j("#mCSB_"+t.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||u.css("width",v(u)),"outside"===i.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),d.addClass("mCSB_outside").after(s)):(d.addClass("mCSB_inside").append(s),u.wrap(a)),b.call(this);var p=[j("#mCSB_"+t.idx+"_dragger_vertical"),j("#mCSB_"+t.idx+"_dragger_horizontal")];p[0].css("min-height",p[0].height()),p[1].css("min-width",p[1].width())},v=function(e){var t=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return j(this).outerWidth(!0)}).get())],i=e.parent().width();return ii.parent().width()?i.css({width:n,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("
").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},b=function(){var e=j(this).data(M),t=e.opt,i=j(".mCSB_"+e.idx+"_scrollbar:first"),n=ne(t.scrollButtons.tabindex)?"tabindex='"+t.scrollButtons.tabindex+"'":"",o=["","","",""],r=["x"===t.axis?o[2]:o[0],"x"===t.axis?o[3]:o[1],o[2],o[3]];t.scrollButtons.enable&&i.prepend(r[0]).append(r[1]).next(".mCSB_scrollTools").prepend(r[2]).append(r[3])},w=function(){var e=j(this).data(M),t=j("#mCSB_"+e.idx),i=j("#mCSB_"+e.idx+"_container"),n=[j("#mCSB_"+e.idx+"_dragger_vertical"),j("#mCSB_"+e.idx+"_dragger_horizontal")],o=[t.height()/i.outerHeight(!1),t.width()/i.outerWidth(!1)],r=[parseInt(n[0].css("min-height")),Math.round(o[0]*n[0].parent().height()),parseInt(n[1].css("min-width")),Math.round(o[1]*n[1].parent().width())],s=g&&r[1]t.height(),o>t.width()]},C=function(){var e=j(this),t=e.data(M),i=t.opt,n=j("#mCSB_"+t.idx),o=j("#mCSB_"+t.idx+"_container"),r=[j("#mCSB_"+t.idx+"_dragger_vertical"),j("#mCSB_"+t.idx+"_dragger_horizontal")];if(Q(e),("x"!==i.axis&&!t.overflowed[0]||"y"===i.axis&&t.overflowed[0])&&(r[0].add(o).css("top",0),G(e,"_resetY")),"y"!==i.axis&&!t.overflowed[1]||"x"===i.axis&&t.overflowed[1]){var s=dx=0;"rtl"===t.langDir&&(s=n.width()-o.outerWidth(!1),dx=Math.abs(s/t.scrollRatio.x)),o.css("left",s),r[1].css("left",dx),G(e,"_resetX")}},T=function(){var t=j(this),e=t.data(M),i=e.opt;if(!e.bindEvents){if(s.call(this),i.contentTouchScroll&&I.call(this),O.call(this),i.mouseWheel.enable){var n;!function e(){n=setTimeout(function(){j.event.special.mousewheel?(clearTimeout(n),D.call(t[0])):e()},100)}()}H.call(this),q.call(this),i.advanced.autoScrollOnFocus&&P.call(this),i.scrollButtons.enable&&F.call(this),i.keyboard.enable&&U.call(this),e.bindEvents=!0}},k=function(){var e=j(this),t=e.data(M),i=t.opt,n="mCS_"+t.idx,o=".mCSB_"+t.idx+"_scrollbar",r=j("#mCSB_"+t.idx+",#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,"+o+" ."+x[12]+",#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal,"+o+">a"),s=j("#mCSB_"+t.idx+"_container");i.advanced.releaseDraggableSelectors&&r.add(j(i.advanced.releaseDraggableSelectors)),i.advanced.extraDraggableSelectors&&r.add(j(i.advanced.extraDraggableSelectors)),t.bindEvents&&(j(document).add(j(!R()||top.document)).unbind("."+n),r.each(function(){j(this).unbind("."+n)}),clearTimeout(e[0]._focusTimeout),ee(e[0],"_focusTimeout"),clearTimeout(t.sequential.step),ee(t.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),ee(s[0],"onCompleteTimeout"),t.bindEvents=!1)},A=function(e){var t=j(this),i=t.data(M),n=i.opt,o=j("#mCSB_"+i.idx+"_container_wrapper"),r=o.length?o:j("#mCSB_"+i.idx+"_container"),s=[j("#mCSB_"+i.idx+"_scrollbar_vertical"),j("#mCSB_"+i.idx+"_scrollbar_horizontal")],a=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==n.axis&&(i.overflowed[0]&&!e?(s[0].add(a[0]).add(s[0].children("a")).css("display","block"),r.removeClass(x[8]+" "+x[10])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&a[0].css("display","none"),r.removeClass(x[10])):(s[0].css("display","none"),r.addClass(x[10])),r.addClass(x[8]))),"y"!==n.axis&&(i.overflowed[1]&&!e?(s[1].add(a[1]).add(s[1].children("a")).css("display","block"),r.removeClass(x[9]+" "+x[11])):(n.alwaysShowScrollbar?(2!==n.alwaysShowScrollbar&&a[1].css("display","none"),r.removeClass(x[11])):(s[1].css("display","none"),r.addClass(x[11])),r.addClass(x[9]))),i.overflowed[0]||i.overflowed[1]?t.removeClass(x[5]):t.addClass(x[5])},W=function(e){var t=e.type,i=e.target.ownerDocument!==document&&null!==frameElement?[j(frameElement).offset().top,j(frameElement).offset().left]:null,n=R()&&e.target.ownerDocument!==top.document&&null!==frameElement?[j(e.view.frameElement).offset().top,j(e.view.frameElement).offset().left]:[0,0];switch(t){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return i?[e.originalEvent.pageY-i[0]+n[0],e.originalEvent.pageX-i[1]+n[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var o=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],r=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[o.screenY,o.screenX,1-(r*C.scrollRatio.y)&&(2*$[3]<$[2]||"yx"===T.axis);if(C.overflowed[1])var a=A[1].parent().width()-A[1].width(),l=0-(a*C.scrollRatio.x)&&(2*$[2]<$[3]||"yx"===T.axis);s||l?(L||e.preventDefault(),x=1):(_=1,S.addClass("mCS_touch_action")),L&&e.preventDefault(),b="yx"===T.axis?[c-i,u-n]:"x"===T.axis?[null,u-n]:[c-i,null],E[0].idleTimer=250,C.overflowed[0]&&P(b[0],D,o,"y","all",!0),C.overflowed[1]&&P(b[1],D,o,"x",N,!0)}}function r(e){if(!ie(e)||z||W(e)[2])B=0;else{B=1,e.stopImmediatePropagation(),Q(S),f=Z();var t=k.offset();p=W(e)[0]-t.top,h=W(e)[1]-t.left,I=[],O=[]}}function s(e){if(ie(e)&&!z&&!W(e)[2]){d=0,e.stopImmediatePropagation(),_=x=0,g=Z();var t=k.offset(),i=W(e)[0]-t.top,n=W(e)[1]-t.left;if(!(30c.height()&&d("on",40)),"y"!==s.axis&&r.overflowed[1]&&(n<0?d("on",37):n>c.width()&&d("on",39)))}}).bind("mouseup."+e+" dragend."+e,function(e){B||(o&&(o=0,d("off",null)),z=!1)})},D=function(){if(j(this).data(M)){var u=j(this),p=u.data(M),h=p.opt,e="mCS_"+p.idx,f=j("#mCSB_"+p.idx),m=[j("#mCSB_"+p.idx+"_dragger_vertical"),j("#mCSB_"+p.idx+"_dragger_horizontal")],t=j("#mCSB_"+p.idx+"_container").find("iframe");t.length&&t.each(function(){j(this).bind("load",function(){R(this)&&j(this.contentDocument||this.contentWindow.document).bind("mousewheel."+e,function(e,t){i(e,t)})})}),f.bind("mousewheel."+e,function(e,t){i(e,t)})}function i(e,t){if(Q(u),!L(u,e.target)){var i="auto"!==h.mouseWheel.deltaFactor?parseInt(h.mouseWheel.deltaFactor):!(g&&e.deltaFactor<100)&&e.deltaFactor||100,n=h.scrollInertia;if("x"===h.axis||"x"===h.mouseWheel.axis)var o="x",r=[Math.round(i*p.scrollRatio.x),parseInt(h.mouseWheel.scrollAmount)],s="auto"!==h.mouseWheel.scrollAmount?r[1]:r[0]>=f.width()?.9*f.width():r[0],a=Math.abs(j("#mCSB_"+p.idx+"_container")[0].offsetLeft),l=m[1][0].offsetLeft,c=m[1].parent().width()-m[1].width(),d="y"===h.mouseWheel.axis?e.deltaY||t:e.deltaX;else o="y",r=[Math.round(i*p.scrollRatio.y),parseInt(h.mouseWheel.scrollAmount)],s="auto"!==h.mouseWheel.scrollAmount?r[1]:r[0]>=f.height()?.9*f.height():r[0],a=Math.abs(j("#mCSB_"+p.idx+"_container")[0].offsetTop),l=m[0][0].offsetTop,c=m[0].parent().height()-m[0].height(),d=e.deltaY||t;"y"===o&&!p.overflowed[0]||"x"===o&&!p.overflowed[1]||((h.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(d=-d),h.mouseWheel.normalizeDelta&&(d=d<0?-1:1),(0i.offset().left?-1:1,r=Math.abs(c[0].offsetLeft)-o*(.9*d.width())}else{if(!l.overflowed[0])return;n="y",o=e.pageY>i.offset().top?-1:1,r=Math.abs(c[0].offsetTop)-o*(.9*d.height())}G(a,r.toString(),{dir:n,scrollEasing:"mcsEaseInOut"})}})},P=function(){var r=j(this),e=r.data(M),s=e.opt,t="mCS_"+e.idx,a=j("#mCSB_"+e.idx+"_container"),l=a.parent();a.bind("focusin."+t,function(e){var o=j(document.activeElement),t=a.find(".mCustomScrollBox").length;o.is(s.advanced.autoScrollOnFocus)&&(Q(r),clearTimeout(r[0]._focusTimeout),r[0]._focusTimer=t?17*t:0,r[0]._focusTimeout=setTimeout(function(){var e=[oe(o)[0],oe(o)[1]],t=[a[0].offsetTop,a[0].offsetLeft],i=[0<=t[0]+e[0]&&t[0]+e[0]a").bind("contextmenu."+e,function(e){e.preventDefault()}).bind("mousedown."+e+" touchstart."+e+" pointerdown."+e+" MSPointerDown."+e+" mouseup."+e+" touchend."+e+" pointerup."+e+" MSPointerUp."+e+" mouseout."+e+" pointerout."+e+" MSPointerOut."+e+" click."+e,function(e){if(e.preventDefault(),te(e)){var t=j(this).attr("class");switch(s.type=r.scrollButtons.scrollType,e.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===s.type)return;z=!0,o.tweenRunning=!1,i("on",t);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===s.type)return;z=!1,s.dir&&i("off",t);break;case"click":if("stepped"!==s.type||o.tweenRunning)return;i("on",t)}}function i(e,t){s.scrollAmount=r.scrollButtons.scrollAmount,Y(n,e,t)}})},U=function(){var a=j(this),l=a.data(M),c=l.opt,d=l.sequential,e="mCS_"+l.idx,t=j("#mCSB_"+l.idx),u=j("#mCSB_"+l.idx+"_container"),p=u.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",i=u.find("iframe"),n=["blur."+e+" keydown."+e+" keyup."+e];function o(e){switch(e.type){case"blur":l.tweenRunning&&d.dir&&s("off",null);break;case"keydown":case"keyup":var t=e.keyCode?e.keyCode:e.which,i="on";if("x"!==c.axis&&(38===t||40===t)||"y"!==c.axis&&(37===t||39===t)){if((38===t||40===t)&&!l.overflowed[0]||(37===t||39===t)&&!l.overflowed[1])return;"keyup"===e.type&&(i="off"),j(document.activeElement).is(h)||(e.preventDefault(),e.stopImmediatePropagation(),s(i,t))}else if(33===t||34===t){if((l.overflowed[0]||l.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type){Q(a);var n=34===t?-1:1;if("x"===c.axis||"yx"===c.axis&&l.overflowed[1]&&!l.overflowed[0])var o="x",r=Math.abs(u[0].offsetLeft)-n*(.9*p.width());else o="y",r=Math.abs(u[0].offsetTop)-n*(.9*p.height());G(a,r.toString(),{dir:o,scrollEasing:"mcsEaseInOut"})}}else if((35===t||36===t)&&!j(document.activeElement).is(h)&&((l.overflowed[0]||l.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type)){if("x"===c.axis||"yx"===c.axis&&l.overflowed[1]&&!l.overflowed[0])o="x",r=35===t?Math.abs(p.width()-u.outerWidth(!1)):0;else o="y",r=35===t?Math.abs(p.height()-u.outerHeight(!1)):0;G(a,r.toString(),{dir:o,scrollEasing:"mcsEaseInOut"})}}function s(e,t){d.type=c.keyboard.scrollType,d.scrollAmount=c.keyboard.scrollAmount,"stepped"===d.type&&l.tweenRunning||Y(a,e,t)}}i.length&&i.each(function(){j(this).bind("load",function(){R(this)&&j(this.contentDocument||this.contentWindow.document).bind(n[0],function(e){o(e)})})}),t.attr("tabindex","0").bind(n[0],function(e){o(e)})},Y=function(u,e,t,p,h){var f=u.data(M),m=f.opt,g=f.sequential,v=j("#mCSB_"+f.idx+"_container"),i="stepped"===g.type,y=m.scrollInertia<26?26:m.scrollInertia,b=m.scrollInertia<1?17:m.scrollInertia;switch(e){case"on":if(g.dir=[t===x[16]||t===x[15]||39===t||37===t?"x":"y",t===x[13]||t===x[15]||38===t||37===t?-1:1],Q(u),ne(t)&&"stepped"===g.type)return;w(i);break;case"off":clearTimeout(g.step),ee(g,"step"),Q(u),(i||f.tweenRunning&&g.dir)&&w(!0)}function w(e){m.snapAmount&&(g.scrollAmount=m.snapAmount instanceof Array?"x"===g.dir[0]?m.snapAmount[1]:m.snapAmount[0]:m.snapAmount);var t="stepped"!==g.type,i=h||(e?t?y/1.5:b:1e3/60),n=e?t?7.5:40:2.5,o=[Math.abs(v[0].offsetTop),Math.abs(v[0].offsetLeft)],r=[10=b[1]?w=[b[0],b[1]]:w[0]=-w[0],o[0].mcs||(k(),T("onInit")&&i.callbacks.onInit.call(o[0])),clearTimeout(l[0].onCompleteTimeout),J(g[0],v,Math.round(w[1]),s[1],r.scrollEasing),!t.tweenRunning&&(0===y&&0<=w[0]||y===b[0]&&w[0]<=b[0])||J(l[0],v,Math.round(w[0]),s[0],r.scrollEasing,r.overwrite,{onStart:function(){r.callbacks&&r.onStart&&!t.tweenRunning&&(T("onScrollStart")&&(k(),i.callbacks.onScrollStart.call(o[0])),t.tweenRunning=!0,E(g),t.cbOffsets=[i.callbacks.alwaysTriggerOffsets||y>=b[0]+x,i.callbacks.alwaysTriggerOffsets||y<=-_])},onUpdate:function(){r.callbacks&&r.onUpdate&&T("whileScrolling")&&(k(),i.callbacks.whileScrolling.call(o[0]))},onComplete:function(){if(r.callbacks&&r.onComplete){"yx"===i.axis&&clearTimeout(l[0].onCompleteTimeout);var e=l[0].idleTimer||0;l[0].onCompleteTimeout=setTimeout(function(){T("onScroll")&&(k(),i.callbacks.onScroll.call(o[0])),T("onTotalScroll")&&w[1]>=b[1]-S&&t.cbOffsets[0]&&(k(),i.callbacks.onTotalScroll.call(o[0])),T("onTotalScrollBack")&&w[1]<=C&&t.cbOffsets[1]&&(k(),i.callbacks.onTotalScrollBack.call(o[0])),t.tweenRunning=!1,l[0].idleTimer=0,E(g,"hide")},e)}}})}function T(e){return t&&i.callbacks[e]&&"function"==typeof i.callbacks[e]}function k(){var e=[l[0].offsetTop,l[0].offsetLeft],t=[g[0].offsetTop,g[0].offsetLeft],i=[l.outerHeight(!1),l.outerWidth(!1)],n=[a.height(),a.width()];o[0].mcs={content:l,top:e[0],left:e[1],draggerTop:t[0],draggerLeft:t[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(i[0])-n[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(i[1])-n[1])),direction:r.dir}}},J=function(e,t,i,n,o,r,s){e._mTween||(e._mTween={top:{},left:{}});var a,l,c=(s=s||{}).onStart||function(){},d=s.onUpdate||function(){},u=s.onComplete||function(){},p=Z(),h=0,f=e.offsetTop,m=e.style,g=e._mTween[t];"left"===t&&(f=e.offsetLeft);var v=i-f;function y(){g.stop||(h||c.call(),h=Z()-p,b(),h>=g.time&&(g.time=h>g.time?h+a-(h-g.time):h+a-1,g.time]+>/g,"")),n&&(l=b(l)),l=l.toUpperCase(),r="contains"===i?0<=l.indexOf(t):l.startsWith(t)))break}return r}function O(e){return parseInt(e,10)||0}I.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent?(h?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=e,i.fireEvent("on"+e,t)):this.trigger(e)};var f={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},m=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,v=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function y(e){return f[e]}function b(e){return(e=e.toString())&&e.replace(m,y).replace(v,"")}var w,x,_,C,T=(w={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},x="(?:"+Object.keys(w).join("|")+")",_=RegExp(x),C=RegExp(x,"g"),function(e){return e=null==e?"":""+e,_.test(e)?e.replace(C,A):e});function A(e){return w[e]}var D={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"},N=27,$=13,L=32,H=9,j=38,M=40,z={success:!1,major:"3"};try{z.full=(I.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),z.major=z.full[0],z.success=!0}catch(e){}var B=0,W=".bs.select",R={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},q={MENU:"."+R.MENU},F={span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};F.a.setAttribute("role","option"),F.subtext.className="text-muted",F.text=F.span.cloneNode(!1),F.text.className="text",F.checkMark=F.span.cloneNode(!1);var U=new RegExp(j+"|"+M),Y=new RegExp("^"+H+"$|"+N),V=function(e,t,i){var n=F.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?n.appendChild(e):n.innerHTML=e),void 0!==t&&""!==t&&(n.className=t),null!=i&&n.classList.add("optgroup-"+i),n},X=function(e,t,i){var n=F.a.cloneNode(!0);return e&&(11===e.nodeType?n.appendChild(e):n.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&(n.className=t),"4"===z.major&&n.classList.add("dropdown-item"),i&&n.setAttribute("style",i),n},K=function(e,t){var i,n,o=F.text.cloneNode(!1);if(e.content)o.innerHTML=e.content;else{if(o.textContent=e.text,e.icon){var r=F.whitespace.cloneNode(!1);(n=(!0===t?F.i:F.span).cloneNode(!1)).className=e.iconBase+" "+e.icon,F.fragment.appendChild(n),F.fragment.appendChild(r)}e.subtext&&((i=F.subtext.cloneNode(!1)).textContent=e.subtext,o.appendChild(i))}if(!0===t)for(;0'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:e},G.prototype={constructor:G,init:function(){var i=this,e=this.$element.attr("id");this.selectId=B++,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.options.showTick=this.$element[0].classList.contains("show-tick"),this.$newElement=this.createDropdown(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(q.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(R.MENURIGHT),void 0!==e&&this.$button.attr("data-id",e),this.checkDisabled(),this.clickListener(),this.options.liveSearch&&this.liveSearchListener(),this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+W,function(){if(i.isVirtual()){var e=i.$menuInner[0],t=e.firstChild.cloneNode(!1);e.replaceChild(t,e.firstChild),e.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(e){i.$menuInner.attr("aria-expanded",!1),i.$element.trigger("hide"+W,e)},"hidden.bs.dropdown":function(e){i.$element.trigger("hidden"+W,e)},"show.bs.dropdown":function(e){i.$menuInner.attr("aria-expanded",!0),i.$element.trigger("show"+W,e)},"shown.bs.dropdown":function(e){i.$element.trigger("shown"+W,e)}}),i.$element[0].hasAttribute("required")&&this.$element.on("invalid"+W,function(){i.$button[0].classList.add("bs-invalid"),i.$element.on("shown"+W+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+W+".invalid")}).on("rendered"+W,function(){this.validity.valid&&i.$button[0].classList.remove("bs-invalid"),i.$element.off("rendered"+W)}),i.$button.on("blur"+W,function(){i.$element.trigger("focus").trigger("blur"),i.$button.off("blur"+W)})}),setTimeout(function(){i.createLi(),i.$element.trigger("loaded"+W)})},createDropdown:function(){var e=this.multiple||this.options.showTick?" show-tick":"",t="",i=this.autofocus?" autofocus":"";z.major<4&&this.$element.parent().hasClass("input-group")&&(t=" input-group-btn");var n,o="",r="",s="",a="";return this.options.header&&(o='
'+this.options.header+"
"),this.options.liveSearch&&(r=''),this.multiple&&this.options.actionsBox&&(s='
"),this.multiple&&this.options.doneButton&&(a='
"),n='",I(n)},setPositionData:function(){this.selectpicker.view.canHighlight=[];for(var e=0;e=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(D,e){e=e||0;var N=this;this.selectpicker.current=D?this.selectpicker.search:this.selectpicker.main;var $,L,H=[];function i(e,t){var i,n,o,r,s,a,l,c,d,u,p=N.selectpicker.current.elements.length,h=[],f=!0,m=N.isVirtual();N.selectpicker.view.scrollTop=e,!0===m&&N.sizeInfo.hasScrollBar&&N.$menu[0].offsetWidth>N.sizeInfo.totalMenuWidth&&(N.sizeInfo.menuWidth=N.$menu[0].offsetWidth,N.sizeInfo.totalMenuWidth=N.sizeInfo.menuWidth+N.sizeInfo.scrollBarWidth,N.$menu.css("min-width",N.sizeInfo.menuWidth)),i=Math.ceil(N.sizeInfo.menuInnerHeight/N.sizeInfo.liHeight*1.5),n=Math.round(p/i)||1;for(var g=0;gp-1?0:N.selectpicker.current.data[p-1].position-N.selectpicker.current.data[N.selectpicker.view.position1-1].position,w.firstChild.style.marginTop=y+"px",w.firstChild.style.marginBottom=b+"px"),w.firstChild.appendChild(x)}if(N.prevActiveIndex=N.activeIndex,N.options.liveSearch){if(D&&t){var I,O=0;N.selectpicker.view.canHighlight[O]||(O=1+N.selectpicker.view.canHighlight.slice(1).indexOf(!0)),I=N.selectpicker.view.visibleElements[O],N.selectpicker.view.currentActive&&(N.selectpicker.view.currentActive.classList.remove("active"),N.selectpicker.view.currentActive.firstChild&&N.selectpicker.view.currentActive.firstChild.classList.remove("active")),I&&(I.classList.add("active"),I.firstChild&&I.firstChild.classList.add("active")),N.activeIndex=(N.selectpicker.current.data[O]||{}).index}}else N.$menuInner.trigger("focus")}this.setPositionData(),i(e,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(e,t){N.noScroll||i(this.scrollTop,t),N.noScroll=!1}),I(window).off("resize"+W+"."+this.selectId+".createView").on("resize"+W+"."+this.selectId+".createView",function(){N.$newElement.hasClass(R.SHOW)&&i(N.$menuInner[0].scrollTop)})},setPlaceholder:function(){var e=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),e=!0;var t=this.$element[0],i=!1,n=!this.selectpicker.view.titleOption.parentNode;if(n)this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",i=void 0===I(t.options[t.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected");!n&&0===this.selectpicker.view.titleOption.index||t.insertBefore(this.selectpicker.view.titleOption,t.firstChild),i&&(t.selectedIndex=0)}return e},createLi:function(){var l=this,f=this.options.iconBase,m=':not([hidden]):not([data-hidden="true"])',g=[],v=[],c=0,y=0,e=this.setPlaceholder()?1:0;this.options.hideDisabled&&(m+=":not(:disabled)"),!l.options.showTick&&!l.multiple||F.checkMark.parentNode||(F.checkMark.className=f+" "+l.options.tickIcon+" check-mark",F.a.appendChild(F.checkMark));var t=this.$element[0].querySelectorAll("select > *"+m);function b(e){var t=v[v.length-1];t&&"divider"===t.type&&(t.optID||e.optID)||((e=e||{}).type="divider",g.push(V(!1,R.DIVIDER,e.optID?e.optID+"div":void 0)),v.push(e))}function w(e,t){if((t=t||{}).divider="true"===e.getAttribute("data-divider"),t.divider)b({optID:t.optID});else{var i=v.length,n=e.style.cssText,o=n?T(n):"",r=(e.className||"")+(t.optgroupClass||"");t.optID&&(r="opt "+r),t.text=e.textContent,t.content=e.getAttribute("data-content"),t.tokens=e.getAttribute("data-tokens"),t.subtext=e.getAttribute("data-subtext"),t.icon=e.getAttribute("data-icon"),t.iconBase=f;var s=K(t);g.push(V(X(s,r,o),"",t.optID)),e.liIndex=i,t.display=t.content||t.text,t.type="option",t.index=i,t.option=e,t.disabled=t.disabled||e.disabled,v.push(t);var a=0;t.display&&(a+=t.display.length),t.subtext&&(a+=t.subtext.length),t.icon&&(a+=1),c li")},render:function(){this.setPlaceholder();var e,t=this.$element[0].selectedOptions,i=t.length,n=this.$button[0],o=n.querySelector(".filter-option-inner-inner"),r=document.createTextNode(this.options.multipleSeparator),s=F.fragment.cloneNode(!1),a=!1;if(this.togglePlaceholder(),this.tabIndex(),"static"===this.options.selectedTextFormat)s=K({text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1")).length&&i>e[1]||1===e.length&&2<=i))){for(var l=0;l option"+p+", optgroup"+p+" option"+p).length,f="function"==typeof this.options.countSelectedText?this.options.countSelectedText(i,h):this.options.countSelectedText;s=K({text:f.replace("{0}",i.toString()).replace("{1}",h.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),s.childNodes.length||(s=K({text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),n.title=s.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&a&&P([s],this.options.whiteList,this.options.sanitizeFn),o.innerHTML="",o.appendChild(s),z.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var m=n.querySelector(".filter-expand"),g=o.cloneNode(!0);g.className="filter-expand",m?n.replaceChild(g,m):n.appendChild(g)}this.$element.trigger("rendered"+W)},setStyle:function(e,t){var i,n=this.$button[0],o=this.$newElement[0],r=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),z.major<4&&(o.classList.add("bs3"),o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),i=e?e.trim():r,"add"==t?i&&n.classList.add.apply(n.classList,i.split(" ")):"remove"==t?i&&n.classList.remove.apply(n.classList,i.split(" ")):(r&&n.classList.remove.apply(n.classList,r.split(" ")),i&&n.classList.add.apply(n.classList,i.split(" ")))},liHeight:function(e){if(e||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),o=document.createElement("ul"),r=document.createElement("li"),s=document.createElement("li"),a=document.createElement("li"),l=document.createElement("a"),c=document.createElement("span"),d=this.options.header&&0this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)o=3this.options.size){for(var v=0;vthis.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth,this.$menu.css("min-width",this.sizeInfo.totalMenuWidth)),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(e){if(this.liHeight(e),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var t,i=this,n=I(window),o=0;if(this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()}),"auto"===this.options.size?n.off("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize").on("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&n.off("resize"+W+"."+this.selectId+".setMenuSize scroll"+W+"."+this.selectId+".setMenuSize"),e)o=this.$menuInner[0].scrollTop;else if(!i.multiple){var r=i.$element[0];"number"==typeof(t=(r.options[r.selectedIndex]||{}).liIndex)&&!1!==i.options.size&&(o=(o=i.sizeInfo.liHeight*t)-i.sizeInfo.menuInnerHeight/2+i.sizeInfo.liHeight/2)}i.createView(!1,o)}},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.$element.on("loaded"+W,function(){i.liHeight(),i.setMenuSize();var e=i.$newElement.clone().appendTo("body"),t=e.css("width","auto").children("button").outerWidth();e.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,t),i.$newElement.css("width",i.sizeInfo.selectWidth+"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[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=I('
');function e(e){var t={},i=s.options.display||!!I.fn.dropdown.Constructor.Default&&I.fn.dropdown.Constructor.Default.display;s.$bsContainer.addClass(e.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(R.DROPUP,e.hasClass(R.DROPUP)),n=e.offset(),a.is("body")?o={top:0,left:0}:((o=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),o.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),r=e.hasClass(R.DROPUP)?0:e[0].offsetHeight,(z.major<4||"static"===i)&&(t.top=n.top-o.top+r,t.left=n.left-o.left),t.width=e[0].offsetWidth,s.$bsContainer.css(t)}var n,o,r,s=this,a=I(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){s.isDisabled()||(e(s.$newElement),s.$bsContainer.appendTo(s.options.container).toggleClass(R.SHOW,!s.$button.hasClass(R.SHOW)).append(s.$menu))}),I(window).off("resize"+W+"."+this.selectId+" scroll"+W+"."+this.selectId).on("resize"+W+"."+this.selectId+" scroll"+W+"."+this.selectId,function(){s.$newElement.hasClass(R.SHOW)&&e(s.$newElement)}),this.$element.on("hide"+W,function(){s.$menu.data("height",s.$menu.height()),s.$bsContainer.detach()})},setOptionStatus:function(){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e
');x[2]&&(_=_.replace("{var}",x[2][1"+_+"
")),l=!1,T.$element.trigger("maxReached"+W)),g&&y&&(C.append(I("
"+S+"
")),l=!1,T.$element.trigger("maxReachedGrp"+W)),setTimeout(function(){T.setSelected(r,!1)},10),C.delay(750).fadeOut(300,function(){I(this).remove()})}}}else c.prop("selected",!1),d.selected=!0,T.setSelected(r,!0);!T.multiple||T.multiple&&1===T.options.maxOptions?T.$button.trigger("focus"):T.options.liveSearch&&T.$searchbox.trigger("focus"),l&&(s!=k(T.$element[0])&&T.multiple||a!=T.$element.prop("selectedIndex")&&!T.multiple)&&(E=[d.index,u.prop("selected"),s],T.$element.triggerNative("change"))}}),this.$menu.on("click","li."+R.DISABLED+" a, ."+R.POPOVERHEADER+", ."+R.POPOVERHEADER+" :not(.close)",function(e){e.currentTarget==this&&(e.preventDefault(),e.stopPropagation(),T.options.liveSearch&&!I(e.target).hasClass("close")?T.$searchbox.trigger("focus"):T.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(e){e.preventDefault(),e.stopPropagation(),T.options.liveSearch?T.$searchbox.trigger("focus"):T.$button.trigger("focus")}),this.$menu.on("click","."+R.POPOVERHEADER+" .close",function(){T.$button.trigger("click")}),this.$searchbox.on("click",function(e){e.stopPropagation()}),this.$menu.on("click",".actions-btn",function(e){T.options.liveSearch?T.$searchbox.trigger("focus"):T.$button.trigger("focus"),e.preventDefault(),e.stopPropagation(),I(this).hasClass("bs-select-all")?T.selectAll():T.deselectAll()}),this.$element.on("change"+W,function(){T.render(),T.$element.trigger("changed"+W,E),E=null}).on("focus"+W,function(){T.options.mobile||T.$button.trigger("focus")})},liveSearchListener:function(){var h=this,f=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){h.$searchbox.val()&&h.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(e){e.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var e=h.$searchbox.val();if(h.selectpicker.search.elements=[],h.selectpicker.search.data=[],e){var t=[],i=e.toUpperCase(),n={},o=[],r=h._searchStyle(),s=h.options.liveSearchNormalize;s&&(i=b(i)),h._$lisSelected=h.$menuInner.find(".selected");for(var a=0;a=l.selectpicker.view.canHighlight.length&&(t=0),l.selectpicker.view.canHighlight[t+m]||(t=t+1+l.selectpicker.view.canHighlight.slice(t+m+1).indexOf(!0))),e.preventDefault();var g=m+t;e.which===j?0===m&&t===c.length-1?(l.$menuInner[0].scrollTop=l.$menuInner[0].scrollHeight,g=l.selectpicker.current.elements.length-1):d=(r=(o=l.selectpicker.current.data[g]).position-o.height)h+l.sizeInfo.menuInnerHeight),(n=l.selectpicker.main.elements[v]).classList.add("active"),n.firstChild&&n.firstChild.classList.add("active"),l.activeIndex=b[_],n.firstChild.focus(),d&&(l.$menuInner[0].scrollTop=r),s.trigger("focus")}}i&&(e.which===L&&!l.selectpicker.keydown.keyHistory||e.which===$||e.which===H&&l.options.selectOnTab)&&(e.which!==L&&e.preventDefault(),l.options.liveSearch&&e.which===L||(l.$menuInner.find(".active a").trigger("click",!0),s.trigger("focus"),l.options.liveSearch||(e.preventDefault(),I(document).data("spaceSelect",!0))))}},mobile:function(){this.$element[0].classList.add("mobile-device")},refresh:function(){var e=I.extend({},this.options,this.$element.data());this.options=e,this.checkDisabled(),this.setStyle(),this.render(),this.createLi(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+W)},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.$bsContainer.remove():this.$menu.remove(),this.$element.off(W).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),I(window).off(W+"."+this.selectId)}};var Z=I.fn.selectpicker;I.fn.selectpicker=J,I.fn.selectpicker.Constructor=G,I.fn.selectpicker.noConflict=function(){return I.fn.selectpicker=Z,this},I(document).off("keydown.bs.dropdown.data-api").on("keydown"+W,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',G.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(e){e.stopPropagation()}),I(window).on("load"+W+".data-api",function(){I(".selectpicker").each(function(){var e=I(this);J.call(e,e.data())})})}(e)}),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(c){"use strict";var o,r=window.Slick||{};o=0,(r=function(e,t){var i,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(e),appendDots:c(e),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return c('