").append(lt.parseHTML(t)).find(r):t)}).complete(i&&function(t,e){s.each(i,a||[t.responseText,e,t])}),this},lt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){lt.fn[e]=function(t){return this.on(e,t)}}),lt.each(["get","post"],function(t,n){lt[n]=function(t,i,r,a){return lt.isFunction(i)&&(a=a||r,r=i,i=e),lt.ajax({url:t,type:n,dataType:a,data:i,success:r})}}),lt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:De,type:"GET",isLocal:Fe.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ye,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":lt.parseJSON,"text xml":lt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?O(O(t,lt.ajaxSettings),e):O(lt.ajaxSettings,t)},ajaxPrefilter:E($e),ajaxTransport:E(ze),ajax:function(t,n){function i(t,n,i,r){var a,d,y,x,b,S=n;2!==_&&(_=2,l&&clearTimeout(l),c=e,s=r||"",w.readyState=t>0?4:0,i&&(x=L(h,w,i)),t>=200&&t<300||304===t?(h.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(lt.lastModified[o]=b),b=w.getResponseHeader("etag"),b&&(lt.etag[o]=b)),204===t?(a=!0,S="nocontent"):304===t?(a=!0,S="notmodified"):(a=I(h,x),S=a.state,d=a.data,y=a.error,a=!y)):(y=S,!t&&S||(S="error",t<0&&(t=0))),w.status=t,w.statusText=(n||S)+"",a?g.resolveWith(f,[d,S,w]):g.rejectWith(f,[w,S,y]),w.statusCode(v),v=e,u&&p.trigger(a?"ajaxSuccess":"ajaxError",[w,h,a?d:y]),m.fireWith(f,[w,S]),u&&(p.trigger("ajaxComplete",[w,h]),--lt.active||lt.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=e),n=n||{};var r,a,o,s,l,u,c,d,h=lt.ajaxSetup({},n),f=h.context||h,p=h.context&&(f.nodeType||f.jquery)?lt(f):lt.event,g=lt.Deferred(),m=lt.Callbacks("once memory"),v=h.statusCode||{},y={},x={},_=0,b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!d)for(d={};e=Re.exec(s);)d[e[1].toLowerCase()]=e[2];e=d[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return _||(t=x[n]=x[n]||t,y[t]=e),this},overrideMimeType:function(t){return _||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(_<2)for(e in t)v[e]=[v[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return c&&c.abort(e),i(0,e),this}};if(g.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||De)+"").replace(Ie,"").replace(je,Ee[1]+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=lt.trim(h.dataType||"*").toLowerCase().match(ct)||[""],null==h.crossDomain&&(r=Ge.exec(h.url.toLowerCase()),h.crossDomain=!(!r||r[1]===Ee[1]&&r[2]===Ee[2]&&(r[3]||("http:"===r[1]?80:443))==(Ee[3]||("http:"===Ee[1]?80:443)))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=lt.param(h.data,h.traditional)),D($e,h,n,w),2===_)return w;u=h.global,u&&0===lt.active++&<.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ve.test(h.type),o=h.url,h.hasContent||(h.data&&(o=h.url+=(Le.test(o)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=Ne.test(o)?o.replace(Ne,"$1_="+Oe++):o+(Le.test(o)?"&":"?")+"_="+Oe++)),h.ifModified&&(lt.lastModified[o]&&w.setRequestHeader("If-Modified-Since",lt.lastModified[o]),lt.etag[o]&&w.setRequestHeader("If-None-Match",lt.etag[o])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ye+"; q=0.01":""):h.accepts["*"]);for(a in h.headers)w.setRequestHeader(a,h.headers[a]);if(h.beforeSend&&(h.beforeSend.call(f,w,h)===!1||2===_))return w.abort();b="abort";for(a in{success:1,error:1,complete:1})w[a](h[a]);if(c=D(ze,h,n,w)){w.readyState=1,u&&p.trigger("ajaxSend",[w,h]),h.async&&h.timeout>0&&(l=setTimeout(function(){w.abort("timeout")},h.timeout));try{_=1,c.send(y,i)}catch(S){if(!(_<2))throw S;i(-1,S)}}else i(-1,"No Transport");return w},getScript:function(t,n){return lt.get(t,e,n,"script")},getJSON:function(t,e,n){return lt.get(t,e,n,"json")}}),lt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return lt.globalEval(t),t}}}),lt.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),lt.ajaxTransport("script",function(t){if(t.crossDomain){var n,i=U.head||lt("head")[0]||U.documentElement;return{send:function(e,r){n=U.createElement("script"),n.async=!0,t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(e,!0)}}}});var Xe=[],qe=/(=)\?(?=&|$)|\?\?/;lt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||lt.expando+"_"+Oe++;return this[t]=!0,t}}),lt.ajaxPrefilter("json jsonp",function(n,i,r){var a,o,s,l=n.jsonp!==!1&&(qe.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&qe.test(n.data)&&"data");if(l||"jsonp"===n.dataTypes[0])return a=n.jsonpCallback=lt.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(qe,"$1"+a):n.jsonp!==!1&&(n.url+=(Le.test(n.url)?"&":"?")+n.jsonp+"="+a),n.converters["script json"]=function(){return s||lt.error(a+" was not called"),s[0]},n.dataTypes[0]="json",o=t[a],t[a]=function(){s=arguments},r.always(function(){t[a]=o,n[a]&&(n.jsonpCallback=i.jsonpCallback,Xe.push(a)),s&<.isFunction(o)&&o(s[0]),s=o=e}),"script"});var Ue,We,Qe=0,Ke=t.ActiveXObject&&function(){var t;for(t in Ue)Ue[t](e,!0)};lt.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&N()||R()}:N,We=lt.ajaxSettings.xhr(),lt.support.cors=!!We&&"withCredentials"in We,We=lt.support.ajax=!!We,We&<.ajaxTransport(function(n){if(!n.crossDomain||lt.support.cors){var i;return{send:function(r,a){var o,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(u){}l.send(n.hasContent&&n.data||null),i=function(t,r){var s,u,c,d;try{if(i&&(r||4===l.readyState))if(i=e,o&&(l.onreadystatechange=lt.noop,Ke&&delete Ue[o]),r)4!==l.readyState&&l.abort();else{d={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(d.text=l.responseText);try{c=l.statusText}catch(h){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(f){r||a(-1,f)}d&&a(s,c,d,u)},n.async?4===l.readyState?setTimeout(i):(o=++Qe,Ke&&(Ue||(Ue={},lt(t).unload(Ke)),Ue[o]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(e,!0)}}}});var Ze,Je,tn=/^(?:toggle|show|hide)$/,en=new RegExp("^(?:([+-])=|)("+ut+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[H],an={"*":[function(t,e){var n,i,r=this.createTween(t,e),a=en.exec(e),o=r.cur(),s=+o||0,l=1,u=20;if(a){if(n=+a[2],i=a[3]||(lt.cssNumber[t]?"":"px"),"px"!==i&&s){s=lt.css(r.elem,t,!0)||n||1;do l=l||".5",s/=l,lt.style(r.elem,t,s+i);while(l!==(l=r.cur()/o)&&1!==l&&--u)}r.unit=i,r.start=s,r.end=a[1]?s+(a[1]+1)*n:n}return r}]};lt.Animation=lt.extend(j,{tweener:function(t,e){lt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;i
-1,d={},h={};c?(h=o.position(),r=h.top,a=h.left):(r=parseFloat(l)||0,a=parseFloat(u)||0),lt.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(d.top=e.top-s.top+r),null!=e.left&&(d.left=e.left-s.left+a),"using"in e?e.using.call(t,d):o.css(d)}},lt.fn.extend({position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===lt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),lt.nodeName(t[0],"html")||(n=t.offset()),n.top+=lt.css(t[0],"borderTopWidth",!0),n.left+=lt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-lt.css(i,"marginTop",!0),left:e.left-n.left-lt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||U.documentElement;t&&!lt.nodeName(t,"html")&&"static"===lt.css(t,"position");)t=t.offsetParent;return t||U.documentElement})}}),lt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var i=/Y/.test(n);lt.fn[t]=function(r){return lt.access(this,function(t,r,a){var o=Y(t);return a===e?o?n in o?o[n]:o.document.documentElement[r]:t[r]:void(o?o.scrollTo(i?lt(o).scrollLeft():a,i?a:lt(o).scrollTop()):t[r]=a)},t,r,arguments.length,null)}}),lt.each({Height:"height",Width:"width"},function(t,n){lt.each({padding:"inner"+t,content:n,"":"outer"+t},function(i,r){lt.fn[r]=function(r,a){var o=arguments.length&&(i||"boolean"!=typeof r),s=i||(r===!0||a===!0?"margin":"border");return lt.access(this,function(n,i,r){var a;return lt.isWindow(n)?n.document.documentElement["client"+t]:9===n.nodeType?(a=n.documentElement,Math.max(n.body["scroll"+t],a["scroll"+t],n.body["offset"+t],a["offset"+t],a["client"+t])):r===e?lt.css(n,i,s):lt.style(n,i,r,s)},n,o?r:e,o,null)}})}),t.jQuery=t.$=lt,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return lt})}(window),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return oi.apply(null,arguments)}function e(t){oi=t}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n0)for(n in li)i=li[n],r=e[i],h(r)||(t[i]=r);return t}function p(e){f(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),ui===!1&&(ui=!0,t.updateOffset(this),ui=!1)}function g(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function m(t){return t<0?Math.ceil(t):Math.floor(t)}function v(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=m(e)),n}function y(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;i0;){if(i=M(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&y(r,n,!0)>=e-1)break;e--}a++}return null}function M(t){var e=null;if(!pi[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=hi._abbr,require("./locale/"+t),E(e)}catch(n){}return pi[t]}function E(t,e){var n;return t&&(n=h(e)?L(t):D(t,e),n&&(hi=n)),hi._abbr}function D(t,e){return null!==e?(e.abbr=t,null!=pi[t]?(b("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),e=C(pi[t]._config,e)):null!=e.parentLocale&&(null!=pi[e.parentLocale]?e=C(pi[e.parentLocale]._config,e):b("parentLocaleUndefined","specified parentLocale is not defined yet")),pi[t]=new A(e),E(t),pi[t]):(delete pi[t],null)}function O(t,e){if(null!=e){var n;null!=pi[t]&&(e=C(pi[t]._config,e)),n=new A(e),n.parentLocale=pi[t],pi[t]=n,E(t)}else null!=pi[t]&&(null!=pi[t].parentLocale?pi[t]=pi[t].parentLocale:null!=pi[t]&&delete pi[t]);return pi[t]}function L(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return hi;if(!n(t)){if(e=M(t))return e;t=[t]}return P(t)}function I(){return di(pi)}function N(t,e){var n=t.toLowerCase();gi[n]=gi[n+"s"]=gi[e]=t}function R(t){return"string"==typeof t?gi[t]||gi[t.toLowerCase()]:void 0}function F(t){var e,n,i={};for(n in t)a(t,n)&&(e=R(n),e&&(i[e]=t[n]));return i}function V(e,n){return function(i){return null!=i?(G(this,e,i),t.updateOffset(this,n),this):j(this,e)}}function j(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function G(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function H(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=R(t),w(this[t]))return this[t](e);return this}function $(t,e,n){var i=""+Math.abs(t),r=e-i.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}function z(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(xi[t]=r),e&&(xi[e[0]]=function(){return $(r.apply(this,arguments),e[1],e[2])}),n&&(xi[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function Y(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function B(t){var e,n,i=t.match(mi);for(e=0,n=i.length;e=0&&vi.test(t);)t=t.replace(vi,n),vi.lastIndex=0,i-=1;return t}function U(t,e,n){Fi[t]=w(e)?e:function(t,i){return t&&n?n:e}}function W(t,e){return a(Fi,t)?Fi[t](e._strict,e._locale):new RegExp(Q(t))}function Q(t){return K(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}))}function K(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Z(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=v(t)}),n=0;n11?Gi:n[Hi]<1||n[Hi]>et(n[ji],n[Gi])?Hi:n[$i]<0||n[$i]>24||24===n[$i]&&(0!==n[zi]||0!==n[Yi]||0!==n[Bi])?$i:n[zi]<0||n[zi]>59?zi:n[Yi]<0||n[Yi]>59?Yi:n[Bi]<0||n[Bi]>999?Bi:-1,u(t)._overflowDayOfYear&&(eHi)&&(e=Hi),u(t)._overflowWeeks&&e===-1&&(e=Xi),u(t)._overflowWeekday&&e===-1&&(e=qi),u(t).overflow=e),t}function ft(t){var e,n,i,r,a,o,s=t._i,l=Ji.exec(s)||tr.exec(s);if(l){for(u(t).iso=!0,e=0,n=nr.length;e=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function mt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function vt(t){return yt(t)?366:365}function yt(t){return t%4===0&&t%100!==0||t%400===0}function xt(){return yt(this.year())}function _t(t,e,n){var i=7+e-n,r=(7+mt(t,0,i).getUTCDay()-e)%7;return-r+i-1}function bt(t,e,n,i,r){var a,o,s=(7+n-i)%7,l=_t(t,i,r),u=1+7*(e-1)+s+l;return u<=0?(a=t-1,o=vt(a)+u):u>vt(t)?(a=t+1,o=u-vt(t)):(a=t,o=u),{year:a,dayOfYear:o}}function wt(t,e,n){var i,r,a=_t(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?(r=t.year()-1,i=o+St(r,e,n)):o>St(t.year(),e,n)?(i=o-St(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function St(t,e,n){var i=_t(t,e,n),r=_t(t+1,e,n);return(vt(t)-i+r)/7}function Tt(t,e,n){return null!=t?t:null!=e?e:n}function Ct(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function At(t){var e,n,i,r,a=[];if(!t._d){for(i=Ct(t),t._w&&null==t._a[Hi]&&null==t._a[Gi]&&kt(t),t._dayOfYear&&(r=Tt(t._a[ji],i[ji]),t._dayOfYear>vt(r)&&(u(t)._overflowDayOfYear=!0),n=mt(r,0,t._dayOfYear),t._a[Gi]=n.getUTCMonth(),t._a[Hi]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=i[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[$i]&&0===t._a[zi]&&0===t._a[Yi]&&0===t._a[Bi]&&(t._nextDay=!0,t._a[$i]=0),t._d=(t._useUTC?mt:gt).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[$i]=24)}}function kt(t){var e,n,i,r,a,o,s,l;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(a=1,o=4,n=Tt(e.GG,t._a[ji],wt(Rt(),1,4).year),i=Tt(e.W,1),r=Tt(e.E,1),(r<1||r>7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,n=Tt(e.gg,t._a[ji],wt(Rt(),a,o).year),i=Tt(e.w,1),null!=e.d?(r=e.d,(r<0||r>6)&&(l=!0)):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a),i<1||i>St(n,a,o)?u(t)._overflowWeeks=!0:null!=l?u(t)._overflowWeekday=!0:(s=bt(n,i,r,a,o),t._a[ji]=s.year,t._dayOfYear=s.dayOfYear)}function Pt(e){if(e._f===t.ISO_8601)return void ft(e);e._a=[],u(e).empty=!0;var n,i,r,a,o,s=""+e._i,l=s.length,c=0;for(r=q(e._f,e._locale).match(mi)||[],n=0;n0&&u(e).unusedInput.push(o),s=s.slice(s.indexOf(i)+i.length),c+=i.length),xi[a]?(i?u(e).empty=!1:u(e).unusedTokens.push(a),tt(a,i,e)):e._strict&&!i&&u(e).unusedTokens.push(a);u(e).charsLeftOver=l-c,s.length>0&&u(e).unusedInput.push(s),u(e).bigHour===!0&&e._a[$i]<=12&&e._a[$i]>0&&(u(e).bigHour=void 0),u(e).parsedDateParts=e._a.slice(0),u(e).meridiem=e._meridiem,e._a[$i]=Mt(e._locale,e._a[$i],e._meridiem),At(e),ht(e)}function Mt(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Et(t){var e,n,i,r,a;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jt(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t={};if(f(t,this),t=Lt(t),t._a){var e=t._isUTC?s(t._a):Rt(t._a);this._isDSTShifted=this.isValid()&&y(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function te(){return!!this.isValid()&&!this._isUTC}function ee(){return!!this.isValid()&&this._isUTC}function ne(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function ie(t,e){var n,i,r,o=t,s=null;return Ht(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=cr.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:v(s[Hi])*n,h:v(s[$i])*n,m:v(s[zi])*n,s:v(s[Yi])*n,ms:v(s[Bi])*n}):(s=dr.exec(t))?(n="-"===s[1]?-1:1,o={y:re(s[2],n),M:re(s[3],n),w:re(s[4],n),d:re(s[5],n),h:re(s[6],n),m:re(s[7],n),s:re(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=oe(Rt(o.from),Rt(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Gt(o),Ht(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function re(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function ae(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function oe(t,e){var n;return t.isValid()&&e.isValid()?(e=Yt(e,t),t.isBefore(e)?n=ae(t,e):(n=ae(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function se(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function le(t,e){return function(n,i){var r,a;return null===i||isNaN(+i)||(b(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),a=n,n=i,i=a),n="string"==typeof n?+n:n,r=ie(n,i),ue(this,r,t),this}}function ue(e,n,i,r){var a=n._milliseconds,o=se(n._days),s=se(n._months);e.isValid()&&(r=null==r||r,a&&e._d.setTime(e._d.valueOf()+a*i),o&&G(e,"Date",j(e,"Date")+o*i),s&&ot(e,j(e,"Month")+s*i),r&&t.updateOffset(e,o||s))}function ce(t,e){var n=t||Rt(),i=Yt(n,this).startOf("day"),r=this.diff(i,"days",!0),a=r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse",o=e&&(w(e[a])?e[a]():e[a]);return this.format(o||this.localeData().calendar(a,this,Rt(n)))}function de(){return new p(this)}function he(t,e){var n=g(t)?t:Rt(t);return!(!this.isValid()||!n.isValid())&&(e=R(h(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()a&&(e=a),qe.call(this,t,e,n,i,r))}function qe(t,e,n,i,r){var a=bt(t,e,n,i,r),o=mt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Ue(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function We(t){return wt(t,this._week.dow,this._week.doy).week}function Qe(){return this._week.dow}function Ke(){return this._week.doy}function Ze(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Je(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function tn(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function en(t,e){return n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]}function nn(t){return this._weekdaysShort[t.day()]}function rn(t){return this._weekdaysMin[t.day()]}function an(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=s([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?(r=fi.call(this._weekdaysParse,o),r!==-1?r:null):"ddd"===e?(r=fi.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=fi.call(this._minWeekdaysParse,o),r!==-1?r:null):"dddd"===e?(r=fi.call(this._weekdaysParse,o),r!==-1?r:(r=fi.call(this._shortWeekdaysParse,o),r!==-1?r:(r=fi.call(this._minWeekdaysParse,o),r!==-1?r:null))):"ddd"===e?(r=fi.call(this._shortWeekdaysParse,o),r!==-1?r:(r=fi.call(this._weekdaysParse,o),r!==-1?r:(r=fi.call(this._minWeekdaysParse,o),r!==-1?r:null))):(r=fi.call(this._minWeekdaysParse,o),r!==-1?r:(r=fi.call(this._weekdaysParse,o),r!==-1?r:(r=fi.call(this._shortWeekdaysParse,o),r!==-1?r:null)))}function on(t,e,n){var i,r,a;if(this._weekdaysParseExact)return an.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=s([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]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function sn(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=tn(t,this.localeData()),this.add(t-e,"d")):e}function ln(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function un(t){return this.isValid()?null==t?this.day()||7:this.day(this.day()%7?t:t-7):null!=t?this:NaN}function cn(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex}function dn(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function hn(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||fn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function fn(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],l=[],u=[],c=[];for(e=0;e<7;e++)n=s([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),l.push(r),u.push(a),c.push(i),c.push(r),c.push(a);for(o.sort(t),l.sort(t),u.sort(t),c.sort(t),e=0;e<7;e++)l[e]=K(l[e]),u[e]=K(u[e]),c[e]=K(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function pn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function gn(){return this.hours()%12||12}function mn(){return this.hours()||24}function vn(t,e){z(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function yn(t,e){return e._meridiemParse}function xn(t){return"p"===(t+"").toLowerCase().charAt(0)}function _n(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function bn(t,e){e[Bi]=v(1e3*("0."+t))}function wn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function Tn(t){return Rt(1e3*t)}function Cn(){return Rt.apply(null,arguments).parseZone()}function An(t,e,n){var i=this._calendar[t];return w(i)?i.call(e,n):i}function kn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function Pn(){return this._invalidDate}function Mn(t){return this._ordinal.replace("%d",t)}function En(t){return t}function Dn(t,e,n,i){var r=this._relativeTime[n];return w(r)?r(t,e,n,i):r.replace(/%d/i,t)}function On(t,e){var n=this._relativeTime[t>0?"future":"past"];return w(n)?n(e):n.replace(/%s/i,e)}function Ln(t,e,n,i){var r=L(),a=s().set(i,e);return r[n](a,t)}function In(t,e,n){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return Ln(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Ln(t,i,n,"month");return r}function Nn(t,e,n,i){"boolean"==typeof t?("number"==typeof e&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,"number"==typeof e&&(n=e,e=void 0),e=e||"");var r=L(),a=t?r._week.dow:0;if(null!=n)return Ln(e,(n+a)%7,i,"day");var o,s=[];for(o=0;o<7;o++)s[o]=Ln(e,(o+a)%7,i,"day");return s}function Rn(t,e){return In(t,e,"months")}function Fn(t,e){return In(t,e,"monthsShort")}function Vn(t,e,n){return Nn(t,e,n,"weekdays")}function jn(t,e,n){return Nn(t,e,n,"weekdaysShort")}function Gn(t,e,n){return Nn(t,e,n,"weekdaysMin")}function Hn(){var t=this._data;return this._milliseconds=Vr(this._milliseconds),this._days=Vr(this._days),this._months=Vr(this._months),t.milliseconds=Vr(t.milliseconds),t.seconds=Vr(t.seconds),t.minutes=Vr(t.minutes),t.hours=Vr(t.hours),t.months=Vr(t.months),t.years=Vr(t.years),this}function $n(t,e,n,i){var r=ie(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function zn(t,e){return $n(this,t,e,1)}function Yn(t,e){return $n(this,t,e,-1)}function Bn(t){return t<0?Math.floor(t):Math.ceil(t)}function Xn(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Bn(Un(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=m(a/1e3),l.seconds=t%60,e=m(t/60),l.minutes=e%60,n=m(e/60),l.hours=n%24,o+=m(n/24),r=m(qn(o)),s+=r,o-=Bn(Un(r)),i=m(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function qn(t){return 4800*t/146097}function Un(t){return 146097*t/4800}function Wn(t){var e,n,i=this._milliseconds;if(t=R(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+qn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Un(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Qn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12)}function Kn(t){return function(){return this.as(t)}}function Zn(t){return t=R(t),this[t+"s"]()}function Jn(t){return function(){return this._data[t]}}function ti(){return m(this.days()/7)}function ei(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ni(t,e,n){var i=ie(t).abs(),r=ta(i.as("s")),a=ta(i.as("m")),o=ta(i.as("h")),s=ta(i.as("d")),l=ta(i.as("M")),u=ta(i.as("y")),c=r0,c[4]=n,ei.apply(null,c)}function ii(t,e){return void 0!==ea[t]&&(void 0===e?ea[t]:(ea[t]=e,!0))}function ri(t){var e=this.localeData(),n=ni(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function ai(){var t,e,n,i=na(this._milliseconds)/1e3,r=na(this._days),a=na(this._months);t=m(i/60),e=m(t/60),i%=60,t%=60,n=m(a/12),a%=12;var o=n,s=a,l=r,u=e,c=t,d=i,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var oi,si;si=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i68?1900:2e3)};var ar=V("FullYear",!0);t.ISO_8601=function(){};var or=_("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Rt.apply(null,arguments);return this.isValid()&&t.isValid()?tthis?this:t:d()}),lr=function(){return Date.now?Date.now():+new Date};$t("Z",":"),$t("ZZ",""),U("Z",Ii),U("ZZ",Ii),Z(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=zt(Ii,t)});var ur=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var cr=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,dr=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ie.fn=Gt.prototype;var hr=le(1,"add"),fr=le(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var pr=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),He("gggg","weekYear"),He("ggggg","weekYear"),He("GGGG","isoWeekYear"),He("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),U("G",Oi),U("g",Oi),U("GG",Ci,bi),U("gg",Ci,bi),U("GGGG",Mi,Si),U("gggg",Mi,Si),U("GGGGG",Ei,Ti),U("ggggg",Ei,Ti),J(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=v(t)}),J(["gg","GG"],function(e,n,i,r){n[r]=t.parseTwoDigitYear(e)}),z("Q",0,"Qo","quarter"),N("quarter","Q"),U("Q",_i),Z("Q",function(t,e){e[Gi]=3*(v(t)-1)}),z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),U("w",Ci),U("ww",Ci,bi),U("W",Ci),U("WW",Ci,bi),J(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=v(t)});var gr={dow:0,doy:6};z("D",["DD",2],"Do","date"),N("date","D"),U("D",Ci),U("DD",Ci,bi),U("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),Z(["D","DD"],Hi),Z("Do",function(t,e){e[Hi]=v(t.match(Ci)[0],10)});var mr=V("Date",!0);z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),U("d",Ci),U("e",Ci),U("E",Ci),U("dd",function(t,e){return e.weekdaysMinRegex(t)}),U("ddd",function(t,e){return e.weekdaysShortRegex(t)}),U("dddd",function(t,e){return e.weekdaysRegex(t)}),J(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:u(n).invalidWeekday=t}),J(["d","e","E"],function(t,e,n,i){e[i]=v(t)});var vr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_r=Ri,br=Ri,wr=Ri;z("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),U("DDD",Pi),U("DDDD",wi),Z(["DDD","DDDD"],function(t,e,n){n._dayOfYear=v(t)}),z("H",["HH",2],0,"hour"),z("h",["hh",2],0,gn),z("k",["kk",2],0,mn),z("hmm",0,0,function(){return""+gn.apply(this)+$(this.minutes(),2)}),z("hmmss",0,0,function(){return""+gn.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+$(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)}),vn("a",!0),vn("A",!1),N("hour","h"),U("a",yn),U("A",yn),U("H",Ci),U("h",Ci),U("HH",Ci,bi),U("hh",Ci,bi),U("hmm",Ai),U("hmmss",ki),U("Hmm",Ai),U("Hmmss",ki),Z(["H","HH"],$i),Z(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),Z(["h","hh"],function(t,e,n){e[$i]=v(t),u(n).bigHour=!0}),Z("hmm",function(t,e,n){var i=t.length-2;e[$i]=v(t.substr(0,i)),e[zi]=v(t.substr(i)),u(n).bigHour=!0}),Z("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[$i]=v(t.substr(0,i)),e[zi]=v(t.substr(i,2)),e[Yi]=v(t.substr(r)),u(n).bigHour=!0}),Z("Hmm",function(t,e,n){var i=t.length-2;e[$i]=v(t.substr(0,i)),e[zi]=v(t.substr(i))}),Z("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[$i]=v(t.substr(0,i)),e[zi]=v(t.substr(i,2)),e[Yi]=v(t.substr(r))});var Sr=/[ap]\.?m?\.?/i,Tr=V("Hours",!0);z("m",["mm",2],0,"minute"),N("minute","m"),U("m",Ci),U("mm",Ci,bi),Z(["m","mm"],zi);var Cr=V("Minutes",!1);z("s",["ss",2],0,"second"),N("second","s"),U("s",Ci),U("ss",Ci,bi),Z(["s","ss"],Yi);var Ar=V("Seconds",!1);z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),U("S",Pi,_i),U("SS",Pi,bi),U("SSS",Pi,wi);var kr;for(kr="SSSS";kr.length<=9;kr+="S")U(kr,Di);for(kr="S";kr.length<=9;kr+="S")Z(kr,bn);var Pr=V("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var Mr=p.prototype;Mr.add=hr,Mr.calendar=ce,Mr.clone=de,Mr.diff=ye,Mr.endOf=Ee,Mr.format=we,Mr.from=Se,Mr.fromNow=Te,Mr.to=Ce,Mr.toNow=Ae,Mr.get=H,Mr.invalidAt=je,Mr.isAfter=he,Mr.isBefore=fe,Mr.isBetween=pe,Mr.isSame=ge,Mr.isSameOrAfter=me,Mr.isSameOrBefore=ve,Mr.isValid=Fe,Mr.lang=pr,Mr.locale=ke,Mr.localeData=Pe,Mr.max=sr,Mr.min=or,Mr.parsingFlags=Ve,Mr.set=H,Mr.startOf=Me,Mr.subtract=fr,Mr.toArray=Ie,Mr.toObject=Ne,Mr.toDate=Le,Mr.toISOString=be,Mr.toJSON=Re,Mr.toString=_e,Mr.unix=Oe,Mr.valueOf=De,Mr.creationData=Ge,Mr.year=ar,Mr.isLeapYear=xt,Mr.weekYear=$e,Mr.isoWeekYear=ze,Mr.quarter=Mr.quarters=Ue,Mr.month=st,Mr.daysInMonth=lt,Mr.week=Mr.weeks=Ze,Mr.isoWeek=Mr.isoWeeks=Je,Mr.weeksInYear=Be,Mr.isoWeeksInYear=Ye,Mr.date=mr,Mr.day=Mr.days=sn,Mr.weekday=ln,Mr.isoWeekday=un,Mr.dayOfYear=pn,Mr.hour=Mr.hours=Tr,Mr.minute=Mr.minutes=Cr,Mr.second=Mr.seconds=Ar,Mr.millisecond=Mr.milliseconds=Pr,Mr.utcOffset=Xt,Mr.utc=Ut,Mr.local=Wt,Mr.parseZone=Qt,Mr.hasAlignedHourOffset=Kt,Mr.isDST=Zt,Mr.isDSTShifted=Jt,Mr.isLocal=te,Mr.isUtcOffset=ee,Mr.isUtc=ne,Mr.isUTC=ne,Mr.zoneAbbr=wn,Mr.zoneName=Sn,Mr.dates=_("dates accessor is deprecated. Use date instead.",mr),Mr.months=_("months accessor is deprecated. Use month instead",st),Mr.years=_("years accessor is deprecated. Use year instead",ar),Mr.zone=_("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",qt);var Er=Mr,Dr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Or={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"},Lr="Invalid date",Ir="%d",Nr=/\d{1,2}/,Rr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Fr=A.prototype;Fr._calendar=Dr,Fr.calendar=An,Fr._longDateFormat=Or,Fr.longDateFormat=kn,Fr._invalidDate=Lr,Fr.invalidDate=Pn,Fr._ordinal=Ir,Fr.ordinal=Mn,Fr._ordinalParse=Nr,Fr.preparse=En,Fr.postformat=En,Fr._relativeTime=Rr,Fr.relativeTime=Dn,Fr.pastFuture=On,Fr.set=T,Fr.months=nt,Fr._months=Wi,Fr.monthsShort=it,Fr._monthsShort=Qi,Fr.monthsParse=at,Fr._monthsRegex=Zi,Fr.monthsRegex=ct,Fr._monthsShortRegex=Ki,Fr.monthsShortRegex=ut,Fr.week=We,Fr._week=gr,Fr.firstDayOfYear=Ke,Fr.firstDayOfWeek=Qe,Fr.weekdays=en,Fr._weekdays=vr,Fr.weekdaysMin=rn,Fr._weekdaysMin=xr,Fr.weekdaysShort=nn,Fr._weekdaysShort=yr,Fr.weekdaysParse=on,Fr._weekdaysRegex=_r,Fr.weekdaysRegex=cn,Fr._weekdaysShortRegex=br,Fr.weekdaysShortRegex=dn,Fr._weekdaysMinRegex=wr,Fr.weekdaysMinRegex=hn,Fr.isPM=xn,Fr._meridiemParse=Sr,Fr.meridiem=_n,E("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===v(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=_("moment.lang is deprecated. Use moment.locale instead.",E),t.langData=_("moment.langData is deprecated. Use moment.localeData instead.",L);var Vr=Math.abs,jr=Kn("ms"),Gr=Kn("s"),Hr=Kn("m"),$r=Kn("h"),zr=Kn("d"),Yr=Kn("w"),Br=Kn("M"),Xr=Kn("y"),qr=Jn("milliseconds"),Ur=Jn("seconds"),Wr=Jn("minutes"),Qr=Jn("hours"),Kr=Jn("days"),Zr=Jn("months"),Jr=Jn("years"),ta=Math.round,ea={s:45,m:45,h:22,d:26,M:11},na=Math.abs,ia=Gt.prototype;ia.abs=Hn,ia.add=zn,ia.subtract=Yn,ia.as=Wn,ia.asMilliseconds=jr,ia.asSeconds=Gr,ia.asMinutes=Hr,ia.asHours=$r,ia.asDays=zr,ia.asWeeks=Yr,ia.asMonths=Br,ia.asYears=Xr,ia.valueOf=Qn,ia._bubble=Xn,ia.get=Zn,ia.milliseconds=qr,ia.seconds=Ur,ia.minutes=Wr,ia.hours=Qr,ia.days=Kr,ia.weeks=ti,ia.months=Zr,ia.years=Jr,ia.humanize=ri,ia.toISOString=ai,ia.toString=ai,ia.toJSON=ai,ia.locale=ke,ia.localeData=Pe,ia.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai),ia.lang=pr,z("X",0,0,"unix"),z("x",0,0,"valueOf"),U("x",Oi),U("X",Ni),Z("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),Z("x",function(t,e,n){n._d=new Date(v(t))}),t.version="2.13.0",e(Rt),t.fn=Er,t.min=Vt,t.max=jt,t.now=lr,t.utc=s,t.unix=Tn,t.months=Rn,t.isDate=i,t.locale=E,t.invalid=d,t.duration=ie,t.isMoment=g,t.weekdays=Vn,t.parseZone=Cn,t.localeData=L,t.isDuration=Ht,t.monthsShort=Fn,t.weekdaysMin=Gn,t.defineLocale=D,t.updateLocale=O,t.locales=I,t.weekdaysShort=jn,t.normalizeUnits=R,t.relativeTimeThreshold=ii,t.prototype=Er;var ra=t;return ra}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";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]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});var r=function(){n||t(i).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new i(this)),"string"==typeof e&&r[e].call(n)})}var n='[data-dismiss="alert"]',i=function(e){t(e).on("click",n,this.close)};i.VERSION="3.3.6",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function n(){o.detach().trigger("closed.bs.alert").remove()}var r=t(this),a=r.attr("data-target");a||(a=r.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=t(a);e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",n,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),a="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,a)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.6",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",a=i.data();e+="Text",null==a.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==a[e]?this.options[e]:a[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),o="string"==typeof e?e:a.slide;r||i.data("bs.carousel",r=new n(this,a)),"number"==typeof e?r.to(e):o?r[o]():a.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.6",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e),i="prev"==t&&0===n||"next"==t&&n==this.$items.length-1;if(i&&!this.options.wrap)return e;var r="prev"==t?-1:1,a=(n+r)%this.$items.length;return this.$items.eq(a)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),a=i||this.getItemForDirection(e,r),o=this.interval,s="next"==e?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(a)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(e),a[0].offsetWidth,r.addClass(s),a.addClass(s),r.one("bsTransitionEnd",function(){a.removeClass([e,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(h)),o&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),a=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=t.extend({},a.data(),r.data()),s=r.attr("data-slide-to");s&&(o.interval=!1),e.call(a,o),s&&a.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),a=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&a.toggle&&/show|hide/.test(e)&&(a.toggle=!1),r||n.data("bs.collapse",r=new i(this,a)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.6",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var a=t.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[o](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION):r.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var a=e(r),o=a.data("bs.collapse"),s=o?"toggle":r.data();n.call(a,s)})}(jQuery),+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(r).remove(),t(a).each(function(){var i=t(this),r=e(i),a={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(r[0],n.target)||(r.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger(t.Event("hidden.bs.dropdown",a)))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})}var r=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.6",o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var a=e(r),o=a.hasClass("open");if(n(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(a.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger(t.Event("shown.bs.dropdown",s))}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var r=e(i),o=r.hasClass("open");if(!o&&27!=n.which||o&&27==n.which)return 27==n.which&&r.find(a).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=r.find(".dropdown-menu"+s);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&udocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),a=r.length;a--;){var o=r[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{
-trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),!n.isInStateTrue())return clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide()},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var r=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),d=a[0].offsetWidth,h=a[0].offsetHeight;if(u){var f=s,p=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+h>p.bottom?"top":"top"==s&&c.top-h