!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(w,I){"use strict";var t=[],x=w.document,H=Object.getPrototypeOf,a=t.slice,z=t.concat,$=t.push,r=t.indexOf,n={},F=n.toString,q=n.hasOwnProperty,R=q.toString,W=R.call(Object),g={};function B(t,e){var n=(e=e||x).createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function V(t,e){return e.toUpperCase()}var e="3.2.1",T=function(t,e){return new T.fn.init(t,e)},X=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,U=/^-ms-/,Y=/-([a-z])/g;function Q(t){var e=!!t&&"length"in t&&t.length,n=T.type(t);return"function"!==n&&!T.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0>10|55296,1023&i|56320)}function H(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}function z(){x()}var t,f,b,o,$,p,F,q,w,l,c,x,T,n,E,g,i,r,m,C="sizzle"+ +new Date,v=I.document,A=0,R=0,W=ht(),B=ht(),y=ht(),V=function(t,e){return t===e&&(c=!0),0},X={}.hasOwnProperty,e=[],U=e.pop,Y=e.push,S=e.push,Q=e.slice,_=function(t,e){for(var n=0,i=t.length;n+~]|"+s+")"+s+"*"),nt=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),it=new RegExp(Z),rt=new RegExp("^"+a+"$"),d={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},ot=/^(?:input|select|textarea|button)$/i,st=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,at=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,lt=/[+~]/,O=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig"),ct=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ut=M(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{S.apply(e=Q.call(v.childNodes),v.childNodes),e[v.childNodes.length].nodeType}catch(t){S={apply:e.length?function(t,e){Y.apply(t,Q.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function D(t,e,n,i){var r,o,s,a,l,c,u,h=e&&e.ownerDocument,d=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return n;if(!i&&((e?e.ownerDocument||e:v)!==T&&x(e),e=e||T,E)){if(11!==d&&(l=at.exec(t)))if(r=l[1]){if(9===d){if(!(s=e.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(h&&(s=h.getElementById(r))&&m(e,s)&&s.id===r)return n.push(s),n}else{if(l[2])return S.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return S.apply(n,e.getElementsByClassName(r)),n}if(f.qsa&&!y[t+" "]&&(!g||!g.test(t))){if(1!==d)h=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(ct,H):e.setAttribute("id",a=C),o=(c=p(t)).length;o--;)c[o]="#"+a+" "+P(c[o]);u=c.join(","),h=lt.test(t)&>(e.parentNode)||e}if(u)try{return S.apply(n,h.querySelectorAll(u)),n}catch(t){}finally{a===C&&e.removeAttribute("id")}}}return q(t.replace(k,"$1"),e,n,i)}function ht(){var n=[];function i(t,e){return n.push(t+" ")>b.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function j(t){return t[C]=!0,t}function L(t){var e=T.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function dt(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===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&&ut(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function N(s){return j(function(o){return o=+o,j(function(t,e){for(var n,i=s([],t.length,o),r=i.length;r--;)t[n=i[r]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=D.support={},$=D.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},x=D.setDocument=function(t){var t=t?t.ownerDocument||t:v;return t!==T&&9===t.nodeType&&t.documentElement&&(n=(T=t).documentElement,E=!$(T),v!==T&&(t=T.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",z,!1):t.attachEvent&&t.attachEvent("onunload",z)),f.attributes=L(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=L(function(t){return t.appendChild(T.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=u.test(T.getElementsByClassName),f.getById=L(function(t){return n.appendChild(t).id=C,!T.getElementsByName||!T.getElementsByName(C).length}),f.getById?(b.filter.ID=function(t){var e=t.replace(O,h);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&E)return(e=e.getElementById(t))?[e]:[]}):(b.filter.ID=function(t){var e=t.replace(O,h);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&E){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),b.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[r++];)1===n.nodeType&&i.push(n);return i},b.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&E)return e.getElementsByClassName(t)},i=[],g=[],(f.qsa=u.test(T.querySelectorAll))&&(L(function(t){n.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+G+")"),t.querySelectorAll("[id~="+C+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]")}),L(function(t){t.innerHTML="";var e=T.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),n.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(f.matchesSelector=u.test(r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&L(function(t){f.disconnectedMatch=r.call(t,"*"),r.call(t,"[s!='']:x"),i.push("!=",Z)}),g=g.length&&new RegExp(g.join("|")),i=i.length&&new RegExp(i.join("|")),t=u.test(n.compareDocumentPosition),m=t||u.test(n.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=t?function(t,e){var n;return t===e?(c=!0,0):(n=!t.compareDocumentPosition-!e.compareDocumentPosition)||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===n?t===T||t.ownerDocument===v&&m(v,t)?-1:e===T||e.ownerDocument===v&&m(v,e)?1:l?_(l,t)-_(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!r||!o)return t===T?-1:e===T?1:r?-1:o?1:l?_(l,t)-_(l,e):0;if(r===o)return ft(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ft(s[i],a[i]):s[i]===v?-1:a[i]===v?1:0}),T},D.matches=function(t,e){return D(t,null,null,e)},D.matchesSelector=function(t,e){if((t.ownerDocument||t)!==T&&x(t),e=e.replace(nt,"='$1']"),f.matchesSelector&&E&&!y[e+" "]&&(!i||!i.test(e))&&(!g||!g.test(e)))try{var n=r.call(t,e);if(n||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(O,h),t[3]=(t[3]||t[4]||t[5]||"").replace(O,h),"~="===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]||D.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]&&D.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return d.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&it.test(n)&&(e=(e=p(n,!0))&&n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(O,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=W[t+" "];return e||(e=new RegExp("(^|"+s+")"+t+"("+s+"|$)"))&&W(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=D.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,J=/^.[^:#\[\.,]*$/;function tt(t,n,i){return T.isFunction(n)?T.grep(t,function(t,e){return!!n.call(t,e,t)!==i}):n.nodeType?T.grep(t,function(t){return t===n!==i}):"string"!=typeof n?T.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/,it=((T.fn.init=function(t,e,n){if(t){if(n=n||et,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):T.isFunction(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:nt.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),Z.test(i[1])&&T.isPlainObject(e))for(var i in e)T.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i])}else(n=x.getElementById(i[2]))&&(this[0]=n,this.length=1)}return this}).prototype=T.fn,et=T(x),/^(?:parents|prev(?:Until|All))/),rt={children:!0,contents:!0,next:!0,prev:!0};function ot(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]+)/i,wt=/^$|\/(?:java|ecma)script/i,p={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function y(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&l(t,e)?T.merge([t],n):n}function xt(t,e){for(var n=0,i=t.length;nx",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue;var Ct=x.documentElement,At=/^key/,St=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,kt=/^([^.]*)(?:\.(.+)|)/;function Ot(){return!0}function _(){return!1}function Dt(){try{return x.activeElement}catch(t){}}function jt(t,e,n,i,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)jt(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=_;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return T().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),t.each(function(){T.event.add(this,e,r,i,n)})}T.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,h,d,f,p=v.get(e);if(p)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&T.find.matchesSelector(Ct,r),n.guid||(n.guid=T.guid++),a=(a=p.events)||(p.events={}),s=(s=p.handle)||(p.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(E)||[""]).length;l--;)h=f=(d=kt.exec(t[l])||[])[1],d=(d[2]||"").split(".").sort(),h&&(c=T.event.special[h]||{},h=(r?c.delegateType:c.bindType)||h,c=T.event.special[h]||{},f=T.extend({type:h,origType:f,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&T.expr.match.needsContext.test(r),namespace:d.join(".")},o),(u=a[h])||((u=a[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,d,s))||e.addEventListener&&e.addEventListener(h,s),c.add&&(c.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),r?u.splice(u.delegateCount++,0,f):u.push(f),T.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,s,a,l,c,u,h,d,f,p,g,m=v.hasData(t)&&v.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(E)||[""]).length;c--;)if(f=g=(a=kt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=T.event.special[f]||{},d=l[f=(i?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));s&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||T.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)T.event.remove(t,f+e[c],n,i,!0);T.isEmptyObject(l)&&v.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,s=T.event.fix(t),a=new Array(arguments.length),t=(v.get(this,"events")||{})[s.type]||[],l=T.event.special[s.type]||{};for(a[0]=s,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,Nt=/\s*$/g;function Ht(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&T(">tbody",t)[0]||t}function zt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function $t(t){var e=Mt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Ft(t,e){var n,i,r,o,s,a;if(1===e.nodeType){if(v.hasData(t)&&(o=v.access(t),s=v.set(e,o),a=o.events))for(r in delete s.handle,s.events={},a)for(n=0,i=a[r].length;n")},clone:function(t,e,n){var i,r,o,s,a,l,c,u=t.cloneNode(!0),h=T.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(s=y(u),i=0,r=(o=y(t)).length;i").prop({charset:n.scriptCharset,src:n.url}).on("load error",r=function(t){i.remove(),r=null,t&&e("error"===t.type?404:200,t.type)}),x.head.appendChild(i[0])},abort:function(){r&&r()}}}),[]),Fe=/(=)\?(?=&|$)|\?\?/,qe=(T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$e.pop()||T.expando+"_"+_e++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,o,s=!1!==t.jsonp&&(Fe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Fe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=T.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Fe,"$1"+i):!1!==t.jsonp&&(t.url+=(be.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||T.error(i+" was not called"),o[0]},t.dataTypes[0]="json",r=w[i],w[i]=function(){o=arguments},n.always(function(){void 0===r?T(w).removeProp(i):w[i]=r,t[i]&&(t.jsonpCallback=e.jsonpCallback,$e.push(i)),o&&T.isFunction(r)&&r(o[0]),o=r=void 0}),"script"}),g.createHTMLDocument=((t=x.implementation.createHTMLDocument("").body).innerHTML="
",2===t.childNodes.length),T.parseHTML=function(t,e,n){var i;return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((i=(e=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,e.head.appendChild(i)):e=x),i=!n&&[],(n=Z.exec(t))?[e.createElement(n[1])]:(n=Et([t],e,i),i&&i.length&&T(i).remove(),T.merge([],n.childNodes)))},T.fn.load=function(t,e,n){var i,r,o,s=this,a=t.indexOf(" ");return-1").append(T.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){T.fn[e]=function(t){return this.on(e,t)}}),T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(t,e,n){var i,r,o,s,a=T.css(t,"position"),l=T(t),c={};"static"===a&&(t.style.position="relative"),o=l.offset(),i=T.css(t,"top"),s=T.css(t,"left"),a=("absolute"===a||"fixed"===a)&&-1<(i+s).indexOf("auto")?(r=(a=l.position()).top,a.left):(r=parseFloat(i)||0,parseFloat(s)||0),null!=(e=T.isFunction(e)?e.call(t,n,T.extend({},o)):e).top&&(c.top=e.top-o.top+r),null!=e.left&&(c.left=e.left-o.left+a),"using"in e?e.using.call(t,c):l.css(c)}},T.fn.extend({offset:function(e){var t,n,i;return arguments.length?void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)}):(i=this[0])?i.getClientRects().length?(n=i.getBoundingClientRect(),t=(i=i.ownerDocument).documentElement,i=i.defaultView,{top:n.top+i.pageYOffset-t.clientTop,left:n.left+i.pageXOffset-t.clientLeft}):{top:0,left:0}:void 0},position:function(){var t,e,n,i;if(this[0])return n=this[0],i={top:0,left:0},"fixed"===T.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),i={top:(i=l(t[0],"html")?i:t.offset()).top+T.css(t[0],"borderTopWidth",!0),left:i.left+T.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-T.css(n,"marginTop",!0),left:e.left-i.left-T.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===T.css(t,"position");)t=t.offsetParent;return t||Ct})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o="pageYOffset"===r;T.fn[e]=function(t){return h(this,function(t,e,n){var i;return T.isWindow(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===n?i?i[r]:t[e]:void(i?i.scrollTo(o?i.pageXOffset:n,o?n:i.pageYOffset):t[e]=n)},e,t,arguments.length)}}),T.each(["top","left"],function(t,n){T.cssHooks[n]=Gt(g.pixelPosition,function(t,e){if(e)return e=A(t,n),Yt.test(e)?T(t).position()[n]+"px":e})}),T.each({Height:"height",Width:"width"},function(s,a){T.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,o){T.fn[o]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),r=i||(!0===t||!0===e?"margin":"border");return h(this,function(t,e,n){var i;return T.isWindow(t)?0===o.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?T.css(t,e,r):T.style(t,e,n,r)},a,n?t:void 0,n)}})}),T.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=l,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T}),w.jQuery),Re=w.$;return T.noConflict=function(t){return w.$===T&&(w.$=Re),t&&w.jQuery===T&&(w.jQuery=qe),T},I||(w.jQuery=w.$=T),T}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,function(){"use strict";const I="transitionend",H=t=>t=t&&window.CSS&&window.CSS.escape?t.replace(/#([^\s"#']+)/g,(t,e)=>"#"+CSS.escape(e)):t,z=t=>{t.dispatchEvent(new Event(I))},s=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,i=t=>s(t)?t.jquery?t[0]:t:"string"==typeof t&&0{if(!s(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(n&&n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},o=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),$=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?$(t.parentNode):null:null},F=()=>{},q=t=>{t.offsetHeight},R=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,W=[],a=()=>"rtl"===document.documentElement.dir,t=i=>{var t=()=>{const t=R();if(t){const e=i.NAME,n=t.fn[e];t.fn[e]=i.jQueryInterface,t.fn[e].Constructor=i,t.fn[e].noConflict=()=>(t.fn[e]=n,i.jQueryInterface)}};"loading"===document.readyState?(W.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of W)t()}),W.push(t)):t()},l=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,B=(n,r,t=!0)=>{if(t){t=(()=>{if(!r)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(r);var n=Number.parseFloat(t),i=Number.parseFloat(e);return n||i?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})()+5;let e=!1;const i=({target:t})=>{t===r&&(e=!0,r.removeEventListener(I,i),l(n))};r.addEventListener(I,i),setTimeout(()=>{e||z(r)},t)}else l(n)},V=(t,e,n,i)=>{var r=t.length;let o=t.indexOf(e);return-1===o?!n&&i?t[r-1]:t[0]:(o+=n?1:-1,i&&(o=(o+r)%r),t[Math.max(0,Math.min(o,r-1))])},X=/[^.]*(?=\..*)\.|.*/,U=/\..*/,Y=/::\d+$/,Q={};let G=1;const K={mouseenter:"mouseover",mouseleave:"mouseout"},Z=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function J(t,e){return e&&e+"::"+G++||t.uidEvent||G++}function tt(t){var e=J(t);return t.uidEvent=e,Q[e]=Q[e]||{},Q[e]}function et(t,e,n=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===n)}function nt(t,e,n){var i="string"==typeof e,e=!i&&e||n;let r=ot(t);return[i,e,r=Z.has(r)?r:t]}function it(i,r,o,s,a){if("string"==typeof r&&i){let[t,e,n]=nt(r,o,s);if(r in K){const i=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};e=i(e)}var s=tt(i),s=s[n]||(s[n]={}),l=et(s,e,t?o:null);if(l)return l.oneOff=l.oneOff&&a;var c,u,h,d,f,l=J(e,r.replace(X,"")),r=t?(h=i,d=o,f=e,function e(n){var i=h.querySelectorAll(d);for(let t=n["target"];t&&t!==this;t=t.parentNode)for(const r of i)if(r===t)return st(n,{delegateTarget:t}),e.oneOff&&p.off(h,n.type,d,f),f.apply(t,[n])}):(c=i,u=e,function t(e){return st(e,{delegateTarget:c}),t.oneOff&&p.off(c,e.type,u),u.apply(c,[e])});r.delegationSelector=t?o:null,r.callable=e,r.oneOff=a,s[r.uidEvent=l]=r,i.addEventListener(n,r,t)}}function rt(t,e,n,i,r){i=et(e[n],i,r);i&&(t.removeEventListener(n,i,Boolean(r)),delete e[n][i.uidEvent])}function ot(t){return t=t.replace(U,""),K[t]||t}const p={on(t,e,n,i){it(t,e,n,i,!1)},one(t,e,n,i){it(t,e,n,i,!0)},off(t,e,n,i){if("string"==typeof e&&t){const[h,d,f]=nt(e,n,i),p=f!==e,g=tt(t),m=g[f]||{},v=e.startsWith(".");if(void 0===d){if(v)for(const n of Object.keys(g)){r=void 0;o=void 0;s=void 0;a=void 0;u=void 0;l=void 0;c=void 0;var r=t;var o=g;var s=n;var a=e.slice(1);var l,c,u=o[s]||{};for([l,c]of Object.entries(u))l.includes(a)&&rt(r,o,s,c.callable,c.delegationSelector)}for(const[n,i]of Object.entries(m)){const h=n.replace(Y,"");p&&!e.includes(h)||rt(t,g,f,i.callable,i.delegationSelector)}}else Object.keys(m).length&&rt(t,g,f,d,h?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;var i=R();let r=null,o=!0,s=!0,a=!1;e!==ot(e)&&i&&(r=i.Event(e,n),i(t).trigger(r),o=!r.isPropagationStopped(),s=!r.isImmediatePropagationStopped(),a=r.isDefaultPrevented());i=st(i=new Event(e,{bubbles:o,cancelable:!0}),n);return a&&i.preventDefault(),s&&t.dispatchEvent(i),i.defaultPrevented&&r&&r.preventDefault(),i}};function st(t,e={}){for(const[n,i]of Object.entries(e))try{t[n]=i}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>i})}return t}const c=new Map,at={set(t,e,n){c.has(t)||c.set(t,new Map);t=c.get(t);t.has(e)||0===t.size?t.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(t.keys())[0]}.`)},get:(t,e)=>c.has(t)&&c.get(t).get(e)||null,remove(t,e){var n;c.has(t)&&((n=c.get(t)).delete(e),0===n.size)&&c.delete(t)}};function lt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function ct(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}const u={setDataAttribute(t,e,n){t.setAttribute("data-bs-"+ct(e),n)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+ct(e))},getDataAttributes(e){if(!e)return{};var n={};for(const i of Object.keys(e.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"))){let t=i.replace(/^bs/,"");n[t=t.charAt(0).toLowerCase()+t.slice(1,t.length)]=lt(e.dataset[i])}return n},getDataAttribute:(t,e)=>lt(t.getAttribute("data-bs-"+ct(e)))};class ut{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){var n=s(e)?u.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...s(e)?u.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(var[n,i]of Object.entries(e)){const e=t[n],o=s(e)?"element":null==(r=e)?""+r:Object.prototype.toString.call(r).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}var r}}class e extends ut{constructor(t,e){super(),(t=i(t))&&(this._element=t,this._config=this._getConfig(e),at.set(this._element,this.constructor.DATA_KEY,this))}dispose(){at.remove(this._element,this.constructor.DATA_KEY),p.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){B(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return at.get(i(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.0-alpha1"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(t){return""+t+this.EVENT_KEY}}const ht=e=>{let n=e.getAttribute("data-bs-target");if(!n||"#"===n){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#"+t.split("#")[1]),n=t&&"#"!==t?t.trim():null}return H(n)},h={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){var n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(",");return this.find(e,t).filter(t=>!o(t)&&r(t))},getSelectorFromElement(t){t=ht(t);return t&&h.findOne(t)?t:null},getElementFromSelector(t){t=ht(t);return t?h.findOne(t):null},getMultipleElementsFromSelector(t){t=ht(t);return t?h.find(t):[]}},dt=(e,n="hide")=>{const t="click.dismiss"+e.EVENT_KEY,i=e.NAME;p.on(document,t,`[data-bs-dismiss="${i}"]`,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),o(this)||(t=h.getElementFromSelector(this)||this.closest("."+i),e.getOrCreateInstance(t)[n]())})};class ft extends e{static get NAME(){return"alert"}close(){var t;p.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),p.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){var t=ft.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}dt(ft,"close"),t(ft);const pt='[data-bs-toggle="button"]';class gt extends e{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){var t=gt.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}p.on(document,"click.bs.button.data-api",pt,t=>{t.preventDefault();t=t.target.closest(pt);gt.getOrCreateInstance(t).toggle()}),t(gt);const mt={endCallback:null,leftCallback:null,rightCallback:null},vt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class yt extends ut{constructor(t,e){super(),(this._element=t)&&yt.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return mt}static get DefaultType(){return vt}static get NAME(){return"swipe"}dispose(){p.off(this._element,".bs.swipe")}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),l(this._config.endCallback)}_move(t){this._deltaX=t.touches&&1this._start(t)),p.on(this._element,"pointerup.bs.swipe",t=>this._end(t)),this._element.classList.add("pointer-event")):(p.on(this._element,"touchstart.bs.swipe",t=>this._start(t)),p.on(this._element,"touchmove.bs.swipe",t=>this._move(t)),p.on(this._element,"touchend.bs.swipe",t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?p.one(this._element,wt,()=>this.cycle()):this.cycle())}to(t){var e,n=this._getItems();t>n.length-1||t<0||(this._isSliding?p.one(this._element,wt,()=>this.to(t)):(e=this._getItemIndex(this._getActive()))!==t&&(e=ethis._keydown(t)),"hover"===this._config.pause&&(p.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),p.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&yt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of h.find(".carousel-item img",this._element))p.on(t,"dragstart.bs.carousel",t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(n)),rightCallback:()=>this._slide(this._directionToOrder(bt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new yt(this._element,t)}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=Et[t.key])&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){var e;this._indicatorsElement&&((e=h.findOne(".active",this._indicatorsElement)).classList.remove(Tt),e.removeAttribute("aria-current"),e=h.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement))&&(e.classList.add(Tt),e.setAttribute("aria-current","true"))}_updateInterval(){var t=this._activeElement||this._getActive();t&&(t=Number.parseInt(t.getAttribute("data-bs-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(e,t=null){if(!this._isSliding){const n=this._getActive(),i=e===_t,r=t||V(this._getItems(),n,i,this._config.wrap);if(r!==n){const o=this._getItemIndex(r),s=t=>p.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:o});if(!s("slide.bs.carousel").defaultPrevented&&n&&r){t=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=r;const a=i?"carousel-item-start":"carousel-item-end",l=i?"carousel-item-next":"carousel-item-prev";r.classList.add(l),q(r),n.classList.add(a),r.classList.add(a),this._queueCallback(()=>{r.classList.remove(a,l),r.classList.add(Tt),n.classList.remove(Tt,l,a),this._isSliding=!1,s(wt)},n,this._isAnimated()),t&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return h.findOne(".active.carousel-item",this._element)}_getItems(){return h.find(".carousel-item",this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return a()?t===n?d:_t:t===n?_t:d}_orderToDirection(t){return a()?t===d?n:bt:t===d?bt:n}static jQueryInterface(e){return this.each(function(){var t=St.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}p.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(t){var e=h.getElementFromSelector(this);e&&e.classList.contains(xt)&&(t.preventDefault(),t=St.getOrCreateInstance(e),(e=this.getAttribute("data-bs-slide-to"))?t.to(e):"next"===u.getDataAttribute(this,"slide")?t.next():t.prev(),t._maybeEnableCycle())}),p.on(window,"load.bs.carousel.data-api",()=>{for(const t of h.find('[data-bs-ride="carousel"]'))St.getOrCreateInstance(t)}),t(St);const kt="show",Ot="collapse",Dt="collapsing",jt='[data-bs-toggle="collapse"]',Lt={parent:null,toggle:!0},Nt={parent:"(null|element)",toggle:"boolean"};class Pt extends e{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=h.find(jt);for(const t of n){const e=h.getSelectorFromElement(t),n=h.find(e).filter(t=>t===this._element);null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Lt}static get DefaultType(){return Nt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t=[];if(!((t=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>Pt.getOrCreateInstance(t,{toggle:!1})):t).length&&t[0]._isTransitioning||p.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const n of t)n.hide();const n=this._getDimension();this._element.classList.remove(Ot),this._element.classList.add(Dt),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var e="scroll"+(n[0].toUpperCase()+n.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Dt),this._element.classList.add(Ot,kt),this._element.style[n]="",p.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[n]=this._element[e]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!p.trigger(this._element,"hide.bs.collapse").defaultPrevented){const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",q(this._element),this._element.classList.add(Dt),this._element.classList.remove(Ot,kt);for(const e of this._triggerArray){var t=h.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Dt),this._element.classList.add(Ot),p.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(t=this._element){return t.classList.contains(kt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=i(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=this._getFirstLevelChildren(jt);for(const e of t){const t=h.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=h.find(":scope .collapse .collapse",this._config.parent);return h.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(e){const n={};return"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){var t=Pt.getOrCreateInstance(this,n);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(document,"click.bs.collapse.data-api",jt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of h.getMultipleElementsFromSelector(this))Pt.getOrCreateInstance(t,{toggle:!1}).toggle()}),t(Pt);var S="top",k="bottom",O="right",D="left",Mt="auto",j=[S,k,O,D],L="start",_="end",It="clippingParents",Ht="viewport",m="popper",zt="reference",$t=j.reduce(function(t,e){return t.concat([e+"-"+L,e+"-"+_])},[]),Ft=[].concat(j,[Mt]).reduce(function(t,e){return t.concat([e,e+"-"+L,e+"-"+_])},[]),qt="beforeRead",Rt="afterRead",Wt="beforeMain",Bt="afterMain",Vt="beforeWrite",Xt="afterWrite",Ut=[qt,"read",Rt,Wt,"main",Bt,Vt,"write",Xt];function v(t){return t?(t.nodeName||"").toLowerCase():null}function b(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function y(t){return t instanceof b(t).Element||t instanceof Element}function w(t){return t instanceof b(t).HTMLElement||t instanceof HTMLElement}function Yt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof b(t).ShadowRoot||t instanceof ShadowRoot)}var Qt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var r=t.state;Object.keys(r.elements).forEach(function(t){var e=r.styles[t]||{},n=r.attributes[t]||{},i=r.elements[t];w(i)&&v(i)&&(Object.assign(i.style,e),Object.keys(n).forEach(function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var i=t.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,r.popper),i.styles=r,i.elements.arrow&&Object.assign(i.elements.arrow.style,r.arrow),function(){Object.keys(i.elements).forEach(function(t){var e=i.elements[t],n=i.attributes[t]||{},t=Object.keys((i.styles.hasOwnProperty(t)?i.styles:r)[t]).reduce(function(t,e){return t[e]="",t},{});w(e)&&v(e)&&(Object.assign(e.style,t),Object.keys(n).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function N(t){return t.split("-")[0]}var A=Math.max,Gt=Math.min,x=Math.round;function Kt(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Zt(){return!/^((?!chrome|android).)*safari/i.test(Kt())}function T(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1,e=(e&&w(t)&&(r=0c[E]&&(T=ge(T)),ge(T)),E=[];if(i&&E.push(C[w]<=0),r&&E.push(C[T]<=0,C[x]<=0),E.every(function(t){return t})){y=b,v=!1;break}u.set(b,E)}if(v)for(var A=g?3:1;0Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(u.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...l(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){var n=h.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>r(t));n.length&&V(n,e,t===Re,!n.includes(e)).focus()}static jQueryInterface(e){return this.each(function(){var t=g.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(t){if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key)){const i=h.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const r of i){const i=g.getInstance(r);var e,n;i&&!1!==i._config.autoClose&&(e=(n=t.composedPath()).includes(i._menu),n.includes(i._element)||"inside"===i._config.autoClose&&!e||"outside"===i._config.autoClose&&e||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(n={relatedTarget:i._element},"click"===t.type&&(n.clickEvent=t),i._completeHide(n)))}}}static dataApiKeydownHandler(t){var e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=["ArrowUp",Re].includes(t.key);!i&&!n||e&&!n||(t.preventDefault(),e=this.matches(f)?this:h.prev(this,f)[0]||h.next(this,f)[0]||h.findOne(f,t.delegateTarget.parentNode),n=g.getOrCreateInstance(e),i?(t.stopPropagation(),n.show(),n._selectMenuItem(t)):n._isShown()&&(t.stopPropagation(),n.hide(),e.focus()))}}p.on(document,Be,f,g.dataApiKeydownHandler),p.on(document,Be,Xe,g.dataApiKeydownHandler),p.on(document,We,g.clearMenus),p.on(document,"keyup.bs.dropdown.data-api",g.clearMenus),p.on(document,We,f,function(t){t.preventDefault(),g.getOrCreateInstance(this).toggle()}),t(g);const en=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",nn=".sticky-top",rn="padding-right",on="margin-right";class sn{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,rn,t=>t+e),this._setElementAttributes(en,rn,t=>t+e),this._setElementAttributes(nn,on,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,rn),this._resetElementAttributes(en,rn),this._resetElementAttributes(nn,on)}isOverflowing(){return 0{var e;t!==this._element&&window.innerWidth>t.clientWidth+r||(this._saveInitialAttribute(t,n),e=window.getComputedStyle(t).getPropertyValue(n),t.style.setProperty(n,i(Number.parseFloat(e))+"px"))})}_saveInitialAttribute(t,e){var n=t.style.getPropertyValue(e);n&&u.setDataAttribute(t,e,n)}_resetElementAttributes(t,n){this._applyManipulationCallback(t,t=>{var e=u.getDataAttribute(t,n);null!==e?(u.removeDataAttribute(t,n),t.style.setProperty(n,e)):t.style.removeProperty(n)})}_applyManipulationCallback(t,e){if(s(t))e(t);else for(const n of h.find(t,this._element))e(n)}}const an="mousedown.bs.backdrop",ln={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class un extends ut{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ln}static get DefaultType(){return cn}static get NAME(){return"backdrop"}show(t){var e;this._config.isVisible?(this._append(),e=this._getElement(),this._config.isAnimated&&q(e),e.classList.add("show"),this._emulateAnimation(()=>{l(t)})):l(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),l(t)})):l(t)}dispose(){this._isAppended&&(p.off(this._element,an),this._element.remove(),this._isAppended=!1)}_getElement(){var t;return this._element||((t=document.createElement("div")).className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t),this._element}_configAfterMerge(t){return t.rootElement=i(t.rootElement),t}_append(){var t;this._isAppended||(t=this._getElement(),this._config.rootElement.append(t),p.on(t,an,()=>{l(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(t){B(t,this._getElement(),this._config.isAnimated)}}const hn=".bs.focustrap",dn="backward",fn={autofocus:!0,trapElement:null},pn={autofocus:"boolean",trapElement:"element"};class gn extends ut{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return fn}static get DefaultType(){return pn}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),p.off(document,hn),p.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),p.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,p.off(document,hn))}_handleFocusin(t){var e=this._config["trapElement"];t.target===document||t.target===e||e.contains(t.target)||(0===(t=h.focusableChildren(e)).length?e:this._lastTabNavDirection===dn?t[t.length-1]:t[0]).focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?dn:"forward")}}const mn="hidden.bs.modal",vn="show.bs.modal",yn="modal-open",_n="modal-static",bn={backdrop:!0,focus:!0,keyboard:!0},wn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xn extends e{constructor(t,e){super(t,e),this._dialog=h.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new sn,this._addEventListeners()}static get Default(){return bn}static get DefaultType(){return wn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||p.trigger(this._element,vn,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(yn),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||p.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])p.off(t,".bs.modal");this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new un({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new gn({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var e=h.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),q(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,p.trigger(this._element,"shown.bs.modal",{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){p.on(this._element,"keydown.dismiss.bs.modal",t=>{if("Escape"===t.key)return this._config.keyboard?(t.preventDefault(),void this.hide()):void this._triggerBackdropTransition()}),p.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),p.on(this._element,"mousedown.dismiss.bs.modal",e=>{p.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(yn),this._resetAdjustments(),this._scrollBar.reset(),p.trigger(this._element,mn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!p.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(_n)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(_n),this._queueCallback(()=>{this._element.classList.remove(_n),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=0{t.defaultPrevented||p.one(e,mn,()=>{r(this)&&this.focus()})});t=h.findOne(".modal.show");t&&xn.getInstance(t).hide(),xn.getOrCreateInstance(e).toggle(this)}),dt(xn),t(xn);const Tn="showing",En=".offcanvas.show",Cn="hidePrevented.bs.offcanvas",An="hidden.bs.offcanvas",Sn={backdrop:!0,keyboard:!0,scroll:!1},kn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class M extends e{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Sn}static get DefaultType(){return kn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||p.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new sn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Tn),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Tn),p.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){!this._isShown||p.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new sn).reset(),p.trigger(this._element,An)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var t=Boolean(this._config.backdrop);return new un({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():p.trigger(this._element,Cn)}:null})}_initializeFocusTrap(){return new gn({trapElement:this._element})}_addEventListeners(){p.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():p.trigger(this._element,Cn))})}static jQueryInterface(e){return this.each(function(){var t=M.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}p.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){var e=h.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),o(this)||(p.one(e,An,()=>{r(this)&&this.focus()}),(t=h.findOne(En))&&t!==e&&M.getInstance(t).hide(),M.getOrCreateInstance(e).toggle(this))}),p.on(window,"load.bs.offcanvas.data-api",()=>{for(const t of h.find(En))M.getOrCreateInstance(t).show()}),p.on(window,"resize.bs.offcanvas",()=>{for(const t of h.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&M.getOrCreateInstance(t).hide()}),dt(M),t(M);const On=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Dn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,jn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Ln={"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Nn={allowList:Ln,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Pn={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Mn={entry:"(string|element|function|null)",selector:"(string|element)"};class In extends ut{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Nn}static get DefaultType(){return Pn}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return 0{const n=t.nodeName.toLowerCase();return e.includes(n)?!On.has(n)||Boolean(Dn.test(t.nodeValue)||jn.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(n))})(n,o)||e.removeAttribute(n.nodeName)}else e.remove()}return r.body.innerHTML}return t}_resolvePossibleFunction(t){return l(t,[this])}_putElementInTemplate(t,e){this._config.html?(e.innerHTML="",e.append(t)):e.textContent=t.textContent}}const Hn=new Set(["sanitize","allowList","sanitizeFn"]),zn="fade",$n="show",Fn="hide.bs.modal",qn="hover",Rn={AUTO:"auto",TOP:"top",RIGHT:a()?"left":"right",BOTTOM:"bottom",LEFT:a()?"right":"left"},Wn={allowList:Ln,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Bn={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Vn extends e{constructor(t,e){if(void 0===Fe)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Wn}static get DefaultType(){return Bn}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),p.off(this._element.closest(".modal"),Fn,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){const n=p.trigger(this._element,this.constructor.eventName("show")),i=($(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!n.defaultPrevented&&i){this._disposePopper();var t=this._getTipElement(),e=(this._element.setAttribute("aria-describedby",t.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),p.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(t),t.classList.add($n),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))p.on(n,"mouseover",F);this._queueCallback(()=>{p.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()&&!p.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove($n),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))p.off(t,"mouseover",F);this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),p.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){t=this._getTemplateFactory(t).toHtml();if(!t)return null;t.classList.remove(zn,$n),t.classList.add(`bs-${this.constructor.NAME}-auto`);var e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add(zn),t}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new In({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(zn)}_isShown(){return this.tip&&this.tip.classList.contains($n)}_createPopper(t){var e=l(this._config.placement,[this,t,this._element]),e=Rn[e.toUpperCase()];return $e(this._element,t,this._getPopperConfig(e))}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(t){return l(t,[this._element])}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...t,...l(this._config.popperConfig,[t])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)p.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()});else if("manual"!==e){const t=e===qn?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===qn?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");p.on(this._element,t,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?"focus":qn]=!0,e._enter()}),p.on(this._element,n,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?"focus":qn]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},p.on(this._element.closest(".modal"),Fn,this._hideModalHandler)}_fixTitle(){var t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){var e=u.getDataAttributes(this._element);for(const t of Object.keys(e))Hn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:i(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){var t,e,n={};for([t,e]of Object.entries(this._config))this.constructor.Default[t]!==e&&(n[t]=e);return n.selector=!1,n.trigger="manual",n}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){var t=Vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(Vn);const Xn={...Vn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Un={...Vn.DefaultType,content:"(null|string|element|function)"};class Yn extends Vn{static get Default(){return Xn}static get DefaultType(){return Un}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){var t=Yn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(Yn);const Qn="click.bs.scrollspy",Gn="active",Kn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Zn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Jn extends e{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Kn}static get DefaultType(){return Zn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=i(t.target)||document.body,t.rootMargin=t.offset?t.offset+"px 0px -30%":t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(p.off(this._config.target,Qn),p.on(this._config.target,Qn,"[href]",t=>{var e=this._observableSections.get(t.target.hash);e&&(t.preventDefault(),t=this._rootElement||window,e=e.offsetTop-this._element.offsetTop,t.scrollTo?t.scrollTo({top:e,behavior:"smooth"}):t.scrollTop=e)}))}_getNewObserver(){var t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){const e=t=>this._targetLinks.get("#"+t.target.id),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,r=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t)if(o.isIntersecting){const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&t){if(n(o),!i)return}else r||t||n(o)}else this._activeTarget=null,this._clearActiveClass(e(o))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=h.find("[href]",this._config.target);for(const e of t)if(e.hash&&!o(e)){const t=h.findOne(e.hash,this._element);r(t)&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),(this._activeTarget=t).classList.add(Gn),this._activateParents(t),p.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))h.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Gn);else for(const e of h.parents(t,".nav, .list-group"))for(const t of h.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(Gn)}_clearActiveClass(t){t.classList.remove(Gn);var e=h.find("[href].active",t);for(const t of e)t.classList.remove(Gn)}static jQueryInterface(e){return this.each(function(){var t=Jn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(window,"load.bs.scrollspy.data-api",()=>{for(const t of h.find('[data-bs-spy="scroll"]'))Jn.getOrCreateInstance(t)}),t(Jn);const ti="ArrowRight",ei="ArrowDown",ni="active",ii="show",ri='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',oi='.nav-link:not(.dropdown-toggle), .list-group-item:not(.dropdown-toggle), [role="tab"]:not(.dropdown-toggle), '+ri;class si extends e{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),p.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){var t,e,n=this._element;this._elemIsActive(n)||(e=(t=this._getActiveElem())?p.trigger(t,"hide.bs.tab",{relatedTarget:n}):null,p.trigger(n,"show.bs.tab",{relatedTarget:t}).defaultPrevented)||e&&e.defaultPrevented||(this._deactivate(t,n),this._activate(n,t))}_activate(t,e){t&&(t.classList.add(ni),this._activate(h.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),p.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(ii)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(ni),t.blur(),this._deactivate(h.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),p.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(ii)},t,t.classList.contains("fade")))}_keydown(t){var e;["ArrowLeft",ti,"ArrowUp",ei].includes(t.key)&&(t.stopPropagation(),t.preventDefault(),e=[ti,ei].includes(t.key),t=V(this._getChildren().filter(t=>!o(t)),t.target,e,!0))&&(t.focus({preventScroll:!0}),si.getOrCreateInstance(t).show())}_getChildren(){return h.find(oi,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);var e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){var e=h.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id)&&this._setAttributeIfNotExists(e,"aria-labelledby","#"+t.id)}_toggleDropDown(t,n){const i=this._getOuterElement(t);i.classList.contains("dropdown")&&((t=(t,e)=>{t=h.findOne(t,i);t&&t.classList.toggle(e,n)})(".dropdown-toggle",ni),t(".dropdown-menu",ii),i.setAttribute("aria-expanded",n))}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(ni)}_getInnerElement(t){return t.matches(oi)?t:h.findOne(oi,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){var t=si.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}p.on(document,"click.bs.tab",ri,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),o(this)||si.getOrCreateInstance(this).show()}),p.on(window,"load.bs.tab",()=>{for(const t of h.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))si.getOrCreateInstance(t)}),t(si);const ai="show",li="showing",ci={animation:"boolean",autohide:"boolean",delay:"number"},ui={animation:!0,autohide:!0,delay:5e3};class hi extends e{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ui}static get DefaultType(){return ci}static get NAME(){return"toast"}show(){p.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),q(this._element),this._element.classList.add(ai,li),this._queueCallback(()=>{this._element.classList.remove(li),p.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||p.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(li),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(li,ai),p.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ai),super.dispose()}isShown(){return this._element.classList.contains(ai)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():(t=t.relatedTarget,this._element===t||this._element.contains(t)||this._maybeScheduleHide())}_setListeners(){p.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),p.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),p.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),p.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){var t=hi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return dt(hi),t(hi),{Alert:ft,Button:gt,Carousel:St,Collapse:Pt,Dropdown:g,Modal:xn,Offcanvas:M,Popover:Yn,ScrollSpy:Jn,Tab:si,Toast:hi,Tooltip:Vn}}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Scrollbar=e():t.Scrollbar=e()}(this,function(){return n=[function(t,e,n){var i=n(25)("wks"),r=n(16),o=n(2).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,e){t=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=t)},function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){function f(t,e,n){var i,r,o,s=t&f.F,a=t&f.G,l=t&f.P,c=t&f.B,u=a?p:t&f.S?p[e]||(p[e]={}):(p[e]||{}).prototype,h=a?g:g[e]||(g[e]={}),d=h.prototype||(h.prototype={});for(i in n=a?e:n)r=((o=!s&&u&&void 0!==u[i])?u:n)[i],o=c&&o?y(r,p):l&&"function"==typeof r?y(Function.call,r):r,u&&v(u,i,r,t&f.U),h[i]!=r&&m(h,i,o),l&&d[i]!=r&&(d[i]=r)}var p=n(2),g=n(3),m=n(11),v=n(6),y=n(10);p.core=g,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,e,n){var o=n(2),s=n(11),a=n(9),l=n(16)("src"),i=n(60),c=(""+i).split("toString");n(3).inspectSource=function(t){return i.call(t)},(t.exports=function(t,e,n,i){var r="function"==typeof n;r&&!a(n,"name")&&s(n,"name",e),t[e]!==n&&(r&&!a(n,l)&&s(n,l,t[e]?""+t[e]:c.join(String(e))),t===o?t[e]=n:i?t[e]?t[e]=n:s(t,e,n):(delete t[e],s(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[l]||i.call(this)})},function(t,e,n){var i=n(8),r=n(41),o=n(43),s=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var i=n(1);t.exports=function(t){if(i(t))return t;throw TypeError(t+" is not an object!")}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var o=n(44);t.exports=function(i,r,t){if(o(i),void 0===r)return i;switch(t){case 1:return function(t){return i.call(r,t)};case 2:return function(t,e){return i.call(r,t,e)};case 3:return function(t,e,n){return i.call(r,t,e,n)}}return function(){return i.apply(r,arguments)}}},function(t,e,n){var i=n(7),r=n(17);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var i=n(1);t.exports=function(t,e){if(i(t)&&t._t===e)return t;throw TypeError("Incompatible receiver, "+e+" required!")}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports={}},function(t,e,n){var h=n(10),d=n(49),f=n(50),p=n(8),g=n(19),m=n(51),v={},y={};(e=t.exports=function(t,e,n,i,r){var o,s,a,l,r=r?function(){return t}:m(t),c=h(n,i,e?2:1),u=0;if("function"!=typeof r)throw TypeError(t+" is not iterable!");if(f(r)){for(o=g(t.length);u=t.length?{value:void 0,done:!0}:(t=i(t,e),this._i+=t.length,{value:t,done:!1})})},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0document.F=Object<\/script>"),t.close(),l=t.F;e--;)delete l.prototype[s[e]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(i.prototype=r(t),n=new i,i.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";function s(t,e){var n,i=p(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n}var a=n(7).f,l=n(45),c=n(35),u=n(10),h=n(36),d=n(15),i=n(29),r=n(47),o=n(72),f=n(4),p=n(21).fastKey,g=n(12),m=f?"_s":"size";t.exports={getConstructor:function(t,r,n,i){var o=t(function(t,e){h(t,o,r,"_i"),t._t=r,t._i=l(null),t._f=void 0,t._l=void 0,t[m]=0,null!=e&&d(e,n,t[i],t)});return c(o.prototype,{clear:function(){for(var t=g(this,r),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var e,n,i=g(this,r),t=s(i,t);return t&&(e=t.n,n=t.p,delete i._i[t.i],t.r=!0,n&&(n.n=e),e&&(e.p=n),i._f==t&&(i._f=e),i._l==t&&(i._l=n),i[m]--),!!t},forEach:function(t){g(this,r);for(var e,n=u(t,1r;)!s(i,n=e[r++])||~l(o,n)||o.push(n);return o}},function(t,e,n){var l=n(18),c=n(19),u=n(66);t.exports=function(a){return function(t,e,n){var i,r=l(t),o=c(r.length),s=u(n,o);if(a&&e!=e){for(;s=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(0)("unscopables"),r=Array.prototype;null==r[i]&&n(11)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){"use strict";var i=n(48),r=n(12);t.exports=n(37)("Map",function(t){return function(){return t(this,0",o)||this.op(e,"<",r)&&this.op(e,">",o))&&s.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+s.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");t.length?(this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},c.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,e=this.$element.children(e).width(),t.length)&&e<=0&&this.preloadAutoWidthImages(t),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},c.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},c.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},c.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t",s[t+1]!==a?s[t+1]:e-o)&&(r="left"===i?t+1:t),-1===r},this)),this.settings.loop||(this.op(n,">",s[this.minimum()])?r=n=this.minimum():this.op(n,"<",s[this.maximum()])&&(r=n=this.maximum())),r},c.prototype.animate=function(t){var e=0i););o=e+1}else o=r.center?this._items.length-1:this._items.length-r.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},c.prototype.minimum=function(t){return t?0:this._clones.length/2},c.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},c.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},c.prototype.clones=function(n){function i(t){return t%2==0?r+t/2:e-(t+1)/2}var e=this._clones.length/2,r=e+this._items.length;return n===a?l.map(this._clones,function(t,e){return i(e)}):l.map(this._clones,function(t,e){return t===n?i(e):null})},c.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,Math.ceil(e))},c.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},c.prototype.to=function(t,e){var n=this.current(),i=t-this.relative(n),r=(0o/2&&(i+=-1*r*o),(r=(((t=n+i)-s)%o+o)%o+s)!==t&&r-i<=a&&0":return i?t=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},c.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},c.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},c.prototype.trigger=function(t,e,n,i,r){var o={item:{count:this._items.length,index:this.current()}},s=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},o,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:c.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[s]&&this.settings[s].call(this,a)),a},c.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},c.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},c.prototype.register=function(n){var e;n.type===c.Type.Event?(l.event.special[n.name]||(l.event.special[n.name]={}),l.event.special[n.name].owl||(e=l.event.special[n.name]._default,l.event.special[n.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1",{class:"owl-video-tn "+l,srcType:t}):u("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(i),e.after('
')}var i,r,o=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",s=e.find("img"),a="src",l="",c=this._core.settings;if(e.wrap(u("
",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),s.length)return n(s.attr(a)),s.remove(),!1;"youtube"===t.type?(r="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",n(r)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t[0].thumbnail_large,n(r)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t.framegrab_url,n(r)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e,t=u(t.target).closest("."+this._core.settings.itemClass),n=this._videos[t.attr("data-video")],i=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),t=this._core.items(this._core.relative(t.index())),this._core.reset(t.index()),(e=u('')).attr("height",r),e.attr("width",i),"youtube"===n.type?e.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?e.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&e.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),u(e).wrap('
').insertAfter(t.find(".owl-video")),this._playing=t.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},u.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,(window,document)),function(s){function e(t){this.core=t,this.core.options=s.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":s.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":s.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":s.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,n,i,r,o;1===this.core.settings.items&&s.support.animation&&s.support.transition&&(this.core.speed(0),e=s.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,o=this.core.settings.animateOut,this.core.current()!==this.previous)&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(s.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),r)&&i.one(s.support.animation.end,e).addClass("animated owl-animated-in").addClass(r)},e.prototype.clear=function(t){s(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},s.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(i,r,e){function n(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},n.Defaults,this._core.options)}n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(t){this._call=r.setTimeout(i.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(t,e){var n;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):r.clearTimeout(this._call),this._time+=this.read()%t-n,this._timeout=t,this._call=r.setTimeout(i.proxy(this._next,this,e),t-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(r){"use strict";function e(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+r(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":r.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":r.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":r.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=r.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)}e.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?r(n.navContainer):r("
").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=r("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",r.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=r("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",r.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[r('