ngx-bootstrap
Version:
Native Angular Bootstrap Components
9 lines • 348 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/common"),require("rxjs/operators"),require("@angular/forms")):"function"==typeof define&&define.amd?define(["@angular/core","@angular/common","rxjs/operators","@angular/forms"],t):"object"==typeof exports?exports["ngx-bootstrap.umd.min"]=t(require("@angular/core"),require("@angular/common"),require("rxjs/operators"),require("@angular/forms")):e["ngx-bootstrap.umd.min"]=t(e["@angular/core"],e["@angular/common"],e["rxjs/operators"],e["@angular/forms"])}(window,function(e,t,n,i){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=5)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t){},function(e,t,n){"use strict";function i(e,t,n){var i=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(i.getUTCFullYear())&&i.setUTCFullYear(e),i}function o(e,t,n,i,o,r,s){void 0===t&&(t=0),void 0===n&&(n=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===r&&(r=0),void 0===s&&(s=0);var a=new Date(e,t,n,i,o,r,s);return e<100&&e>=0&&isFinite(a.getFullYear())&&a.setFullYear(e),a}function r(e,t,n){var i=""+Math.abs(e),o=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function s(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function a(e){return"string"==typeof e}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e){return e&&e.getTime&&!isNaN(e.getTime())}function l(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function p(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function m(e){return void 0===e}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=s(t)),n}n.r(t);var g={},b={},_=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;function v(e,t,n,i){e&&(b[e]=i),t&&(b[t[0]]=function(){return r(i.apply(null,arguments),t[1],t[2])}),n&&(b[n]=function(t,n){return n.locale.ordinal(i.apply(null,arguments),e)})}function O(e,t){return void 0===t&&(t=!1),t?e.getUTCHours():e.getHours()}function w(e,t){return void 0===t&&(t=!1),t?e.getUTCMinutes():e.getMinutes()}function M(e,t){return void 0===t&&(t=!1),t?e.getUTCSeconds():e.getSeconds()}function D(e,t){return void 0===t&&(t=!1),t?e.getUTCMilliseconds():e.getMilliseconds()}function k(e,t){return void 0===t&&(t=!1),t?e.getUTCDay():e.getDay()}function j(e,t){return void 0===t&&(t=!1),t?e.getUTCDate():e.getDate()}function S(e,t){return void 0===t&&(t=!1),t?e.getUTCMonth():e.getMonth()}function L(e,t){return void 0===t&&(t=!1),t?e.getUTCFullYear():e.getFullYear()}function x(e,t){return!(!e||!t)&&(T(e,t)&&S(e)===S(t))}function T(e,t){return!(!e||!t)&&L(e)===L(t)}function C(e,t){return!(!e||!t)&&(T(e,t)&&x(e,t)&&j(e)===j(t))}var P=/\d/,Y=/\d\d/,R=/\d{3}/,E=/\d{4}/,I=/[+-]?\d{6}/,H=/\d\d?/,A=/\d\d\d\d?/,F=/\d\d\d\d\d\d?/,N=/\d{1,3}/,V=/\d{1,4}/,W=/[+-]?\d{1,6}/,z=/\d+/,B=/[+-]?\d+/,U=/Z|[+-]\d\d(?::?\d\d)?/gi,G=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,$={};function Z(e,t,n){l(t)?$[e]=t:$[e]=function(e,i){return e&&n?n:t}}function q(e,t){return h($,e)?$[e](!1,t):new RegExp(J(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,o){return t||n||i||o})))}function J(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var K={};function Q(e,t){var n=a(e)?[e]:e,i=t;if(d(t)&&(i=function(e,n,i){return n[t]=y(e),i}),p(n)&&l(i)){var o=void 0;for(o=0;o<n.length;o++)K[n[o]]=i}}function X(e,t){Q(e,function(e,n,i,o){return i._w=i._w||{},t(e,i._w,i,o)})}function ee(e,t,n){return null!=t&&h(K,e)&&K[e](t,n._a,n,e),n}var te=0,ne=1,ie=2,oe=3,re=4,se=5,ae=6,ce=7,ue=8,le={};function de(e,t){le[e]=t}var pe={},he={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function fe(e,t){var n=e.toLowerCase(),i=e;n in he&&(i=he[n]),pe[n]=pe[n+"s"]=pe[t]=i}function me(e){return a(e)?pe[e]||pe[e.toLowerCase()]:void 0}function ye(e,t){return L(e,t.isUTC).toString()}function ge(e){return y(e)+(y(e)>68?1900:2e3)}function be(e){return _e(e)?366:365}function _e(e){return e%4==0&&e%100!=0||e%400==0}function ve(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return 1===i?_e(e+(t-i)/12)?29:28:31-i%7%2}v("Y",null,null,function(e,t){var n=L(e,t.isUTC);return n<=9999?n.toString(10):"+"+n}),v(null,["YY",2,!1],null,function(e,t){return(L(e,t.isUTC)%100).toString(10)}),v(null,["YYYY",4,!1],null,ye),v(null,["YYYYY",5,!1],null,ye),v(null,["YYYYYY",6,!0],null,ye),fe("year","y"),de("year",1),Z("Y",B),Z("YY",H,Y),Z("YYYY",V,E),Z("YYYYY",W,I),Z("YYYYYY",W,I),Q(["YYYYY","YYYYYY"],te),Q("YYYY",function(e,t,n){return t[te]=2===e.length?ge(e):y(e),n}),Q("YY",function(e,t,n){return t[te]=ge(e),n}),Q("Y",function(e,t,n){return t[te]=parseInt(e,10),n}),v("M",["MM",2,!1],"Mo",function(e,t){return(S(e,t.isUTC)+1).toString(10)}),v("MMM",null,null,function(e,t){return t.locale.monthsShort(e,t.format,t.isUTC)}),v("MMMM",null,null,function(e,t){return t.locale.months(e,t.format,t.isUTC)}),fe("month","M"),de("month",8),Z("M",H),Z("MM",H,Y),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),Q(["M","MM"],function(e,t,n){return t[ne]=y(e)-1,n}),Q(["MMM","MMMM"],function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);return null!=o?t[ne]=o:ve(n).invalidMonth=!!e,n});var we={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function Me(e,t){var n=Object.assign({},we,t),i=e.getFullYear()+(n.year||0),r=e.getMonth()+(n.month||0),s=e.getDate()+(n.day||0);return n.month&&!n.day&&(s=Math.min(s,Oe(i,r))),o(i,r,s,e.getHours()+(n.hour||0),e.getMinutes()+(n.minute||0),e.getSeconds()+(n.seconds||0))}function De(e,t){return d(t)?t:e}function ke(e,t,n){var i=Math.min(j(e),Oe(L(e),t));return n?e.setUTCMonth(t,i):e.setMonth(t,i),e}function je(e,t,n){return n?e.setUTCDate(t):e.setDate(t),e}function Se(e){return new Date(e.getTime())}var Le=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],xe=Le.reduce(function(e,t){return e[t]=!0,e},{});function Te(e){return e<0?Math.floor(e):Math.ceil(e)}function Ce(e){return 4800*e/146097}function Pe(e){return 146097*e/4800}var Ye=Math.round,Re={ss:44,s:45,m:45,h:22,d:26,M:11};var Ee=function(){function e(e,t){void 0===t&&(t={}),this._data={},this._locale=fn(),this._locale=t&&t._locale||fn();var n=e,i=n.year||0,o=n.quarter||0,r=n.month||0,a=n.week||0,c=n.day||0,u=n.hours||0,l=n.minutes||0,d=n.seconds||0,p=n.milliseconds||0;return this._isValid=function(e){if(Object.keys(e).some(function(t){return t in xe&&null===e[t]||isNaN(e[t])}))return!1;for(var t=!1,n=0;n<Le.length;++n)if(e[Le[n]]){if(t)return!1;e[Le[n]]!==y(e[Le[n]])&&(t=!0)}return!0}(n),this._milliseconds=+p+1e3*d+60*l*1e3+1e3*u*60*60,this._days=+c+7*a,this._months=+r+3*o+12*i,function(e){var t=e._milliseconds,n=e._days,i=e._months,o=e._data;t>=0&&n>=0&&i>=0||t<=0&&n<=0&&i<=0||(t+=864e5*Te(Pe(i)+n),n=0,i=0),o.milliseconds=t%1e3;var r=s(t/1e3);o.seconds=r%60;var a=s(r/60);o.minutes=a%60;var c=s(a/60);o.hours=c%24;var u=s(Ce(n+=s(c/24)));i+=u,n-=Te(Pe(u));var l=s(i/12);return i%=12,o.day=n,o.month=i,o.year=l,e}(this)}return e.prototype.isValid=function(){return this._isValid},e.prototype.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate;var t=this.localeData(),n=function(e,t,n){var i=xt(e).abs(),o=Ye(i.as("s")),r=Ye(i.as("m")),s=Ye(i.as("h")),a=Ye(i.as("d")),c=Ye(i.as("M")),u=Ye(i.as("y")),l=o<=Re.ss&&["s",o]||o<Re.s&&["ss",o]||r<=1&&["m"]||r<Re.m&&["mm",r]||s<=1&&["h"]||s<Re.h&&["hh",s]||a<=1&&["d"]||a<Re.d&&["dd",a]||c<=1&&["M"]||c<Re.M&&["MM",c]||u<=1&&["y"]||["yy",u];return function(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}.apply(null,[l[0],l[1],t,+e>0,n])}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},e.prototype.localeData=function(){return this._locale},e.prototype.locale=function(e){return e?(this._locale=fn(e)||this._locale,this):this._locale._abbr},e.prototype.abs=function(){var e=Math.abs,t=this._data;return this._milliseconds=e(this._milliseconds),this._days=e(this._days),this._months=e(this._months),t.milliseconds=e(t.milliseconds),t.seconds=e(t.seconds),t.minutes=e(t.minutes),t.hours=e(t.hours),t.month=e(t.month),t.year=e(t.year),this},e.prototype.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds,o=me(e);if("month"===o||"year"===o)return t=this._days+i/864e5,n=this._months+Ce(t),"month"===o?n:n/12;switch(t=this._days+Math.round(Pe(this._months)),o){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hours":return 24*t+i/36e5;case"minutes":return 1440*t+i/6e4;case"seconds":return 86400*t+i/1e3;case"milliseconds":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+o)}},e.prototype.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12):NaN},e}();function Ie(e){if(null==e._isValid){var t=ve(e),n=Array.prototype.some.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d&&e._d.getTime())&&t.overflow<0&&!t.empty&&!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 He(e,t){return e._d=new Date(NaN),Object.assign(ve(e),t||{userInvalidated:!0}),e}var Ae,Fe=/^\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)?)?$/,Ne=/^\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)?)?$/,Ve=/Z|[+-]\d\d(?::?\d\d)?/,We=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],ze=[["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/]],Be=/^\/?Date\((\-?\d+)/i,Ue={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},Ge=/^(?:(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}))$/;function $e(e){if(!a(e._i))return e;var t,n,i,o,r,s,c=e._i,u=Fe.exec(c)||Ne.exec(c);if(!u)return e._isValid=!1,e;for(r=0,s=We.length;r<s;r++)if(We[r][1].exec(u[1])){n=We[r][0],t=!1!==We[r][2];break}if(null==n)return e._isValid=!1,e;if(u[3]){for(r=0,s=ze.length;r<s;r++)if(ze[r][1].exec(u[3])){i=(u[2]||" ")+ze[r][0];break}if(null==i)return e._isValid=!1,e}if(!t&&null!=i)return e._isValid=!1,e;if(u[4]){if(!Ve.exec(u[4]))return e._isValid=!1,e;o="Z"}return e._f=n+(i||"")+(o||""),_t(e)}function Ze(e,t,n,i,o,r){var s=[function(e){var t=parseInt(e,10);return t<=49?t+2e3:t}(e),Zt.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(o,10)];return r&&s.push(parseInt(r,10)),s}function qe(e){if(!a(e._i))return e;var t=Ge.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(!t)return function(e){return e._isValid=!1,e}(e);var n=Ze(t[4],t[3],t[2],t[5],t[6],t[7]);return function(e,t,n){return!e||Jt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(ve(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],n,e)?(e._a=n,e._tzm=function(e,t,n){if(e)return Ue[e];if(t)return 0;var i=parseInt(n,10),o=i%100;return(i-o)/100*60+o}(t[8],t[9],t[10]),e._d=i.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ve(e).rfc2822=!0,e):e}function Je(e,t){return O(e,t)%12||12}function Ke(e,t){v(e,null,null,function(e,n){return n.locale.meridiem(O(e,n.isUTC),w(e,n.isUTC),t)})}function Qe(e,t){return t._meridiemParse}for(v("D",["DD",2,!1],"Do",function(e,t){return j(e,t.isUTC).toString(10)}),fe("date","D"),de("date",9),Z("D",H),Z("DD",H,Y),Z("Do",function(e,t){return t._dayOfMonthOrdinalParse||t._ordinalParse}),Q(["D","DD"],ie),Q("Do",function(e,t,n){return t[ie]=y(e.match(H)[0]),n}),v("H",["HH",2,!1],null,function(e,t){return O(e,t.isUTC).toString(10)}),v("h",["hh",2,!1],null,function(e,t){return Je(e,t.isUTC).toString(10)}),v("k",["kk",2,!1],null,function(e,t){return function(e,t){return O(e,t)||24}(e,t.isUTC).toString(10)}),v("hmm",null,null,function(e,t){return""+Je(e,t.isUTC)+r(w(e,t.isUTC),2)}),v("hmmss",null,null,function(e,t){return""+Je(e,t.isUTC)+r(w(e,t.isUTC),2)+r(M(e,t.isUTC),2)}),v("Hmm",null,null,function(e,t){return""+O(e,t.isUTC)+r(w(e,t.isUTC),2)}),v("Hmmss",null,null,function(e,t){return""+O(e,t.isUTC)+r(w(e,t.isUTC),2)+r(M(e,t.isUTC),2)}),Ke("a",!0),Ke("A",!1),fe("hour","h"),de("hour",13),Z("a",Qe),Z("A",Qe),Z("H",H),Z("h",H),Z("k",H),Z("HH",H,Y),Z("hh",H,Y),Z("kk",H,Y),Z("hmm",A),Z("hmmss",F),Z("Hmm",A),Z("Hmmss",F),Q(["H","HH"],oe),Q(["k","kk"],function(e,t,n){var i=y(e);return t[oe]=24===i?0:i,n}),Q(["a","A"],function(e,t,n){return n._isPm=n._locale.isPM(e),n._meridiem=e,n}),Q(["h","hh"],function(e,t,n){return t[oe]=y(e),ve(n).bigHour=!0,n}),Q("hmm",function(e,t,n){var i=e.length-2;return t[oe]=y(e.substr(0,i)),t[re]=y(e.substr(i)),ve(n).bigHour=!0,n}),Q("hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;return t[oe]=y(e.substr(0,i)),t[re]=y(e.substr(i,2)),t[se]=y(e.substr(o)),ve(n).bigHour=!0,n}),Q("Hmm",function(e,t,n){var i=e.length-2;return t[oe]=y(e.substr(0,i)),t[re]=y(e.substr(i)),n}),Q("Hmmss",function(e,t,n){var i=e.length-4,o=e.length-2;return t[oe]=y(e.substr(0,i)),t[re]=y(e.substr(i,2)),t[se]=y(e.substr(o)),n}),v("S",null,null,function(e,t){return(~~(D(e,t.isUTC)/100)).toString(10)}),v(null,["SS",2,!1],null,function(e,t){return(~~(D(e,t.isUTC)/10)).toString(10)}),v(null,["SSS",3,!1],null,function(e,t){return D(e,t.isUTC).toString(10)}),v(null,["SSSS",4,!1],null,function(e,t){return(10*D(e,t.isUTC)).toString(10)}),v(null,["SSSSS",5,!1],null,function(e,t){return(100*D(e,t.isUTC)).toString(10)}),v(null,["SSSSSS",6,!1],null,function(e,t){return(1e3*D(e,t.isUTC)).toString(10)}),v(null,["SSSSSSS",7,!1],null,function(e,t){return(1e4*D(e,t.isUTC)).toString(10)}),v(null,["SSSSSSSS",8,!1],null,function(e,t){return(1e5*D(e,t.isUTC)).toString(10)}),v(null,["SSSSSSSSS",9,!1],null,function(e,t){return(1e6*D(e,t.isUTC)).toString(10)}),fe("millisecond","ms"),de("millisecond",16),Z("S",N,P),Z("SS",N,Y),Z("SSS",N,R),Ae="SSSS";Ae.length<=9;Ae+="S")Z(Ae,z);function Xe(e,t,n){return t[ae]=y(1e3*parseFloat("0."+e)),n}for(Ae="S";Ae.length<=9;Ae+="S")Q(Ae,Xe);function et(e,t){v(e,null,null,function(e,n){var i=ot(e,{_isUTC:n.isUTC,_offset:n.offset}),o="+";return i<0&&(i=-i,o="-"),o+r(~~(i/60),2)+t+r(~~i%60,2)})}v("m",["mm",2,!1],null,function(e,t){return w(e,t.isUTC).toString(10)}),fe("minute","m"),de("minute",14),Z("m",H),Z("mm",H,Y),Q(["m","mm"],re),et("Z",":"),et("ZZ",""),Z("Z",U),Z("ZZ",U),Q(["Z","ZZ"],function(e,t,n){return n._useUTC=!0,n._tzm=nt(U,e),n});var tt=/([\+\-]|\d\d)/gi;function nt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=n[n.length-1].match(tt)||["-","0","0"],o=60*parseInt(i[1],10)+y(i[2]),r="+"===i[0]?o:-o;return 0===o?0:r}function it(e){return 15*-Math.round(e.getTimezoneOffset()/15)}function ot(e,t){void 0===t&&(t={});var n=t._offset||0;return t._isUTC?n:it(e)}function rt(e,t,n){return void 0===t&&(t=fn()),t.week(e,n)}function st(e,t){return Bt(e,1,4,t).week}function at(e,t){v(null,[e,e.length,!1],null,t)}function ct(e,t){return lt(e,t.locale).toString()}function ut(e){return dt(e).toString()}function lt(e,t,n){return void 0===t&&(t=fn()),Bt(e,t.firstDayOfWeek(),t.firstDayOfYear(),n).year}function dt(e,t){return Bt(e,1,4,t).year}function pt(e,t,n,i,o){void 0===o&&(o=0);var r=fn(n||"en");if(!r)throw new Error('Locale "'+n+'" is not defined, please add it with "defineLocale(...)"');var s=function(e,t,n,i,o){void 0===o&&(o=0);if(!u(e))return n.invalidDate;var r=ht(t,n);return g[r]=g[r]||function(e){for(var t=e.match(_),n=t.length,i=new Array(n),o=0;o<n;o++)i[o]=b[t[o]]?b[t[o]]:(r=t[o]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");var r;return function(t,o,r,s){void 0===s&&(s=0);for(var a="",c=0;c<n;c++)a+=l(i[c])?i[c].call(null,t,{format:e,locale:o,isUTC:r,offset:s}):i[c];return a}}(r),g[r](e,n,i,o)}(e,t||(i?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),r,i,o);return s?r.postformat(s):s}function ht(e,t){var n=e,i=5,o=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,r=function(e){return t.formatLongDate(e)||e};for(o.lastIndex=0;i>=0&&o.test(n);)n=n.replace(o,r),o.lastIndex=0,i-=1;return n}function ft(e,t,n){return null!=e?e:null!=t?t:n}function mt(e){var t,n,r,s,a,c=[];if(e._d)return e;for(r=function(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ie]&&null==e._a[ne]&&function(e){var t,n,i,o,r,s,a,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,s=4,n=ft(t.GG,e._a[te],Bt(new Date,1,4).year),i=ft(t.W,1),((o=ft(t.E,1))<1||o>7)&&(c=!0);else{r=e._locale._week.dow,s=e._locale._week.doy;var u=Bt(new Date,r,s);n=ft(t.gg,e._a[te],u.year),i=ft(t.w,u.week),null!=t.d?((o=t.d)<0||o>6)&&(c=!0):null!=t.e?(o=t.e+r,(t.e<0||t.e>6)&&(c=!0)):o=r}i<1||i>Ut(n,r,s)?ve(e)._overflowWeeks=!0:null!=c?ve(e)._overflowWeekday=!0:(a=zt(n,i,o,r,s),e._a[te]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(a=ft(e._a[te],r[te]),(e._dayOfYear>be(a)||0===e._dayOfYear)&&(ve(e)._overflowDayOfYear=!0),n=new Date(Date.UTC(a,0,e._dayOfYear)),e._a[ne]=n.getUTCMonth(),e._a[ie]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=r[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];return 24===e._a[oe]&&0===e._a[re]&&0===e._a[se]&&0===e._a[ae]&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?i:o).apply(null,c),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(ve(e).weekdayMismatch=!0),e}function yt(e){var t,n=e._a;return n&&-2===ve(e).overflow&&(t=n[ne]<0||n[ne]>11?ne:n[ie]<1||n[ie]>Oe(n[te],n[ne])?ie:n[oe]<0||n[oe]>24||24===n[oe]&&(0!==n[re]||0!==n[se]||0!==n[ae])?oe:n[re]<0||n[re]>59?re:n[se]<0||n[se]>59?se:n[ae]<0||n[ae]>999?ae:-1,ve(e)._overflowDayOfYear&&(t<te||t>ie)&&(t=ie),ve(e)._overflowWeeks&&-1===t&&(t=ce),ve(e)._overflowWeekday&&-1===t&&(t=ue),ve(e).overflow=t),e}v("Q",null,"Qo",function(e,t){return function(e,t){void 0===t&&(t=!1);return Math.ceil((S(e,t)+1)/3)}(e,t.isUTC).toString(10)}),fe("quarter","Q"),de("quarter",7),Z("Q",P),Q("Q",function(e,t,n){return t[ne]=3*(y(e)-1),n}),v("s",["ss",2,!1],null,function(e,t){return M(e,t.isUTC).toString(10)}),fe("second","s"),de("second",15),Z("s",H),Z("ss",H,Y),Q(["s","ss"],se),v("X",null,null,function(e){return function(e){return Math.floor(e.valueOf()/1e3)}(e).toString(10)}),v("x",null,null,function(e){return e.valueOf().toString(10)}),Z("x",B),Z("X",/[+-]?\d+(\.\d{1,3})?/),Q("X",function(e,t,n){return n._d=new Date(1e3*parseFloat(e)),n}),Q("x",function(e,t,n){return n._d=new Date(y(e)),n}),v("w",["ww",2,!1],"wo",function(e,t){return rt(e,t.locale).toString(10)}),v("W",["WW",2,!1],"Wo",function(e){return st(e).toString(10)}),fe("week","w"),fe("isoWeek","W"),de("week",5),de("isoWeek",5),Z("w",H),Z("ww",H,Y),Z("W",H),Z("WW",H,Y),X(["w","ww","W","WW"],function(e,t,n,i){return t[i.substr(0,1)]=y(e),n}),v(null,["gg",2,!1],null,function(e,t){return(lt(e,t.locale)%100).toString()}),v(null,["GG",2,!1],null,function(e){return(dt(e)%100).toString()}),at("gggg",ct),at("ggggg",ct),at("GGGG",ut),at("GGGGG",ut),fe("weekYear","gg"),fe("isoWeekYear","GG"),de("weekYear",1),de("isoWeekYear",1),Z("G",B),Z("g",B),Z("GG",H,Y),Z("gg",H,Y),Z("GGGG",V,E),Z("gggg",V,E),Z("GGGGG",W,I),Z("ggggg",W,I),X(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){return t[i.substr(0,2)]=y(e),n}),X(["gg","GG"],function(e,t,n,i){return t[i]=ge(e),n});var gt="ISO_8601",bt="RFC_2822";function _t(e){if(e._f===gt)return $e(e);if(e._f===bt)return qe(e);if(e._a=[],ve(e).empty=!0,p(e._f)||!e._i&&0!==e._i)return e;var t,n,i,o,r=e._i.toString(),s=0,a=r.length,c=ht(e._f,e._locale).match(_)||[];for(t=0;t<c.length;t++)n=c[t],(i=(r.match(q(n,e._locale))||[])[0])&&((o=r.substr(0,r.indexOf(i))).length>0&&ve(e).unusedInput.push(o),r=r.slice(r.indexOf(i)+i.length),s+=i.length),b[n]?(i?ve(e).empty=!1:ve(e).unusedTokens.push(n),ee(n,i,e)):e._strict&&!i&&ve(e).unusedTokens.push(n);return ve(e).charsLeftOver=a-s,r.length>0&&ve(e).unusedInput.push(r),e._a[oe]<=12&&!0===ve(e).bigHour&&e._a[oe]>0&&(ve(e).bigHour=void 0),ve(e).parsedDateParts=e._a.slice(0),ve(e).meridiem=e._meridiem,e._a[oe]=function(e,t,n){var i=t;if(null==n)return i;if(null!=e.meridiemHour)return e.meridiemHour(i,n);if(null==e.isPM)return i;var o=e.isPM(n);o&&i<12&&(i+=12);o||12!==i||(i=0);return i}(e._locale,e._a[oe],e._meridiem),mt(e),yt(e)}function vt(e){if(e._d)return e;var t=e._i;if(f(t)){var n=function(e){var t,n,i={};for(n in e)h(e,n)&&(t=me(n))&&(i[t]=e[n]);return i}(t);e._a=[n.year,n.month,n.day,n.hours,n.minutes,n.seconds,n.milliseconds].map(function(e){return a(e)?parseInt(e,10):e})}return mt(e)}function Ot(e){var t=yt(function(e){var t=e._i,n=e._f;if(e._locale=e._locale||fn(e._l),null===t||void 0===n&&""===t)return He(e,{nullInput:!0});a(t)&&(e._i=t=e._locale.preparse(t));if(c(t))return e._d=Se(t),e;p(n)?function(e){var t,n,i,o,r;if(!e._f||0===e._f.length)return ve(e).invalidFormat=!0,He(e);for(r=0;r<e._f.length;r++)o=0,t=Object.assign({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],_t(t),Ie(t)&&(o+=ve(t).charsLeftOver,o+=10*ve(t).unusedTokens.length,ve(t).score=o,(null==i||o<i)&&(i=o,n=t));Object.assign(e,n||t)}(e):n?_t(e):function(e){var t=e._i;if(m(t))e._d=new Date;else if(c(t))e._d=Se(t);else if(a(t))!function(e){if(!a(e._i))return e;var t=Be.exec(e._i);null!==t?e._d=new Date(+t[1]):($e(e),!1!==e._isValid||(delete e._isValid,qe(e),!1!==e._isValid||(delete e._isValid,He(e))))}(e);else if(p(t)&&t.length){var n=t.slice(0);e._a=n.map(function(e){return a(e)?parseInt(e,10):e}),mt(e)}else if(f(t))vt(e);else{if(!d(t))return He(e);e._d=new Date(t)}}(e);Ie(e)||(e._d=null);return e}(e));return t._d=new Date(null!=t._d?t._d.getTime():NaN),Ie(Object.assign({},t,{_isValid:null}))||(t._d=new Date(NaN)),t}function wt(e,t,n,i,o){var r={},s=e;return(f(s)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(s)||p(s)&&0===s.length)&&(s=void 0),r._useUTC=r._isUTC=o,r._l=n,r._i=s,r._f=t,r._strict=i,Ot(r)}function Mt(e,t,n,i,o){return c(e)?e:wt(e,t,n,i,o)._d}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function kt(e,t,n){return void 0===n&&(n="milliseconds"),!(!e||!t)&&("milliseconds"===n?e.valueOf()>t.valueOf():t.valueOf()<Ft(e,n).valueOf())}function jt(e,t,n){return void 0===n&&(n="milliseconds"),!(!e||!t)&&("milliseconds"===n?e.valueOf()<t.valueOf():Nt(e,n).valueOf()<t.valueOf())}var St=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Lt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xt(e,t,n){void 0===n&&(n={});var i=function(e,t){if(null==e)return{};if(n=e,n instanceof Ee)return{milliseconds:e._milliseconds,day:e._days,month:e._months};var n;if(d(e))return t?((s={})[t]=e,s):{milliseconds:e};if(a(e)){var i=St.exec(e);if(i){var o="-"===i[1]?-1:1;return{year:0,day:y(i[ie])*o,hours:y(i[oe])*o,minutes:y(i[re])*o,seconds:y(i[se])*o,milliseconds:y(Dt(1e3*y(i[ae])))*o}}if(i=Lt.exec(e)){var o="-"===i[1]?-1:(i[1],1);return{year:Tt(i[2],o),month:Tt(i[3],o),week:Tt(i[4],o),day:Tt(i[5],o),hours:Tt(i[6],o),minutes:Tt(i[7],o),seconds:Tt(i[8],o)}}}if(f(e)&&("from"in e||"to"in e)){var r=function(e,t){if(!u(e)||!u(t))return{milliseconds:0,months:0};var n,i=function(e,t,n){if(void 0===n&&(n={}),!n._isUTC)return e;var i=Se(t),o=6e4*(n._offset||0),r=e.valueOf()-i.valueOf()+o;return i.setTime(i.valueOf()+r),i}(t,e,{_offset:e.getTimezoneOffset()});jt(e,i)?n=Ct(e,i):((n=Ct(i,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Mt(e.from),Mt(e.to));return{milliseconds:r.milliseconds,month:r.months}}return e;var s}(e,t);return new Ee(i,n)}function Tt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ct(e,t){var n={milliseconds:0,months:0};return n.months=S(t)-S(e)+12*(L(t)-L(e)),kt(Pt(Se(e),n.months,"month"),t)&&--n.months,n.milliseconds=+t-+Pt(Se(e),n.months,"month"),n}function Pt(e,t,n,i){return Yt(e,xt(t,n),1,i)}function Yt(e,t,n,i){var o=t._milliseconds,r=Dt(t._days),s=Dt(t._months);return s&&ke(e,S(e,i)+s*n,i),r&&je(e,j(e,i)+r*n,i),o&&function(e,t){e.setTime(t)}(e,function(e){return e.getTime()}(e)+o*n),Se(e)}function Rt(e,t,n,i){void 0===n&&(n=fn());var o=k(e,i);return Pt(e,function(e,t){if(!a(e))return e;var n=parseInt(e,10);if(!isNaN(n))return n;var i=t.weekdaysParse(e);return d(i)?i:null}(t,n)-o,"day")}function Et(e,t){return k(e,t)}function It(e,t,n){return void 0===t&&(t=fn()),(k(e,n)+7-t.firstDayOfWeek())%7}function Ht(e,t){return k(e,t)||7}function At(e,t,n){void 0===n&&(n={});var i=function(e,t){return void 0===t&&(t=fn()),a(e)?t.weekdaysParse(e)%7||7:d(e)&&isNaN(e)?null:e}(t,n.locale);return Rt(e,Et(e)%7?i:i-7)}function Ft(e,t,n){var i=Se(e);switch(t){case"year":ke(i,0,n);case"quarter":case"month":je(i,1,n);case"week":case"isoWeek":case"day":case"date":!function(e,t,n){n?e.setUTCHours(t):e.setHours(t)}(i,0,n);case"hours":!function(e,t,n){n?e.setUTCMinutes(t):e.setMinutes(t)}(i,0,n);case"minutes":!function(e,t,n){n?e.setUTCSeconds(t):e.setSeconds(t)}(i,0,n);case"seconds":!function(e,t,n){n?e.setUTCMilliseconds(t):e.setMilliseconds(t)}(i,0,n)}return"week"===t&&function(e,t,n){void 0===n&&(n={}),Pt(e,t-It(e,n.locale,n.isUTC),"day")}(i,0,{isUTC:n}),"isoWeek"===t&&At(i,1),"quarter"===t&&ke(i,3*Math.floor(S(i,n)/3),n),i}function Nt(e,t,n){var i=t;return"date"===i&&(i="day"),function(e,t,n,i){return Yt(e,xt(t,n),-1,i)}(Pt(Ft(e,i,n),1,"isoWeek"===i?"week":i,n),1,"milliseconds",n)}function Vt(e,t){var n=+Ft(e,"day",t)-+Ft(e,"year",t);return Math.round(n/864e5)+1}function Wt(e,t,n){var o=t-n+7;return-((i(e,0,o).getUTCDay()-t+7)%7)+o-1}function zt(e,t,n,i,o){var r,s,a=1+7*(t-1)+(7+n-i)%7+Wt(e,i,o);return a<=0?s=be(r=e-1)+a:a>be(e)?(r=e+1,s=a-be(e)):(r=e,s=a),{year:r,dayOfYear:s}}function Bt(e,t,n,i){var o,r,s=Wt(L(e,i),t,n),a=Math.floor((Vt(e,i)-s-1)/7)+1;return a<1?o=a+Ut(r=L(e,i)-1,t,n):a>Ut(L(e,i),t,n)?(o=a-Ut(L(e,i),t,n),r=L(e,i)+1):(r=L(e,i),o=a),{week:o,year:r}}function Ut(e,t,n){var i=Wt(e,t,n),o=Wt(e+1,t,n);return(be(e)-i+o)/7}v("d",null,"do",function(e,t){return k(e,t.isUTC).toString(10)}),v("dd",null,null,function(e,t){return t.locale.weekdaysMin(e,t.format,t.isUTC)}),v("ddd",null,null,function(e,t){return t.locale.weekdaysShort(e,t.format,t.isUTC)}),v("dddd",null,null,function(e,t){return t.locale.weekdays(e,t.format,t.isUTC)}),v("e",null,null,function(e,t){return It(e,t.locale,t.isUTC).toString(10)}),v("E",null,null,function(e,t){return Ht(e,t.isUTC).toString(10)}),fe("day","d"),fe("weekday","e"),fe("isoWeekday","E"),de("day",11),de("weekday",11),de("isoWeekday",11),Z("d",H),Z("e",H),Z("E",H),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)}),X(["dd","ddd","dddd"],function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);return null!=o?t.d=o:ve(n).invalidWeekday=!!e,n}),X(["d","e","E"],function(e,t,n,i){return t[i]=y(e),n}),v("DDD",["DDDD",3,!1],"DDDo",function(e){return Vt(e).toString(10)}),fe("dayOfYear","DDD"),de("dayOfYear",4),Z("DDD",N),Z("DDDD",R),Q(["DDD","DDDD"],function(e,t,n){return n._dayOfYear=y(e),n});var Gt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,$t="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Kt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qt={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"},Xt=G,en=G,tn=function(){function e(e){e&&this.set(e)}return e.prototype.set=function(e){var t;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];this[l(n)?t:"_"+t]=n}this._config=e},e.prototype.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return l(i)?i.call(null,t,n):i},e.prototype.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},Object.defineProperty(e.prototype,"invalidDate",{get:function(){return this._invalidDate},set:function(e){this._invalidDate=e},enumerable:!0,configurable:!0}),e.prototype.ordinal=function(e,t){return this._ordinal.replace("%d",e.toString(10))},e.prototype.preparse=function(e){return e},e.prototype.postformat=function(e){return e},e.prototype.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return l(o)?o(e,t,n,i):o.replace(/%d/i,e.toString(10))},e.prototype.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return l(n)?n(t):n.replace(/%s/i,t)},e.prototype.months=function(e,t,n){if(void 0===n&&(n=!1),!e)return p(this._months)?this._months:this._months.standalone;if(p(this._months))return this._months[S(e,n)];var i=(this._months.isFormat||Gt).test(t)?"format":"standalone";return this._months[i][S(e,n)]},e.prototype.monthsShort=function(e,t,n){if(void 0===n&&(n=!1),!e)return p(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(p(this._monthsShort))return this._monthsShort[S(e,n)];var i=Gt.test(t)?"format":"standalone";return this._monthsShort[i][S(e,n)]},e.prototype.monthsParse=function(e,t,n){var i,o,r;if(this._monthsParseExact)return this.handleMonthStrictParse(e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=new Date(Date.UTC(2e3,r)),n&&!this._longMonthsParse[r]){var s=this.months(i,"",!0).replace(".",""),a=this.monthsShort(i,"",!0).replace(".","");this._longMonthsParse[r]=new RegExp("^"+s+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+a+"$","i")}if(n||this._monthsParse[r]||(o="^"+this.months(i,"",!0)+"|^"+this.monthsShort(i,"",!0),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},e.prototype.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=en),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},e.prototype.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||this.computeMonthsParse(),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=Xt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},e.prototype.week=function(e,t){return Bt(e,this._week.dow,this._week.doy,t).week},e.prototype.firstDayOfWeek=function(){return this._week.dow},e.prototype.firstDayOfYear=function(){return this._week.doy},e.prototype.weekdays=function(e,t,n){if(!e)return p(this._weekdays)?this._weekdays:this._weekdays.standalone;if(p(this._weekdays))return this._weekdays[k(e,n)];var i=this._weekdays.isFormat.test(t)?"format":"standalone";return this._weekdays[i][k(e,n)]},e.prototype.weekdaysMin=function(e,t,n){return e?this._weekdaysMin[k(e,n)]:this._weekdaysMin},e.prototype.weekdaysShort=function(e,t,n){return e?this._weekdaysShort[k(e,n)]:this._weekdaysShort},e.prototype.weekdaysParse=function(e,t,n){var i,o;if(this._weekdaysParseExact)return this.handleWeekStrictParse(e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){var r=Rt(new Date(Date.UTC(2e3,1)),i,null,!0);if(n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"",!0).replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"",!0).replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"",!0).replace(".",".?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"",!0)+"|^"+this.weekdaysShort(r,"",!0)+"|^"+this.weekdaysMin(r,"",!0),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),!(p(this._fullWeekdaysParse)&&p(this._shortWeekdaysParse)&&p(this._minWeekdaysParse)&&p(this._weekdaysParse)))return;if(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}},e.prototype.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=G),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},e.prototype.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=G),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},e.prototype.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||this.computeWeekdaysParse(),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=G),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},e.prototype.isPM=function(e){return"p"===e.toLowerCase().charAt(0)},e.prototype.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},e.prototype.formatLongDate=function(e){this._longDateFormat=this._longDateFormat?this._longDateFormat:Qt;var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},e.prototype.handleMonthStrictParse=function(e,t,n){var i,o,r,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=new Date(2e3,i),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=this._shortMonthsParse.indexOf(s))?o:null:-1!==(o=this._longMonthsParse.indexOf(s))?o:null:"MMM"===t?-1!==(o=this._shortMonthsParse.indexOf(s))?o:-1!==(o=this._longMonthsParse.indexOf(s))?o:null:-1!==(o=this._longMonthsParse.indexOf(s))?o:-1!==(o=this._shortMonthsParse.indexOf(s))?o:null},e.prototype.handleWeekStrictParse=function(e,t,n){var i,o=e.toLocaleLowerCase();if(!this._weekdaysParse){this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[];var r=void 0;for(r=0;r<7;++r){var s=Rt(new Date(Date.UTC(2e3,1)),r,null,!0);this._minWeekdaysParse[r]=this.weekdaysMin(s).toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s).toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase()}}if(p(this._weekdaysParse)&&p(this._shortWeekdaysParse)&&p(this._minWeekdaysParse))return n?"dddd"===t?-1!==(i=this._weekdaysParse.indexOf(o))?i:null:"ddd"===t?-1!==(i=this._shortWeekdaysParse.indexOf(o))?i:null:-1!==(i=this._minWeekdaysParse.indexOf(o))?i:null:"dddd"===t?-1!==(i=this._weekdaysParse.indexOf(o))?i:-1!==(i=this._shortWeekdaysParse.indexOf(o))?i:-1!==(i=this._minWeekdaysParse.indexOf(o))?i:null:"ddd"===t?-1!==(i=this._shortWeekdaysParse.indexOf(o))?i:-1!==(i=this._weekdaysParse.indexOf(o))?i:-1!==(i=this._minWeekdaysParse.indexOf(o))?i:null:-1!==(i=this._minWeekdaysParse.indexOf(o))?i:-1!==(i=this._weekdaysParse.indexOf(o))?i:-1!==(i=this._shortWeekdaysParse.indexOf(o))?i:null},e.prototype.computeMonthsParse=function(){var e,t,n=[],i=[],o=[];for(t=0;t<12;t++)e=new Date(2e3,t),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(n.sort(nn),i.sort(nn),o.sort(nn),t=0;t<12;t++)n[t]=J(n[t]),i[t]=J(i[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("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")},e.prototype.computeWeekdaysParse=function(){var e,t=[],n=[],i=[],o=[];for(e=0;e<7;e++){var r=Rt(new Date(Date.UTC(2e3,1)),e,null,!0),s=this.weekdaysMin(r),a=this.weekdaysShort(r),c=this.weekdays(r);t.push(s),n.push(a),i.push(c),o.push(s),o.push(a),o.push(c)}for(t.sort(nn),n.sort(nn),i.sort(nn),o.sort(nn),e=0;e<7;e++)n[e]=J(n[e]),i[e]=J(i[e]),o[e]=J(o[e]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")},e}();function nn(e,t){return t.length-e.length}var on={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:Qt,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:$t,monthsShort:Zt,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Kt,weekdaysShort:Jt,meridiemParse:/[ap]\.?m?\.?/i};function rn(e,t,n){var i,o=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),s=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&y(e[i])!==y(t[i]))&&s++;return s+r}var sn,an={},cn={};function un(e){return e?e.toLowerCase().replace("_","-"):e}function ln(e,t){var n,i=Object.assign({},e);for(var o in t)h(t,o)&&(f(e[o])&&f(t[o])?(i[o]={},Object.assign(i[o],e[o]),Object.assign(i[o],t[o])):null!=t[o]?i[o]=t[o]:delete i[o]);for(n in e)h(e,n)&&!h(t,n)&&f(e[n])&&(i[n]=Object.assign({},i[n]));return i}function dn(e){return an[e]||console.error('Khronos locale error: please load locale "'+e+'" before using it'),an[e]}function pn(e,t){var n;return e&&(m(t)?n=fn(e):a(e)&&(n=hn(e,t)),n&&(sn=n)),sn&&sn._abbr}function hn(e,t){if(null===t)return delete an[e],sn=fn("en"),null;if(t){var n=on;if(t.abbr=e,null!=t.parentLocale){if(null==an[t.parentLocale])return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;n=an[t.parentLocale]._config}return an[e]=new tn(ln(n,t)),cn[e]&&cn[e].forEach(function(e){hn(e.name,e.config)}),pn(e),an[e]}}function fn(e){return e?function(e){for(var t,n,i=0;i<e.length;){var o=un(e[i]).split("-"),r=o.length;for(t=(t=un(e[i+1]))?t.split("-"):null;r>0;){if(n=dn(o.slice(0,r).join("-")))return n;if(t&&t.length>=r&&rn(o,t,!0)>=r-1)break;r--}i++}return null}(p(e)?e:[e]):sn}function mn(){return Object.keys(an)}pn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}});
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var yn,gn="undefined"!=typeof window&&window||{},bn=gn.document;gn.location,gn.gc,gn.performance&&gn.performance,gn.Event,gn.MouseEvent,gn.KeyboardEvent,gn.EventTarget,gn.History,gn.Location,gn.EventListener;function _n(e){yn=e}function vn(){return void 0===gn||(void 0===gn.__theme?yn?"bs3"===yn:"bs3"===(yn=function(){if("undefined"==typeof document)return null;var e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");var t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}()):"bs4"!==gn.__theme)}var On=n(0),wn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Mn=function(){function e(e){this.groups=[],Object.assign(this,e)}return e.prototype.closeOtherPanels=function(e){this.closeOthers&&this.groups.forEach(function(t){t!==e&&(t.isOpen=!1)})},e.prototype.addGroup=function(e){this.groups.push(e)},e.prototype.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)},wn([Object(On.Input)()],e.prototype,"closeOthers",void 0),e=wn([Object(On.Component)({selector:"accordion",template:"<ng-content></ng-content>",host:{"[attr.aria-multiselectable]":"closeOthers",role:"tablist",class:"panel-group",style:"display: block"}})],e)}(),Dn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},kn=function(e,t){return function(n,i){t(n,i,e)}},jn=function(){function e(e){this.isOpenChange=new On.EventEmitter,this._isOpen=!1,this.accordion=e}return Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen},set:function(e){var t=this;e!==this.isOpen&&(e&&this.accordion.closeOtherPanels(this),this._isOpen=e,Promise.resolve(null).then(function(){t.isOpenChange.emit(e)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBs3",{get:function(){return vn()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.panelClass=this.panelClass||"panel-default",this.accordion.addGroup(this)},e.prototype.ngOnDestroy=function(){this.accordion.removeGroup(this)},e.prototype.toggleOpen=function(e){this.isDisabled||(this.isOpen=!this.isOpen)},Dn([Object(On.Input)()],e.prototype,"heading",void 0),Dn([Object(On.Input)()],e.prototype,"panelClass",void 0),Dn([Object(On.Input)()],e.prototype,"isDisabled",void 0),Dn([Object(On.Output)()],e.prototype,"isOpenChange",void 0),Dn([Object(On.HostBinding)("class.panel-open"),Object(On.Input)()],e.prototype,"isOpen",null),e=Dn([Object(On.Component)({selector:"accordion-group, accordion-panel",template:'<div class="panel card" [ngClass]="panelClass"> <div class="panel-heading card-header" role="tab" (click)="toggleOpen($event)"> <div class="panel-title"> <div role="button" class="accordion-toggle" [attr.aria-expanded]="isOpen"> <button class="btn btn-link" *ngIf="heading" [ngClass]="{\'text-muted\': isDisabled}"> {{ heading }} </button> <ng-content select="[accordion-heading]"></ng-content> </div> </div> </div> <div class="panel-collapse collapse" role="tabpanel" [collapse]="!isOpen"> <div class="panel-body card-block card-body"> <ng-content></ng-content> </div> </div> </div> ',host:{class:"panel",style:"display: block"}}),kn(0,Object(On.Inject)(Mn))],e)}(),Sn=n(1),Ln=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},xn=function(){function e(e,t){this._el=e,this._renderer=t,this.collapsed=new On.EventEmitter,this.expanded=new On.EventEmitter,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1}return Object.defineProperty(e.prototype,"collapse",{get:function(){return this.isExpanded},set:function(e){this.isExpanded=e,this.toggle()},enumerable:!0,configurable:!0}),e.prototype.toggle=function(){this.isExpanded?this.hide():this.show()},e.prototype.hide=function(){this.isCollapse=!1,this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapse=!0,this.isCollapsing=!1,this.display="none",this.collapsed.emit(this)},e.prototype.show=function(){this.isCollapse=!1,this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.display="block",this.isCollapse=!0,this.isCollapsing=!1,this._renderer.setStyle(this._el.nativeElement,"overflow","visible"),this._renderer.setStyle(this._el.nativeElement,"height","auto"),this.expanded.emit(this)},Ln([Object(On.Output)()],e.prototype,"collapsed",void 0),Ln([Object(On.Output)()],e.prototype,"expanded",void 0),Ln([Object(On.HostBinding)("style.display")],e.prototype,"display",void 0),Ln([Object(On.HostBinding)("class.in"),Object(On.HostBinding)("class.show"),Object(On.HostBinding)("attr.aria-expanded")],e.prototype,"isExpanded",void 0),Ln([Object(On.HostBinding)("attr.aria-hidden")],e.prototype,"isCollapsed",void 0),Ln([Object(On.HostBinding)("class.collapse")],e.prototype,"isCollapse",void 0),Ln([Object(On.HostBinding)("class.collapsing")],e.prototype,"isCollapsing",void 0),Ln([Object(On.Input)()],e.prototype,"collapse",null),e=Ln([Object(On.Directive)({selector:"[collapse]",exportAs:"bs-collapse",host:{"[class.collapse]":"true"}})],e)}(),Tn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Cn=function(){function e(){}return t=e,e.forRoot=function(){return{ngModule:t,providers:[]}},e=t=Tn([Object(On.NgModule)({declarations:[xn],exports:[xn]})],e);var t}(),Pn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Yn=function(){function e(){this.closeOthers=!1}return e=Pn([Object(On.Injectable)()],e)}(),Rn=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},En=function(){function e(){}return t=e,e.forRoot=function(){return{ngModule:t,providers:[Yn]}},e=t=Rn([Object(On.NgModule)({imports:[Sn.CommonModule,Cn],declarations:[Mn,jn],exports:[Mn,jn]})],e);var t}();function In(e){return function(e,t){var n=" __"+t+"Value";Object.defineProperty(e,t,{get:function(){return this[n]},set:function(e){var i=this[n];this[n]=e,i!==e&&this[t+"Change"]&&this[t+"Change"].emit(e)}})}}var Hn,An=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Fn=function(){function e(e,t){var n=this;this.changeDetection=t,this.type="warning",this.dismissible=!1,this.isOpen=!0,this.onClose=new On.EventEmitter,this.onClosed=new On.EventEmitter,this.classes="",this.dismissibleChange=new On.EventEmitter,Object.assign(this,e),this.dismissibleChange.subscribe(function(e){n.classes=n.dismissible?"alert-dismissible":"",n.changeDetection.markForCheck()})}return e.prototype.ngOnInit=function(){var e=this;this.dismissOnTimeout&&setTimeout(function(){return e.close()},parseInt(this.dismissOnTimeout,10))},e.prototype.close=function(){this.isOpen&&(this.onClose.emit(this),this.isOpen=!1,this.changeDetection.markForCheck(),this.onClosed.emit(this))},An([Object(On.Input)()],e.protot