!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(k,t){"use strict";function g(t){return null!=t&&t===t.window}var e=[],C=k.document,n=Object.getPrototypeOf,a=e.slice,m=e.concat,l=e.push,r=e.indexOf,i={},o=i.toString,v=i.hasOwnProperty,s=v.toString,c=s.call(Object),y={},b=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},u={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,i){var n,r,o=(i=i||C).createElement("script");if(o.text=t,e)for(n in u)(r=e[n]||e.getAttribute&&e.getAttribute(n))&&o.setAttribute(n,r);i.head.appendChild(o).parentNode.removeChild(o)}function w(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?i[o.call(t)]||"object":typeof t}var h="3.4.1",S=function(t,e){return new S.fn.init(t,e)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(t){var e=!!t&&"length"in t&&t.length,i=w(t);return!b(t)&&!g(t)&&("array"===i||0===e||"number"==typeof e&&0>10|55296,1023&n|56320)}function r(){x()}var t,f,_,o,s,p,d,g,w,l,c,x,k,a,C,m,u,v,y,S="sizzle"+ +new Date,b=i.document,T=0,n=0,E=lt(),A=lt(),D=lt(),M=lt(),I=function(t,e){return t===e&&(c=!0),0},O={}.hasOwnProperty,e=[],P=e.pop,L=e.push,N=e.push,F=e.slice,R=function(t,e){for(var i=0,n=t.length;i+~]|"+H+")"+H+"*"),Y=new RegExp(H+"|>"),G=new RegExp($),Q=new RegExp("^"+z+"$"),K={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,et=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,it=/[+~]/,nt=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig"),rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ot=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=_t(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(e=F.call(b.childNodes),b.childNodes),e[b.childNodes.length].nodeType}catch(t){N={apply:e.length?function(t,e){L.apply(t,F.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function at(t,e,i,n){var r,o,s,a,l,c,u,h=e&&e.ownerDocument,d=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==d&&9!==d&&11!==d)return i;if(!n&&((e?e.ownerDocument||e:b)!==k&&x(e),e=e||k,C)){if(11!==d&&(l=et.exec(t)))if(r=l[1]){if(9===d){if(!(s=e.getElementById(r)))return i;if(s.id===r)return i.push(s),i}else if(h&&(s=h.getElementById(r))&&y(e,s)&&s.id===r)return i.push(s),i}else{if(l[2])return N.apply(i,e.getElementsByTagName(t)),i;if((r=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return N.apply(i,e.getElementsByClassName(r)),i}if(f.qsa&&!M[t+" "]&&(!m||!m.test(t))&&(1!==d||"object"!==e.nodeName.toLowerCase())){if(u=t,h=e,1===d&&Y.test(t)){for((a=e.getAttribute("id"))?a=a.replace(rt,ot):e.setAttribute("id",a=S),o=(c=p(t)).length;o--;)c[o]="#"+a+" "+bt(c[o]);u=c.join(","),h=it.test(t)&&vt(e.parentNode)||e}try{return N.apply(i,h.querySelectorAll(u)),i}catch(e){M(t,!0)}finally{a===S&&e.removeAttribute("id")}}}return g(t.replace(U,"$1"),e,i,n)}function lt(){var n=[];return function t(e,i){return n.push(e+" ")>_.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function ct(t){return t[S]=!0,t}function ut(t){var e=k.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var i=t.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ft(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pt(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function gt(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&&st(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function mt(s){return ct(function(o){return o=+o,ct(function(t,e){for(var i,n=s([],t.length,o),r=n.length;r--;)t[i=n[r]]&&(t[i]=!(e[i]=t[i]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=at.support={},s=at.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!X.test(e||i&&i.nodeName||"HTML")},x=at.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:b;return n!==k&&9===n.nodeType&&n.documentElement&&(a=(k=n).documentElement,C=!s(k),b!==k&&(i=k.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",r,!1):i.attachEvent&&i.attachEvent("onunload",r)),f.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=ut(function(t){return t.appendChild(k.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=tt.test(k.getElementsByClassName),f.getById=ut(function(t){return a.appendChild(t).id=S,!k.getElementsByName||!k.getElementsByName(S).length}),f.getById?(_.filter.ID=function(t){var e=t.replace(nt,h);return function(t){return t.getAttribute("id")===e}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var i=e.getElementById(t);return i?[i]:[]}}):(_.filter.ID=function(t){var i=t.replace(nt,h);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===i}},_.find.ID=function(t,e){if(void 0!==e.getElementById&&C){var i,n,r,o=e.getElementById(t);if(o){if((i=o.getAttributeNode("id"))&&i.value===t)return[o];for(r=e.getElementsByName(t),n=0;o=r[n++];)if((i=o.getAttributeNode("id"))&&i.value===t)return[o]}return[]}}),_.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 i,n=[],r=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;i=o[r++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},u=[],m=[],(f.qsa=tt.test(k.querySelectorAll))&&(ut(function(t){a.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+H+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+H+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+S+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),ut(function(t){t.innerHTML="";var e=k.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+H+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=tt.test(v=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ut(function(t){f.disconnectedMatch=v.call(t,"*"),v.call(t,"[s!='']:x"),u.push("!=",$)}),m=m.length&&new RegExp(m.join("|")),u=u.length&&new RegExp(u.join("|")),e=tt.test(a.compareDocumentPosition),y=e||tt.test(a.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},I=e?function(t,e){if(t===e)return c=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===i?t===k||t.ownerDocument===b&&y(b,t)?-1:e===k||e.ownerDocument===b&&y(b,e)?1:l?R(l,t)-R(l,e):0:4&i?-1:1)}:function(t,e){if(t===e)return c=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!r||!o)return t===k?-1:e===k?1:r?-1:o?1:l?R(l,t)-R(l,e):0;if(r===o)return dt(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)a.unshift(i);for(;s[n]===a[n];)n++;return n?dt(s[n],a[n]):s[n]===b?-1:a[n]===b?1:0}),k},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if((t.ownerDocument||t)!==k&&x(t),f.matchesSelector&&C&&!M[e+" "]&&(!u||!u.test(e))&&(!m||!m.test(e)))try{var i=v.call(t,e);if(i||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){M(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,h),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,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]||at.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&at.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&G.test(i)&&(e=p(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=E[t+" "];return e||(e=new RegExp("(^|"+H+")"+t+"("+H+"|$)"))&&E(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(i,n,r){return function(t){var e=at.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(t,i,n){return b(i)?S.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?S.grep(t,function(t){return t===i!==n}):"string"!=typeof i?S.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||I,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):b(t)?void 0!==i.ready?i.ready(t):t(S):S.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:O.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:C,!0)),D.test(n[1])&&S.isPlainObject(e))for(n in e)b(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=C.getElementById(n[2]))&&(this[0]=r,this.length=1),this}).prototype=S.fn,I=S(C);var P=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&A(t,e)?S.merge([t],i):i}function vt(t,e){for(var i=0,n=t.length;ix",y.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var xt=/^key/,kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ct=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function Tt(){return!1}function Et(t,e){return t===function(){try{return C.activeElement}catch(t){}}()==("focus"===e)}function At(t,e,i,n,r,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof i&&(n=n||i,i=void 0),e)At(t,a,i,n,e[a],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=Tt;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return S().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),t.each(function(){S.event.add(this,e,r,n,i)})}function Dt(t,r,o){o?(K.set(t,r,!1),S.event.add(t,r,{namespace:!1,handler:function(t){var e,i,n=K.get(this,r);if(1&t.isTrigger&&this[r]){if(n.length)(S.event.special[r]||{}).delegateType&&t.stopPropagation();else if(n=a.call(arguments),K.set(this,r,n),e=o(this,r),this[r](),n!==(i=K.get(this,r))||e?K.set(this,r,!1):i={},n!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else n.length&&(K.set(this,r,{value:S.event.trigger(S.extend(n[0],S.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,r)&&S.event.add(t,r,St)}S.event={global:{},add:function(e,t,i,n,r){var o,s,a,l,c,u,h,d,f,p,g,m=K.get(e);if(m)for(i.handler&&(i=(o=i).handler,r=o.selector),r&&S.find.matchesSelector(rt,r),i.guid||(i.guid=S.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(F)||[""]).length;c--;)f=g=(a=Ct.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=S.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=S.event.special[f]||{},u=S.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,n,p,s)||e.addEventListener&&e.addEventListener(f,s)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),S.event.global[f]=!0)},remove:function(t,e,i,n,r){var o,s,a,l,c,u,h,d,f,p,g,m=K.hasData(t)&&K.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(F)||[""]).length;c--;)if(f=g=(a=Ct.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=S.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)u=d[o],!r&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!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)||S.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)S.event.remove(t,f+e[c],i,n,!0);S.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,o,s,a=S.event.fix(t),l=new Array(arguments.length),c=(K.get(this,"events")||{})[a.type]||[],u=S.event.special[a.type]||{};for(l[0]=a,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,It=/\s*$/g;function Lt(t,e){return A(t,"table")&&A(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ft(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var i,n,r,o,s,a,l,c;if(1===e.nodeType){if(K.hasData(t)&&(o=K.access(t),s=K.set(e,o),c=o.events))for(r in delete s.handle,s.events={},c)for(i=0,n=c[r].length;i")},clone:function(t,e,i){var n,r,o,s,a,l,c,u=t.cloneNode(!0),h=ot(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(s=mt(u),n=0,r=(o=mt(t)).length;n").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",r=function(t){n.remove(),r=null,t&&e("error"===t.type?404:200,t.type)}),C.head.appendChild(n[0])},abort:function(){r&&r()}}});var ii,ni=[],ri=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ni.pop()||S.expando+"_"+Le++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,i){var n,r,o,s=!1!==t.jsonp&&(ri.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ri.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=b(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ri,"$1"+n):!1!==t.jsonp&&(t.url+=(Ne.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return o||S.error(n+" was not called"),o[0]},t.dataTypes[0]="json",r=k[n],k[n]=function(){o=arguments},i.always(function(){void 0===r?S(k).removeProp(n):k[n]=r,t[n]&&(t.jsonpCallback=e.jsonpCallback,ni.push(n)),o&&b(r)&&r(o[0]),o=r=void 0}),"script"}),y.createHTMLDocument=((ii=C.implementation.createHTMLDocument("").body).innerHTML="
",2===ii.childNodes.length),S.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(y.createHTMLDocument?((n=(e=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,e.head.appendChild(n)):e=C),o=!i&&[],(r=D.exec(t))?[e.createElement(r[1])]:(r=wt([t],e,o),o&&o.length&&S(o).remove(),S.merge([],r.childNodes)));var n,r,o},S.fn.load=function(t,e,i){var n,r,o,s=this,a=t.indexOf(" ");return-1").append(S.parseHTML(t)).find(n):t)}).always(i&&function(t,e){s.each(function(){i.apply(this,o||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(t,e,i){var n,r,o,s,a,l,c=S.css(t,"position"),u=S(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),o=S.css(t,"top"),l=S.css(t,"left"),r=("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(n=u.position()).top,n.left):(s=parseFloat(o)||0,parseFloat(l)||0),b(e)&&(e=e.call(t,i,S.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):u.css(h)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,i,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===S.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),r.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-S.css(n,"marginTop",!0),left:e.left-r.left-S.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||rt})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,r){var o="pageYOffset"===r;S.fn[e]=function(t){return B(this,function(t,e,i){var n;if(g(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[r]:t[e];n?n.scrollTo(o?n.pageXOffset:i,o?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),S.each(["top","left"],function(t,i){S.cssHooks[i]=Xt(y.pixelPosition,function(t,e){if(e)return e=Kt(t,i),Yt.test(e)?S(t).position()[i]+"px":e})}),S.each({Height:"height",Width:"width"},function(s,a){S.each({padding:"inner"+s,content:a,"":"outer"+s},function(n,o){S.fn[o]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),r=n||(!0===t||!0===e?"margin":"border");return B(this,function(t,e,i){var n;return g(t)?0===o.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+s],n["scroll"+s],t.body["offset"+s],n["offset"+s],n["client"+s])):void 0===i?S.css(t,e,r):S.style(t,e,i,r)},a,i?t:void 0,i)}})}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){S.fn[i]=function(t,e){return 0=n.clientWidth&&i>=n.clientHeight}),h=0l[t]&&!n.escapeWithReference&&(i=R(u[e],l[t]-("right"===t?u.width:u.height))),F({},e,i)}};return c.forEach(function(t){var e=-1===["left","top"].indexOf(t)?"secondary":"primary";u=Y({},u,h[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,i=e.popper,n=e.reference,r=t.placement.split("-")[0],o=j,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return i[a]o(n[a])&&(t.offsets.popper[l]=o(n[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!L(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,s=o.popper,a=o.reference,l=-1!==["left","right"].indexOf(r),c=l?"height":"width",u=l?"Top":"Left",h=u.toLowerCase(),d=l?"left":"top",f=l?"bottom":"right",p=E(n)[c];a[f]-ps[f]&&(t.offsets.popper[h]+=a[h]+p-s[f]),t.offsets.popper=k(t.offsets.popper);var g=a[h]+a[c]/2-p/2,m=_(t.instance.popper),v=parseFloat(m["margin"+u]),y=parseFloat(m["border"+u+"Width"]),b=g-t.offsets.popper[h]-v-y;return b=z(R(s[c]-p,b),0),t.arrowElement=n,t.offsets.arrow=(F(i={},h,H(b)),F(i,d,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(m,v){if(t(m.instance.modifiers,"inner"))return m;if(m.flipped&&m.placement===m.originalPlacement)return m;var y=f(m.instance.popper,m.instance.reference,v.padding,v.boundariesElement,m.positionFixed),b=m.placement.split("-")[0],_=A(b),w=m.placement.split("-")[1]||"",x=[];switch(v.behavior){case X:x=[b,_];break;case Z:x=n(b);break;case J:x=n(b,!0);break;default:x=v.behavior}return x.forEach(function(t,e){if(b!==t||x.length===e+1)return m;b=m.placement.split("-")[0],_=A(b);var i,n=m.offsets.popper,r=m.offsets.reference,o=j,s="left"===b&&o(n.right)>o(r.left)||"right"===b&&o(n.left)o(r.top)||"bottom"===b&&o(n.top)o(y.right),c=o(n.top)o(y.bottom),h="left"===b&&a||"right"===b&&l||"top"===b&&c||"bottom"===b&&u,d=-1!==["top","bottom"].indexOf(b),f=!!v.flipVariations&&(d&&"start"===w&&a||d&&"end"===w&&l||!d&&"start"===w&&c||!d&&"end"===w&&u),p=!!v.flipVariationsByContent&&(d&&"start"===w&&l||d&&"end"===w&&a||!d&&"start"===w&&u||!d&&"end"===w&&c),g=f||p;(s||h||g)&&(m.flipped=!0,(s||h)&&(b=x[e+1]),g&&(w="end"===(i=w)?"start":"start"===i?"end":i),m.placement=b+(w?"-"+w:""),m.offsets.popper=Y({},m.offsets.popper,D(m.instance.popper,m.offsets.reference,m.placement)),m=I(m.instance.modifiers,m,"flip"))}),m},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,r=n.popper,o=n.reference,s=-1!==["left","right"].indexOf(i),a=-1===["top","left"].indexOf(i);return r[s?"left":"top"]=o[i]-(a?r[s?"width":"height"]:0),t.placement=A(e),t.offsets.popper=k(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!L(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=M(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomi.right||e.top>i.bottom||e.rightthis._items.length-1||t<0))if(this._isSliding)p(this._element).one(H.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=idocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},kt._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},kt._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},te="show",ee={HIDE:"hide"+qt,HIDDEN:"hidden"+qt,SHOW:"show"+qt,SHOWN:"shown"+qt,INSERTED:"inserted"+qt,CLICK:"click"+qt,FOCUSIN:"focusin"+qt,FOCUSOUT:"focusout"+qt,MOUSEENTER:"mouseenter"+qt,MOUSELEAVE:"mouseleave"+qt},ie="fade",ne="show",re="hover",oe="focus",se=((Bt=ae.prototype).enable=function(){this._isEnabled=!0},Bt.disable=function(){this._isEnabled=!1},Bt.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Bt.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=p(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(p(this.getTipElement()).hasClass(ne))return void this._leave(null,this);this._enter(null,this)}},Bt.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},Bt.show=function(){var e=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var t=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(t);var i=g.findShadowRoot(this.element),n=p.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var r=this.getTipElement(),o=g.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&p(r).addClass(ie);var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(r).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(r).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new h(this.element,r,this._getPopperConfig(a)),p(r).addClass(ne),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,p(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(p(this.tip).hasClass(ie)){var u=g.getTransitionDurationFromElement(this.tip);p(this.tip).one(g.TRANSITION_END,c).emulateTransitionEnd(u)}else c()}},Bt.hide=function(t){function e(){i._hoverState!==te&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),p(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()}var i=this,n=this.getTipElement(),r=p.Event(this.constructor.Event.HIDE);if(p(this.element).trigger(r),!r.isDefaultPrevented()){if(p(n).removeClass(ne),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger.click=!1,this._activeTrigger[oe]=!1,this._activeTrigger[re]=!1,p(this.tip).hasClass(ie)){var o=g.getTransitionDurationFromElement(n);p(n).one(g.TRANSITION_END,e).emulateTransitionEnd(o)}else e();this._hoverState=""}},Bt.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Bt.isWithContent=function(){return Boolean(this.getTitle())},Bt.addAttachmentClass=function(t){p(this.getTipElement()).addClass(Gt+"-"+t)},Bt.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},Bt.setContent=function(){var t=this.getTipElement();this.setElementContent(p(t.querySelectorAll(".tooltip-inner")),this.getTitle()),p(t).removeClass(ie+" "+ne)},Bt.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=$t(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text())},Bt.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Bt._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},{},this.config.popperConfig)},Bt._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=s({},t.offsets,{},e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},Bt._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},Bt._getAttachment=function(t){return Zt[t.toUpperCase()]},Bt._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)p(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if("manual"!==t){var e=t===re?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===re?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;p(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})}}),this._hideModalHandler=function(){n.element&&n.hide()},p(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Bt._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Bt._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?oe:re]=!0),p(e.getTipElement()).hasClass(ne)||e._hoverState===te?e._hoverState=te:(clearTimeout(e._timeout),e._hoverState=te,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===te&&e.show()},e.config.delay.show):e.show())},Bt._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?oe:re]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},Bt._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},Bt._getConfig=function(t){var e=p(this.element).data();return Object.keys(e).forEach(function(t){-1!==Kt.indexOf(t)&&delete e[t]}),"number"==typeof(t=s({},this.constructor.Default,{},e,{},"object"==typeof t&&t?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()),g.typeCheckConfig(Ut,t,this.constructor.DefaultType),t.sanitize&&(t.template=$t(t.template,t.whiteList,t.sanitizeFn)),t},Bt._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},Bt._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(Qt);null!==e&&e.length&&t.removeClass(e.join(""))},Bt._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},Bt._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(p(t).removeClass(ie),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},ae._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(Vt),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new ae(this,e),p(this).data(Vt,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},o(ae,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return Jt}},{key:"NAME",get:function(){return Ut}},{key:"DATA_KEY",get:function(){return Vt}},{key:"Event",get:function(){return ee}},{key:"EVENT_KEY",get:function(){return qt}},{key:"DefaultType",get:function(){return Xt}}]),ae);function ae(t,e){if(void 0===h)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}p.fn[Ut]=se._jQueryInterface,p.fn[Ut].Constructor=se,p.fn[Ut].noConflict=function(){return p.fn[Ut]=Yt,se._jQueryInterface};var le="popover",ce="bs.popover",ue="."+ce,he=p.fn[le],de="bs-popover",fe=new RegExp("(^|\\s)"+de+"\\S+","g"),pe=s({},se.Default,{placement:"right",trigger:"click",content:"",template:''}),ge=s({},se.DefaultType,{content:"(string|element|function)"}),me={HIDE:"hide"+ue,HIDDEN:"hidden"+ue,SHOW:"show"+ue,SHOWN:"shown"+ue,INSERTED:"inserted"+ue,CLICK:"click"+ue,FOCUSIN:"focusin"+ue,FOCUSOUT:"focusout"+ue,MOUSEENTER:"mouseenter"+ue,MOUSELEAVE:"mouseleave"+ue},ve=function(t){function n(){return t.apply(this,arguments)||this}var e,i;i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var r=n.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(t){p(this.getTipElement()).addClass(de+"-"+t)},r.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},r.setContent=function(){var t=p(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(fe);null!==e&&0=this._offsets[r]&&(void 0===this._offsets[r+1]||t li > .active",We=((Pe=$e.prototype).show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(je)||p(this._element).hasClass("disabled"))){var t,n,e=p(this._element).closest(".nav, .list-group")[0],r=g.getSelectorFromElement(this._element);if(e){var o="UL"===e.nodeName||"OL"===e.nodeName?ze:He;n=(n=p.makeArray(p(e).find(o)))[n.length-1]}var s=p.Event(Re.HIDE,{relatedTarget:this._element}),a=p.Event(Re.SHOW,{relatedTarget:n});if(n&&p(n).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(t=document.querySelector(r)),this._activate(this._element,e);var l=function(){var t=p.Event(Re.HIDDEN,{relatedTarget:i._element}),e=p.Event(Re.SHOWN,{relatedTarget:n});p(n).trigger(t),p(i._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},Pe.dispose=function(){p.removeData(this._element,Le),this._element=null},Pe._activate=function(t,e,i){function n(){return r._transitionComplete(t,o,i)}var r=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?p(e).children(He):p(e).find(ze))[0],s=i&&o&&p(o).hasClass("fade");if(o&&s){var a=g.getTransitionDurationFromElement(o);p(o).removeClass("show").one(g.TRANSITION_END,n).emulateTransitionEnd(a)}else n()},Pe._transitionComplete=function(t,e,i){if(e){p(e).removeClass(je);var n=p(e.parentNode).find("> .dropdown-menu .active")[0];n&&p(n).removeClass(je),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(p(t).addClass(je),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),g.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&p(t.parentNode).hasClass("dropdown-menu")){var r=p(t).closest(".dropdown")[0];if(r){var o=[].slice.call(r.querySelectorAll(".dropdown-toggle"));p(o).addClass(je)}t.setAttribute("aria-expanded",!0)}i&&i()},$e._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(Le);if(e||(e=new $e(this),t.data(Le,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},o($e,null,[{key:"VERSION",get:function(){return"4.4.1"}}]),$e);function $e(t){this._element=t}p(document).on(Re.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),We._jQueryInterface.call(p(this),"show")}),p.fn.tab=We._jQueryInterface,p.fn.tab.Constructor=We,p.fn.tab.noConflict=function(){return p.fn.tab=Fe,We._jQueryInterface};var Be,Ue="toast",Ve="bs.toast",qe="."+Ve,Ye=p.fn[Ue],Ge={CLICK_DISMISS:"click.dismiss"+qe,HIDE:"hide"+qe,HIDDEN:"hidden"+qe,SHOW:"show"+qe,SHOWN:"shown"+qe},Qe="show",Ke="showing",Xe={animation:"boolean",autohide:"boolean",delay:"number"},Ze={animation:!0,autohide:!0,delay:500},Je=((Be=ti.prototype).show=function(){var t=this,e=p.Event(Ge.SHOW);if(p(this._element).trigger(e),!e.isDefaultPrevented()){this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove(Ke),t._element.classList.add(Qe),p(t._element).trigger(Ge.SHOWN),t._config.autohide&&(t._timeout=setTimeout(function(){t.hide()},t._config.delay))};if(this._element.classList.remove("hide"),g.reflow(this._element),this._element.classList.add(Ke),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,i).emulateTransitionEnd(n)}else i()}},Be.hide=function(){if(this._element.classList.contains(Qe)){var t=p.Event(Ge.HIDE);p(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},Be.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Qe)&&this._element.classList.remove(Qe),p(this._element).off(Ge.CLICK_DISMISS),p.removeData(this._element,Ve),this._element=null,this._config=null},Be._getConfig=function(t){return t=s({},Ze,{},p(this._element).data(),{},"object"==typeof t&&t?t:{}),g.typeCheckConfig(Ue,t,this.constructor.DefaultType),t},Be._setListeners=function(){var t=this;p(this._element).on(Ge.CLICK_DISMISS,'[data-dismiss="toast"]',function(){return t.hide()})},Be._close=function(){function t(){e._element.classList.add("hide"),p(e._element).trigger(Ge.HIDDEN)}var e=this;if(this._element.classList.remove(Qe),this._config.animation){var i=g.getTransitionDurationFromElement(this._element);p(this._element).one(g.TRANSITION_END,t).emulateTransitionEnd(i)}else t()},ti._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(Ve);if(e||(e=new ti(this,"object"==typeof i&&i),t.data(Ve,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i](this)}})},o(ti,null,[{key:"VERSION",get:function(){return"4.4.1"}},{key:"DefaultType",get:function(){return Xe}},{key:"Default",get:function(){return Ze}}]),ti);function ti(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}p.fn[Ue]=Je._jQueryInterface,p.fn[Ue].Constructor=Je,p.fn[Ue].noConflict=function(){return p.fn[Ue]=Ye,Je._jQueryInterface},t.Alert=f,t.Button=E,t.Carousel=B,t.Collapse=rt,t.Dropdown=wt,t.Modal=Rt,t.Popover=ve,t.Scrollspy=Ie,t.Tab=We,t.Toast=Je,t.Tooltip=se,t.Util=g,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){void 0===t&&void 0!==window&&(t=window),"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(D){"use strict";var u=["sanitize","whiteList","sanitizeFn"],s=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],a=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function m(t,e){var i=t.nodeName.toLowerCase();if(-1!==D.inArray(i,e))return-1===D.inArray(i,s)||Boolean(t.nodeValue.match(a)||t.nodeValue.match(l));for(var n=D(e).filter(function(t,e){return e instanceof RegExp}),r=0,o=n.length;r]+>/g,"")),n&&(l=y(l)),l=l.toUpperCase(),o="contains"===i?0<=l.indexOf(e):l.startsWith(e)))break}return o}function O(t){return parseInt(t,10)||0}D.fn.triggerNative=function(t){var e,i=this[0];i.dispatchEvent?(d?e=new Event(t,{bubbles:!0}):(e=document.createEvent("Event")).initEvent(t,!0,!1),i.dispatchEvent(e)):i.fireEvent?((e=document.createEventObject()).eventType=t,i.fireEvent("on"+t,e)):this.trigger(t)};var f={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},p=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,g=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function v(t){return f[t]}function y(t){return(t=t.toString())&&t.replace(p,v).replace(g,"")}var b,_,w,k,C=(b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},_="(?:"+Object.keys(b).join("|")+")",w=RegExp(_),k=RegExp(_,"g"),function(t){return t=null==t?"":""+t,w.test(t)?t.replace(k,S):t});function S(t){return b[t]}var T={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},P={success:!1,major:"3"};try{P.full=(D.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),P.major=P.full[0],P.success=!0}catch(t){}var E=0,j=".bs.select",H={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},L={MENU:"."+H.MENU},N={span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};N.a.setAttribute("role","option"),N.subtext.className="text-muted",N.text=N.span.cloneNode(!1),N.text.className="text",N.checkMark=N.span.cloneNode(!1);function F(t,e,i){var n=N.li.cloneNode(!1);return t&&(1===t.nodeType||11===t.nodeType?n.appendChild(t):n.innerHTML=t),void 0!==e&&""!==e&&(n.className=e),null!=i&&n.classList.add("optgroup-"+i),n}function z(t,e){var i,n,r=N.text.cloneNode(!1);if(t.content)r.innerHTML=t.content;else{if(r.textContent=t.text,t.icon){var o=N.whitespace.cloneNode(!1);(n=(!0===e?N.i:N.span).cloneNode(!1)).className=t.iconBase+" "+t.icon,N.fragment.appendChild(n),N.fragment.appendChild(o)}t.subtext&&((i=N.subtext.cloneNode(!1)).textContent=t.subtext,r.appendChild(i))}if(!0===e)for(;0'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},B.prototype={constructor:B,init:function(){var i=this,t=this.$element.attr("id");E++,this.selectId="bs-select-"+E,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(L.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(H.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+j,function(){if(i.isVirtual()){var t=i.$menuInner[0],e=t.firstChild.cloneNode(!1);t.replaceChild(e,t.firstChild),t.scrollTop=0}}),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){i.$element.trigger("hide"+j,t)},"hidden.bs.dropdown":function(t){i.$element.trigger("hidden"+j,t)},"show.bs.dropdown":function(t){i.$element.trigger("show"+j,t)},"shown.bs.dropdown":function(t){i.$element.trigger("shown"+j,t)}}),i.$element[0].hasAttribute("required")&&this.$element.on("invalid"+j,function(){i.$button[0].classList.add("bs-invalid"),i.$element.on("shown"+j+".invalid",function(){i.$element.val(i.$element.val()).off("shown"+j+".invalid")}).on("rendered"+j,function(){this.validity.valid&&i.$button[0].classList.remove("bs-invalid"),i.$element.off("rendered"+j)}),i.$button.on("blur"+j,function(){i.$element.trigger("focus").trigger("blur"),i.$button.off("blur"+j)})}),setTimeout(function(){i.createLi(),i.$element.trigger("loaded"+j)})},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",e=this.multiple?' aria-multiselectable="true"':"",i="",n=this.autofocus?" autofocus":"";P.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var r,o="",s="",a="",l="";return this.options.header&&(o='
'+this.options.header+"
"),this.options.liveSearch&&(s=''),this.multiple&&this.options.actionsBox&&(a='
"),this.multiple&&this.options.doneButton&&(l='
"),r='",D(r)},setPositionData:function(){this.selectpicker.view.canHighlight=[];for(var t=this.selectpicker.view.size=0;t=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(O,t,e){var P,L,N=this,i=0,F=[];if(this.selectpicker.current=O?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),t)if(e)i=this.$menuInner[0].scrollTop;else if(!N.multiple){var n=N.$element[0],r=(n.options[n.selectedIndex]||{}).liIndex;if("number"==typeof r&&!1!==N.options.size){var o=N.selectpicker.main.data[r],s=o&&o.position;s&&(i=s-(N.sizeInfo.menuInnerHeight+N.sizeInfo.liHeight)/2)}}function a(t,e){var i,n,r,o,s,a,l,c,u,h=N.selectpicker.current.elements.length,d=[],f=!0,p=N.isVirtual();N.selectpicker.view.scrollTop=t,i=Math.ceil(N.sizeInfo.menuInnerHeight/N.sizeInfo.liHeight*1.5),n=Math.round(h/i)||1;for(var g=0;gh-1?0:N.selectpicker.current.data[h-1].position-N.selectpicker.current.data[N.selectpicker.view.position1-1].position,b.firstChild.style.marginTop=v+"px",b.firstChild.style.marginBottom=y+"px"):(b.firstChild.style.marginTop=0,b.firstChild.style.marginBottom=0),b.firstChild.appendChild(_),!0===p&&N.sizeInfo.hasScrollBar){var A=b.firstChild.offsetWidth;if(e&&AN.sizeInfo.selectWidth)b.firstChild.style.minWidth=N.sizeInfo.menuInnerInnerWidth+"px";else if(A>N.sizeInfo.menuInnerInnerWidth){N.$menu[0].style.minWidth=0;var D=b.firstChild.offsetWidth;D>N.sizeInfo.menuInnerInnerWidth&&(N.sizeInfo.menuInnerInnerWidth=D,b.firstChild.style.minWidth=N.sizeInfo.menuInnerInnerWidth+"px"),N.$menu[0].style.minWidth=""}}}if(N.prevActiveIndex=N.activeIndex,N.options.liveSearch){if(O&&e){var M,I=0;N.selectpicker.view.canHighlight[I]||(I=1+N.selectpicker.view.canHighlight.slice(1).indexOf(!0)),M=N.selectpicker.view.visibleElements[I],N.defocusItem(N.selectpicker.view.currentActive),N.activeIndex=(N.selectpicker.current.data[I]||{}).index,N.focusItem(M)}}else N.$menuInner.trigger("focus")}a(i,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",function(t,e){N.noScroll||a(this.scrollTop,e),N.noScroll=!1}),D(window).off("resize"+j+"."+this.selectId+".createView").on("resize"+j+"."+this.selectId+".createView",function(){N.$newElement.hasClass(H.SHOW)&&a(N.$menuInner[0].scrollTop)})},focusItem:function(t,e,i){if(t){e=e||this.selectpicker.main.data[this.activeIndex];var n=t.firstChild;n&&(n.setAttribute("aria-setsize",this.selectpicker.view.size),n.setAttribute("aria-posinset",e.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",n.id),t.classList.add("active"),n.classList.add("active")))}},defocusItem:function(t){t&&(t.classList.remove("active"),t.firstChild&&t.firstChild.classList.remove("active"))},setPlaceholder:function(){var t=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var e=this.$element[0],i=!1,n=!this.selectpicker.view.titleOption.parentNode;n&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",i=void 0===D(e.options[e.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected")),!n&&0===this.selectpicker.view.titleOption.index||e.insertBefore(this.selectpicker.view.titleOption,e.firstChild),i&&(e.selectedIndex=0)}return t},createLi:function(){var f=this,p=this.options.iconBase,g=':not([hidden]):not([data-hidden="true"])',m=[],v=[],y=0,b=0,t=this.setPlaceholder()?1:0;this.options.hideDisabled&&(g+=":not(:disabled)"),!f.options.showTick&&!f.multiple||N.checkMark.parentNode||(N.checkMark.className=p+" "+f.options.tickIcon+" check-mark",N.a.appendChild(N.checkMark));var e=this.$element[0].querySelectorAll("select > *"+g);function _(t){var e=v[v.length-1];e&&"divider"===e.type&&(e.optID||t.optID)||((t=t||{}).type="divider",m.push(F(!1,H.DIVIDER,t.optID?t.optID+"div":void 0)),v.push(t))}function w(t,e){if((e=e||{}).divider="true"===t.getAttribute("data-divider"),e.divider)_({optID:e.optID});else{var i=v.length,n=t.style.cssText,r=n?C(n):"",o=(t.className||"")+(e.optgroupClass||"");e.optID&&(o="opt "+o),e.text=t.textContent,e.content=t.getAttribute("data-content"),e.tokens=t.getAttribute("data-tokens"),e.subtext=t.getAttribute("data-subtext"),e.icon=t.getAttribute("data-icon"),e.iconBase=p;var s=z(e),a=F((c=s,u=o,h=r,d=N.a.cloneNode(!0),c&&(11===c.nodeType?d.appendChild(c):d.insertAdjacentHTML("beforeend",c)),void 0!==u&&""!==u&&(d.className=u),"4"===P.major&&d.classList.add("dropdown-item"),h&&d.setAttribute("style",h),d),"",e.optID);a.firstChild&&(a.firstChild.id=f.selectId+"-"+i),m.push(a),t.liIndex=i,e.display=e.content||e.text,e.type="option",e.index=i,e.option=t,e.disabled=e.disabled||t.disabled,v.push(e);var l=0;e.display&&(l+=e.display.length),e.subtext&&(l+=e.subtext.length),e.icon&&(l+=1),y li")},render:function(){this.setPlaceholder();var t,e=this,i=this.$element[0],n=A(i,this.options.hideDisabled),r=n.length,o=this.$button[0],s=o.querySelector(".filter-option-inner-inner"),a=document.createTextNode(this.options.multipleSeparator),l=N.fragment.cloneNode(!1),c=!1;if(o.classList.toggle("bs-placeholder",e.multiple?!r:!M(i,n)),this.tabIndex(),"static"===this.options.selectedTextFormat)l=z({text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1")).length&&r>t[1]||1===t.length&&2<=r))){for(var u=0;u option"+p+", optgroup"+p+" option"+p).length,m="function"==typeof this.options.countSelectedText?this.options.countSelectedText(r,g):this.options.countSelectedText;l=z({text:m.replace("{0}",r.toString()).replace("{1}",g.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),l.childNodes.length||(l=z({text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),o.title=l.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&c&&R([l],e.options.whiteList,e.options.sanitizeFn),s.innerHTML="",s.appendChild(l),P.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var v=o.querySelector(".filter-expand"),y=s.cloneNode(!0);y.className="filter-expand",v?o.replaceChild(y,v):o.appendChild(y)}this.$element.trigger("rendered"+j)},setStyle:function(t,e){var i,n=this.$button[0],r=this.$newElement[0],o=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),P.major<4&&(r.classList.add("bs3"),r.parentNode.classList.contains("input-group")&&(r.previousElementSibling||r.nextElementSibling)&&(r.previousElementSibling||r.nextElementSibling).classList.contains("input-group-addon")&&r.classList.add("bs3-has-addon")),i=t?t.trim():o,"add"==e?i&&n.classList.add.apply(n.classList,i.split(" ")):"remove"==e?i&&n.classList.remove.apply(n.classList,i.split(" ")):(o&&n.classList.remove.apply(n.classList,o.split(" ")),i&&n.classList.add.apply(n.classList,i.split(" ")))},liHeight:function(t){if(t||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var e=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div"),r=document.createElement("ul"),o=document.createElement("li"),s=document.createElement("li"),a=document.createElement("li"),l=document.createElement("a"),c=document.createElement("span"),u=this.options.header&&0this.sizeInfo.menuExtras.vert&&a+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)r=3this.options.size){for(var v=0;vthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(H.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.options.size&&i.off("resize"+j+"."+this.selectId+".setMenuSize scroll"+j+"."+this.selectId+".setMenuSize"),e.createView(!1,!0,t)}},setWidth:function(){var i=this;"auto"===this.options.width?requestAnimationFrame(function(){i.$menu.css("min-width","0"),i.$element.on("loaded"+j,function(){i.liHeight(),i.setMenuSize();var t=i.$newElement.clone().appendTo("body"),e=t.css("width","auto").children("button").outerWidth();t.remove(),i.sizeInfo.selectWidth=Math.max(i.sizeInfo.totalMenuWidth,e),i.$newElement.css("width",i.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){function t(t){var e={},i=s.options.display||!!D.fn.dropdown.Constructor.Default&&D.fn.dropdown.Constructor.Default.display;s.$bsContainer.addClass(t.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(H.DROPUP,t.hasClass(H.DROPUP)),n=t.offset(),a.is("body")?r={top:0,left:0}:((r=a.offset()).top+=parseInt(a.css("borderTopWidth"))-a.scrollTop(),r.left+=parseInt(a.css("borderLeftWidth"))-a.scrollLeft()),o=t.hasClass(H.DROPUP)?0:t[0].offsetHeight,(P.major<4||"static"===i)&&(e.top=n.top-r.top+o,e.left=n.left-r.left),e.width=t[0].offsetWidth,s.$bsContainer.css(e)}this.$bsContainer=D('
');var n,r,o,s=this,a=D(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){s.isDisabled()||(t(s.$newElement),s.$bsContainer.appendTo(s.options.container).toggleClass(H.SHOW,!s.$button.hasClass(H.SHOW)).append(s.$menu))}),D(window).off("resize"+j+"."+this.selectId+" scroll"+j+"."+this.selectId).on("resize"+j+"."+this.selectId+" scroll"+j+"."+this.selectId,function(){s.$newElement.hasClass(H.SHOW)&&t(s.$newElement)}),this.$element.on("hide"+j,function(){s.$menu.data("height",s.$menu.height()),s.$bsContainer.detach()})},setOptionStatus:function(t){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var e=0;e
');k[2]&&(C=C.replace("{var}",k[2][1"+C+"")),u=!1,E.$element.trigger("maxReached"+j)),v&&b&&(T.append(D("
"+S+"
")),u=!1,E.$element.trigger("maxReachedGrp"+j)),setTimeout(function(){E.setSelected(s,!1)},10),T[0].classList.add("fadeOut"),setTimeout(function(){T.remove()},1050)}}}else c&&(c.selected=!1),h.selected=!0,E.setSelected(s,!0);!E.multiple||E.multiple&&1===E.options.maxOptions?E.$button.trigger("focus"):E.options.liveSearch&&E.$searchbox.trigger("focus"),u&&(!E.multiple&&l===n.selectedIndex||(I=[h.index,d.prop("selected"),a],E.$element.triggerNative("change")))}}),this.$menu.on("click","li."+H.DISABLED+" a, ."+H.POPOVERHEADER+", ."+H.POPOVERHEADER+" :not(.close)",function(t){t.currentTarget==this&&(t.preventDefault(),t.stopPropagation(),E.options.liveSearch&&!D(t.target).hasClass("close")?E.$searchbox.trigger("focus"):E.$button.trigger("focus"))}),this.$menuInner.on("click",".divider, .dropdown-header",function(t){t.preventDefault(),t.stopPropagation(),E.options.liveSearch?E.$searchbox.trigger("focus"):E.$button.trigger("focus")}),this.$menu.on("click","."+H.POPOVERHEADER+" .close",function(){E.$button.trigger("click")}),this.$searchbox.on("click",function(t){t.stopPropagation()}),this.$menu.on("click",".actions-btn",function(t){E.options.liveSearch?E.$searchbox.trigger("focus"):E.$button.trigger("focus"),t.preventDefault(),t.stopPropagation(),D(this).hasClass("bs-select-all")?E.selectAll():E.deselectAll()}),this.$element.on("change"+j,function(){E.render(),E.$element.trigger("changed"+j,I),I=null}).on("focus"+j,function(){E.options.mobile||E.$button.trigger("focus")})},liveSearchListener:function(){var f=this,p=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",function(){f.$searchbox.val()&&f.$searchbox.val("")}),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(t){t.stopPropagation()}),this.$searchbox.on("input propertychange",function(){var t=f.$searchbox.val();if(f.selectpicker.search.elements=[],f.selectpicker.search.data=[],t){var e=[],i=t.toUpperCase(),n={},r=[],o=f._searchStyle(),s=f.options.liveSearchNormalize;s&&(i=y(i)),f._$lisSelected=f.$menuInner.find(".selected");for(var a=0;a=l.selectpicker.view.canHighlight.length&&(e=0),l.selectpicker.view.canHighlight[e+p]||(e=e+1+l.selectpicker.view.canHighlight.slice(e+p+1).indexOf(!0))),t.preventDefault();var g=p+e;38===t.which?0===p&&e===c.length-1?(l.$menuInner[0].scrollTop=l.$menuInner[0].scrollHeight,g=l.selectpicker.current.elements.length-1):u=(o=(r=l.selectpicker.current.data[g]).position-r.height)f+l.sizeInfo.menuInnerHeight),n=l.selectpicker.main.elements[m],l.activeIndex=y[w],l.focusItem(n),n&&n.firstChild.focus(),u&&(l.$menuInner[0].scrollTop=o),s.trigger("focus")}}i&&(32===t.which&&!l.selectpicker.keydown.keyHistory||13===t.which||9===t.which&&l.options.selectOnTab)&&(32!==t.which&&t.preventDefault(),l.options.liveSearch&&32===t.which||(l.$menuInner.find(".active a").trigger("click",!0),s.trigger("focus"),l.options.liveSearch||(t.preventDefault(),D(document).data("spaceSelect",!0))))}},mobile:function(){this.$element[0].classList.add("mobile-device")},refresh:function(){var t=D.extend({},this.options,this.$element.data());this.options=t,this.checkDisabled(),this.setStyle(),this.render(),this.createLi(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+j)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(j).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),D(window).off(j+"."+this.selectId)}};var V=D.fn.selectpicker;D.fn.selectpicker=U,D.fn.selectpicker.Constructor=B,D.fn.selectpicker.noConflict=function(){return D.fn.selectpicker=V,this},D(document).off("keydown.bs.dropdown.data-api",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select .dropdown-menu').on("keydown"+j,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',B.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(t){t.stopPropagation()}),D(window).on("load"+j+".data-api",function(){D(".selectpicker").each(function(){var t=D(this);U.call(t,t.data())})})}(t)}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(A,D){function M(){return new Date(Date.UTC.apply(Date,arguments))}function I(){var t=new Date;return M(t.getFullYear(),t.getMonth(),t.getDate())}function o(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function t(t,e){return function(){return e!==D&&A.fn.datepicker.deprecated(e),this[t].apply(this,arguments)}}function w(t,e){A.data(t,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(e),this.dates=new i,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=A(t),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=A(P.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return Number(e)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()}var e,i=(e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,n=this.length;i]/g)||[]).length<=0||0this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),e?(this.setValue(),this.element.change()):this.dates.length&&String(t)!==String(this.dates)&&e&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&t.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var t=this.o.weekStart,e="";for(this.o.calendarWeeks&&(e+=' ');t";e+="",this.picker.find(".datepicker-days thead").append(e)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e="",i=0;i<12;i++)e+=''+O[this.o.language].monthsShort[i]+"";this.picker.find(".datepicker-months td").html(e)},setRange:function(t){t&&t.length?this.range=A.map(t,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var e=[],i=this.viewDate.getUTCFullYear(),n=this.viewDate.getUTCMonth(),r=I();return t.getUTCFullYear()i||t.getUTCFullYear()===i&&t.getUTCMonth()>n)&&e.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&e.push("focused"),this.o.todayHighlight&&o(t,r)&&e.push("today"),-1!==this.dates.contains(t)&&e.push("active"),this.dateWithinRange(t)||e.push("disabled"),this.dateIsDisabled(t)&&e.push("disabled","disabled-date"),-1!==A.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&e.push("highlighted"),this.range&&(t>this.range[0]&&t"+v+"";d.find(".datepicker-switch").text(f+"-"+p),d.find("td").html(u)},fill:function(){var t,e,i=new Date(this.viewDate),r=i.getUTCFullYear(),n=i.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,s=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,a=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=O[this.o.language].today||O.en.today||"",u=O[this.o.language].clear||O.en.clear||"",h=O[this.o.language].titleFormat||O.en.titleFormat,d=I(),f=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&d>=this.o.startDate&&d<=this.o.endDate&&!this.weekOfDateIsDisabled(d);if(!isNaN(r)&&!isNaN(n)){this.picker.find(".datepicker-days .datepicker-switch").text(P.formatDate(i,h,this.o.language)),this.picker.find("tfoot .today").text(c).css("display",f?"table-cell":"none"),this.picker.find("tfoot .clear").text(u).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var p=M(r,n,0),g=p.getUTCDate();p.setUTCDate(g-(p.getUTCDay()-this.o.weekStart+7)%7);var m=new Date(p);p.getUTCFullYear()<100&&m.setUTCFullYear(p.getUTCFullYear()),m.setUTCDate(m.getUTCDate()+42),m=m.valueOf();for(var v,y,b=[];p.valueOf()"),this.o.calendarWeeks)){var _=new Date(+p+(this.o.weekStart-v-7)%7*864e5),w=new Date(Number(_)+(11-_.getUTCDay())%7*864e5),x=new Date(Number(x=M(w.getUTCFullYear(),0,1))+(11-x.getUTCDay())%7*864e5),k=(w-x)/864e5/7+1;b.push(''+k+"")}(y=this.getClassNames(p)).push("day");var C=p.getUTCDate();this.o.beforeShowDay!==A.noop&&((e=this.o.beforeShowDay(this._utc_to_local(p)))===D?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),!1===e.enabled&&y.push("disabled"),e.classes&&(y=y.concat(e.classes.split(/\s+/))),e.tooltip&&(t=e.tooltip),e.content&&(C=e.content)),y=A.isFunction(A.uniqueSort)?A.uniqueSort(y):A.unique(y),b.push(''+C+""),t=null,v===this.o.weekEnd&&b.push(""),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(b.join(""));var S=O[this.o.language].monthsTitle||O.en.monthsTitle||"Months",T=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?S:r).end().find("tbody span").removeClass("active");if(A.each(this.dates,function(t,e){e.getUTCFullYear()===r&&T.eq(e.getUTCMonth()).addClass("active")}),(ra;break;case 0:t=n<=o&&r<=s,e=a<=n&&l<=r}this.picker.find(".prev").toggleClass("disabled",t),this.picker.find(".next").toggleClass("disabled",e)}},click:function(t){var e,i,n;t.preventDefault(),t.stopPropagation(),(e=A(t.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(I(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),1===this.viewMode?(n=e.parent().find("span").index(e),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(n)):(n=0,i=Number(e.text()),this.viewDate.setUTCFullYear(i)),this._trigger(P.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(M(i,n,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(t){var e=A(t.currentTarget).data("date"),i=new Date(e);this.o.updateViewDate&&(i.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),i.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(i)},navArrowsClick:function(t){var e=A(t.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(e*=12*P.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,e),this._trigger(P.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||1this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!(i=t)||isNaN(i.getTime()))return this.o.defaultViewDate;var i;if(!e)return t;var n,r,o=new Date(t.valueOf()),s=o.getUTCDate(),a=o.getUTCMonth(),l=Math.abs(e);if(e=0=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(this.picker.is(":visible")){var e,i,n=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(i=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(i=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?i=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(i=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),n=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}n&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation())},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+P.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};function c(t,e){A.data(t,"datepicker",this),this.element=A(t),this.inputs=A.map(e.inputs,function(t){return t.jquery?t[0]:t}),delete e.inputs,this.keepEmptyValues=e.keepEmptyValues,delete e.keepEmptyValues,r.call(A(this.inputs),e).on("changeDate",A.proxy(this.dateUpdated,this)),this.pickers=A.map(this.inputs,function(t){return A.data(t,"datepicker")}),this.updateDates()}c.prototype={updateDates:function(){this.dates=A.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var i=A.map(this.dates,function(t){return t.valueOf()});A.each(this.pickers,function(t,e){e.setRange(i)})},clearDates:function(){A.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(t){if(!this.updating){this.updating=!0;var i=A.data(t.target,"datepicker");if(i!==D){var n=i.getUTCDate(),r=this.keepEmptyValues,e=A.inArray(t.target,this.inputs),o=e-1,s=e+1,a=this.inputs.length;if(-1!==e){if(A.each(this.pickers,function(t,e){e.getUTCDate()||e!==i&&r||e.setUTCDate(n)}),nthis.dates[s])for(;sthis.dates[s];)this.pickers[s++].setUTCDate(n);this.updateDates(),delete this.updating}}}},destroy:function(){A.map(this.pickers,function(t){t.destroy()}),A(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:t("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var n=A.fn.datepicker,r=function(s){var a,l=Array.apply(null,arguments);if(l.shift(),this.each(function(){var t=A(this),e=t.data("datepicker"),i="object"==typeof s&&s;if(!e){var n=function(t,e){function i(t,e){return e.toLowerCase()}var n=A(t).data(),r={},o=new RegExp("^"+e.toLowerCase()+"([A-Z])");for(var s in e=new RegExp("^"+e.toLowerCase()),n)e.test(s)&&(r[s.replace(o,i)]=n[s]);return r}(this,"date"),r=function(t){var i={};if(O[t]||(t=t.split("-")[0],O[t])){var n=O[t];return A.each(h,function(t,e){e in n&&(i[e]=n[e])}),i}}(A.extend({},u,n,i).language),o=A.extend({},u,r,n,i);e=t.hasClass("input-daterange")||o.inputs?(A.extend(o,{inputs:o.inputs||t.find("input").toArray()}),new c(this,o)):new w(this,o),t.data("datepicker",e)}"string"==typeof s&&"function"==typeof e[s]&&(a=e[s].apply(e,l))}),a===D||a instanceof w||a instanceof c)return this;if(1(new Date).getFullYear()+n&&(i-=100),i):e);var i,n},m:function(t,e){if(isNaN(t))return t;for(--e;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};m.yy=m.yyyy,m.M=m.MM=m.mm=m.m,m.dd=m.d,t=I();var v=e.parts.slice();if(o.length!==v.length&&(v=A(v).filter(function(t,e){return-1!==A.inArray(e,g)}).toArray()),o.length===v.length){var y,b,_;for(l=0,y=v.length;l'+u.templates.leftArrow+''+u.templates.rightArrow+"",contTemplate:'',footTemplate:''};P.template='
'+P.headTemplate+""+P.footTemplate+'
'+P.headTemplate+P.contTemplate+P.footTemplate+'
'+P.headTemplate+P.contTemplate+P.footTemplate+'
'+P.headTemplate+P.contTemplate+P.footTemplate+'
'+P.headTemplate+P.contTemplate+P.footTemplate+"
",A.fn.datepicker.DPGlobal=P,A.fn.datepicker.noConflict=function(){return A.fn.datepicker=n,this},A.fn.datepicker.version="1.9.0",A.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},A(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var e=A(this);e.data("datepicker")||(t.preventDefault(),r.call(e,"show"))}),A(function(){r.call(A('[data-provide="datepicker-inline"]'))})}),function(){function e(t,e){return function(){return t.apply(e,arguments)}}var n,t,i,l,r,s=[].indexOf||function(t){for(var e=0,i=this.length;et.length)return;if(!(b instanceof O)){if(f&&v!=e.length-1){if(u.lastIndex=y,!(S=u.exec(t)))break;for(var _=S.index+(d&&S[1]?S[1].length:0),w=S.index+S[0].length,x=v,k=y,C=e.length;x"+i.content+""},!c.document)return c.addEventListener&&(I.disableWorkerMessageHandler||c.addEventListener("message",function(t){var e=JSON.parse(t.data),i=e.language,n=e.code,r=e.immediateClose;c.postMessage(I.highlight(n,I.languages[i],i)),r&&c.close()},!1)),I;var t=I.util.currentScript();if(t&&(I.filename=t.src,t.hasAttribute("data-manual")&&(I.manual=!0)),!I.manual){function i(){I.manual||I.highlightAll()}var n=document.readyState;"loading"===n||"interactive"===n&&t&&t.defer?document.addEventListener("DOMContentLoaded",i):window.requestAnimationFrame?window.requestAnimationFrame(i):window.setTimeout(i,16)}return I}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:(?!)*\]\s*)?>/i,greedy:!0},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var i={};i["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},i.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:i}};n["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var r={};r[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,t),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",r)}}),Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+e.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+e.source+")*?(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var i=t.languages.markup;i&&(i.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:i.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},i.tag))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?[.?]?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*[\s\S]*?\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(t){t=t||document;var l={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(t.querySelectorAll("pre[data-src]")).forEach(function(t){if(!t.hasAttribute("data-src-loaded")){for(var e,i=t.getAttribute("data-src"),n=t,r=/\blang(?:uage)?-([\w-]+)\b/i;n&&!r.test(n.className);)n=n.parentNode;if(n&&(e=(t.className.match(r)||[,""])[1]),!e){var o=(i.match(/\.(\w+)$/)||[,""])[1];e=l[o]||o}var s=document.createElement("code");s.className="language-"+e,t.textContent="",s.textContent="Loading…",t.appendChild(s);var a=new XMLHttpRequest;a.open("GET",i,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?(s.textContent=a.responseText,Prism.highlightElement(s),t.setAttribute("data-src-loaded","")):400<=a.status?s.textContent="✖ Error "+a.status+" while fetching file: "+a.statusText:s.textContent="✖ Error: File does not exist or is empty")},a.send(null)}})},document.addEventListener("DOMContentLoaded",function(){self.Prism.fileHighlight()})),function(){if("undefined"!=typeof self&&self.Prism&&self.document){function u(t){var e=a(t)["white-space"];if("pre-wrap"===e||"pre-line"===e){var i=t.querySelector("code"),n=t.querySelector(".line-numbers-rows"),r=t.querySelector(".line-numbers-sizer"),o=i.textContent.split(h);r||((r=document.createElement("span")).className="line-numbers-sizer",i.appendChild(r)),r.style.display="block",o.forEach(function(t,e){r.textContent=t||"\n";var i=r.getBoundingClientRect().height;n.children[e].style.height=i+"px"}),r.textContent="",r.style.display="none"}}var s="line-numbers",h=/\n(?!$)/g,a=function(t){return t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null};window.addEventListener("resize",function(){Array.prototype.forEach.call(document.querySelectorAll("pre."+s),u)}),Prism.hooks.add("complete",function(t){if(t.code){var e=t.element,i=e.parentNode;if(i&&/pre/i.test(i.nodeName)&&!e.querySelector(".line-numbers-rows")){for(var n=!1,r=/(?:^|\s)line-numbers(?:\s|$)/,o=e;o;o=o.parentNode)if(r.test(o.className)){n=!0;break}if(n){e.className=e.className.replace(r," "),r.test(i.className)||(i.className+=" line-numbers");var s,a=t.code.match(h),l=a?a.length+1:1,c=new Array(l+1).join("");(s=document.createElement("span")).setAttribute("aria-hidden","true"),s.className="line-numbers-rows",s.innerHTML=c,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(s),u(i),Prism.hooks.run("line-numbers",t)}}}}),Prism.hooks.add("line-numbers",function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0}),Prism.plugins.lineNumbers={getLine:function(t,e){if("PRE"===t.tagName&&t.classList.contains(s)){var i=t.querySelector(".line-numbers-rows"),n=parseInt(t.getAttribute("data-start"),10)||1,r=n+(i.children.length-1);er&&(r=t.outerHeight(!1)),e?t.attr("style",e):t.css("display","")})}i.each(function(){var t=l(this),e=0;o.target&&t.is(o.target)||("border-box"!==t.css("box-sizing")&&(e+=c(t.css("border-top-width"))+c(t.css("border-bottom-width")),e+=c(t.css("padding-top"))+c(t.css("padding-bottom"))),t.css(o.property,r-e+"px"))})}),a.each(function(){var t=l(this);t.attr("style",t.data("style-cache")||null)}),d._maintainScroll&&l(window).scrollTop(r/s*l("html").outerHeight(!0)),this},d._applyDataApi=function(){var i={};l("[data-match-height], [data-mh]").each(function(){var t=l(this),e=t.attr("data-mh")||t.attr("data-match-height");i[e]=e in i?i[e].add(t):t}),l.each(i,function(){this.matchHeight(!0)})};function o(t){d._beforeUpdate&&d._beforeUpdate(t,d._groups),l.each(d._groups,function(){d._apply(this.elements,this.options)}),d._afterUpdate&&d._afterUpdate(t,d._groups)}d._update=function(t,e){if(e&&"resize"===e.type){var i=l(window).width();if(i===n)return;n=i}t?-1===r&&(r=setTimeout(function(){o(e),r=-1},d._throttle)):o(e)},l(d._applyDataApi);var t=l.fn.on?"on":"bind";l(window)[t]("load",function(t){d._update(!1,t)}),l(window)[t]("resize orientationchange",function(t){d._update(!0,t)})}),"object"==typeof navigator&&function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Plyr",e):(t=t||self).Plyr=e()}(this,function(){"use strict";!function(){if("undefined"!=typeof window)try{var t=new window.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){var e=function(t,e){var i,n;return(e=e||{}).bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,(i=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n=i.preventDefault,i.preventDefault=function(){n.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented=!0}},i};e.prototype=window.Event.prototype,window.CustomEvent=e}}();var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}function i(t){return t&&t.Math==Math&&t}function m(t){try{return!!t()}catch(t){return!0}}function o(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}function f(t){return a.call(t).slice(8,-1)}function h(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function c(t){return w(h(t))}function v(t){return"object"==typeof t?null!==t:"function"==typeof t}function u(t,e){if(!v(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!v(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!v(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!v(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}function _(t,e){return b.call(t,e)}function n(t){return k?x.createElement(t):{}}function E(t){if(!v(t))throw TypeError(String(t)+" is not an object");return t}function d(e,i){try{M(y,e,i)}catch(t){y[e]=i}return i}var y=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||Function("return this")(),p=!m(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),r={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,g={f:s&&!r.call({1:2},1)?function(t){var e=s(this,t);return!!e&&e.enumerable}:r},a={}.toString,l="".split,w=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==f(t)?l.call(t,""):Object(t)}:Object,b={}.hasOwnProperty,x=y.document,k=v(x)&&v(x.createElement),C=!p&&!m(function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}),S=Object.getOwnPropertyDescriptor,T={f:p?S:function(t,e){if(t=c(t),e=u(e,!0),C)try{return S(t,e)}catch(t){}if(_(t,e))return o(!g.f.call(t,e),t[e])}},A=Object.defineProperty,D={f:p?A:function(t,e,i){if(E(t),e=u(e,!0),E(i),C)try{return A(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},M=p?function(t,e,i){return D.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t},I=y["__core-js_shared__"]||d("__core-js_shared__",{}),O=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(t){return O.call(t)});function P(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++$+B).toString(36)}function L(t){return U[t]||(U[t]=P(t))}var N,F,R,j=I.inspectSource,H=y.WeakMap,z="function"==typeof H&&/native code/.test(j(H)),W=e(function(t){(t.exports=function(t,e){return I[t]||(I[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),$=0,B=Math.random(),U=W("keys"),V={},q=y.WeakMap;if(z){var Y=new q,G=Y.get,Q=Y.has,K=Y.set;N=function(t,e){return K.call(Y,t,e),e},F=function(t){return G.call(Y,t)||{}},R=function(t){return Q.call(Y,t)}}else{var X=L("state");V[X]=!0,N=function(t,e){return M(t,X,e),e},F=function(t){return _(t,X)?t[X]:{}},R=function(t){return _(t,X)}}function Z(t){return"function"==typeof t?t:void 0}function J(t,e){return arguments.length<2?Z(pt[t])||Z(y[t]):pt[t]&&pt[t][e]||y[t]&&y[t][e]}function tt(t){return isNaN(t=+t)?0:(0r;)_(n,i=e[r++])&&(~wt(o,i)||o.push(i));return o}function ot(t,e){for(var i=Tt(e),n=D.f,r=T.f,o=0;o"+t+"<\/script>"}var ht,dt={set:N,get:F,has:R,enforce:function(t){return R(t)?F(t):N(t,{})},getterFor:function(i){return function(t){var e;if(!v(t)||(e=F(t)).type!==i)throw TypeError("Incompatible receiver, "+i+" required");return e}}},ft=e(function(t){var e=dt.get,a=dt.enforce,l=String(String).split("String");(t.exports=function(t,e,i,n){var r=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet;"function"==typeof i&&("string"!=typeof e||_(i,"name")||M(i,"name",e),a(i).source=l.join("string"==typeof e?e:"")),t!==y?(r?!s&&t[e]&&(o=!0):delete t[e],o?t[e]=i:M(t,e,i)):o?t[e]=i:d(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||j(this)})}),pt=y,gt=Math.ceil,mt=Math.floor,vt=Math.min,yt=Math.max,bt=Math.min,_t={includes:nt(!0),indexOf:nt(!1)},wt=_t.indexOf,xt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kt=xt.concat("length","prototype"),Ct={f:Object.getOwnPropertyNames||function(t){return rt(t,kt)}},St={f:Object.getOwnPropertySymbols},Tt=J("Reflect","ownKeys")||function(t){var e=Ct.f(E(t)),i=St.f;return i?e.concat(i(t)):e},Et=/#|\.prototype\./,At=st.normalize=function(t){return String(t).replace(Et,".").toLowerCase()},Dt=st.data={},Mt=st.NATIVE="N",It=st.POLYFILL="P",Ot=st,Pt=T.f,Lt=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())}),Nt=Lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=Array.isArray||function(t){return"Array"==f(t)},Rt=Object.keys||function(t){return rt(t,xt)},jt=p?Object.defineProperties:function(t,e){E(t);for(var i,n=Rt(e),r=n.length,o=0;o=e.length?{value:t.target=void 0,done:!0}:"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");fi.Arguments=fi.Array,ci("keys"),ci("values"),ci("entries");var Pi=[].join,Li=w!=Object,Ni=Ye("join",",");at({target:"Array",proto:!0,forced:Li||!Ni},{join:function(t){return Pi.call(c(this),void 0===t?",":t)}});function Fi(t,e,i){var n=u(e);n in t?D.f(t,n,o(0,i)):t[n]=i}var Ri,ji,Hi=J("navigator","userAgent")||"",zi=y.process,Wi=zi&&zi.versions,$i=Wi&&Wi.v8;$i?ji=(Ri=$i.split("."))[0]+Ri[1]:Hi&&(!(Ri=Hi.match(/Edge\/(\d+)/))||74<=Ri[1])&&(Ri=Hi.match(/Chrome\/(\d+)/))&&(ji=Ri[1]);function Bi(e){return 51<=Ui||!m(function(){var t=[];return(t.constructor={})[Vi]=function(){return{foo:1}},1!==t[e](Boolean).foo})}var Ui=ji&&+ji,Vi=$t("species"),qi=Bi("slice"),Yi=Qe("slice",{ACCESSORS:!0,0:0,1:2}),Gi=$t("species"),Qi=[].slice,Ki=Math.max;at({target:"Array",proto:!0,forced:!qi||!Yi},{slice:function(t,e){var i,n,r,o=c(this),s=et(o.length),a=it(t,s),l=it(void 0===e?s:e,s);if(Ft(o)&&(("function"==typeof(i=o.constructor)&&(i===Array||Ft(i.prototype))||v(i)&&null===(i=i[Gi]))&&(i=void 0),i===Array||void 0===i))return Qi.call(o,a,l);for(n=new(void 0===i?Array:i)(Ki(l-a,0)),r=0;a=i.length?{value:void 0,done:!0}:(t=xn(i,n),e.index+=t.length,{value:t,done:!1})});function Sn(i,t,e,n){var r=$t(i),o=!m(function(){var t={};return t[r]=function(){return 7},7!=""[i](t)}),s=o&&!m(function(){var t=!1,e=/a/;return"split"===i&&((e={}).constructor={},e.constructor[An]=function(){return e},e.flags="",e[r]=/./[r]),e.exec=function(){return t=!0,null},e[r](""),!t});if(!o||!s||"replace"===i&&(!Dn||!Mn||On)||"split"===i&&!Pn){var a=/./[r],l=e(r,""[i],function(t,e,i,n,r){return e.exec===gn?o&&!r?{done:!0,value:a.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:Mn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:On}),c=l[0],u=l[1];ft(String.prototype,i,c),ft(RegExp.prototype,r,2==t?function(t,e){return u.call(t,this,e)}:function(t){return u.call(t,this)})}n&&M(RegExp.prototype[r],"sham",!0)}function Tn(t,e,i){return e+(i?Ln(t,e).length:1)}function En(t,e){var i=t.exec;if("function"==typeof i){var n=i.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==f(t))throw TypeError("RegExp#exec called on incompatible receiver");return gn.call(t,e)}var An=$t("species"),Dn=!m(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),Mn="$0"==="a".replace(/./,"$0"),In=$t("replace"),On=!!/./[In]&&""===/./[In]("a","$0"),Pn=!m(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}),Ln=wn.charAt,Nn=Math.max,Fn=Math.min,Rn=Math.floor,jn=/\$([$&'`]|\d\d?|<[^>]*>)/g,Hn=/\$([$&'`]|\d\d?)/g;Sn("replace",2,function(r,w,x,t){var k=t.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,C=t.REPLACE_KEEPS_$0,S=k?"$":"$0";return[function(t,e){var i=h(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,i,e):w.call(String(i),t,e)},function(t,e){if(!k&&C||"string"==typeof e&&-1===e.indexOf(S)){var i=x(w,t,this,e);if(i.done)return i.value}var n=E(t),r=String(this),o="function"==typeof e;o||(e=String(e));var s=n.global;if(s){var a=n.unicode;n.lastIndex=0}for(var l=[];;){var c=En(n,r);if(null===c)break;if(l.push(c),!s)break;""===String(c[0])&&(n.lastIndex=Tn(r,et(n.lastIndex),a))}for(var u,h="",d=0,f=0;f>>0;if(0==n)return[];if(void 0===t)return[i];if(!Wn(t))return m.call(i,t,n);for(var r,o,s,a=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,u=new RegExp(t.source,l+"g");(r=gn.call(u,i))&&!((o=u.lastIndex)>c&&(a.push(i.slice(c,r.index)),1=n));)u.lastIndex===r.index&&u.lastIndex++;return c===i.length?!s&&u.test("")||a.push(""):a.push(i.slice(c)),a.length>n?a.slice(0,n):a}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:m.call(this,t,e)}:m,[function(t,e){var i=h(this),n=null==t?void 0:t[r];return void 0!==n?n.call(t,i,e):y.call(String(i),t,e)},function(t,e){var i=v(y,t,this,e,y!==m);if(i.done)return i.value;var n=E(t),r=String(this),o=$n(n,RegExp),s=n.unicode,a=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(Yn?"y":"g"),l=new o(Yn?n:"^(?:"+n.source+")",a),c=void 0===e?4294967295:e>>>0;if(0==c)return[];if(0===r.length)return null===En(l,r)?[r]:[];for(var u=0,h=0,d=[];h>1,t+=Pr(t/e);455=o&&iPr((2147483647-s)/h))throw RangeError(Or);for(s+=(u-o)*h,o=u,e=0;et.key){r.splice(e,0,t);break}e===i&&r.push(t)}n.updateURL()},forEach:function(t){for(var e,i=Hr(this).entries,n=qt(t,1=fo(256,5-e))return null}else if(255":1,"`":1}),Do=Tr({},Ao,{"#":1,"?":1,"{":1,"}":1}),Mo=Tr({},Do,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Io=function(t,e){var i=oo(t,0);return 32e[0]?1:0}),i._entries&&(i._entries={});for(var t=0;tha;ha++)_(oa,la=ua[ha])&&!_(ca,la)&&na(ca,la,ia(oa,la));(ca.prototype=sa).constructor=ca,ft(y,"Number",ca)}var da=m(function(){Rt(1)});at({target:"Object",stat:!0,forced:da},{keys:function(t){return Rt(lt(t))}});function fa(t){if(Wn(t))throw TypeError("The method doesn't accept regular expressions");return t}function pa(e){var i=/./;try{"/./"[e](i)}catch(t){try{return i[ga]=!1,"/./"[e](i)}catch(e){}}return!1}var ga=$t("match");at({target:"String",proto:!0,forced:!pa("includes")},{includes:function(t){return!!~String(h(this)).indexOf(fa(t),1>>=1)&&(e+=e))1&n&&(i+=e);return i},ja=1..toFixed,Ha=Math.floor,za=function(t,e,i){return 0===e?i:e%2==1?za(t,e-1,i*t):za(t*t,e/2,i)},Wa=ja&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!m(function(){ja.call({})});at({target:"Number",proto:!0,forced:Wa},{toFixed:function(t){function e(t,e){for(var i=-1,n=e;++i<6;)n+=t*u[i],u[i]=n%1e7,n=Ha(n/1e7)}function i(t){for(var e=6,i=0;0<=--e;)i+=u[e],u[e]=Ha(i/t),i=i%t*1e7}function n(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==u[t]){var i=String(u[t]);e=""===e?i:e+Ra.call("0",7-i.length)+i}return e}var r,o,s,a,l=function(t){if("number"!=typeof t&&"Number"!=f(t))throw TypeError("Incorrect invocation");return+t}(this),c=tt(t),u=[0,0,0,0,0,0],h="",d="0";if(c<0||20i;){var n,r,o,s=p[i++],a=e?s.ok:s.fail,l=s.resolve,c=s.reject,u=s.domain;try{a?(e||(2===d.rejection&&xc(h,d),d.rejection=1),!0===a?n=t:(u&&u.enter(),n=a(t),u&&(u.exit(),o=!0)),n===s.promise?c(uc("Promise-chain cycle")):(r=ql(n))?r.call(n,l,c):l(n)):c(t)}catch(t){u&&!o&&u.exit(),c(t)}}d.reactions=[],d.notified=!1,f&&!d.rejection&&_c(h,d)})}}function Gl(t,e,i){var n,r;vc?((n=hc.createEvent("Event")).promise=e,n.reason=i,n.initEvent(t,!1,!0),y.dispatchEvent(n)):n={promise:e,reason:i},(r=y["on"+t])?r(n):"unhandledrejection"===t&&function(t,e){var i=y.console;i&&i.error&&(1===arguments.length?i.error(t):i.error(t,e))}("Unhandled promise rejection",i)}function Ql(e,i,n,r){return function(t){e(i,n,t,r)}}function Kl(t,e,i,n){e.done||(e.done=!0,n&&(e=n),e.value=i,e.state=2,Yl(t,e,!0))}var Xl,Zl,Jl,tc,ec=$l||function(t){var e={fn:t,next:void 0};Al&&(Al.next=e),El||(El=e,Dl()),Al=e},ic={f:function(t){return new Bl(t)}},nc=Ll.set,rc=$t("species"),oc="Promise",sc=dt.get,ac=dt.set,lc=dt.getterFor(oc),cc=pl,uc=y.TypeError,hc=y.document,dc=y.process,fc=J("fetch"),pc=ic.f,gc=pc,mc="process"==f(dc),vc=!!(hc&&hc.createEvent&&y.dispatchEvent),yc=Ot(oc,function(){if(j(cc)===String(cc)){if(66===Ui)return!0;if(!mc&&"function"!=typeof PromiseRejectionEvent)return!0}if(51<=Ui&&/native code/.test(cc))return!1;function t(t){t(function(){},function(){})}var e=cc.resolve(1);return(e.constructor={})[rc]=t,!(e.then(function(){})instanceof t)}),bc=yc||!zs(function(t){cc.all(t).catch(function(){})}),_c=function(i,n){nc.call(y,function(){var t,e=n.value;if(wc(n)&&(t=Vl(function(){mc?dc.emit("unhandledRejection",e,i):Gl("unhandledrejection",i,e)}),n.rejection=mc||wc(n)?2:1,t.error))throw t.value})},wc=function(t){return 1!==t.rejection&&!t.parent},xc=function(t,e){nc.call(y,function(){mc?dc.emit("rejectionHandled",t):Gl("rejectionhandled",t,e.value)})},kc=function(i,n,t,e){if(!n.done){n.done=!0,e&&(n=e);try{if(i===t)throw uc("Promise can't be resolved itself");var r=ql(t);r?ec(function(){var e={done:!1};try{r.call(t,Ql(kc,i,e,n),Ql(Kl,i,e,n))}catch(t){Kl(i,e,t,n)}}):(n.value=t,n.state=1,Yl(i,n,!1))}catch(t){Kl(i,{done:!1},t,n)}}};yc&&(cc=function(t){or(this,cc,oc),Vt(t),Xl.call(this);var e=sc(this);try{t(Ql(kc,this,e),Ql(Kl,this,e))}catch(t){Kl(this,e,t)}},(Xl=function(t){ac(this,{type:oc,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=fr(cc.prototype,{then:function(t,e){var i=lc(this),n=pc($n(this,cc));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=mc?dc.domain:void 0,i.parent=!0,i.reactions.push(n),0!=i.state&&Yl(this,i,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Zl=function(){var t=new Xl,e=sc(t);this.promise=t,this.resolve=Ql(kc,t,e),this.reject=Ql(Kl,t,e)},ic.f=pc=function(t){return t===cc||t===Jl?new Zl:gc(t)},"function"==typeof pl&&(tc=pl.prototype.then,ft(pl.prototype,"then",function(t,e){var i=this;return new cc(function(t,e){tc.call(i,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof fc&&at({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Ul(cc,fc.apply(y,arguments))}}))),at({global:!0,wrap:!0,forced:yc},{Promise:cc}),Ut(cc,oc,!1),ol(oc),Jl=J(oc),at({target:oc,stat:!0,forced:yc},{reject:function(t){var e=pc(this);return e.reject.call(void 0,t),e.promise}}),at({target:oc,stat:!0,forced:yc},{resolve:function(t){return Ul(this,t)}}),at({target:oc,stat:!0,forced:bc},{all:function(t){var a=this,e=pc(a),l=e.resolve,c=e.reject,i=Vl(function(){var n=Vt(a.resolve),r=[],o=0,s=1;_a(t,function(t){var e=o++,i=!1;r.push(void 0),s++,n.call(a,t).then(function(t){i||(i=!0,r[e]=t,--s||l(r))},c)}),--s||l(r)});return i.error&&c(i.value),e.promise},race:function(t){var i=this,n=pc(i),r=n.reject,e=Vl(function(){var e=Vt(i.resolve);_a(t,function(t){e.call(i,t).then(n.resolve,r)})});return e.error&&r(e.value),n.promise}});var Cc,Sc=T.f,Tc="".startsWith,Ec=Math.min,Ac=pa("startsWith"),Dc=!(Ac||(!(Cc=Sc(String.prototype,"startsWith"))||Cc.writable));at({target:"String",proto:!0,forced:!Dc&&!Ac},{startsWith:function(t){var e=String(h(this));fa(t);var i=et(Ec(1Ju;)Xu(Zu[Ju++]);(Vu.constructor=Ku).prototype=Vu,ft(y,"RegExp",Ku)}function th(t){for(var e=arguments.length,i=new Array(1=Math.pow(2,32))return yu(this.elements.display.currentTime,!0),void yu(this.elements.progress,!0);Jc(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=Jc(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&&mh.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&&mh.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),mh.updateSeekTooltip.call(this)}},toggleMenuButton:function(t,e){yu(this.elements.settings.buttons[t],!e)},updateSetting:function(t,e,i){var n=this.elements.settings.panels[t],r=null,o=e;if("captions"===t)r=this.currentTrack;else{if(r=tu(i)?this[t]:i,tu(r)&&(r=this.config[t].default),!tu(this.options[t])&&!this.options[t].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(t));if(!this.config[t].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(t))}if(Jc(o)||(o=n&&n.querySelector('[role="menu"]')),Jc(o)){this.elements.settings.buttons[t].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=mh.getLabel.call(this,t,r);var s=o&&o.querySelector('[value="'.concat(r,'"]'));Jc(s)&&(s.checked=!0)}},getLabel:function(t,e){switch(t){case"speed":return 1===e?rh("normal",this.config):"".concat(e,"×");case"quality":if(Gc(e)){var i=rh("qualityLabel.".concat(e),this.config);return i.length?i:"".concat(e,"p")}return ih(e);case"captions":return _h.getLabel.call(this);default:return null}},setQualityMenu:function(t){var n=this;if(Jc(this.elements.settings.panels.quality)){var i=this.elements.settings.panels.quality.querySelector('[role="menu"]');Xc(t)&&(this.options.quality=Hu(t).filter(function(t){return n.config.quality.options.includes(t)}));var e=!tu(this.options.quality)&&1i.indexOf(e)?1:-1}).forEach(function(t){var e;mh.createMenuItem.call(n,{value:t,list:i,type:"quality",title:mh.getLabel.call(n,"quality",t),badge:(e=rh("qualityBadge.".concat(t),n.config)).length?mh.createBadge.call(n,e):null})}),mh.updateSetting.call(this,"quality",i)}}},setCaptionsMenu:function(){var i=this;if(Jc(this.elements.settings.panels.captions)){var n=this.elements.settings.panels.captions.querySelector('[role="menu"]'),t=_h.getTracks.call(this),e=Boolean(t.length);if(mh.toggleMenuButton.call(this,"captions",e),gu(n),mh.checkMenu.call(this),e){var r=t.map(function(t,e){return{value:e,checked:i.captions.toggled&&i.currentTrack===e,title:_h.getLabel.call(i,t),badge:t.language&&mh.createBadge.call(i,t.language.toUpperCase()),list:n,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:rh("disabled",this.config),list:n,type:"language"}),r.forEach(mh.createMenuItem.bind(this)),mh.updateSetting.call(this,"captions",n)}}},setSpeedMenu:function(){var e=this;if(Jc(this.elements.settings.panels.speed)){var i=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(function(t){return t>=e.minimumSpeed&&t<=e.maximumSpeed});var t=!tu(this.options.speed)&&1=o?t:e)(n)}var n=new Image;Object.assign(n,{onload:i,onerror:i,src:r})})}at({target:"Math",stat:!0},{sign:Th});var Mh={addStyleHook:function(){bu(this.elements.container,this.config.selectors.container.replace(".",""),!0),bu(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){0Date.now();this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover||i))}}},Ih=(_s(Fh,[{key:"handleKey",value:function(t){var e=this.player,i=e.elements,n=t.keyCode?t.keyCode:t.which,r="keydown"===t.type,o=r&&n===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&Gc(n))if(r){var s=document.activeElement;if(Jc(s)){var a=e.config.selectors.editable;if(s!==i.inputs.seek&&wu(s,a))return;if(32===t.which&&wu(s,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(n)&&(t.preventDefault(),t.stopPropagation()),n){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(e.currentTime=e.duration/10*(n-48));break;case 32:case 75:o||e.togglePlay();break;case 38:e.increaseVolume(.1);break;case 40:e.decreaseVolume(.1);break;case 77:o||(e.muted=!e.muted);break;case 39:e.forward();break;case 37:e.rewind();break;case 70:e.fullscreen.toggle();break;case 67:o||e.toggleCaptions();break;case 76:e.loop=!e.loop}27===n&&!e.fullscreen.usingNative&&e.fullscreen.active&&e.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}},{key:"toggleMenu",value:function(t){mh.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){var t=this.player,e=t.elements;t.touch=!0,bu(e.container,t.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(t){var e=this.player,i=e.elements;if(clearTimeout(this.focusTimer),"keydown"!==t.type||9===t.which){"keydown"===t.type&&(this.lastKeyDown=t.timeStamp);var n,r=t.timeStamp-this.lastKeyDown<=20;"focus"===t.type&&!r||(n=e.config.classNames.tabFocus,bu(xu.call(e,".".concat(n)),n,!1),this.focusTimer=setTimeout(function(){var t=document.activeElement;i.container.contains(t)&&bu(document.activeElement,e.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var t=!(0Math.abs(r)?n:r);a.increaseVolume(o/50);var s=a.media.volume;(1===o&&s<1||-1===o&&0e.width/e.height?(i.width=e.width,i.height=1/t*e.width):(i.height=e.height,i.width=t*e.height),i}var id=(_s(rd,[{key:"load",value:function(){var t=this;this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(function(){t.enabled&&(t.render(),t.determineContainerAutoSizing(),t.loaded=!0)})}},{key:"getThumbnails",value:function(){var n=this;return new Promise(function(t){var e=n.player.config.previewThumbnails.src;if(tu(e))throw new Error("Missing previewThumbnails.src config attribute");var i=(Qc(e)?[e]:e).map(function(t){return n.getThumbnail(t)});Promise.all(i).then(function(){n.thumbnails.sort(function(t,e){return t.height-e.height}),n.player.debug.log("Preview thumbnails",n.thumbnails),t()})})}},{key:"getThumbnail",value:function(o){var s=this;return new Promise(function(r){lh(o).then(function(t){var e,i={frames:(e=[],t.split(/\r\n\r\n|\n\n|\r\r/).forEach(function(t){var o={};t.split(/\r\n|\n|\r/).forEach(function(t){if(Gc(o.startTime)){if(!tu(t.trim())&&tu(o.text)){var e=t.trim().split("#xywh="),i=Cs(e,1);if(o.text=i[0],e[1]){var n=Cs(e[1].split(","),4);o.x=n[0],o.y=n[1],o.w=n[2],o.h=n[3]}}}else{var r=t.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);r&&(o.startTime=60*Number(r[1]||0)*60+60*Number(r[2])+Number(r[3])+Number("0.".concat(r[4])),o.endTime=60*Number(r[6]||0)*60+60*Number(r[7])+Number(r[8])+Number("0.".concat(r[9])))}}),o.text&&e.push(o)}),e),height:null,urlPrefix:""};i.frames[0].text.startsWith("/")||i.frames[0].text.startsWith("http://")||i.frames[0].text.startsWith("https://")||(i.urlPrefix=o.substring(0,o.lastIndexOf("/")+1));var n=new Image;n.onload=function(){i.height=n.naturalHeight,i.width=n.naturalWidth,s.thumbnails.push(i),r()},n.src=i.urlPrefix+i.frames[0].text})})}},{key:"startMove",value:function(t){if(this.loaded&&Hc(t)&&["touchmove","mousemove"].includes(t.type)&&this.player.media.duration){if("touchmove"===t.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var e=this.player.elements.progress.getBoundingClientRect(),i=100/e.width*(t.pageX-e.left);this.seekTime=this.player.media.duration*(i/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=t.pageX,this.elements.thumb.time.innerText=gh(this.seekTime)}this.showImageAtCurrentTime()}}},{key:"endMove",value:function(){this.toggleThumbContainer(!1,!0)}},{key:"startScrubbing",value:function(t){!qc(t.button)&&!1!==t.button&&0!==t.button||(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}},{key:"endScrubbing",value:function(){var t=this;this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):Ou.call(this.player,this.player.media,"timeupdate",function(){t.mouseDown||t.toggleScrubbingContainer(!1)})}},{key:"listeners",value:function(){var t=this;this.player.on("play",function(){t.toggleThumbContainer(!1,!0)}),this.player.on("seeked",function(){t.toggleThumbContainer(!1)}),this.player.on("timeupdate",function(){t.lastTime=t.player.media.currentTime})}},{key:"render",value:function(){this.elements.thumb.container=du("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=du("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);var t=du("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=du("span",{},"00:00"),t.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(t),Jc(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=du("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}},{key:"destroy",value:function(){this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}},{key:"showImageAtCurrentTime",value:function(){var i=this;this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();var n=this.thumbnails[0].frames.findIndex(function(t){return i.seekTime>=t.startTime&&i.seekTime<=t.endTime}),t=0<=n,r=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach(function(t,e){i.loadedImages.includes(t.frames[n].text)&&(r=e)}),n!==this.showingThumb&&(this.showingThumb=n,this.loadImage(r)))}},{key:"loadImage",value:function(){var t=this,e=0
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},c.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),void 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,i;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,i=this.$element.children(e).width(),t.length&&i<=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,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i").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,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t",s[t+1]!==a?s[t+1]:e-o)&&(r="left"===n?t+1:t),-1===r},this)),this.settings.loop||(this.op(i,">",s[this.minimum()])?r=i=this.minimum():this.op(i,"<",s[this.maximum()])&&(r=i=this.maximum())),r},c.prototype.animate=function(t){var e=0n););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(i){function n(t){return t%2==0?r+t/2:e-(t+1)/2}var e=this._clones.length/2,r=e+this._items.length;return i===a?l.map(this._clones,function(t,e){return n(e)}):l.map(this._clones,function(t,e){return t===i?n(e):null})},c.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},c.prototype.coordinates=function(t){var e,i=1,n=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&&(i=-1,n=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[n]||0))/2*i):e=this._coordinates[n]||0,e=Math.ceil(e))},c.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},c.prototype.to=function(t,e){var i=this.current(),n=null,r=t-this.relative(i),o=(0s/2&&(r+=-1*o*s),(n=(((t=i+r)-a)%s+s)%s+a)!==t&&n-r<=l&&0":return n?t=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},c.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},c.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},c.prototype.trigger=function(t,e,i,n,r){var o={item:{count:this._items.length,index:this.current()}},s=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"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(i){if(i.type===c.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.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(n),e.after('
')}var n,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 i(s.attr(a)),s.remove(),!1;"youtube"===t.type?(r="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",i(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,i(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,i(r)}})},i.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")},i.prototype.play=function(t){var e,i=u(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],r=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),(e=u('')).attr("height",o),e.attr("width",r),"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(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(t).parent().hasClass("owl-video-frame")},i.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=i}(window.Zepto||window.jQuery,(window,document)),function(s){var e=function(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(){if(1===this.core.settings.items&&s.support.animation&&s.support.transition){this.core.speed(0);var t,e=s.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=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),i.one(s.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),r&&n.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(n,r,e){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":n.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":n.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":n.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":n.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":n.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=n.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(t){this._call=r.setTimeout(n.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)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(t,e){var i;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,i=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-i,this._timeout=t,this._call=r.setTimeout(n.proxy(this._next,this,e),t-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,r.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,r.clearTimeout(this._call))},i.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)},n.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(o){"use strict";var e=function(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":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.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":o.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=o.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,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?o(i.navContainer):o("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=o("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[o('