Files
phpvms/public/assets/frontend/js/vendor.js
2020-09-04 13:28:17 -04:00

6 lines
150 KiB
JavaScript

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Ji.apply(null,arguments)}function t(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(i(e,t))return!1;return!0}function o(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function a(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function u(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return i(t,"toString")&&(e.toString=t.toString),i(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,n,i){return St(e,t,n,i,!0).utc()}function h(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function d(e){return null==e._pf&&(e._pf=h()),e._pf}function f(e){if(null==e._isValid){var t=d(e),n=er.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function m(e){var t=c(NaN);return null!=e?u(d(t),e):d(t).userInvalidated=!0,t}function p(e,t){var n,i,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=d(t)),o(t._locale)||(e._locale=t._locale),tr.length>0)for(n=0;n<tr.length;n++)i=tr[n],r=t[i],o(r)||(e[i]=r);return e}function g(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===nr&&(nr=!0,e.updateOffset(this),nr=!1)}function _(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function v(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function y(t,n){var r=!0;return u(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){var o,s,a,l=[];for(s=0;s<arguments.length;s++){if(o="","object"==typeof arguments[s]){o+="\n["+s+"] ";for(a in arguments[0])i(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[s];l.push(o)}v(t+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function E(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),ir[t]||(v(n),ir[t]=!0)}function b(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function w(e){var t,n;for(n in e)i(e,n)&&(t=e[n],b(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var r,o=u({},e);for(r in t)i(t,r)&&(n(e[r])&&n(t[r])?(o[r]={},u(o[r],e[r]),u(o[r],t[r])):null!=t[r]?o[r]=t[r]:delete o[r]);for(r in e)i(e,r)&&!i(t,r)&&n(e[r])&&(o[r]=u({},o[r]));return o}function S(e){null!=e&&this.set(e)}function D(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return b(i)?i.call(t,n):i}function O(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function C(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(cr[e]=r),t&&(cr[t[0]]=function(){return O(r.apply(this,arguments),t[1],t[2])}),n&&(cr[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function I(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function A(e){var t,n,i=e.match(ar);for(t=0,n=i.length;t<n;t++)cr[i[t]]?i[t]=cr[i[t]]:i[t]=I(i[t]);return function(t){var r,o="";for(r=0;r<n;r++)o+=b(i[r])?i[r].call(t,e):i[r];return o}}function N(e,t){return e.isValid()?(t=k(t,e.localeData()),ur[t]=ur[t]||A(t),ur[t](e)):e.localeData().invalidDate()}function k(e,t){function n(e){return t.longDateFormat(e)||e}var i=5;for(lr.lastIndex=0;i>=0&&lr.test(e);)e=e.replace(lr,n),lr.lastIndex=0,i-=1;return e}function M(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ar).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])}function L(){return this._invalidDate}function P(e){return this._ordinal.replace("%d",e)}function R(e,t,n,i){var r=this._relativeTime[n];return b(r)?r(e,t,n,i):r.replace(/%d/i,e)}function x(e,t){var n=this._relativeTime[e>0?"future":"past"];return b(n)?n(t):n.replace(/%s/i,t)}function H(e,t){var n=e.toLowerCase();mr[n]=mr[n+"s"]=mr[t]=e}function Y(e){return"string"==typeof e?mr[e]||mr[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)i(e,n)&&(t=Y(n))&&(r[t]=e[n]);return r}function F(e,t){pr[e]=t}function U(e){var t,n=[];for(t in e)i(e,t)&&n.push({unit:t,priority:pr[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function V(e){return e%4==0&&e%100!=0||e%400==0}function j(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=j(t)),n}function B(t,n){return function(i){return null!=i?(K(this,t,i),e.updateOffset(this,n),this):q(this,t)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&V(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),re(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function z(e){return e=Y(e),b(this[e])?this[e]():this}function Q(e,t){if("object"==typeof e){e=W(e);var n,i=U(e);for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(e=Y(e),b(this[e]))return this[e](t);return this}function Z(e,t,n){or[e]=b(t)?t:function(e,i){return e&&n?n:t}}function X(e,t){return i(or,e)?or[e](t._strict,t._locale):new RegExp($(e))}function $(e){return J(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}function J(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),s(t)&&(i=function(e,n){n[t]=G(e)}),n=0;n<e.length;n++)Pr[e[n]]=i}function te(e,t){ee(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function ne(e,t,n){null!=t&&i(Pr,e)&&Pr[e](t,n._a,n,e)}function ie(e,t){return(e%t+t)%t}function re(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ie(t,12);return e+=(t-n)/12,1===n?V(e)?29:28:31-n%7%2}function oe(e,n){return e?t(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||qr).test(n)?"format":"standalone"][e.month()]:t(this._months)?this._months:this._months.standalone}function se(e,n){return e?t(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[qr.test(n)?"format":"standalone"][e.month()]:t(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ae(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(r=Lr.call(this._shortMonthsParse,s),-1!==r?r:null):(r=Lr.call(this._longMonthsParse,s),-1!==r?r:null):"MMM"===t?-1!==(r=Lr.call(this._shortMonthsParse,s))?r:(r=Lr.call(this._longMonthsParse,s),-1!==r?r:null):-1!==(r=Lr.call(this._longMonthsParse,s))?r:(r=Lr.call(this._shortMonthsParse,s),-1!==r?r:null)}function le(e,t,n){var i,r,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=c([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ce(t){return null!=t?(ue(this,t),e.updateOffset(this,!0),this):q(this,"Month")}function he(){return re(this.year(),this.month())}function de(e){return this._monthsParseExact?(i(this,"_monthsRegex")||me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=Kr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function fe(e){return this._monthsParseExact?(i(this,"_monthsRegex")||me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=zr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function me(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=c([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=J(i[t]),r[t]=J(r[t]);for(t=0;t<24;t++)o[t]=J(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function pe(e){return V(e)?366:365}function ge(){return V(this.year())}function _e(e,t,n,i,r,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function ve(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ye(e,t,n){var i=7+t-n;return-(7+ve(e,0,i).getUTCDay()-t)%7+i-1}function Ee(e,t,n,i,r){var o,s,a=(7+n-i)%7,l=ye(e,i,r),u=1+7*(t-1)+a+l;return u<=0?(o=e-1,s=pe(o)+u):u>pe(e)?(o=e+1,s=u-pe(e)):(o=e,s=u),{year:o,dayOfYear:s}}function be(e,t,n){var i,r,o=ye(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?(r=e.year()-1,i=s+we(r,t,n)):s>we(e.year(),t,n)?(i=s-we(e.year(),t,n),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function we(e,t,n){var i=ye(e,t,n),r=ye(e+1,t,n);return(pe(e)-i+r)/7}function Te(e){return be(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function De(){return this._week.doy}function Oe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ce(e){var t=be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ie(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}function ke(e,n){var i=t(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===e?Ne(i,this._week.dow):e?i[e.day()]:i}function Me(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Le(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var i,r,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(r=Lr.call(this._weekdaysParse,s),-1!==r?r:null):"ddd"===t?(r=Lr.call(this._shortWeekdaysParse,s),-1!==r?r:null):(r=Lr.call(this._minWeekdaysParse,s),-1!==r?r:null):"dddd"===t?-1!==(r=Lr.call(this._weekdaysParse,s))?r:-1!==(r=Lr.call(this._shortWeekdaysParse,s))?r:(r=Lr.call(this._minWeekdaysParse,s),-1!==r?r:null):"ddd"===t?-1!==(r=Lr.call(this._shortWeekdaysParse,s))?r:-1!==(r=Lr.call(this._weekdaysParse,s))?r:(r=Lr.call(this._minWeekdaysParse,s),-1!==r?r:null):-1!==(r=Lr.call(this._minWeekdaysParse,s))?r:-1!==(r=Lr.call(this._weekdaysParse,s))?r:(r=Lr.call(this._shortWeekdaysParse,s),-1!==r?r:null)}function Re(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=c([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function xe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ie(e,this.localeData()),this.add(e-t,"d")):t}function He(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ye(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=eo),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Fe(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=to),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=no),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ve(){function e(e,t){return t.length-e.length}var t,n,i,r,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),i=J(this.weekdaysMin(n,"")),r=J(this.weekdaysShort(n,"")),o=J(this.weekdays(n,"")),s.push(i),a.push(r),l.push(o),u.push(i),u.push(r),u.push(o);s.sort(e),a.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function je(){return this.hours()%12||12}function Ge(){return this.hours()||24}function Be(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qe(e,t){return t._meridiemParse}function Ke(e){return"p"===(e+"").toLowerCase().charAt(0)}function ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Ze(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,i,r,o=0;o<e.length;){for(r=Ze(e[o]).split("-"),t=r.length,n=Ze(e[o+1]),n=n?n.split("-"):null;t>0;){if(i=$e(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&Qe(r,n)>=t-1)break;t--}o++}return io}function $e(e){var t,n=null;if(void 0===ao[e]&&"undefined"!=typeof module&&module&&module.exports)try{n=io._abbr,t=require,t("./locale/"+e),Je(n)}catch(t){ao[e]=null}return ao[e]}function Je(e,t){var n;return e&&(n=o(t)?nt(e):et(e,t),n?io=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),io._abbr}function et(e,t){if(null!==t){var n,i=so;if(t.abbr=e,null!=ao[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=ao[e]._config;else if(null!=t.parentLocale)if(null!=ao[t.parentLocale])i=ao[t.parentLocale]._config;else{if(null==(n=$e(t.parentLocale)))return lo[t.parentLocale]||(lo[t.parentLocale]=[]),lo[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ao[e]=new S(T(i,t)),lo[e]&&lo[e].forEach(function(e){et(e.name,e.config)}),Je(e),ao[e]}return delete ao[e],null}function tt(e,t){if(null!=t){var n,i,r=so;null!=ao[e]&&null!=ao[e].parentLocale?ao[e].set(T(ao[e]._config,t)):(i=$e(e),null!=i&&(r=i._config),t=T(r,t),null==i&&(t.abbr=e),n=new S(t),n.parentLocale=ao[e],ao[e]=n),Je(e)}else null!=ao[e]&&(null!=ao[e].parentLocale?(ao[e]=ao[e].parentLocale,e===Je()&&Je(e)):null!=ao[e]&&delete ao[e]);return ao[e]}function nt(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return io;if(!t(e)){if(n=$e(e))return n;e=[e]}return Xe(e)}function it(){return rr(ao)}function rt(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[xr]<0||n[xr]>11?xr:n[Hr]<1||n[Hr]>re(n[Rr],n[xr])?Hr:n[Yr]<0||n[Yr]>24||24===n[Yr]&&(0!==n[Wr]||0!==n[Fr]||0!==n[Ur])?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Fr]<0||n[Fr]>59?Fr:n[Ur]<0||n[Ur]>999?Ur:-1,d(e)._overflowDayOfYear&&(t<Rr||t>Hr)&&(t=Hr),d(e)._overflowWeeks&&-1===t&&(t=Vr),d(e)._overflowWeekday&&-1===t&&(t=jr),d(e).overflow=t),e}function ot(e){var t,n,i,r,o,s,a=e._i,l=uo.exec(a)||co.exec(a);if(l){for(d(e).iso=!0,t=0,n=fo.length;t<n;t++)if(fo[t][1].exec(l[1])){r=fo[t][0],i=!1!==fo[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=mo.length;t<n;t++)if(mo[t][1].exec(l[3])){o=(l[2]||" ")+mo[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!ho.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(o||"")+(s||""),_t(e)}else e._isValid=!1}function st(e,t,n,i,r,o){var s=[at(e),Br.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&s.push(parseInt(o,10)),s}function at(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function lt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ut(e,t,n){if(e){if($r.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay())return d(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ct(e,t,n){if(e)return _o[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}function ht(e){var t,n=go.exec(lt(e._i));if(n){if(t=st(n[4],n[3],n[2],n[5],n[6],n[7]),!ut(n[1],t,e))return;e._a=t,e._tzm=ct(n[8],n[9],n[10]),e._d=ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function dt(t){var n=po.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ot(t),!1===t._isValid&&(delete t._isValid,ht(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))}function ft(e,t,n){return null!=e?e:null!=t?t:n}function mt(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function pt(e){var t,n,i,r,o,s=[];if(!e._d){for(i=mt(e),e._w&&null==e._a[Hr]&&null==e._a[xr]&&gt(e),null!=e._dayOfYear&&(o=ft(e._a[Rr],i[Rr]),(e._dayOfYear>pe(o)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=ve(o,0,e._dayOfYear),e._a[xr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Fr]&&0===e._a[Ur]&&(e._nextDay=!0,e._a[Yr]=0),e._d=(e._useUTC?ve:_e).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Yr]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(d(e).weekdayMismatch=!0)}}function gt(e){var t,n,i,r,o,s,a,l,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,s=4,n=ft(t.GG,e._a[Rr],be(Dt(),1,4).year),i=ft(t.W,1),((r=ft(t.E,1))<1||r>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,u=be(Dt(),o,s),n=ft(t.gg,e._a[Rr],u.year),i=ft(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),i<1||i>we(n,o,s)?d(e)._overflowWeeks=!0:null!=l?d(e)._overflowWeekday=!0:(a=Ee(n,i,r,o,s),e._a[Rr]=a.year,e._dayOfYear=a.dayOfYear)}function _t(t){if(t._f===e.ISO_8601)return void ot(t);if(t._f===e.RFC_2822)return void ht(t);t._a=[],d(t).empty=!0;var n,i,r,o,s,a,l=""+t._i,u=l.length,c=0;for(r=k(t._f,t._locale).match(ar)||[],n=0;n<r.length;n++)o=r[n],i=(l.match(X(o,t))||[])[0],i&&(s=l.substr(0,l.indexOf(i)),s.length>0&&d(t).unusedInput.push(s),l=l.slice(l.indexOf(i)+i.length),c+=i.length),cr[o]?(i?d(t).empty=!1:d(t).unusedTokens.push(o),ne(o,i,t)):t._strict&&!i&&d(t).unusedTokens.push(o);d(t).charsLeftOver=u-c,l.length>0&&d(t).unusedInput.push(l),t._a[Yr]<=12&&!0===d(t).bigHour&&t._a[Yr]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[Yr]=vt(t._locale,t._a[Yr],t._meridiem),a=d(t).era,null!==a&&(t._a[Rr]=t._locale.erasConvertYear(a,t._a[Rr])),pt(t),rt(t)}function vt(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(i=e.isPM(n),i&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function yt(e){var t,n,i,r,o,s,a=!1;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,s=!1,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],_t(t),f(t)&&(s=!0),o+=d(t).charsLeftOver,o+=10*d(t).unusedTokens.length,d(t).score=o,a?o<i&&(i=o,n=t):(null==i||o<i||s)&&(i=o,n=t,s&&(a=!0));u(e,n||t)}function Et(e){if(!e._d){var t=W(e._i),n=void 0===t.day?t.date:t.day;e._a=l([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),pt(e)}}function bt(e){var t=new g(rt(wt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function wt(e){var n=e._i,i=e._f;return e._locale=e._locale||nt(e._l),null===n||void 0===i&&""===n?m({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),_(n)?new g(rt(n)):(a(n)?e._d=n:t(i)?yt(e):i?_t(e):Tt(e),f(e)||(e._d=null),e))}function Tt(i){var r=i._i;o(r)?i._d=new Date(e.now()):a(r)?i._d=new Date(r.valueOf()):"string"==typeof r?dt(i):t(r)?(i._a=l(r.slice(0),function(e){return parseInt(e,10)}),pt(i)):n(r)?Et(i):s(r)?i._d=new Date(r):e.createFromInputFallback(i)}function St(e,i,o,s,a){var l={};return!0!==i&&!1!==i||(s=i,i=void 0),!0!==o&&!1!==o||(s=o,o=void 0),(n(e)&&r(e)||t(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=o,l._i=e,l._f=i,l._strict=s,bt(l)}function Dt(e,t,n,i){return St(e,t,n,i,!1)}function Ot(e,n){var i,r;if(1===n.length&&t(n[0])&&(n=n[0]),!n.length)return Dt();for(i=n[0],r=1;r<n.length;++r)n[r].isValid()&&!n[r][e](i)||(i=n[r]);return i}function Ct(){return Ot("isBefore",[].slice.call(arguments,0))}function It(){return Ot("isAfter",[].slice.call(arguments,0))}function At(e){var t,n,r=!1;for(t in e)if(i(e,t)&&(-1===Lr.call(bo,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<bo.length;++n)if(e[bo[n]]){if(r)return!1;parseFloat(e[bo[n]])!==G(e[bo[n]])&&(r=!0)}return!0}function Nt(){return this._isValid}function kt(){return Xt(NaN)}function Mt(e){var t=W(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=At(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=nt(),this._bubble()}function Lt(e){return e instanceof Mt}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Rt(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&G(e[i])!==G(t[i]))&&s++;return s+o}function xt(e,t){C(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+O(~~(e/60),2)+t+O(~~e%60,2)})}function Ht(e,t){var n,i,r,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],i=(n+"").match(wo)||["-",0,0],r=60*i[1]+G(i[2]),0===r?0:"+"===i[0]?r:-r)}function Yt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(_(t)||a(t)?t.valueOf():Dt(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):Dt(t).local()}function Wt(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(t,n,i){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ht(Nr,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(r=Wt(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!n||this._changeInProgress?nn(this,Xt(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Wt(this)}function Ut(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Vt(e){return this.utcOffset(0,e)}function jt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wt(this),"m")),this}function Gt(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ht(Ar,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bt(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function qt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Kt(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return p(t,this),t=wt(t),t._a?(e=t._isUTC?c(t._a):Dt(t._a),this._isDSTShifted=this.isValid()&&Rt(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function zt(){return!!this.isValid()&&!this._isUTC}function Qt(){return!!this.isValid()&&this._isUTC}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,o,a=e,l=null;return Lt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(l=To.exec(e))?(n="-"===l[1]?-1:1,a={y:0,d:G(l[Hr])*n,h:G(l[Yr])*n,m:G(l[Wr])*n,s:G(l[Fr])*n,ms:G(Pt(1e3*l[Ur]))*n}):(l=So.exec(e))?(n="-"===l[1]?-1:1,a={y:$t(l[2],n),M:$t(l[3],n),w:$t(l[4],n),d:$t(l[5],n),h:$t(l[6],n),m:$t(l[7],n),s:$t(l[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=en(Dt(a.from),Dt(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new Mt(a),Lt(e)&&i(e,"_locale")&&(r._locale=e._locale),Lt(e)&&i(e,"_isValid")&&(r._isValid=e._isValid),r}function $t(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=Yt(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,i){var r,o;return null===i||isNaN(+i)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),r=Xt(n,i),nn(this,r,e),this}}function nn(t,n,i,r){var o=n._milliseconds,s=Pt(n._days),a=Pt(n._months);t.isValid()&&(r=null==r||r,a&&ue(t,q(t,"Month")+a*i),s&&K(t,"Date",q(t,"Date")+s*i),o&&t._d.setTime(t._d.valueOf()+o*i),r&&e.updateOffset(t,s||a))}function rn(e){return"string"==typeof e||e instanceof String}function on(e){return _(e)||a(e)||rn(e)||s(e)||an(e)||sn(e)||null===e||void 0===e}function sn(e){var t,o,s=n(e)&&!r(e),a=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<l.length;t+=1)o=l[t],a=a||i(e,o);return s&&a}function an(e){var n=t(e),i=!1;return n&&(i=0===e.filter(function(t){return!s(t)&&rn(e)}).length),n&&i}function ln(e){var t,o,s=n(e)&&!r(e),a=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)o=l[t],a=a||i(e,o);return s&&a}function un(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function cn(t,n){1===arguments.length&&(on(arguments[0])?(t=arguments[0],n=void 0):ln(arguments[0])&&(n=arguments[0],t=void 0));var i=t||Dt(),r=Yt(i,this).startOf("day"),o=e.calendarFormat(this,r)||"sameElse",s=n&&(b(n[o])?n[o].call(this,i):n[o]);return this.format(s||this.localeData().calendar(o,this,Dt(i)))}function hn(){return new g(this)}function dn(e,t){var n=_(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&(t=Y(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function fn(e,t){var n=_(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&(t=Y(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function mn(e,t,n,i){var r=_(e)?e:Dt(e),o=_(t)?t:Dt(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function pn(e,t){var n,i=_(e)?e:Dt(e);return!(!this.isValid()||!i.isValid())&&(t=Y(t)||"millisecond","millisecond"===t?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function gn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _n(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function vn(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(i=Yt(e,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=Y(t)){case"year":o=yn(this,i)/12;break;case"month":o=yn(this,i);break;case"quarter":o=yn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:j(o)}function yn(e,t){if(e.date()<t.date())return-yn(t,e);var n,i,r=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(r,"months");return t-o<0?(n=e.clone().add(r-1,"months"),i=(t-o)/(o-n)):(n=e.clone().add(r+1,"months"),i=(t-o)/(n-o)),-(r+i)||0}function En(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function bn(e){
if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):b(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function wn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",o="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=o+'[")]',this.format(e+t+n+i)}function Tn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=N(this,t);return this.localeData().postformat(n)}function Sn(e,t){return this.isValid()&&(_(e)&&e.isValid()||Dt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Dn(e){return this.from(Dt(),e)}function On(e,t){return this.isValid()&&(_(e)&&e.isValid()||Dt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Cn(e){return this.to(Dt(),e)}function In(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function An(){return this._locale}function Nn(e,t){return(e%t+t)%t}function kn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ko:new Date(e,t,n).valueOf()}function Mn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ko:Date.UTC(e,t,n)}function Ln(t){var n,i;if(void 0===(t=Y(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Mn:kn,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Nn(n+(this._isUTC?0:this.utcOffset()*Ao),No);break;case"minute":n=this._d.valueOf(),n-=Nn(n,Ao);break;case"second":n=this._d.valueOf(),n-=Nn(n,Io)}return this._d.setTime(n),e.updateOffset(this,!0),this}function Pn(t){var n,i;if(void 0===(t=Y(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Mn:kn,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=No-Nn(n+(this._isUTC?0:this.utcOffset()*Ao),No)-1;break;case"minute":n=this._d.valueOf(),n+=Ao-Nn(n,Ao)-1;break;case"second":n=this._d.valueOf(),n+=Io-Nn(n,Io)-1}return this._d.setTime(n),e.updateOffset(this,!0),this}function Rn(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function Hn(){return new Date(this.valueOf())}function Yn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Wn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Fn(){return this.isValid()?this.toISOString():null}function Un(){return f(this)}function Vn(){return u({},d(this))}function jn(){return d(this).overflow}function Gn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Bn(t,n){var i,r,o,s=this._eras||nt("en")._eras;for(i=0,r=s.length;i<r;++i){switch(typeof s[i].since){case"string":o=e(s[i].since).startOf("day"),s[i].since=o.valueOf()}switch(typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":o=e(s[i].until).startOf("day").valueOf(),s[i].until=o.valueOf()}}return s}function qn(e,t,n){var i,r,o,s,a,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if([o,s,a].indexOf(e)>=0)return l[i]}function Kn(t,n){var i=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*i}function zn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Qn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Zn(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Xn(){var t,n,i,r,o=this.localeData().eras();for(t=0,n=o.length;t<n;++t)if(i=o[t].since<=o[t].until?1:-1,r=this.startOf("day").valueOf(),o[t].since<=r&&r<=o[t].until||o[t].until<=r&&r<=o[t].since)return(this.year()-e(o[t].since).year())*i+o[t].offset;return this.year()}function $n(e){return i(this,"_erasNameRegex")||oi.call(this),e?this._erasNameRegex:this._erasRegex}function Jn(e){return i(this,"_erasAbbrRegex")||oi.call(this),e?this._erasAbbrRegex:this._erasRegex}function ei(e){return i(this,"_erasNarrowRegex")||oi.call(this),e?this._erasNarrowRegex:this._erasRegex}function ti(e,t){return t.erasAbbrRegex(e)}function ni(e,t){return t.erasNameRegex(e)}function ii(e,t){return t.erasNarrowRegex(e)}function ri(e,t){return t._eraYearOrdinalRegex||Cr}function oi(){var e,t,n=[],i=[],r=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)i.push(J(s[e].name)),n.push(J(s[e].abbr)),r.push(J(s[e].narrow)),o.push(J(s[e].name)),o.push(J(s[e].abbr)),o.push(J(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function si(e,t){C(0,[e,e.length],0,t)}function ai(e){return fi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function li(e){return fi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ui(){return we(this.year(),1,4)}function ci(){return we(this.isoWeekYear(),1,4)}function hi(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function di(){var e=this.localeData()._week;return we(this.weekYear(),e.dow,e.doy)}function fi(e,t,n,i,r){var o;return null==e?be(this,i,r).year:(o=we(e,i,r),t>o&&(t=o),mi.call(this,e,t,n,i,r))}function mi(e,t,n,i,r){var o=Ee(e,t,n,i,r),s=ve(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function pi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function gi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function _i(e,t){t[Ur]=G(1e3*("0."+e))}function vi(){return this._isUTC?"UTC":""}function yi(){return this._isUTC?"Coordinated Universal Time":""}function Ei(e){return Dt(1e3*e)}function bi(){return Dt.apply(null,arguments).parseZone()}function wi(e){return e}function Ti(e,t,n,i){var r=nt(),o=c().set(i,t);return r[n](o,e)}function Si(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Ti(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ti(e,i,n,"month");return r}function Di(e,t,n,i){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var r,o=nt(),a=e?o._week.dow:0,l=[];if(null!=n)return Ti(t,(n+a)%7,i,"day");for(r=0;r<7;r++)l[r]=Ti(t,(r+a)%7,i,"day");return l}function Oi(e,t){return Si(e,t,"months")}function Ci(e,t){return Si(e,t,"monthsShort")}function Ii(e,t,n){return Di(e,t,n,"weekdays")}function Ai(e,t,n){return Di(e,t,n,"weekdaysShort")}function Ni(e,t,n){return Di(e,t,n,"weekdaysMin")}function ki(){var e=this._data;return this._milliseconds=Wo(this._milliseconds),this._days=Wo(this._days),this._months=Wo(this._months),e.milliseconds=Wo(e.milliseconds),e.seconds=Wo(e.seconds),e.minutes=Wo(e.minutes),e.hours=Wo(e.hours),e.months=Wo(e.months),e.years=Wo(e.years),this}function Mi(e,t,n,i){var r=Xt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Li(e,t){return Mi(this,e,t,1)}function Pi(e,t){return Mi(this,e,t,-1)}function Ri(e){return e<0?Math.floor(e):Math.ceil(e)}function xi(){var e,t,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Ri(Yi(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=j(o/1e3),l.seconds=e%60,t=j(e/60),l.minutes=t%60,n=j(t/60),l.hours=n%24,s+=j(n/24),r=j(Hi(s)),a+=r,s-=Ri(Yi(r)),i=j(a/12),a%=12,l.days=s,l.months=a,l.years=i,this}function Hi(e){return 4800*e/146097}function Yi(e){return 146097*e/4800}function Wi(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=Y(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Hi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Yi(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Fi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN}function Ui(e){return function(){return this.as(e)}}function Vi(){return Xt(this)}function ji(e){return e=Y(e),this.isValid()?this[e+"s"]():NaN}function Gi(e){return function(){return this.isValid()?this._data[e]:NaN}}function Bi(){return j(this.days()/7)}function qi(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function Ki(e,t,n,i){var r=Xt(e).abs(),o=ns(r.as("s")),s=ns(r.as("m")),a=ns(r.as("h")),l=ns(r.as("d")),u=ns(r.as("M")),c=ns(r.as("w")),h=ns(r.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),d=d||u<=1&&["M"]||u<n.M&&["MM",u]||h<=1&&["y"]||["yy",h],d[2]=t,d[3]=+e>0,d[4]=i,qi.apply(null,d)}function zi(e){return void 0===e?ns:"function"==typeof e&&(ns=e,!0)}function Qi(e,t){return void 0!==is[e]&&(void 0===t?is[e]:(is[e]=t,"s"===e&&(is.ss=t-1),!0))}function Zi(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=is;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},is,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),i=Ki(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}function Xi(e){return(e>0)-(e<0)||+e}function $i(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,s,a,l=rs(this._milliseconds)/1e3,u=rs(this._days),c=rs(this._months),h=this.asSeconds();return h?(e=j(l/60),t=j(e/60),l%=60,e%=60,n=j(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",o=Xi(this._months)!==Xi(h)?"-":"",s=Xi(this._days)!==Xi(h)?"-":"",a=Xi(this._milliseconds)!==Xi(h)?"-":"",r+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+i+"S":"")):"P0D"}var Ji,er;er=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var tr=e.momentProperties=[],nr=!1,ir={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var rr;rr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)i(e,t)&&n.push(t);return n};var or,sr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},ar=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,lr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ur={},cr={},hr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},dr=/\d{1,2}/,fr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},mr={},pr={},gr=/\d/,_r=/\d\d/,vr=/\d{3}/,yr=/\d{4}/,Er=/[+-]?\d{6}/,br=/\d\d?/,wr=/\d\d\d\d?/,Tr=/\d\d\d\d\d\d?/,Sr=/\d{1,3}/,Dr=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Cr=/\d+/,Ir=/[+-]?\d+/,Ar=/Z|[+-]\d\d:?\d\d/gi,Nr=/Z|[+-]\d\d(?::?\d\d)?/gi,kr=/[+-]?\d+(\.\d{1,3})?/,Mr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;or={};var Lr,Pr={},Rr=0,xr=1,Hr=2,Yr=3,Wr=4,Fr=5,Ur=6,Vr=7,jr=8;Lr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},C("M",["MM",2],"Mo",function(){return this.month()+1}),C("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),C("MMMM",0,0,function(e){return this.localeData().months(this,e)}),H("month","M"),F("month",8),Z("M",br),Z("MM",br,_r),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),ee(["M","MM"],function(e,t){t[xr]=G(e)-1}),ee(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[xr]=r:d(n).invalidMonth=e});var Gr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Br="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),qr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Kr=Mr,zr=Mr;C("Y",0,0,function(){var e=this.year();return e<=9999?O(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),H("year","y"),F("year",1),Z("Y",Ir),Z("YY",br,_r),Z("YYYY",Dr,yr),Z("YYYYY",Or,Er),Z("YYYYYY",Or,Er),ee(["YYYYY","YYYYYY"],Rr),ee("YYYY",function(t,n){n[Rr]=2===t.length?e.parseTwoDigitYear(t):G(t)}),ee("YY",function(t,n){n[Rr]=e.parseTwoDigitYear(t)}),ee("Y",function(e,t){t[Rr]=parseInt(e,10)}),e.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Qr=B("FullYear",!0);C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),F("week",5),F("isoWeek",5),Z("w",br),Z("ww",br,_r),Z("W",br),Z("WW",br,_r),te(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=G(e)});var Zr={dow:0,doy:6};C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),Z("d",br),Z("e",br),Z("E",br),Z("dd",function(e,t){return t.weekdaysMinRegex(e)}),Z("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Z("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:d(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,i){t[i]=G(e)});var Xr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Jr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eo=Mr,to=Mr,no=Mr;C("H",["HH",2],0,"hour"),C("h",["hh",2],0,je),C("k",["kk",2],0,Ge),C("hmm",0,0,function(){return""+je.apply(this)+O(this.minutes(),2)}),C("hmmss",0,0,function(){return""+je.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),Be("a",!0),Be("A",!1),H("hour","h"),F("hour",13),Z("a",qe),Z("A",qe),Z("H",br),Z("h",br),Z("k",br),Z("HH",br,_r),Z("hh",br,_r),Z("kk",br,_r),Z("hmm",wr),Z("hmmss",Tr),Z("Hmm",wr),Z("Hmmss",Tr),ee(["H","HH"],Yr),ee(["k","kk"],function(e,t,n){var i=G(e);t[Yr]=24===i?0:i}),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[Yr]=G(e),d(n).bigHour=!0}),ee("hmm",function(e,t,n){var i=e.length-2;t[Yr]=G(e.substr(0,i)),t[Wr]=G(e.substr(i)),d(n).bigHour=!0}),ee("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Yr]=G(e.substr(0,i)),t[Wr]=G(e.substr(i,2)),t[Fr]=G(e.substr(r)),d(n).bigHour=!0}),ee("Hmm",function(e,t,n){var i=e.length-2;t[Yr]=G(e.substr(0,i)),t[Wr]=G(e.substr(i))}),ee("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Yr]=G(e.substr(0,i)),t[Wr]=G(e.substr(i,2)),t[Fr]=G(e.substr(r))});var io,ro=/[ap]\.?m?\.?/i,oo=B("Hours",!0),so={calendar:sr,longDateFormat:hr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:dr,relativeTime:fr,months:Gr,monthsShort:Br,week:Zr,weekdays:Xr,weekdaysMin:Jr,weekdaysShort:$r,meridiemParse:ro},ao={},lo={},uo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,co=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ho=/Z|[+-]\d\d(?::?\d\d)?/,fo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],po=/^\/?Date\((-?\d+)/i,go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_o={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=y("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var vo=y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()}),yo=y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}),Eo=function(){return Date.now?Date.now():+new Date},bo=["year","quarter","month","week","day","hour","minute","second","millisecond"];xt("Z",":"),xt("ZZ",""),Z("Z",Nr),Z("ZZ",Nr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(Nr,e)});var wo=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var To=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,So=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Mt.prototype,Xt.invalid=kt;var Do=tn(1,"add"),Oo=tn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Co=y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)}),Io=1e3,Ao=60*Io,No=60*Ao,ko=3506328*No;C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),Z("N",ti),Z("NN",ti),Z("NNN",ti),Z("NNNN",ni),Z("NNNNN",ii),ee(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?d(n).era=r:d(n).invalidEra=e}),Z("y",Cr),Z("yy",Cr),Z("yyy",Cr),Z("yyyy",Cr),Z("yo",ri),ee(["y","yy","yyy","yyyy"],Rr),ee(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Rr]=n._locale.eraYearOrdinalParse(e,r):t[Rr]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),si("gggg","weekYear"),si("ggggg","weekYear"),si("GGGG","isoWeekYear"),si("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),Z("G",Ir),Z("g",Ir),Z("GG",br,_r),Z("gg",br,_r),Z("GGGG",Dr,yr),Z("gggg",Dr,yr),Z("GGGGG",Or,Er),Z("ggggg",Or,Er),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=G(e)}),te(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),C("Q",0,"Qo","quarter"),H("quarter","Q"),F("quarter",7),Z("Q",gr),ee("Q",function(e,t){t[xr]=3*(G(e)-1)}),C("D",["DD",2],"Do","date"),H("date","D"),F("date",9),Z("D",br),Z("DD",br,_r),Z("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=G(e.match(br)[0])});var Mo=B("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),F("dayOfYear",4),Z("DDD",Sr),Z("DDDD",vr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=G(e)}),C("m",["mm",2],0,"minute"),H("minute","m"),F("minute",14),Z("m",br),Z("mm",br,_r),ee(["m","mm"],Wr);var Lo=B("Minutes",!1);C("s",["ss",2],0,"second"),H("second","s"),F("second",15),Z("s",br),Z("ss",br,_r),ee(["s","ss"],Fr);var Po=B("Seconds",!1);C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),H("millisecond","ms"),F("millisecond",16),Z("S",Sr,gr),Z("SS",Sr,_r),Z("SSS",Sr,vr);var Ro,xo;for(Ro="SSSS";Ro.length<=9;Ro+="S")Z(Ro,Cr);for(Ro="S";Ro.length<=9;Ro+="S")ee(Ro,_i);xo=B("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var Ho=g.prototype;Ho.add=Do,Ho.calendar=cn,Ho.clone=hn,Ho.diff=vn,Ho.endOf=Pn,Ho.format=Tn,Ho.from=Sn,Ho.fromNow=Dn,Ho.to=On,Ho.toNow=Cn,Ho.get=z,Ho.invalidAt=jn,Ho.isAfter=dn,Ho.isBefore=fn,Ho.isBetween=mn,Ho.isSame=pn,Ho.isSameOrAfter=gn,Ho.isSameOrBefore=_n,Ho.isValid=Un,Ho.lang=Co,Ho.locale=In,Ho.localeData=An,Ho.max=yo,Ho.min=vo,Ho.parsingFlags=Vn,Ho.set=Q,Ho.startOf=Ln,Ho.subtract=Oo,Ho.toArray=Yn,Ho.toObject=Wn,Ho.toDate=Hn,Ho.toISOString=bn,Ho.inspect=wn,"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ho[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ho.toJSON=Fn,Ho.toString=En,Ho.unix=xn,Ho.valueOf=Rn,Ho.creationData=Gn,Ho.eraName=zn,Ho.eraNarrow=Qn,Ho.eraAbbr=Zn,Ho.eraYear=Xn,Ho.year=Qr,Ho.isLeapYear=ge,Ho.weekYear=ai,Ho.isoWeekYear=li,Ho.quarter=Ho.quarters=pi,Ho.month=ce,Ho.daysInMonth=he,Ho.week=Ho.weeks=Oe,Ho.isoWeek=Ho.isoWeeks=Ce,Ho.weeksInYear=hi,Ho.weeksInWeekYear=di,Ho.isoWeeksInYear=ui,Ho.isoWeeksInISOWeekYear=ci,Ho.date=Mo,Ho.day=Ho.days=xe,Ho.weekday=He,Ho.isoWeekday=Ye,Ho.dayOfYear=gi,Ho.hour=Ho.hours=oo,Ho.minute=Ho.minutes=Lo,Ho.second=Ho.seconds=Po,Ho.millisecond=Ho.milliseconds=xo,Ho.utcOffset=Ft,Ho.utc=Vt,Ho.local=jt,Ho.parseZone=Gt,Ho.hasAlignedHourOffset=Bt,Ho.isDST=qt,Ho.isLocal=zt,Ho.isUtcOffset=Qt,Ho.isUtc=Zt,Ho.isUTC=Zt,Ho.zoneAbbr=vi,Ho.zoneName=yi,Ho.dates=y("dates accessor is deprecated. Use date instead.",Mo),Ho.months=y("months accessor is deprecated. Use month instead",ce),Ho.years=y("years accessor is deprecated. Use year instead",Qr),Ho.zone=y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ut),Ho.isDSTShifted=y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Kt);var Yo=S.prototype;Yo.calendar=D,Yo.longDateFormat=M,Yo.invalidDate=L,Yo.ordinal=P,Yo.preparse=wi,Yo.postformat=wi,Yo.relativeTime=R,Yo.pastFuture=x,Yo.set=w,Yo.eras=Bn,Yo.erasParse=qn,Yo.erasConvertYear=Kn,Yo.erasAbbrRegex=Jn,Yo.erasNameRegex=$n,Yo.erasNarrowRegex=ei,Yo.months=oe,Yo.monthsShort=se,Yo.monthsParse=le,Yo.monthsRegex=fe,Yo.monthsShortRegex=de,Yo.week=Te,Yo.firstDayOfYear=De,Yo.firstDayOfWeek=Se,Yo.weekdays=ke,Yo.weekdaysMin=Le,Yo.weekdaysShort=Me,Yo.weekdaysParse=Re,Yo.weekdaysRegex=We,Yo.weekdaysShortRegex=Fe,Yo.weekdaysMinRegex=Ue,Yo.isPM=Ke,Yo.meridiem=ze,Je("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),e.lang=y("moment.lang is deprecated. Use moment.locale instead.",Je),e.langData=y("moment.langData is deprecated. Use moment.localeData instead.",nt);var Wo=Math.abs,Fo=Ui("ms"),Uo=Ui("s"),Vo=Ui("m"),jo=Ui("h"),Go=Ui("d"),Bo=Ui("w"),qo=Ui("M"),Ko=Ui("Q"),zo=Ui("y"),Qo=Gi("milliseconds"),Zo=Gi("seconds"),Xo=Gi("minutes"),$o=Gi("hours"),Jo=Gi("days"),es=Gi("months"),ts=Gi("years"),ns=Math.round,is={ss:44,s:45,m:45,h:22,d:26,w:null,M:11},rs=Math.abs,os=Mt.prototype;return os.isValid=Nt,os.abs=ki,os.add=Li,os.subtract=Pi,os.as=Wi,os.asMilliseconds=Fo,os.asSeconds=Uo,os.asMinutes=Vo,os.asHours=jo,os.asDays=Go,os.asWeeks=Bo,os.asMonths=qo,os.asQuarters=Ko,os.asYears=zo,os.valueOf=Fi,os._bubble=xi,os.clone=Vi,os.get=ji,os.milliseconds=Qo,os.seconds=Zo,os.minutes=Xo,os.hours=$o,os.days=Jo,os.weeks=Bi,os.months=es,os.years=ts,os.humanize=Zi,os.toISOString=$i,os.toString=$i,os.toJSON=$i,os.locale=In,os.localeData=An,os.toIsoString=y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$i),os.lang=Co,C("X",0,0,"unix"),C("x",0,0,"valueOf"),Z("x",Ir),Z("X",kr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ee("x",function(e,t,n){n._d=new Date(G(e))}),e.version="2.27.0",function(e){Ji=e}(Dt),e.fn=Ho,e.min=Ct,e.max=It,e.now=Eo,e.utc=c,e.unix=Ei,e.months=Oi,e.isDate=a,e.locale=Je,e.invalid=m,e.duration=Xt,e.isMoment=_,e.weekdays=Ii,e.parseZone=bi,e.localeData=nt,e.isDuration=Lt,e.monthsShort=Ci,e.weekdaysMin=Ni,e.defineLocale=et,e.updateLocale=tt,e.locales=it,e.weekdaysShort=Ai,e.normalizeUnits=Y,e.relativeTimeRounding=zi,e.relativeTimeThreshold=Qi,e.calendarFormat=un,e.prototype=Ho,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function e(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function t(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ce))}}function n(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function i(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView,i=n.getComputedStyle(e,null);return t?i[t]:i}function r(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function o(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=i(e),n=t.overflow,s=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+s)?e:o(r(e))}function s(e){return e&&e.referenceNode?e.referenceNode:e}function a(e){return 11===e?fe:10===e?me:fe||me}function l(e){if(!e)return document.documentElement;for(var t=a(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?l(n):n:e?e.ownerDocument.documentElement:document.documentElement}function u(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||l(e.firstElementChild)===e)}function c(e){return null!==e.parentNode?c(e.parentNode):e}function h(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var s=o.commonAncestorContainer;if(e!==s&&t!==s||i.contains(r))return u(s)?s:l(s);var a=c(e);return a.host?h(a.host,t):h(e,c(t).host)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[n]}return e[n]}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=d(t,"top"),r=d(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function m(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function p(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],a(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function g(e){var t=e.body,n=e.documentElement,i=a(10)&&getComputedStyle(n);return{height:p("Height",t,n,i),width:p("Width",t,n,i)}}function _(e){return ve({},e,{right:e.left+e.width,bottom:e.top+e.height})}function v(e){var t={};try{if(a(10)){t=e.getBoundingClientRect();var n=d(e,"top"),r=d(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===e.nodeName?g(e.ownerDocument):{},l=s.width||e.clientWidth||o.width,u=s.height||e.clientHeight||o.height,c=e.offsetWidth-l,h=e.offsetHeight-u;if(c||h){var f=i(e);c-=m(f,"x"),h-=m(f,"y"),o.width-=c,o.height-=h}return _(o)}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=a(10),s="HTML"===t.nodeName,l=v(e),u=v(t),c=o(e),h=i(t),d=parseFloat(h.borderTopWidth),m=parseFloat(h.borderLeftWidth);n&&s&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var p=_({top:l.top-u.top-d,left:l.left-u.left-m,width:l.width,height:l.height});if(p.marginTop=0,p.marginLeft=0,!r&&s){var g=parseFloat(h.marginTop),y=parseFloat(h.marginLeft);p.top-=d-g,p.bottom-=d-g,p.left-=m-y,p.right-=m-y,p.marginTop=g,p.marginLeft=y}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(p=f(p,t)),p}function E(e){
var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=y(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:d(n),a=t?0:d(n,"left");return _({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}function b(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===i(e,"position"))return!0;var n=r(e);return!!n&&b(n)}function w(e){if(!e||!e.parentElement||a())return document.documentElement;for(var t=e.parentElement;t&&"none"===i(t,"transform");)t=t.parentElement;return t||document.documentElement}function T(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},u=a?w(e):h(e,s(t));if("viewport"===i)l=E(u,a);else{var c=void 0;"scrollParent"===i?(c=o(r(t)),"BODY"===c.nodeName&&(c=e.ownerDocument.documentElement)):c="window"===i?e.ownerDocument.documentElement:i;var d=y(c,u,a);if("HTML"!==c.nodeName||b(u))l=d;else{var f=g(e.ownerDocument),m=f.height,p=f.width;l.top+=d.top-d.marginTop,l.bottom=m+d.top,l.left+=d.left-d.marginLeft,l.right=p+d.left}}n=n||0;var _="number"==typeof n;return l.left+=_?n:n.left||0,l.top+=_?n:n.top||0,l.right-=_?n:n.right||0,l.bottom-=_?n:n.bottom||0,l}function S(e){return e.width*e.height}function D(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=T(n,i,o,r),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map(function(e){return ve({key:e},a[e],{area:S(a[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=e.split("-")[1];return c+(h?"-"+h:"")}function O(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return y(n,i?w(t):h(t,s(n)),i)}function C(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),r=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+i}}function I(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function A(e,t,n){n=n.split("-")[0];var i=C(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[u]:t[I(a)],r}function N(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function k(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=N(e,function(e){return e[t]===n});return e.indexOf(i)}function M(e,t,i){return(void 0===i?e:e.slice(0,k(e,"name",i))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=e.function||e.fn;e.enabled&&n(i)&&(t.offsets.popper=_(t.offsets.popper),t.offsets.reference=_(t.offsets.reference),t=i(t,e))}),t}function L(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=O(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=D(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=A(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=M(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function P(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function R(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function x(){return this.state.isDestroyed=!0,P(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,i){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(t,n,{passive:!0}),r||Y(o(s.parentNode),t,n,i),i.push(s)}function W(e,t,n,i){n.updateBound=i,H(e).addEventListener("resize",n.updateBound,{passive:!0});var r=o(e);return Y(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function F(){this.state.eventsEnabled||(this.state=W(this.reference,this.options,this.state,this.scheduleUpdate))}function U(e,t){return H(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function V(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=U(this.reference,this.state))}function j(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function G(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&j(t[n])&&(i="px"),e.style[n]=t[n]+i})}function B(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function q(e){return G(e.instance.popper,e.styles),B(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&G(e.arrowElement,e.arrowStyles),e}function K(e,t,n,i,r){var o=O(r,t,e,n.positionFixed),s=D(n.placement,o,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),G(t,{position:n.positionFixed?"fixed":"absolute"}),n}function z(e,t){var n=e.offsets,i=n.popper,r=n.reference,o=Math.round,s=Math.floor,a=function(e){return e},l=o(r.width),u=o(i.width),c=-1!==["left","right"].indexOf(e.placement),h=-1!==e.placement.indexOf("-"),d=l%2==u%2,f=l%2==1&&u%2==1,m=t?c||h||d?o:s:a,p=t?o:a;return{left:m(f&&!h&&t?i.left-1:i.left),top:p(i.top),bottom:p(i.bottom),right:m(i.right)}}function Q(e,t){var n=t.x,i=t.y,r=e.offsets.popper,o=N(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==o?o:t.gpuAcceleration,a=l(e.instance.popper),u=v(a),c={position:r.position},h=z(e,window.devicePixelRatio<2||!ye),d="bottom"===n?"top":"bottom",f="right"===i?"left":"right",m=R("transform"),p=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+h.bottom:-u.height+h.bottom:h.top,p="right"===f?"HTML"===a.nodeName?-a.clientWidth+h.right:-u.width+h.right:h.left,s&&m)c[m]="translate3d("+p+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var _="bottom"===d?-1:1,y="right"===f?-1:1;c[d]=g*_,c[f]=p*y,c.willChange=d+", "+f}var E={"x-placement":e.placement};return e.attributes=ve({},E,e.attributes),e.styles=ve({},c,e.styles),e.arrowStyles=ve({},e.offsets.arrow,e.arrowStyles),e}function Z(e,t,n){var i=N(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function X(e,t){var n;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],s=e.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",h=u?"Top":"Left",d=h.toLowerCase(),f=u?"left":"top",m=u?"bottom":"right",p=C(r)[c];l[m]-p<a[d]&&(e.offsets.popper[d]-=a[d]-(l[m]-p)),l[d]+p>a[m]&&(e.offsets.popper[d]+=l[d]+p-a[m]),e.offsets.popper=_(e.offsets.popper);var g=l[d]+l[c]/2-p/2,v=i(e.instance.popper),y=parseFloat(v["margin"+h]),E=parseFloat(v["border"+h+"Width"]),b=g-e.offsets.popper[d]-y-E;return b=Math.max(Math.min(a[c]-p,b),0),e.arrowElement=r,e.offsets.arrow=(n={},_e(n,d,Math.round(b)),_e(n,f,""),n),e}function $(e){return"end"===e?"start":"start"===e?"end":e}function J(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=be.indexOf(e),i=be.slice(n+1).concat(be.slice(0,n));return t?i.reverse():i}function ee(e,t){if(P(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=T(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],r=I(i),o=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case we.FLIP:s=[i,r];break;case we.CLOCKWISE:s=J(i);break;case we.COUNTERCLOCKWISE:s=J(i,!0);break;default:s=t.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return e;i=e.placement.split("-")[0],r=I(i);var u=e.offsets.popper,c=e.offsets.reference,h=Math.floor,d="left"===i&&h(u.right)>h(c.left)||"right"===i&&h(u.left)<h(c.right)||"top"===i&&h(u.bottom)>h(c.top)||"bottom"===i&&h(u.top)<h(c.bottom),f=h(u.left)<h(n.left),m=h(u.right)>h(n.right),p=h(u.top)<h(n.top),g=h(u.bottom)>h(n.bottom),_="left"===i&&f||"right"===i&&m||"top"===i&&p||"bottom"===i&&g,v=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(v&&"start"===o&&f||v&&"end"===o&&m||!v&&"start"===o&&p||!v&&"end"===o&&g),E=!!t.flipVariationsByContent&&(v&&"start"===o&&m||v&&"end"===o&&f||!v&&"start"===o&&g||!v&&"end"===o&&p),b=y||E;(d||_||b)&&(e.flipped=!0,(d||_)&&(i=s[l+1]),b&&(o=$(o)),e.placement=i+(o?"-"+o:""),e.offsets.popper=ve({},e.offsets.popper,A(e.instance.popper,e.offsets.reference,e.placement)),e=M(e.instance.modifiers,e,"flip"))}),e}function te(e){var t=e.offsets,n=t.popper,i=t.reference,r=e.placement.split("-")[0],o=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]<o(i[l])&&(e.offsets.popper[l]=o(i[l])-n[u]),n[l]>o(i[a])&&(e.offsets.popper[l]=o(i[a])),e}function ne(e,t,n,i){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],s=r[2];if(!o)return e;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return _(a)[t]/100*o}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}function ie(e,t,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(N(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return u=u.map(function(e,i){var r=(1===i?!o:o)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return ne(e,r,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,i){j(n)&&(r[t]+=n*("-"===e[i-1]?-1:1))})}),r}function re(e,t){var n=t.offset,i=e.placement,r=e.offsets,o=r.popper,s=r.reference,a=i.split("-")[0],l=void 0;return l=j(+n)?[+n,0]:ie(n,o,s,a),"left"===a?(o.top+=l[0],o.left-=l[1]):"right"===a?(o.top+=l[0],o.left+=l[1]):"top"===a?(o.left+=l[0],o.top-=l[1]):"bottom"===a&&(o.left+=l[0],o.top+=l[1]),e.popper=o,e}function oe(e,t){var n=t.boundariesElement||l(e.instance.popper);e.instance.reference===n&&(n=l(n));var i=R("transform"),r=e.instance.popper.style,o=r.top,s=r.left,a=r[i];r.top="",r.left="",r[i]="";var u=T(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=o,r.left=s,r[i]=a,t.boundaries=u;var c=t.priority,h=e.offsets.popper,d={primary:function(e){var n=h[e];return h[e]<u[e]&&!t.escapeWithReference&&(n=Math.max(h[e],u[e])),_e({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=h[n];return h[e]>u[e]&&!t.escapeWithReference&&(i=Math.min(h[n],u[e]-("right"===e?h.width:h.height))),_e({},n,i)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";h=ve({},h,d[t](e))}),e.offsets.popper=h,e}function se(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets,o=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",u=a?"width":"height",c={start:_e({},l,o[l]),end:_e({},l,o[l]+o[u]-s[u])};e.offsets.popper=ve({},s,c[i])}return e}function ae(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=N(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function le(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,r=i.popper,o=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=o[n]-(a?r[s?"width":"height"]:0),e.placement=I(t),e.offsets.popper=_(r),e}var ue="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,ce=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(ue&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),he=ue&&window.Promise,de=he?e:t,fe=ue&&!(!window.MSInputMethodContext||!document.documentMode),me=ue&&/MSIE 10/.test(navigator.userAgent),pe=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},ge=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),_e=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ye=ue&&/Firefox/i.test(navigator.userAgent),Ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],be=Ee.slice(3),we={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Te={shift:{order:100,enabled:!0,fn:se},offset:{order:200,enabled:!0,fn:re,offset:0},preventOverflow:{order:300,enabled:!0,fn:oe,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:te},arrow:{order:500,enabled:!0,fn:X,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ee,behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:le},hide:{order:800,enabled:!0,fn:ae},computeStyle:{order:850,enabled:!0,fn:Q,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:q,onLoad:K,gpuAcceleration:void 0}},Se={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Te},De=function(){function e(t,i){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};pe(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=de(this.update.bind(this)),this.options=ve({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(ve({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=ve({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return ve({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&n(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return ge(e,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return x.call(this)}},{key:"enableEventListeners",value:function(){return F.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();return De.Utils=("undefined"!=typeof window?window:global).PopperUtils,De.placements=Ee,De.Defaults=Se,De}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.PopperUtils={})}(this,function(e){"use strict";function t(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView,i=n.getComputedStyle(e,null);return t?i[t]:i}function n(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function i(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var r=t(e),o=r.overflow,s=r.overflowX;return/(auto|scroll|overlay)/.test(o+r.overflowY+s)?e:i(n(e))}function r(e){return e&&e.referenceNode?e.referenceNode:e}function o(e){return 11===e?q:10===e?K:q||K}function s(e){if(!e)return document.documentElement;for(var n=o(10)?document.body:null,i=e.offsetParent||null;i===n&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===t(i,"position")?s(i):i:e?e.ownerDocument.documentElement:document.documentElement}function a(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||s(e.firstElementChild)===e)}function l(e){return null!==e.parentNode?l(e.parentNode):e}function u(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,r=n?t:e,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var c=o.commonAncestorContainer;if(e!==c&&t!==c||i.contains(r))return a(c)?c:s(c);var h=l(e);return h.host?u(h.host,t):u(e,l(t).host)}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[n]}return e[n]}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=c(t,"top"),r=c(t,"left"),o=n?-1:1;return e.top+=i*o,e.bottom+=i*o,e.left+=r*o,e.right+=r*o,e}function d(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+i+"Width"])}function f(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],o(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function m(e){var t=e.body,n=e.documentElement,i=o(10)&&getComputedStyle(n);return{height:f("Height",t,n,i),width:f("Width",t,n,i)}}function p(e){return z({},e,{right:e.left+e.width,bottom:e.top+e.height})}function g(e){var n={};try{if(o(10)){n=e.getBoundingClientRect();var i=c(e,"top"),r=c(e,"left");n.top+=i,n.left+=r,n.bottom+=i,n.right+=r}else n=e.getBoundingClientRect()}catch(e){}var s={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},a="HTML"===e.nodeName?m(e.ownerDocument):{},l=a.width||e.clientWidth||s.width,u=a.height||e.clientHeight||s.height,h=e.offsetWidth-l,f=e.offsetHeight-u;if(h||f){var g=t(e);h-=d(g,"x"),f-=d(g,"y"),s.width-=h,s.height-=f}return p(s)}function _(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=o(10),a="HTML"===n.nodeName,l=g(e),u=g(n),c=i(e),d=t(n),f=parseFloat(d.borderTopWidth),m=parseFloat(d.borderLeftWidth);r&&a&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var _=p({top:l.top-u.top-f,left:l.left-u.left-m,width:l.width,height:l.height});if(_.marginTop=0,_.marginLeft=0,!s&&a){var v=parseFloat(d.marginTop),y=parseFloat(d.marginLeft);_.top-=f-v,_.bottom-=f-v,_.left-=m-y,_.right-=m-y,_.marginTop=v,_.marginLeft=y}return(s&&!r?n.contains(c):n===c&&"BODY"!==c.nodeName)&&(_=h(_,n)),_}function v(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=_(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:c(n),a=t?0:c(n,"left");return p({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:r,height:o})}function y(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===t(e,"position"))return!0;var r=n(e);return!!r&&y(r)}function E(e){if(!e||!e.parentElement||o())return document.documentElement;for(var n=e.parentElement;n&&"none"===t(n,"transform");)n=n.parentElement;return n||document.documentElement}function b(e,t,o,s){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l={top:0,left:0},c=a?E(e):u(e,r(t));if("viewport"===s)l=v(c,a);else{var h=void 0;"scrollParent"===s?(h=i(n(t)),"BODY"===h.nodeName&&(h=e.ownerDocument.documentElement)):h="window"===s?e.ownerDocument.documentElement:s;var d=_(h,c,a);if("HTML"!==h.nodeName||y(c))l=d;else{var f=m(e.ownerDocument),p=f.height,g=f.width;l.top+=d.top-d.marginTop,l.bottom=p+d.top,l.left+=d.left-d.marginLeft,l.right=g+d.left}}o=o||0;var b="number"==typeof o;return l.left+=b?o:o.left||0,l.top+=b?o:o.top||0,l.right-=b?o:o.right||0,l.bottom-=b?o:o.bottom||0,l}function w(e){return e.width*e.height}function T(e,t,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=b(n,i,o,r),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map(function(e){return z({key:e},a[e],{area:w(a[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,h=e.split("-")[1];return c+(h?"-"+h:"")}function S(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function D(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Q))}}function O(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function C(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=O(e,function(e){return e[t]===n});return e.indexOf(i)}function I(e){var t=void 0;if("HTML"===e.nodeName){var n=m(e.ownerDocument);t={width:n.width,height:n.height,left:0,top:0}}else t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return p(t)}function A(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),r=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+i}}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function k(e,t,n){n=n.split("-")[0];var i=A(e),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),s=o?"top":"left",a=o?"left":"top",l=o?"height":"width",u=o?"width":"height";return r[s]=t[s]+t[l]/2-i[l]/2,r[a]=n===a?t[a]-i[u]:t[N(a)],r}function M(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(n,i?E(t):u(t,r(n)),i)}function L(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var r=t[i],o=r?""+r+n:e;if(void 0!==document.body.style[o])return o}return null}function P(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function R(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function x(e,t,n){var i=O(e,function(e){return e.name===t}),r=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!r){var o="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}function H(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e){var t=e.ownerDocument;return t?t.defaultView:window}function W(e,t){return Y(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function F(e,t,n){return(void 0===n?e:e.slice(0,C(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&P(n)&&(t.offsets.popper=p(t.offsets.popper),t.offsets.reference=p(t.offsets.reference),t=n(t,e))}),t}function U(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function V(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&H(t[n])&&(i="px"),e.style[n]=t[n]+i})}function j(e,t,n,r){var o="BODY"===e.nodeName,s=o?e.ownerDocument.defaultView:e;s.addEventListener(t,n,{passive:!0}),o||j(i(s.parentNode),t,n,r),r.push(s)}function G(e,t,n,r){n.updateBound=r,Y(e).addEventListener("resize",n.updateBound,{passive:!0});var o=i(e);return j(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}var B="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,q=B&&!(!window.MSInputMethodContext||!document.documentMode),K=B&&/MSIE 10/.test(navigator.userAgent),z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Q=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(B&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),Z=B&&window.Promise,X=Z?S:D,$={computeAutoPlacement:T,debounce:X,findIndex:C,getBordersSize:d,getBoundaries:b,getBoundingClientRect:g,getClientRect:p,getOffsetParent:s,getOffsetRect:I,getOffsetRectRelativeToArbitraryNode:_,getOuterSizes:A,getParentNode:n,getPopperOffsets:k,getReferenceOffsets:M,getScroll:c,getScrollParent:i,getStyleComputedProperty:t,getSupportedPropertyName:L,getWindowSizes:m,isFixed:y,isFunction:P,isModifierEnabled:R,isModifierRequired:x,isNumeric:H,removeEventListeners:W,runModifiers:F,setAttributes:U,setStyles:V,setupEventListeners:G};e.computeAutoPlacement=T,e.debounce=X,e.findIndex=C,e.getBordersSize=d,e.getBoundaries=b,e.getBoundingClientRect=g,e.getClientRect=p,e.getOffsetParent=s,e.getOffsetRect=I,e.getOffsetRectRelativeToArbitraryNode=_,e.getOuterSizes=A,e.getParentNode=n,e.getPopperOffsets=k,e.getReferenceOffsets=M,e.getScroll=c,e.getScrollParent=i,e.getStyleComputedProperty=t,e.getSupportedPropertyName=L,e.getWindowSizes=m,e.isFixed=y,e.isFunction=P,e.isModifierEnabled=R,e.isModifierRequired=x,e.isNumeric=H,e.removeEventListeners=W,e.runModifiers=F,e.setAttributes=U,e.setStyles=V,e.setupEventListeners=G,e.default=$,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):(e=e||self,t(e.bootstrap={},e.jQuery,e.Popper))}(this,function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){o(e,t,n[t])})}return e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function u(){return{bindType:f,delegateType:f,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function c(e){var n=this,i=!1;return t(this).one(m.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||m.triggerTransitionEnd(n)},e),this}function h(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===ue.indexOf(n)||Boolean(e.nodeValue.match(de)||e.nodeValue.match(fe));for(var i=t.filter(function(e){return e instanceof RegExp}),r=0,o=i.length;r<o;r++)if(n.match(i[r]))return!0;return!1}function d(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=new window.DOMParser,r=i.parseFromString(e,"text/html"),o=Object.keys(t),s=[].slice.call(r.body.querySelectorAll("*")),a=0,l=s.length;a<l;a++){(function(e,n){var i=s[e],r=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[r]||[]);a.forEach(function(e){h(e,l)||i.removeAttribute(e.nodeName)})})(a)}return r.body.innerHTML}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var f="transitionend",m={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),i=t(e).css("transition-delay"),r=parseFloat(n),o=parseFloat(i);return r||o?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(f)},supportsTransitionEnd:function(){return Boolean(f)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&m.isElement(o)?"element":l(o);if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?m.findShadowRoot(e.parentNode):null}};!function(){t.fn.emulateTransitionEnd=c,t.event.special[m.TRANSITION_END]=u()}();var p="alert",g=t.fn[p],_={DISMISS:'[data-dismiss="alert"]'},v={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},y={ALERT:"alert",FADE:"fade",SHOW:"show"},E=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},
n._getRootElement=function(e){var n=m.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=t(e).closest("."+y.ALERT)[0]),i},n._triggerCloseEvent=function(e){var n=t.Event(v.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n=this;if(t(e).removeClass(y.SHOW),!t(e).hasClass(y.FADE))return void this._destroyElement(e);var i=m.getTransitionDurationFromElement(e);t(e).one(m.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(i)},n._destroyElement=function(e){t(e).detach().trigger(v.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||(r=new e(this),i.data("bs.alert",r)),"close"===n&&r[n](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(v.CLICK_DATA_API,_.DISMISS,E._handleDismiss(new E)),t.fn[p]=E._jQueryInterface,t.fn[p].Constructor=E,t.fn[p].noConflict=function(){return t.fn[p]=g,E._jQueryInterface};var b=t.fn.button,w={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},T={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},S={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},D=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(T.DATA_TOGGLE)[0];if(i){var r=this._element.querySelector(T.INPUT);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(w.ACTIVE))e=!1;else{var o=i.querySelector(T.ACTIVE);o&&t(o).removeClass(w.ACTIVE)}if(e){if(r.hasAttribute("disabled")||i.hasAttribute("disabled")||r.classList.contains("disabled")||i.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(w.ACTIVE),t(r).trigger("change")}r.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w.ACTIVE)),e&&t(this._element).toggleClass(w.ACTIVE)},n.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.button");i||(i=new e(this),t(this).data("bs.button",i)),"toggle"===n&&i[n]()})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(S.CLICK_DATA_API,T.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var n=e.target;t(n).hasClass(w.BUTTON)||(n=t(n).closest(T.BUTTON)),D._jQueryInterface.call(t(n),"toggle")}).on(S.FOCUS_BLUR_DATA_API,T.DATA_TOGGLE_CARROT,function(e){var n=t(e.target).closest(T.BUTTON)[0];t(n).toggleClass(w.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn.button=D._jQueryInterface,t.fn.button.Constructor=D,t.fn.button.noConflict=function(){return t.fn.button=b,D._jQueryInterface};var O="carousel",C=".bs.carousel",I=t.fn[O],A={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},N={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},k={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},M={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},L={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},P={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},R={TOUCH:"touch",PEN:"pen"},x=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(P.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=e.prototype;return n.next=function(){this._isSliding||this._slide(k.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(k.PREV)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(P.NEXT_PREV)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(e){var n=this;this._activeElement=this._element.querySelector(P.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(M.SLID,function(){return n.to(e)});if(i===e)return this.pause(),void this.cycle();var r=e>i?k.NEXT:k.PREV;this._slide(r,this._items[e])}},n.dispose=function(){t(this._element).off(C),t.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=s({},A,e),m.typeCheckConfig(O,e,N),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},n._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(M.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&t(this._element).on(M.MOUSEENTER,function(t){return e.pause(t)}).on(M.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&R[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&R[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};t(this._element.querySelectorAll(P.ITEM_IMG)).on(M.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(t(this._element).on(M.POINTERDOWN,function(e){return n(e)}),t(this._element).on(M.POINTERUP,function(e){return r(e)}),this._element.classList.add(L.POINTER_EVENT)):(t(this._element).on(M.TOUCHSTART,function(e){return n(e)}),t(this._element).on(M.TOUCHMOVE,function(e){return i(e)}),t(this._element).on(M.TOUCHEND,function(e){return r(e)}))}},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(P.ITEM)):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===k.NEXT,i=e===k.PREV,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=e===k.PREV?-1:1,a=(r+s)%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},n._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(P.ACTIVE_ITEM)),o=t.Event(M.SLIDE,{relatedTarget:e,direction:n,from:r,to:i});return t(this._element).trigger(o),o},n._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(P.ACTIVE));t(n).removeClass(L.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(L.ACTIVE)}},n._slide=function(e,n){var i,r,o,s=this,a=this._element.querySelector(P.ACTIVE_ITEM),l=this._getItemIndex(a),u=n||a&&this._getItemByDirection(e,a),c=this._getItemIndex(u),h=Boolean(this._interval);if(e===k.NEXT?(i=L.LEFT,r=L.NEXT,o=k.LEFT):(i=L.RIGHT,r=L.PREV,o=k.RIGHT),u&&t(u).hasClass(L.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(u,o).isDefaultPrevented()&&a&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var d=t.Event(M.SLID,{relatedTarget:u,direction:o,from:l,to:c});if(t(this._element).hasClass(L.SLIDE)){t(u).addClass(r),m.reflow(u),t(a).addClass(i),t(u).addClass(i);var f=parseInt(u.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var p=m.getTransitionDurationFromElement(a);t(a).one(m.TRANSITION_END,function(){t(u).removeClass(i+" "+r).addClass(L.ACTIVE),t(a).removeClass(L.ACTIVE+" "+r+" "+i),s._isSliding=!1,setTimeout(function(){return t(s._element).trigger(d)},0)}).emulateTransitionEnd(p)}else t(a).removeClass(L.ACTIVE),t(u).addClass(L.ACTIVE),this._isSliding=!1,t(this._element).trigger(d);h&&this.cycle()}},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.carousel"),r=s({},A,t(this).data());"object"==typeof n&&(r=s({},r,n));var o="string"==typeof n?n:r.slide;if(i||(i=new e(this,r),t(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof o){if(void 0===i[o])throw new TypeError('No method named "'+o+'"');i[o]()}else r.interval&&r.ride&&(i.pause(),i.cycle())})},e._dataApiClickHandler=function(n){var i=m.getSelectorFromElement(this);if(i){var r=t(i)[0];if(r&&t(r).hasClass(L.CAROUSEL)){var o=s({},t(r).data(),t(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),e._jQueryInterface.call(t(r),o),a&&t(r).data("bs.carousel").to(a),n.preventDefault()}}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return A}}]),e}();t(document).on(M.CLICK_DATA_API,P.DATA_SLIDE,x._dataApiClickHandler),t(window).on(M.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(P.DATA_RIDE)),n=0,i=e.length;n<i;n++){var r=t(e[n]);x._jQueryInterface.call(r,r.data())}}),t.fn[O]=x._jQueryInterface,t.fn[O].Constructor=x,t.fn[O].noConflict=function(){return t.fn[O]=I,x._jQueryInterface};var H="collapse",Y=t.fn[H],W={toggle:!0,parent:""},F={toggle:"boolean",parent:"(string|element)"},U={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},V={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},j={WIDTH:"width",HEIGHT:"height"},G={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},B=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(G.DATA_TOGGLE)),i=0,r=n.length;i<r;i++){var o=n[i],s=m.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&a.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=e.prototype;return n.toggle=function(){t(this._element).hasClass(V.SHOW)?this.hide():this.show()},n.show=function(){var n=this;if(!this._isTransitioning&&!t(this._element).hasClass(V.SHOW)){var i,r;if(this._parent&&(i=[].slice.call(this._parent.querySelectorAll(G.ACTIVES)).filter(function(e){return"string"==typeof n._config.parent?e.getAttribute("data-parent")===n._config.parent:e.classList.contains(V.COLLAPSE)}),0===i.length&&(i=null)),!(i&&(r=t(i).not(this._selector).data("bs.collapse"))&&r._isTransitioning)){var o=t.Event(U.SHOW);if(t(this._element).trigger(o),!o.isDefaultPrevented()){i&&(e._jQueryInterface.call(t(i).not(this._selector),"hide"),r||t(i).data("bs.collapse",null));var s=this._getDimension();t(this._element).removeClass(V.COLLAPSE).addClass(V.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(V.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=function(){t(n._element).removeClass(V.COLLAPSING).addClass(V.COLLAPSE).addClass(V.SHOW),n._element.style[s]="",n.setTransitioning(!1),t(n._element).trigger(U.SHOWN)},l=s[0].toUpperCase()+s.slice(1),u="scroll"+l,c=m.getTransitionDurationFromElement(this._element);t(this._element).one(m.TRANSITION_END,a).emulateTransitionEnd(c),this._element.style[s]=this._element[u]+"px"}}}},n.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(V.SHOW)){var n=t.Event(U.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",m.reflow(this._element),t(this._element).addClass(V.COLLAPSING).removeClass(V.COLLAPSE).removeClass(V.SHOW);var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var s=this._triggerArray[o],a=m.getSelectorFromElement(s);if(null!==a){var l=t([].slice.call(document.querySelectorAll(a)));l.hasClass(V.SHOW)||t(s).addClass(V.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0);var u=function(){e.setTransitioning(!1),t(e._element).removeClass(V.COLLAPSING).addClass(V.COLLAPSE).trigger(U.HIDDEN)};this._element.style[i]="";var c=m.getTransitionDurationFromElement(this._element);t(this._element).one(m.TRANSITION_END,u).emulateTransitionEnd(c)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){t.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return e=s({},W,e),e.toggle=Boolean(e.toggle),m.typeCheckConfig(H,e,F),e},n._getDimension=function(){return t(this._element).hasClass(j.WIDTH)?j.WIDTH:j.HEIGHT},n._getParent=function(){var n,i=this;m.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(n.querySelectorAll(r));return t(o).each(function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(V.SHOW);n.length&&t(n).toggleClass(V.COLLAPSED,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=m.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),o=s({},W,i.data(),"object"==typeof n&&n?n:{});if(!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||(r=new e(this,o),i.data("bs.collapse",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return W}}]),e}();t(document).on(U.CLICK_DATA_API,G.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),i=m.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(i));t(r).each(function(){var e=t(this),i=e.data("bs.collapse"),r=i?"toggle":n.data();B._jQueryInterface.call(e,r)})}),t.fn[H]=B._jQueryInterface,t.fn[H].Constructor=B,t.fn[H].noConflict=function(){return t.fn[H]=Y,B._jQueryInterface};var q="dropdown",K=t.fn[q],z=new RegExp("38|40|27"),Q={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},Z={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},X={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},$={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},J={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ee={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},te=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(Z.DISABLED)){var i=e._getParentFromElement(this._element),r=t(this._menu).hasClass(Z.SHOW);if(e._clearMenus(),!r){var o={relatedTarget:this._element},s=t.Event(Q.SHOW,o);if(t(i).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:m.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(i).addClass(Z.POSITION_STATIC),this._popper=new n(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(i).closest(X.NAVBAR_NAV).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(Z.SHOW),t(i).toggleClass(Z.SHOW).trigger(t.Event(Q.SHOWN,o))}}}},i.show=function(){if(!(this._element.disabled||t(this._element).hasClass(Z.DISABLED)||t(this._menu).hasClass(Z.SHOW))){var n={relatedTarget:this._element},i=t.Event(Q.SHOW,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Z.SHOW),t(r).toggleClass(Z.SHOW).trigger(t.Event(Q.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(Z.DISABLED)&&t(this._menu).hasClass(Z.SHOW)){var n={relatedTarget:this._element},i=t.Event(Q.HIDE,n),r=e._getParentFromElement(this._element);t(r).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Z.SHOW),t(r).toggleClass(Z.SHOW).trigger(t.Event(Q.HIDDEN,n)))}},i.dispose=function(){t.removeData(this._element,"bs.dropdown"),t(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var e=this;t(this._element).on(Q.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},i._getConfig=function(e){return e=s({},this.constructor.Default,t(this._element).data(),e),m.typeCheckConfig(q,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(X.MENU))}return this._menu},i._getPlacement=function(){var e=t(this._element.parentNode),n=$.BOTTOM;return e.hasClass(Z.DROPUP)?(n=$.TOP,t(this._menu).hasClass(Z.MENURIGHT)&&(n=$.TOPEND)):e.hasClass(Z.DROPRIGHT)?n=$.RIGHT:e.hasClass(Z.DROPLEFT)?n=$.LEFT:t(this._menu).hasClass(Z.MENURIGHT)&&(n=$.BOTTOMEND),n},i._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},i._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},i._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.dropdown"),r="object"==typeof n?n:null;if(i||(i=new e(this,r),t(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(X.DATA_TOGGLE)),r=0,o=i.length;r<o;r++){var s=e._getParentFromElement(i[r]),a=t(i[r]).data("bs.dropdown"),l={relatedTarget:i[r]};if(n&&"click"===n.type&&(l.clickEvent=n),a){var u=a._menu;if(t(s).hasClass(Z.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&t.contains(s,n.target))){var c=t.Event(Q.HIDE,l);t(s).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),i[r].setAttribute("aria-expanded","false"),t(u).removeClass(Z.SHOW),t(s).removeClass(Z.SHOW).trigger(t.Event(Q.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=m.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||t(n.target).closest(X.MENU).length)):z.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(Z.DISABLED))){var i=e._getParentFromElement(this),r=t(i).hasClass(Z.SHOW);if(!r||r&&(27===n.which||32===n.which)){if(27===n.which){var o=i.querySelector(X.DATA_TOGGLE);t(o).trigger("focus")}return void t(this).trigger("click")}var s=[].slice.call(i.querySelectorAll(X.VISIBLE_ITEMS));if(0!==s.length){var a=s.indexOf(n.target);38===n.which&&a>0&&a--,40===n.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return J}},{key:"DefaultType",get:function(){return ee}}]),e}();t(document).on(Q.KEYDOWN_DATA_API,X.DATA_TOGGLE,te._dataApiKeydownHandler).on(Q.KEYDOWN_DATA_API,X.MENU,te._dataApiKeydownHandler).on(Q.CLICK_DATA_API+" "+Q.KEYUP_DATA_API,te._clearMenus).on(Q.CLICK_DATA_API,X.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),te._jQueryInterface.call(t(this),"toggle")}).on(Q.CLICK_DATA_API,X.FORM_CHILD,function(e){e.stopPropagation()}),t.fn[q]=te._jQueryInterface,t.fn[q].Constructor=te,t.fn[q].noConflict=function(){return t.fn[q]=K,te._jQueryInterface};var ne=t.fn.modal,ie={backdrop:!0,keyboard:!0,focus:!0,show:!0},re={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},oe={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},se={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},ae={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},le=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(ae.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=e.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(se.FADE)&&(this._isTransitioning=!0);var i=t.Event(oe.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(oe.CLICK_DISMISS,ae.DATA_DISMISS,function(e){return n.hide(e)}),t(this._dialog).on(oe.MOUSEDOWN_DISMISS,function(){t(n._element).one(oe.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))}},n.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=t.Event(oe.HIDE);if(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var r=t(this._element).hasClass(se.FADE);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(oe.FOCUSIN),t(this._element).removeClass(se.SHOW),t(this._element).off(oe.CLICK_DISMISS),t(this._dialog).off(oe.MOUSEDOWN_DISMISS),r){var o=m.getTransitionDurationFromElement(this._element);t(this._element).one(m.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(o)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return t(e).off(".bs.modal")}),t(document).off(oe.FOCUSIN),t.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=s({},ie,e),m.typeCheckConfig("modal",e,re),e},n._showElement=function(e){var n=this,i=t(this._element).hasClass(se.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),t(this._dialog).hasClass(se.SCROLLABLE)?this._dialog.querySelector(ae.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&m.reflow(this._element),t(this._element).addClass(se.SHOW),this._config.focus&&this._enforceFocus();var r=t.Event(oe.SHOWN,{relatedTarget:e}),o=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(r)};if(i){var s=m.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},n._enforceFocus=function(){var e=this;t(document).off(oe.FOCUSIN).on(oe.FOCUSIN,function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()})},n._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(oe.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||t(this._element).off(oe.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var e=this;this._isShown?t(window).on(oe.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(oe.RESIZE)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(se.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(oe.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var n=this,i=t(this._element).hasClass(se.FADE)?se.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=se.BACKDROP,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(oe.CLICK_DISMISS,function(e){if(n._ignoreBackdropClick)return void(n._ignoreBackdropClick=!1);e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&m.reflow(this._backdrop),t(this._backdrop).addClass(se.SHOW),!e)return;if(!i)return void e();var r=m.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(m.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(se.SHOW);var o=function(){n._removeBackdrop(),e&&e()};if(t(this._element).hasClass(se.FADE)){var s=m.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},n._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(ae.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(ae.STICKY_CONTENT));t(n).each(function(n,i){var r=i.style.paddingRight,o=t(i).css("padding-right");t(i).data("padding-right",r).css("padding-right",parseFloat(o)+e._scrollbarWidth+"px")}),t(i).each(function(n,i){var r=i.style.marginRight,o=t(i).css("margin-right");t(i).data("margin-right",r).css("margin-right",parseFloat(o)-e._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=t(document.body).css("padding-right");t(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}t(document.body).addClass(se.OPEN)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(ae.FIXED_CONTENT));t(e).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+ae.STICKY_CONTENT));t(n).each(function(e,n){var i=t(n).data("margin-right");void 0!==i&&t(n).css("margin-right",i).removeData("margin-right")});var i=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className=se.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(n,i){return this.each(function(){var r=t(this).data("bs.modal"),o=s({},ie,t(this).data(),"object"==typeof n&&n?n:{});if(r||(r=new e(this,o),t(this).data("bs.modal",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](i)}else o.show&&r.show(i)})},r(e,null,[{key:"VERSION",
get:function(){return"4.3.1"}},{key:"Default",get:function(){return ie}}]),e}();t(document).on(oe.CLICK_DATA_API,ae.DATA_TOGGLE,function(e){var n,i=this,r=m.getSelectorFromElement(this);r&&(n=document.querySelector(r));var o=t(n).data("bs.modal")?"toggle":s({},t(n).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=t(n).one(oe.SHOW,function(e){e.isDefaultPrevented()||a.one(oe.HIDDEN,function(){t(i).is(":visible")&&i.focus()})});le._jQueryInterface.call(t(n),o,this)}),t.fn.modal=le._jQueryInterface,t.fn.modal.Constructor=le,t.fn.modal.noConflict=function(){return t.fn.modal=ne,le._jQueryInterface};var ue=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],ce=/^aria-[\w-]*$/i,he={"*":["class","dir","id","lang","role",ce],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:[]},de=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,fe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,me="tooltip",pe=t.fn[me],ge=new RegExp("(^|\\s)bs-tooltip\\S+","g"),_e=["sanitize","whiteList","sanitizeFn"],ve={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},ye={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ee={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',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:he},be={SHOW:"show",OUT:"out"},we={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Te={FADE:"fade",SHOW:"show"},Se={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},De={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Oe=function(){function e(e,t){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(Te.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var r=m.findShadowRoot(this.element),o=t.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!o)return;var s=this.getTipElement(),a=m.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(s).addClass(Te.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var c=this._getContainer();t(s).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(s).appendTo(c),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,s,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Se.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),t(s).addClass(Te.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var h=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===be.OUT&&e._leave(null,e)};if(t(this.tip).hasClass(Te.FADE)){var d=m.getTransitionDurationFromElement(this.tip);t(this.tip).one(m.TRANSITION_END,h).emulateTransitionEnd(d)}else h()}},i.hide=function(e){var n=this,i=this.getTipElement(),r=t.Event(this.constructor.Event.HIDE),o=function(){n._hoverState!==be.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(t(this.element).trigger(r),!r.isDefaultPrevented()){if(t(i).removeClass(Te.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[De.CLICK]=!1,this._activeTrigger[De.FOCUS]=!1,this._activeTrigger[De.HOVER]=!1,t(this.tip).hasClass(Te.FADE)){var s=m.getTransitionDurationFromElement(i);t(i).one(m.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(Se.TOOLTIP_INNER)),this.getTitle()),t(e).removeClass(Te.FADE+" "+Te.SHOW)},i.setElementContent=function(e,n){if("object"==typeof n&&(n.nodeType||n.jquery))return void(this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text()));this.config.html?(this.config.sanitize&&(n=d(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n)},i.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},i._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},i._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},i._getAttachment=function(e){return ye[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==De.MANUAL){var i=n===De.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=n===De.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(r,e.config.selector,function(t){return e._leave(t)})}}),t(this.element).closest(".modal").on("hide.bs.modal",function(){e.element&&e.hide()}),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(e,n){var i=this.constructor.DATA_KEY;return n=n||t(e.currentTarget).data(i),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?De.FOCUS:De.HOVER]=!0),t(n.getTipElement()).hasClass(Te.SHOW)||n._hoverState===be.SHOW?void(n._hoverState=be.SHOW):(clearTimeout(n._timeout),n._hoverState=be.SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===be.SHOW&&n.show()},n.config.delay.show)):void n.show())},i._leave=function(e,n){var i=this.constructor.DATA_KEY;if(n=n||t(e.currentTarget).data(i),n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?De.FOCUS:De.HOVER]=!1),!n._isWithActiveTrigger()){if(clearTimeout(n._timeout),n._hoverState=be.OUT,!n.config.delay||!n.config.delay.hide)return void n.hide();n._timeout=setTimeout(function(){n._hoverState===be.OUT&&n.hide()},n.config.delay.hide)}},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){var n=t(this.element).data();return Object.keys(n).forEach(function(e){-1!==_e.indexOf(e)&&delete n[e]}),e=s({},this.constructor.Default,n,"object"==typeof e&&e?e:{}),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),m.typeCheckConfig(me,e,this.constructor.DefaultType),e.sanitize&&(e.template=d(e.template,e.whiteList,e.sanitizeFn)),e},i._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(ge);null!==n&&n.length&&e.removeClass(n.join(""))},i._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(Te.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new e(this,r),t(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ee}},{key:"NAME",get:function(){return me}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return we}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return ve}}]),e}();t.fn[me]=Oe._jQueryInterface,t.fn[me].Constructor=Oe,t.fn[me].noConflict=function(){return t.fn[me]=pe,Oe._jQueryInterface};var Ce="popover",Ie=t.fn[Ce],Ae=new RegExp("(^|\\s)bs-popover\\S+","g"),Ne=s({},Oe.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),ke=s({},Oe.DefaultType,{content:"(string|element|function)"}),Me={FADE:"fade",SHOW:"show"},Le={TITLE:".popover-header",CONTENT:".popover-body"},Pe={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Re=function(e){function n(){return e.apply(this,arguments)||this}a(n,e);var i=n.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(Le.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(Le.CONTENT),n),e.removeClass(Me.FADE+" "+Me.SHOW)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(Ae);null!==n&&n.length>0&&e.removeClass(n.join(""))},n._jQueryInterface=function(e){return this.each(function(){var i=t(this).data("bs.popover"),r="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new n(this,r),t(this).data("bs.popover",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ne}},{key:"NAME",get:function(){return Ce}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Pe}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return ke}}]),n}(Oe);t.fn[Ce]=Re._jQueryInterface,t.fn[Ce].Constructor=Re,t.fn[Ce].noConflict=function(){return t.fn[Ce]=Ie,Re._jQueryInterface};var xe="scrollspy",He=t.fn[xe],Ye={offset:10,method:"auto",target:""},We={offset:"number",method:"string",target:"(string|element)"},Fe={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},Ue={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Ve={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},je={OFFSET:"offset",POSITION:"position"},Ge=function(){function e(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+Ve.NAV_LINKS+","+this._config.target+" "+Ve.LIST_ITEMS+","+this._config.target+" "+Ve.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(Fe.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}var n=e.prototype;return n.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?je.OFFSET:je.POSITION,i="auto"===this._config.method?n:this._config.method,r=i===je.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var n,o=m.getSelectorFromElement(e);if(o&&(n=document.querySelector(o)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[t(n)[i]().top+r,o]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(e){if(e=s({},Ye,"object"==typeof e&&e?e:{}),"string"!=typeof e.target){var n=t(e.target).attr("id");n||(n=m.getUID(xe),t(e.target).attr("id",n)),e.target="#"+n}return m.typeCheckConfig(xe,e,We),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];return void(this._activeTarget!==i&&this._activate(i))}if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length,o=r;o--;){this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},n._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=t([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(Ue.DROPDOWN_ITEM)?(i.closest(Ve.DROPDOWN).find(Ve.DROPDOWN_TOGGLE).addClass(Ue.ACTIVE),i.addClass(Ue.ACTIVE)):(i.addClass(Ue.ACTIVE),i.parents(Ve.NAV_LIST_GROUP).prev(Ve.NAV_LINKS+", "+Ve.LIST_ITEMS).addClass(Ue.ACTIVE),i.parents(Ve.NAV_LIST_GROUP).prev(Ve.NAV_ITEMS).children(Ve.NAV_LINKS).addClass(Ue.ACTIVE)),t(this._scrollElement).trigger(Fe.ACTIVATE,{relatedTarget:e})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(Ue.ACTIVE)}).forEach(function(e){return e.classList.remove(Ue.ACTIVE)})},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data("bs.scrollspy"),r="object"==typeof n&&n;if(i||(i=new e(this,r),t(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ye}}]),e}();t(window).on(Fe.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(Ve.DATA_SPY)),n=e.length,i=n;i--;){var r=t(e[i]);Ge._jQueryInterface.call(r,r.data())}}),t.fn[xe]=Ge._jQueryInterface,t.fn[xe].Constructor=Ge,t.fn[xe].noConflict=function(){return t.fn[xe]=He,Ge._jQueryInterface};var Be=t.fn.tab,qe={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Ke={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},ze={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},Qe=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(Ke.ACTIVE)||t(this._element).hasClass(Ke.DISABLED))){var n,i,r=t(this._element).closest(ze.NAV_LIST_GROUP)[0],o=m.getSelectorFromElement(this._element);if(r){var s="UL"===r.nodeName||"OL"===r.nodeName?ze.ACTIVE_UL:ze.ACTIVE;i=t.makeArray(t(r).find(s)),i=i[i.length-1]}var a=t.Event(qe.HIDE,{relatedTarget:this._element}),l=t.Event(qe.SHOW,{relatedTarget:i});if(i&&t(i).trigger(a),t(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(n=document.querySelector(o)),this._activate(this._element,r);var u=function(){var n=t.Event(qe.HIDDEN,{relatedTarget:e._element}),r=t.Event(qe.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(r)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(e,n,i){var r=this,o=!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children(ze.ACTIVE):t(n).find(ze.ACTIVE_UL),s=o[0],a=i&&s&&t(s).hasClass(Ke.FADE),l=function(){return r._transitionComplete(e,s,i)};if(s&&a){var u=m.getTransitionDurationFromElement(s);t(s).removeClass(Ke.SHOW).one(m.TRANSITION_END,l).emulateTransitionEnd(u)}else l()},n._transitionComplete=function(e,n,i){if(n){t(n).removeClass(Ke.ACTIVE);var r=t(n.parentNode).find(ze.DROPDOWN_ACTIVE_CHILD)[0];r&&t(r).removeClass(Ke.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(Ke.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),m.reflow(e),e.classList.contains(Ke.FADE)&&e.classList.add(Ke.SHOW),e.parentNode&&t(e.parentNode).hasClass(Ke.DROPDOWN_MENU)){var o=t(e).closest(ze.DROPDOWN)[0];if(o){var s=[].slice.call(o.querySelectorAll(ze.DROPDOWN_TOGGLE));t(s).addClass(Ke.ACTIVE)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tab");if(r||(r=new e(this),i.data("bs.tab",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(qe.CLICK_DATA_API,ze.DATA_TOGGLE,function(e){e.preventDefault(),Qe._jQueryInterface.call(t(this),"show")}),t.fn.tab=Qe._jQueryInterface,t.fn.tab.Constructor=Qe,t.fn.tab.noConflict=function(){return t.fn.tab=Be,Qe._jQueryInterface};var Ze=t.fn.toast,Xe={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},$e={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Je={animation:"boolean",autohide:"boolean",delay:"number"},et={animation:!0,autohide:!0,delay:500},tt={DATA_DISMISS:'[data-dismiss="toast"]'},nt=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var n=e.prototype;return n.show=function(){var e=this;t(this._element).trigger(Xe.SHOW),this._config.animation&&this._element.classList.add($e.FADE);var n=function(){e._element.classList.remove($e.SHOWING),e._element.classList.add($e.SHOW),t(e._element).trigger(Xe.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove($e.HIDE),this._element.classList.add($e.SHOWING),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);t(this._element).one(m.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(e){var n=this;this._element.classList.contains($e.SHOW)&&(t(this._element).trigger(Xe.HIDE),e?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains($e.SHOW)&&this._element.classList.remove($e.SHOW),t(this._element).off(Xe.CLICK_DISMISS),t.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(e){return e=s({},et,t(this._element).data(),"object"==typeof e&&e?e:{}),m.typeCheckConfig("toast",e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;t(this._element).on(Xe.CLICK_DISMISS,tt.DATA_DISMISS,function(){return e.hide(!0)})},n._close=function(){var e=this,n=function(){e._element.classList.add($e.HIDE),t(e._element).trigger(Xe.HIDDEN)};if(this._element.classList.remove($e.SHOW),this._config.animation){var i=m.getTransitionDurationFromElement(this._element);t(this._element).one(m.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),r=i.data("bs.toast"),o="object"==typeof n&&n;if(r||(r=new e(this,o),i.data("bs.toast",r)),"string"==typeof n){if(void 0===r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},r(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Je}},{key:"Default",get:function(){return et}}]),e}();t.fn.toast=nt._jQueryInterface,t.fn.toast.Constructor=nt,t.fn.toast.noConflict=function(){return t.fn.toast=Ze,nt._jQueryInterface},function(){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=m,e.Alert=E,e.Button=D,e.Carousel=x,e.Collapse=B,e.Dropdown=te,e.Modal=le,e.Popover=Re,e.Scrollspy=Ge,e.Tab=Qe,e.Toast=nt,e.Tooltip=Oe,Object.defineProperty(e,"__esModule",{value:!0})});