diff --git a/openassessment/__init__.py b/openassessment/__init__.py index 5b1bce621d..fb1d3aee2f 100644 --- a/openassessment/__init__.py +++ b/openassessment/__init__.py @@ -2,4 +2,4 @@ Initialization Information for Open Assessment Module """ -__version__ = '7.2' +__version__ = '7.2.1' diff --git a/openassessment/xblock/static/dist/manifest.json b/openassessment/xblock/static/dist/manifest.json index 2998793f38..a4e2bc6f47 100644 --- a/openassessment/xblock/static/dist/manifest.json +++ b/openassessment/xblock/static/dist/manifest.json @@ -1,23 +1,23 @@ { "base_url": "/static/dist", - "openassessment-editor-textarea.js": "/openassessment-editor-textarea.cbb31e4372be87d437fb.js", - "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.cbb31e4372be87d437fb.js.map", - "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.ab9f042f233087bba4b8.js", - "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.ab9f042f233087bba4b8.js.map", - "openassessment-lms.css": "/openassessment-lms.0ed216fc6ce56a916473.css", - "openassessment-lms.js": "/openassessment-lms.0ed216fc6ce56a916473.js", - "openassessment-lms.css.map": "/openassessment-lms.0ed216fc6ce56a916473.css.map", - "openassessment-lms.js.map": "/openassessment-lms.0ed216fc6ce56a916473.js.map", - "openassessment-ltr.css": "/openassessment-ltr.0c6318822d5661f0f9ea.css", - "openassessment-ltr.js": "/openassessment-ltr.0c6318822d5661f0f9ea.js", - "openassessment-ltr.css.map": "/openassessment-ltr.0c6318822d5661f0f9ea.css.map", - "openassessment-ltr.js.map": "/openassessment-ltr.0c6318822d5661f0f9ea.js.map", - "openassessment-rtl.css": "/openassessment-rtl.c938e1614108d8feb891.css", - "openassessment-rtl.js": "/openassessment-rtl.c938e1614108d8feb891.js", - "openassessment-rtl.css.map": "/openassessment-rtl.c938e1614108d8feb891.css.map", - "openassessment-rtl.js.map": "/openassessment-rtl.c938e1614108d8feb891.js.map", - "openassessment-studio.js": "/openassessment-studio.b58bb4e55f63dadac6de.js", - "openassessment-studio.js.map": "/openassessment-studio.b58bb4e55f63dadac6de.js.map", + "openassessment-editor-textarea.js": "/openassessment-editor-textarea.65e71e1a0ca696ac6aa5.js", + "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.65e71e1a0ca696ac6aa5.js.map", + "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.40cae99f9051eaa2a2cb.js", + "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.40cae99f9051eaa2a2cb.js.map", + "openassessment-lms.css": "/openassessment-lms.40a94c59b6d83f2536de.css", + "openassessment-lms.js": "/openassessment-lms.40a94c59b6d83f2536de.js", + "openassessment-lms.css.map": "/openassessment-lms.40a94c59b6d83f2536de.css.map", + "openassessment-lms.js.map": "/openassessment-lms.40a94c59b6d83f2536de.js.map", + "openassessment-ltr.css": "/openassessment-ltr.1dde2e45b1d9fd0199b3.css", + "openassessment-ltr.js": "/openassessment-ltr.1dde2e45b1d9fd0199b3.js", + "openassessment-ltr.css.map": "/openassessment-ltr.1dde2e45b1d9fd0199b3.css.map", + "openassessment-ltr.js.map": "/openassessment-ltr.1dde2e45b1d9fd0199b3.js.map", + "openassessment-rtl.css": "/openassessment-rtl.c029d7b23e04b7a65716.css", + "openassessment-rtl.js": "/openassessment-rtl.c029d7b23e04b7a65716.js", + "openassessment-rtl.css.map": "/openassessment-rtl.c029d7b23e04b7a65716.css.map", + "openassessment-rtl.js.map": "/openassessment-rtl.c029d7b23e04b7a65716.js.map", + "openassessment-studio.js": "/openassessment-studio.a2b71340b7ea88b7c4fc.js", + "openassessment-studio.js.map": "/openassessment-studio.a2b71340b7ea88b7c4fc.js.map", "fallback-default.png": "/4620b30a966533ace489dcc7afb151b9.png", "default-avatar.svg": "/95ec738c0b7faac5b5c9126794446bbd.svg" } \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-editor-textarea.cbb31e4372be87d437fb.js b/openassessment/xblock/static/dist/openassessment-editor-textarea.65e71e1a0ca696ac6aa5.js similarity index 94% rename from openassessment/xblock/static/dist/openassessment-editor-textarea.cbb31e4372be87d437fb.js rename to openassessment/xblock/static/dist/openassessment-editor-textarea.65e71e1a0ca696ac6aa5.js index ababba2e0f..97037228fd 100644 --- a/openassessment/xblock/static/dist/openassessment-editor-textarea.cbb31e4372be87d437fb.js +++ b/openassessment/xblock/static/dist/openassessment-editor-textarea.65e71e1a0ca696ac6aa5.js @@ -1,2 +1,2 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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=205)}({205:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,v=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var S=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},B={};function x(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(B[e]=r),t&&(B[t[0]]=function(){return N(r.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function D(e,t){return e.isValid()?(t=j(t,e.localeData()),E[t]=E[t]||function(e){var t,n,o,r=e.match(S);for(t=0,n=r.length;t=0&&k.test(e);)e=e.replace(k,o),k.lastIndex=0,n-=1;return e}var C={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return"string"==typeof e?C[e]||C[e.toLowerCase()]:void 0}function X(e){var t,n,o={};for(n in e)c(e,n)&&(t=P(n))&&(o[t]=e[n]);return o}var Y,H={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},I=/\d/,F=/\d\d/,U=/\d{3}/,V=/\d{4}/,G=/[+-]?\d{6}/,$=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,Z=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,ce=/^([1-9]\d|\d)/;function pe(e,t,n){Y[e]=R(t)?t:function(e,o){return e&&n?n:t}}function se(e,t){return c(Y,e)?Y[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}Y={};var le={};function ze(e,t){var n,o,r=t;for("string"==typeof e&&(e=[e]),b(t)&&(r=function(e,n){n[t]=ue(e)}),o=e.length,n=0;n68?1900:2e3)};var me,he=qe("FullYear",!0);function qe(e,t){return function(n){return null!=n?(ge(this,e,n),r.updateOffset(this,t),this):ye(this,e)}}function ye(e,t){if(!e.isValid())return NaN;var n=e._d,o=e._isUTC;switch(t){case"Milliseconds":return o?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return o?n.getUTCSeconds():n.getSeconds();case"Minutes":return o?n.getUTCMinutes():n.getMinutes();case"Hours":return o?n.getUTCHours():n.getHours();case"Date":return o?n.getUTCDate():n.getDate();case"Day":return o?n.getUTCDay():n.getDay();case"Month":return o?n.getUTCMonth():n.getMonth();case"FullYear":return o?n.getUTCFullYear():n.getFullYear();default:return NaN}}function ge(e,t,n){var o,r,a,i,c;if(e.isValid()&&!isNaN(n)){switch(o=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?o.setUTCMilliseconds(n):o.setMilliseconds(n));case"Seconds":return void(r?o.setUTCSeconds(n):o.setSeconds(n));case"Minutes":return void(r?o.setUTCMinutes(n):o.setMinutes(n));case"Hours":return void(r?o.setUTCHours(n):o.setHours(n));case"Date":return void(r?o.setUTCDate(n):o.setDate(n));case"FullYear":break;default:return}a=n,i=e.month(),c=29!==(c=e.date())||1!==i||fe(a)?c:28,r?o.setUTCFullYear(a,i,c):o.setFullYear(a,i,c)}}function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?fe(e)?29:28:31-o%7%2}me=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(c=new Date(e+400,t,n,o,r,a,i),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,o,r,a,i),c}function Be(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xe(e,t,n){var o=7+t-n;return-(7+Be(e,0,o).getUTCDay()-t)%7+o-1}function De(e,t,n,o,r){var a,i,c=1+7*(t-1)+(7+n-o)%7+xe(e,o,r);return c<=0?i=Ae(a=e-1)+c:c>Ae(e)?(a=e+1,i=c-Ae(e)):(a=e,i=c),{year:a,dayOfYear:i}}function je(e,t,n){var o,r,a=xe(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?o=i+Ce(r=e.year()-1,t,n):i>Ce(e.year(),t,n)?(o=i-Ce(e.year(),t,n),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function Ce(e,t,n){var o=xe(e,t,n),r=xe(e+1,t,n);return(Ae(e)-o+r)/7}function Pe(e,t){return e.slice(t,7).concat(e.slice(0,t))}x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),pe("w",$,ie),pe("ww",$,F),pe("W",$,ie),pe("WW",$,F),de(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=ue(e)})),x("d",0,"do","day"),x("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),x("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),x("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),pe("d",$),pe("e",$),pe("E",$),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),de(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:d(n).invalidWeekday=e})),de(["d","e","E"],(function(e,t,n,o){t[o]=ue(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),He="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=ae,Fe=ae,Ue=ae;function Ve(e,t,n){var o,r,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=z([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,o,r,a,i=[],c=[],p=[],s=[];for(t=0;t<7;t++)n=z([2e3,1]).day(t),o=be(this.weekdaysMin(n,"")),r=be(this.weekdaysShort(n,"")),a=be(this.weekdays(n,"")),i.push(o),c.push(r),p.push(a),s.push(o),s.push(r),s.push(a);i.sort(e),c.sort(e),p.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){x(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}x("H",["HH",2],0,"hour"),x("h",["hh",2],0,$e),x("k",["kk",2],0,(function(){return this.hours()||24})),x("hmm",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)})),x("hmmss",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),x("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),x("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),pe("a",Je),pe("A",Je),pe("H",$,ce),pe("h",$,ie),pe("k",$,ie),pe("HH",$,F),pe("hh",$,F),pe("kk",$,F),pe("hmm",K),pe("hmmss",J),pe("Hmm",K),pe("Hmmss",J),ze(["H","HH"],3),ze(["k","kk"],(function(e,t,n){var o=ue(e);t[3]=24===o?0:o})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[3]=ue(e),d(n).bigHour=!0})),ze("hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o)),d(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r)),d(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o))})),ze("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r))}));var Qe,Ze=qe("Hours",!0),et={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:{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"},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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ve,monthsShort:_e,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:He,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function ot(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=at(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&ot(r,n)>=t-1)break;t--}a++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>We(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var bt=/^\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)?)?$/,Mt=/^\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)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,lt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],zt=[["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/]],dt=/^\/?Date\((-?\d+)/i,Ot=/^(?:(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}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,o,r,a,i,c=e._i,p=bt.exec(c)||Mt.exec(c),s=lt.length,b=zt.length;if(p){for(d(e).iso=!0,t=0,n=s;t7)&&(p=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,s=je(_t(),a,i),n=qt(t.gg,e._a[0],s.year),o=qt(t.w,s.week),null!=t.d?((r=t.d)<0||r>6)&&(p=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(p=!0)):r=a),o<1||o>Ce(n,a,i)?d(e)._overflowWeeks=!0:null!=p?d(e)._overflowWeekday=!0:(c=De(n,o,r,a,i),e._a[0]=c.year,e._dayOfYear=c.dayOfYear)}(e),null!=e._dayOfYear&&(i=qt(e._a[0],o[0]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=Be(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=o[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Be:Ee).apply(null,c),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}function gt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],d(e).empty=!0;var t,n,o,a,i,c,p,s=""+e._i,b=s.length,M=0;for(p=(o=j(e._f,e._locale).match(S)||[]).length,t=0;t0&&d(e).unusedInput.push(i),s=s.slice(s.indexOf(n)+n.length),M+=n.length),B[a]?(n?d(e).empty=!1:d(e).unusedTokens.push(a),Oe(a,n,e)):e._strict&&!n&&d(e).unusedTokens.push(a);d(e).charsLeftOver=b-M,s.length>0&&d(e).unusedInput.push(s),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(c=d(e).era)&&(e._a[0]=e._locale.erasConvertYear(c,e._a[0])),yt(e),st(e)}else ht(e);else At(e)}function Wt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new q(st(t)):(M(t)?e._d=t:a(n)?function(e){var t,n,o,r,a,i,c=!1,p=e._f.length;if(0===p)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:f()}));function wt(e,t){var n,o;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],o=1;o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n,o,r,a=[],i=[],c=[],p=[],s=this.eras();for(e=0,t=s.length;e(a=Ce(e,o,r))&&(t=a),bn.call(this,e,t,n,o,r))}function bn(e,t,n,o,r){var a=De(e,t,n,o,r),i=Be(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}x("N",0,0,"eraAbbr"),x("NN",0,0,"eraAbbr"),x("NNN",0,0,"eraAbbr"),x("NNNN",0,0,"eraName"),x("NNNNN",0,0,"eraNarrow"),x("y",["y",1],"yo","eraYear"),x("y",["yy",2],0,"eraYear"),x("y",["yyy",3],0,"eraYear"),x("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?d(n).era=r:d(n).invalidEra=e})),pe("y",te),pe("yy",te),pe("yyy",te),pe("yyyy",te),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),ze(["y","yy","yyy","yyyy"],0),ze(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),x(0,["gg",2],0,(function(){return this.weekYear()%100})),x(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),pe("G",ne),pe("g",ne),pe("GG",$,F),pe("gg",$,F),pe("GGGG",Z,V),pe("gggg",Z,V),pe("GGGGG",ee,G),pe("ggggg",ee,G),de(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=ue(e)})),de(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),x("Q",0,"Qo","quarter"),pe("Q",I),ze("Q",(function(e,t){t[1]=3*(ue(e)-1)})),x("D",["DD",2],"Do","date"),pe("D",$,ie),pe("DD",$,F),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],2),ze("Do",(function(e,t){t[2]=ue(e.match($)[0])}));var Mn=qe("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("DDD",Q),pe("DDDD",U),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),x("m",["mm",2],0,"minute"),pe("m",$,ce),pe("mm",$,F),ze(["m","mm"],4);var un=qe("Minutes",!1);x("s",["ss",2],0,"second"),pe("s",$,ce),pe("ss",$,F),ze(["s","ss"],5);var ln,zn,dn=qe("Seconds",!1);for(x("S",0,0,(function(){return~~(this.millisecond()/100)})),x(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),x(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),x(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),x(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),x(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),x(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pe("S",Q,I),pe("SS",Q,F),pe("SSS",Q,U),ln="SSSS";ln.length<=9;ln+="S")pe(ln,te);function On(e,t){t[6]=ue(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")ze(ln,On);zn=qe("Milliseconds",!1),x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var fn=q.prototype;function An(e){return e}fn.add=Vt,fn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||_t(),o=Dt(n,this).startOf("day"),a=r.calendarFormat(this,o)||"sameElse",i=t&&(R(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,_t(n)))},fn.clone=function(){return new q(this)},fn.diff=function(e,t,n){var o,r,a;if(!this.isValid())return NaN;if(!(o=Dt(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=P(t)){case"year":a=Qt(this,o)/12;break;case"month":a=Qt(this,o);break;case"quarter":a=Qt(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return n?a:Me(a)},fn.endOf=function(e){var t,n;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=D(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(_t(),e)},fn.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(_t(),e)},fn.get=function(e){return R(this[e=P(e)])?this[e]():this},fn.invalidAt=function(){return d(this).overflow},fn.isAfter=function(e,t){var n=y(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?D(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(n,"Z")):D(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ct,fn.isUTC=Ct,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=W("dates accessor is deprecated. Use date instead.",Mn),fn.months=W("months accessor is deprecated. Use month instead",Se),fn.years=W("years accessor is deprecated. Use year instead",he),fn.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return h(t,this),(t=Wt(t))._a?(e=t._isUTC?z(t._a):_t(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(o=0;o0):this._isDSTShifted=!1,this._isDSTShifted}));var mn=T.prototype;function hn(e,t,n,o){var r=pt(),a=z().set(o,t);return r[n](a,e)}function qn(e,t,n){if(b(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=hn(e,o,n,"month");return r}function yn(e,t,n,o){"boolean"==typeof e?(b(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,b(t)&&(n=t,t=void 0),t=t||"");var r,a=pt(),i=e?a._week.dow:0,c=[];if(null!=n)return hn(t,(n+i)%7,o,"day");for(r=0;r<7;r++)c[r]=hn(t,(r+i)%7,o,"day");return c}mn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return R(o)?o.call(t,n):o},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(S).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=An,mn.postformat=An,mn.relativeTime=function(e,t,n,o){var r=this._relativeTime[n];return R(r)?r(e,t,n,o):r.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)c(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mn.eras=function(e,t){var n,o,a,i=this._eras||pt("en")._eras;for(n=0,o=i.length;n=0)return p[o]},mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},mn.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},mn.erasNameRegex=function(e){return c(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},mn.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var o,r,a;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=z([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},mn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=we),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return je(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pe(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?Pe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?Pe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var o,r,a;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=z([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=W("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=W("moment.langData is deprecated. Use moment.localeData instead.",pt);var gn=Math.abs;function Wn(e,t,n,o){var r=Yt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Ln(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var wn=Rn("ms"),Tn=Rn("s"),Nn=Rn("m"),Sn=Rn("h"),kn=Rn("d"),En=Rn("w"),Bn=Rn("M"),xn=Rn("Q"),Dn=Rn("y"),jn=wn;function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Cn("milliseconds"),Xn=Cn("seconds"),Yn=Cn("minutes"),Hn=Cn("hours"),In=Cn("days"),Fn=Cn("months"),Un=Cn("years"),Vn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}var Kn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,a,i,c,p=Kn(this._milliseconds)/1e3,s=Kn(this._days),b=Kn(this._months),M=this.asSeconds();return M?(e=Me(p/60),t=Me(e/60),p%=60,e%=60,n=Me(b/12),b%=12,o=p?p.toFixed(3).replace(/\.?0+$/,""):"",r=M<0?"-":"",a=Jn(this._months)!==Jn(M)?"-":"",i=Jn(this._days)!==Jn(M)?"-":"",c=Jn(this._milliseconds)!==Jn(M)?"-":"",r+"P"+(n?a+n+"Y":"")+(b?a+b+"M":"")+(s?i+s+"D":"")+(t||e||p?"T":"")+(t?c+t+"H":"")+(e?c+e+"M":"")+(p?c+o+"S":"")):"P0D"}var Zn=Nt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Zn.add=function(e,t){return Wn(this,e,t,1)},Zn.subtract=function(e,t){return Wn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ln(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=wn,Zn.asSeconds=Tn,Zn.asMinutes=Nn,Zn.asHours=Sn,Zn.asDays=kn,Zn.asWeeks=En,Zn.asMonths=Bn,Zn.asQuarters=xn,Zn.asYears=Dn,Zn.valueOf=jn,Zn._bubble=function(){var e,t,n,o,r,a=this._milliseconds,i=this._days,c=this._months,p=this._data;return a>=0&&i>=0&&c>=0||a<=0&&i<=0&&c<=0||(a+=864e5*vn(Ln(c)+i),i=0,c=0),p.milliseconds=a%1e3,e=Me(a/1e3),p.seconds=e%60,t=Me(e/60),p.minutes=t%60,n=Me(t/60),p.hours=n%24,i+=Me(n/24),r=Me(_n(i)),c+=r,i-=vn(Ln(r)),o=Me(c/12),c%=12,p.days=i,p.months=c,p.years=o,this},Zn.clone=function(){return Yt(this)},Zn.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Pn,Zn.seconds=Xn,Zn.minutes=Yn,Zn.hours=Hn,Zn.days=In,Zn.weeks=function(){return Me(this.days()/7)},Zn.months=Fn,Zn.years=Un,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,a=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),o=function(e,t,n,o){var r=Yt(e).abs(),a=Vn(r.as("s")),i=Vn(r.as("m")),c=Vn(r.as("h")),p=Vn(r.as("d")),s=Vn(r.as("M")),b=Vn(r.as("w")),M=Vn(r.as("y")),u=a<=n.ss&&["s",a]||a0,u[4]=o,$n.apply(null,u)}(this,!r,a,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Zt,Zn.localeData=tn,Zn.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,x("X",0,0,"unix"),x("x",0,0,"valueOf"),pe("x",ne),pe("X",/[+-]?\d+(\.\d{1,3})?/),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ue(e))})), +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},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=208)}([function(e,t,n){"use strict";e.exports=n(194)},function(e,t,n){e.exports=n(199)()},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,o;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function p(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function s(e){return void 0===e}function b(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function M(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,o=[],r=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,v=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var S=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,E={},B={};function x(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(B[e]=r),t&&(B[t[0]]=function(){return N(r.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function D(e,t){return e.isValid()?(t=j(t,e.localeData()),E[t]=E[t]||function(e){var t,n,o,r=e.match(S);for(t=0,n=r.length;t=0&&k.test(e);)e=e.replace(k,o),k.lastIndex=0,n-=1;return e}var C={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(e){return"string"==typeof e?C[e]||C[e.toLowerCase()]:void 0}function X(e){var t,n,o={};for(n in e)c(e,n)&&(t=P(n))&&(o[t]=e[n]);return o}var Y,H={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},I=/\d/,F=/\d\d/,U=/\d{3}/,V=/\d{4}/,G=/[+-]?\d{6}/,$=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,Z=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ie=/^[1-9]\d?/,ce=/^([1-9]\d|\d)/;function pe(e,t,n){Y[e]=R(t)?t:function(e,o){return e&&n?n:t}}function se(e,t){return c(Y,e)?Y[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}Y={};var le={};function ze(e,t){var n,o,r=t;for("string"==typeof e&&(e=[e]),b(t)&&(r=function(e,n){n[t]=ue(e)}),o=e.length,n=0;n68?1900:2e3)};var me,he=qe("FullYear",!0);function qe(e,t){return function(n){return null!=n?(ge(this,e,n),r.updateOffset(this,t),this):ye(this,e)}}function ye(e,t){if(!e.isValid())return NaN;var n=e._d,o=e._isUTC;switch(t){case"Milliseconds":return o?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return o?n.getUTCSeconds():n.getSeconds();case"Minutes":return o?n.getUTCMinutes():n.getMinutes();case"Hours":return o?n.getUTCHours():n.getHours();case"Date":return o?n.getUTCDate():n.getDate();case"Day":return o?n.getUTCDay():n.getDay();case"Month":return o?n.getUTCMonth():n.getMonth();case"FullYear":return o?n.getUTCFullYear():n.getFullYear();default:return NaN}}function ge(e,t,n){var o,r,a,i,c;if(e.isValid()&&!isNaN(n)){switch(o=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?o.setUTCMilliseconds(n):o.setMilliseconds(n));case"Seconds":return void(r?o.setUTCSeconds(n):o.setSeconds(n));case"Minutes":return void(r?o.setUTCMinutes(n):o.setMinutes(n));case"Hours":return void(r?o.setUTCHours(n):o.setHours(n));case"Date":return void(r?o.setUTCDate(n):o.setDate(n));case"FullYear":break;default:return}a=n,i=e.month(),c=29!==(c=e.date())||1!==i||fe(a)?c:28,r?o.setUTCFullYear(a,i,c):o.setFullYear(a,i,c)}}function We(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?fe(e)?29:28:31-o%7%2}me=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=0?(c=new Date(e+400,t,n,o,r,a,i),isFinite(c.getFullYear())&&c.setFullYear(e)):c=new Date(e,t,n,o,r,a,i),c}function Be(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xe(e,t,n){var o=7+t-n;return-(7+Be(e,0,o).getUTCDay()-t)%7+o-1}function De(e,t,n,o,r){var a,i,c=1+7*(t-1)+(7+n-o)%7+xe(e,o,r);return c<=0?i=Ae(a=e-1)+c:c>Ae(e)?(a=e+1,i=c-Ae(e)):(a=e,i=c),{year:a,dayOfYear:i}}function je(e,t,n){var o,r,a=xe(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?o=i+Ce(r=e.year()-1,t,n):i>Ce(e.year(),t,n)?(o=i-Ce(e.year(),t,n),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function Ce(e,t,n){var o=xe(e,t,n),r=xe(e+1,t,n);return(Ae(e)-o+r)/7}function Pe(e,t){return e.slice(t,7).concat(e.slice(0,t))}x("w",["ww",2],"wo","week"),x("W",["WW",2],"Wo","isoWeek"),pe("w",$,ie),pe("ww",$,F),pe("W",$,ie),pe("WW",$,F),de(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=ue(e)})),x("d",0,"do","day"),x("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),x("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),x("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),x("e",0,0,"weekday"),x("E",0,0,"isoWeekday"),pe("d",$),pe("e",$),pe("E",$),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),de(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:d(n).invalidWeekday=e})),de(["d","e","E"],(function(e,t,n,o){t[o]=ue(e)}));var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),He="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ie=ae,Fe=ae,Ue=ae;function Ve(e,t,n){var o,r,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=z([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"dddd"===t?-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:"ddd"===t?-1!==(r=me.call(this._shortWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._minWeekdaysParse,i))?r:null:-1!==(r=me.call(this._minWeekdaysParse,i))||-1!==(r=me.call(this._weekdaysParse,i))||-1!==(r=me.call(this._shortWeekdaysParse,i))?r:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,o,r,a,i=[],c=[],p=[],s=[];for(t=0;t<7;t++)n=z([2e3,1]).day(t),o=be(this.weekdaysMin(n,"")),r=be(this.weekdaysShort(n,"")),a=be(this.weekdays(n,"")),i.push(o),c.push(r),p.push(a),s.push(o),s.push(r),s.push(a);i.sort(e),c.sort(e),p.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ke(e,t){x(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}x("H",["HH",2],0,"hour"),x("h",["hh",2],0,$e),x("k",["kk",2],0,(function(){return this.hours()||24})),x("hmm",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)})),x("hmmss",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),x("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),x("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),pe("a",Je),pe("A",Je),pe("H",$,ce),pe("h",$,ie),pe("k",$,ie),pe("HH",$,F),pe("hh",$,F),pe("kk",$,F),pe("hmm",K),pe("hmmss",J),pe("Hmm",K),pe("Hmmss",J),ze(["H","HH"],3),ze(["k","kk"],(function(e,t,n){var o=ue(e);t[3]=24===o?0:o})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[3]=ue(e),d(n).bigHour=!0})),ze("hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o)),d(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r)),d(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var o=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o))})),ze("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=ue(e.substr(0,o)),t[4]=ue(e.substr(o,2)),t[5]=ue(e.substr(r))}));var Qe,Ze=qe("Hours",!0),et={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:{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"},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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ve,monthsShort:_e,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:He,weekdaysShort:Ye,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function ot(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=at(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&ot(r,n)>=t-1)break;t--}a++}return Qe}(e)}function st(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>We(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}var bt=/^\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)?)?$/,Mt=/^\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)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,lt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],zt=[["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/]],dt=/^\/?Date\((-?\d+)/i,Ot=/^(?:(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}))$/,ft={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function At(e){var t,n,o,r,a,i,c=e._i,p=bt.exec(c)||Mt.exec(c),s=lt.length,b=zt.length;if(p){for(d(e).iso=!0,t=0,n=s;t7)&&(p=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,s=je(_t(),a,i),n=qt(t.gg,e._a[0],s.year),o=qt(t.w,s.week),null!=t.d?((r=t.d)<0||r>6)&&(p=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(p=!0)):r=a),o<1||o>Ce(n,a,i)?d(e)._overflowWeeks=!0:null!=p?d(e)._overflowWeekday=!0:(c=De(n,o,r,a,i),e._a[0]=c.year,e._dayOfYear=c.dayOfYear)}(e),null!=e._dayOfYear&&(i=qt(e._a[0],o[0]),(e._dayOfYear>Ae(i)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=Be(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=c[t]=o[t];for(;t<7;t++)e._a[t]=c[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Be:Ee).apply(null,c),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}function gt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],d(e).empty=!0;var t,n,o,a,i,c,p,s=""+e._i,b=s.length,M=0;for(p=(o=j(e._f,e._locale).match(S)||[]).length,t=0;t0&&d(e).unusedInput.push(i),s=s.slice(s.indexOf(n)+n.length),M+=n.length),B[a]?(n?d(e).empty=!1:d(e).unusedTokens.push(a),Oe(a,n,e)):e._strict&&!n&&d(e).unusedTokens.push(a);d(e).charsLeftOver=b-M,s.length>0&&d(e).unusedInput.push(s),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(c=d(e).era)&&(e._a[0]=e._locale.erasConvertYear(c,e._a[0])),yt(e),st(e)}else ht(e);else At(e)}function Wt(e){var t=e._i,n=e._f;return e._locale=e._locale||pt(e._l),null===t||void 0===n&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new q(st(t)):(M(t)?e._d=t:a(n)?function(e){var t,n,o,r,a,i,c=!1,p=e._f.length;if(0===p)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:f()}));function wt(e,t){var n,o;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],o=1;o=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function an(e,t){return t.erasAbbrRegex(e)}function cn(){var e,t,n,o,r,a=[],i=[],c=[],p=[],s=this.eras();for(e=0,t=s.length;e(a=Ce(e,o,r))&&(t=a),bn.call(this,e,t,n,o,r))}function bn(e,t,n,o,r){var a=De(e,t,n,o,r),i=Be(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}x("N",0,0,"eraAbbr"),x("NN",0,0,"eraAbbr"),x("NNN",0,0,"eraAbbr"),x("NNNN",0,0,"eraName"),x("NNNNN",0,0,"eraNarrow"),x("y",["y",1],"yo","eraYear"),x("y",["yy",2],0,"eraYear"),x("y",["yyy",3],0,"eraYear"),x("y",["yyyy",4],0,"eraYear"),pe("N",an),pe("NN",an),pe("NNN",an),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?d(n).era=r:d(n).invalidEra=e})),pe("y",te),pe("yy",te),pe("yyy",te),pe("yyyy",te),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),ze(["y","yy","yyy","yyyy"],0),ze(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),x(0,["gg",2],0,(function(){return this.weekYear()%100})),x(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),pe("G",ne),pe("g",ne),pe("GG",$,F),pe("gg",$,F),pe("GGGG",Z,V),pe("gggg",Z,V),pe("GGGGG",ee,G),pe("ggggg",ee,G),de(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=ue(e)})),de(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),x("Q",0,"Qo","quarter"),pe("Q",I),ze("Q",(function(e,t){t[1]=3*(ue(e)-1)})),x("D",["DD",2],"Do","date"),pe("D",$,ie),pe("DD",$,F),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],2),ze("Do",(function(e,t){t[2]=ue(e.match($)[0])}));var Mn=qe("Date",!0);x("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("DDD",Q),pe("DDDD",U),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),x("m",["mm",2],0,"minute"),pe("m",$,ce),pe("mm",$,F),ze(["m","mm"],4);var un=qe("Minutes",!1);x("s",["ss",2],0,"second"),pe("s",$,ce),pe("ss",$,F),ze(["s","ss"],5);var ln,zn,dn=qe("Seconds",!1);for(x("S",0,0,(function(){return~~(this.millisecond()/100)})),x(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),x(0,["SSS",3],0,"millisecond"),x(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),x(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),x(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),x(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),x(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),x(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),pe("S",Q,I),pe("SS",Q,F),pe("SSS",Q,U),ln="SSSS";ln.length<=9;ln+="S")pe(ln,te);function On(e,t){t[6]=ue(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")ze(ln,On);zn=qe("Milliseconds",!1),x("z",0,0,"zoneAbbr"),x("zz",0,0,"zoneName");var fn=q.prototype;function An(e){return e}fn.add=Vt,fn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||_t(),o=Dt(n,this).startOf("day"),a=r.calendarFormat(this,o)||"sameElse",i=t&&(R(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,_t(n)))},fn.clone=function(){return new q(this)},fn.diff=function(e,t,n){var o,r,a;if(!this.isValid())return NaN;if(!(o=Dt(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=P(t)){case"year":a=Qt(this,o)/12;break;case"month":a=Qt(this,o);break;case"quarter":a=Qt(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return n?a:Me(a)},fn.endOf=function(e){var t,n;if(void 0===(e=P(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:on,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},fn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=D(this,e);return this.localeData().postformat(t)},fn.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.fromNow=function(e){return this.from(_t(),e)},fn.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||_t(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fn.toNow=function(e){return this.to(_t(),e)},fn.get=function(e){return R(this[e=P(e)])?this[e]():this},fn.invalidAt=function(){return d(this).overflow},fn.isAfter=function(e,t){var n=y(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=P(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?D(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):R(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",D(n,"Z")):D(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fn.toJSON=function(){return this.isValid()?this.toISOString():null},fn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fn.unix=function(){return Math.floor(this.valueOf()/1e3)},fn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fn.isLocal=function(){return!!this.isValid()&&!this._isUTC},fn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fn.isUtc=Ct,fn.isUTC=Ct,fn.zoneAbbr=function(){return this._isUTC?"UTC":""},fn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fn.dates=W("dates accessor is deprecated. Use date instead.",Mn),fn.months=W("months accessor is deprecated. Use month instead",Se),fn.years=W("years accessor is deprecated. Use year instead",he),fn.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fn.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return h(t,this),(t=Wt(t))._a?(e=t._isUTC?z(t._a):_t(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(o=0;o0):this._isDSTShifted=!1,this._isDSTShifted}));var mn=T.prototype;function hn(e,t,n,o){var r=pt(),a=z().set(o,t);return r[n](a,e)}function qn(e,t,n){if(b(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=hn(e,o,n,"month");return r}function yn(e,t,n,o){"boolean"==typeof e?(b(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,b(t)&&(n=t,t=void 0),t=t||"");var r,a=pt(),i=e?a._week.dow:0,c=[];if(null!=n)return hn(t,(n+i)%7,o,"day");for(r=0;r<7;r++)c[r]=hn(t,(r+i)%7,o,"day");return c}mn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return R(o)?o.call(t,n):o},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(S).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=An,mn.postformat=An,mn.relativeTime=function(e,t,n,o){var r=this._relativeTime[n];return R(r)?r(e,t,n,o):r.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return R(n)?n(t):n.replace(/%s/i,t)},mn.set=function(e){var t,n;for(n in e)c(e,n)&&(R(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mn.eras=function(e,t){var n,o,a,i=this._eras||pt("en")._eras;for(n=0,o=i.length;n=0)return p[o]},mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},mn.erasAbbrRegex=function(e){return c(this,"_erasAbbrRegex")||cn.call(this),e?this._erasAbbrRegex:this._erasRegex},mn.erasNameRegex=function(e){return c(this,"_erasNameRegex")||cn.call(this),e?this._erasNameRegex:this._erasRegex},mn.erasNarrowRegex=function(e){return c(this,"_erasNarrowRegex")||cn.call(this),e?this._erasNarrowRegex:this._erasRegex},mn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Le.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var o,r,a;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=z([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},mn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=we),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ke.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return je(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pe(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?Pe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?Pe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var o,r,a;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=z([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ie),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=W("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=W("moment.langData is deprecated. Use moment.localeData instead.",pt);var gn=Math.abs;function Wn(e,t,n,o){var r=Yt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Ln(e){return 146097*e/4800}function Rn(e){return function(){return this.as(e)}}var wn=Rn("ms"),Tn=Rn("s"),Nn=Rn("m"),Sn=Rn("h"),kn=Rn("d"),En=Rn("w"),Bn=Rn("M"),xn=Rn("Q"),Dn=Rn("y"),jn=wn;function Cn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Pn=Cn("milliseconds"),Xn=Cn("seconds"),Yn=Cn("minutes"),Hn=Cn("hours"),In=Cn("days"),Fn=Cn("months"),Un=Cn("years"),Vn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}var Kn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,a,i,c,p=Kn(this._milliseconds)/1e3,s=Kn(this._days),b=Kn(this._months),M=this.asSeconds();return M?(e=Me(p/60),t=Me(e/60),p%=60,e%=60,n=Me(b/12),b%=12,o=p?p.toFixed(3).replace(/\.?0+$/,""):"",r=M<0?"-":"",a=Jn(this._months)!==Jn(M)?"-":"",i=Jn(this._days)!==Jn(M)?"-":"",c=Jn(this._milliseconds)!==Jn(M)?"-":"",r+"P"+(n?a+n+"Y":"")+(b?a+b+"M":"")+(s?i+s+"D":"")+(t||e||p?"T":"")+(t?c+t+"H":"")+(e?c+e+"M":"")+(p?c+o+"S":"")):"P0D"}var Zn=Nt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=gn(this._milliseconds),this._days=gn(this._days),this._months=gn(this._months),e.milliseconds=gn(e.milliseconds),e.seconds=gn(e.seconds),e.minutes=gn(e.minutes),e.hours=gn(e.hours),e.months=gn(e.months),e.years=gn(e.years),this},Zn.add=function(e,t){return Wn(this,e,t,1)},Zn.subtract=function(e,t){return Wn(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=P(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ln(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=wn,Zn.asSeconds=Tn,Zn.asMinutes=Nn,Zn.asHours=Sn,Zn.asDays=kn,Zn.asWeeks=En,Zn.asMonths=Bn,Zn.asQuarters=xn,Zn.asYears=Dn,Zn.valueOf=jn,Zn._bubble=function(){var e,t,n,o,r,a=this._milliseconds,i=this._days,c=this._months,p=this._data;return a>=0&&i>=0&&c>=0||a<=0&&i<=0&&c<=0||(a+=864e5*vn(Ln(c)+i),i=0,c=0),p.milliseconds=a%1e3,e=Me(a/1e3),p.seconds=e%60,t=Me(e/60),p.minutes=t%60,n=Me(t/60),p.hours=n%24,i+=Me(n/24),r=Me(_n(i)),c+=r,i-=vn(Ln(r)),o=Me(c/12),c%=12,p.days=i,p.months=c,p.years=o,this},Zn.clone=function(){return Yt(this)},Zn.get=function(e){return e=P(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Pn,Zn.seconds=Xn,Zn.minutes=Yn,Zn.hours=Hn,Zn.days=In,Zn.weeks=function(){return Me(this.days()/7)},Zn.months=Fn,Zn.years=Un,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,a=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=this.localeData(),o=function(e,t,n,o){var r=Yt(e).abs(),a=Vn(r.as("s")),i=Vn(r.as("m")),c=Vn(r.as("h")),p=Vn(r.as("d")),s=Vn(r.as("M")),b=Vn(r.as("w")),M=Vn(r.as("y")),u=a<=n.ss&&["s",a]||a0,u[4]=o,$n.apply(null,u)}(this,!r,a,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)},Zn.toISOString=Qn,Zn.toString=Qn,Zn.toJSON=Qn,Zn.locale=Zt,Zn.localeData=tn,Zn.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Zn.lang=en,x("X",0,0,"unix"),x("x",0,0,"valueOf"),pe("x",ne),pe("X",/[+-]?\d+(\.\d{1,3})?/),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(ue(e))})), //! moment.js -r.version="2.30.1",t=_t,r.fn=fn,r.min=function(){var e=[].slice.call(arguments,0);return wt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return wt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=z,r.unix=function(e){return _t(1e3*e)},r.months=function(e,t){return qn(e,t,"months")},r.isDate=M,r.locale=it,r.invalid=f,r.duration=Yt,r.isMoment=y,r.weekdays=function(e,t,n){return yn(e,t,n,"weekdays")},r.parseZone=function(){return _t.apply(null,arguments).parseZone()},r.localeData=pt,r.isDuration=St,r.monthsShort=function(e,t){return qn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return yn(e,t,n,"weekdaysMin")},r.defineLocale=ct,r.updateLocale=function(e,t){if(null!=t){var n,o,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(w(tt[e]._config,t)):(null!=(o=at(e))&&(r=o._config),t=w(r,t),null==o&&(t.abbr=e),(n=new T(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return v(tt)},r.weekdaysShort=function(e,t,n){return yn(e,t,n,"weekdaysShort")},r.normalizeUnits=P,r.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=fn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(34)(e))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return p}));var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0&&n<=r.b}}function B(e){return function(t){return null==t?void 0:t[e]}}var x=B("byteLength"),D=E(x),j=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var C=r.r?function(e){return r.l?Object(r.l)(e)&&!_(e):D(e)&&j.test(r.t.call(e))}:k(!1),P=B("length");function X(e,t){t=function(e){for(var t={},n=e.length,o=0;o":">",'"':""","'":"'","`":"`"},Ce=De(je),Pe=De(se(je)),Xe=F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ie=/\\|'|\r|\n|\u2028|\u2029/g;function Fe(e){return"\\"+He[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=ze({},t,F.templateSettings);var o=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,(function(t,n,o,i,c){return a+=e.slice(r,c).replace(Ie,Fe),r=c+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?a+="'+\n((__t=("+o+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n";var i,c=t.variable;if(c){if(!Ue.test(c))throw new Error("variable is not a bare identifier: "+c)}else a="with(obj||{}){\n"+a+"}\n",c="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(c,"_",a)}catch(e){throw e.source=a,e}var p=function(e){return i.call(this,e,F)};return p.source="function("+c+"){\n"+a+"}",p}function Ge(e,t,n){var o=(t=he(t)).length;if(!o)return q(n)?n.call(e):n;for(var r=0;r1)ot(c,t-1,n,o),r=o.length;else for(var p=0,s=c.length;pt?(o&&(clearTimeout(o),o=null),c=s,i=e.apply(r,a),o||(r=a=null)):o||!1===n.trailing||(o=setTimeout(p,b)),i};return s.cancel=function(){clearTimeout(o),c=0,o=r=a=null},s}function st(e,t,n){var o,r,i,c,p,s=function(){var a=xe()-r;t>a?o=setTimeout(s,t-a):(o=null,n||(c=e.apply(p,i)),o||(i=p=null))},b=a((function(a){return p=this,i=a,r=xe(),o||(o=setTimeout(s,t),n&&(c=e.apply(p,i))),c}));return b.cancel=function(){clearTimeout(o),o=i=p=null},b}function bt(e,t){return et(t,e)}function Mt(e){return function(){return!e.apply(this,arguments)}}function ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,o=e[t].apply(this,arguments);n--;)o=e[n].call(this,o);return o}}function lt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function zt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var dt=et(zt,2);function Ot(e,t,n){t=Te(t,n);for(var o,r=Y(e),a=0,i=r.length;a0?0:r-1;a>=0&&a0?c=i>=0?i:Math.max(i+p,c):p=i>=0?Math.min(i+1,p):i+p+1;else if(n&&i&&p)return o[i=n(o,a)]===a?i:-1;if(a!=a)return(i=t(r.q.call(o,c,p),S))>=0?i+c:-1;for(i=e>0?c:p-1;i>=0&&i0?0:i-1;for(r||(o=t[a?a[c]:c],c+=e);c>=0&&c=3;return t(e,Le(n,r,4),o,a)}}var wt=Rt(1),Tt=Rt(-1);function Nt(e,t,n){var o=[];return t=Te(t,n),_t(e,(function(e,n,r){t(e,n,r)&&o.push(e)})),o}function St(e,t,n){return Nt(e,Mt(Te(t)),n)}function kt(e,t,n){t=Te(t,n);for(var o=!nt(e)&&Y(e),r=(o||e).length,a=0;a=0}var xt=a((function(e,t,n){var o,r;return q(t)?r=t:(t=he(t),o=t.slice(0,-1),t=t[t.length-1]),Lt(e,(function(e){var a=r;if(!a){if(o&&o.length&&(e=qe(e,o)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function Dt(e,t){return Lt(e,_e(t))}function jt(e,t){return Nt(e,ve(t))}function Ct(e,t,n){var o,r,a=-1/0,i=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;ca&&(a=o);else t=Te(t,n),_t(e,(function(e,n,o){((r=t(e,n,o))>i||r===-1/0&&a===-1/0)&&(a=e,i=r)}));return a}function Pt(e,t,n){var o,r,a=1/0,i=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;co||void 0===n)return 1;if(n1&&(o=Le(o,t[1])),t=$(e)):(o=Qt,t=ot(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Lt(ot(t,!1,!1),String),o=function(e,n){return!Bt(t,n)}),Zt(e,o,n)}));function tn(e,t,n){return r.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function on(e,t,n){return r.q.call(e,null==t||n?1:t)}function rn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:on(e,Math.max(0,e.length-t))}function an(e){return Nt(e,Boolean)}function cn(e,t){return ot(e,t,!1)}var pn=a((function(e,t){return t=ot(t,!0,!0),Nt(e,(function(e){return!Bt(t,e)}))})),sn=a((function(e,t){return pn(e,t)}));function bn(e,t,n,o){s(t)||(o=n,n=t,t=!1),null!=n&&(n=Te(n,o));for(var r=[],a=[],i=0,c=P(e);i1?o.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?o.resolveWith(this,[null]):o.resolveWith(this,[e.results[0]])})).fail((function(){o.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:i}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:i}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();t.a=c},,,,,function(e,t,n){var o; +*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e="",t=0;t=0&&n<=r.b}}function B(e){return function(t){return null==t?void 0:t[e]}}var x=B("byteLength"),D=E(x),j=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var C=r.r?function(e){return r.l?Object(r.l)(e)&&!_(e):D(e)&&j.test(r.t.call(e))}:k(!1),P=B("length");function X(e,t){t=function(e){for(var t={},n=e.length,o=0;o":">",'"':""","'":"'","`":"`"},Ce=De(je),Pe=De(se(je)),Xe=F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ie=/\\|'|\r|\n|\u2028|\u2029/g;function Fe(e){return"\\"+He[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=ze({},t,F.templateSettings);var o=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(o,(function(t,n,o,i,c){return a+=e.slice(r,c).replace(Ie,Fe),r=c+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?a+="'+\n((__t=("+o+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n";var i,c=t.variable;if(c){if(!Ue.test(c))throw new Error("variable is not a bare identifier: "+c)}else a="with(obj||{}){\n"+a+"}\n",c="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{i=new Function(c,"_",a)}catch(e){throw e.source=a,e}var p=function(e){return i.call(this,e,F)};return p.source="function("+c+"){\n"+a+"}",p}function Ge(e,t,n){var o=(t=he(t)).length;if(!o)return q(n)?n.call(e):n;for(var r=0;r1)ot(c,t-1,n,o),r=o.length;else for(var p=0,s=c.length;pt?(o&&(clearTimeout(o),o=null),c=s,i=e.apply(r,a),o||(r=a=null)):o||!1===n.trailing||(o=setTimeout(p,b)),i};return s.cancel=function(){clearTimeout(o),c=0,o=r=a=null},s}function st(e,t,n){var o,r,i,c,p,s=function(){var a=xe()-r;t>a?o=setTimeout(s,t-a):(o=null,n||(c=e.apply(p,i)),o||(i=p=null))},b=a((function(a){return p=this,i=a,r=xe(),o||(o=setTimeout(s,t),n&&(c=e.apply(p,i))),c}));return b.cancel=function(){clearTimeout(o),o=i=p=null},b}function bt(e,t){return et(t,e)}function Mt(e){return function(){return!e.apply(this,arguments)}}function ut(){var e=arguments,t=e.length-1;return function(){for(var n=t,o=e[t].apply(this,arguments);n--;)o=e[n].call(this,o);return o}}function lt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function zt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var dt=et(zt,2);function Ot(e,t,n){t=Te(t,n);for(var o,r=Y(e),a=0,i=r.length;a0?0:r-1;a>=0&&a0?c=i>=0?i:Math.max(i+p,c):p=i>=0?Math.min(i+1,p):i+p+1;else if(n&&i&&p)return o[i=n(o,a)]===a?i:-1;if(a!=a)return(i=t(r.q.call(o,c,p),S))>=0?i+c:-1;for(i=e>0?c:p-1;i>=0&&i0?0:i-1;for(r||(o=t[a?a[c]:c],c+=e);c>=0&&c=3;return t(e,Le(n,r,4),o,a)}}var wt=Rt(1),Tt=Rt(-1);function Nt(e,t,n){var o=[];return t=Te(t,n),_t(e,(function(e,n,r){t(e,n,r)&&o.push(e)})),o}function St(e,t,n){return Nt(e,Mt(Te(t)),n)}function kt(e,t,n){t=Te(t,n);for(var o=!nt(e)&&Y(e),r=(o||e).length,a=0;a=0}var xt=a((function(e,t,n){var o,r;return q(t)?r=t:(t=he(t),o=t.slice(0,-1),t=t[t.length-1]),Lt(e,(function(e){var a=r;if(!a){if(o&&o.length&&(e=qe(e,o)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function Dt(e,t){return Lt(e,_e(t))}function jt(e,t){return Nt(e,ve(t))}function Ct(e,t,n){var o,r,a=-1/0,i=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;ca&&(a=o);else t=Te(t,n),_t(e,(function(e,n,o){((r=t(e,n,o))>i||r===-1/0&&a===-1/0)&&(a=e,i=r)}));return a}function Pt(e,t,n){var o,r,a=1/0,i=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var c=0,p=(e=nt(e)?e:ce(e)).length;co||void 0===n)return 1;if(n1&&(o=Le(o,t[1])),t=$(e)):(o=Qt,t=ot(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r1&&(n=t[1])):(t=Lt(ot(t,!1,!1),String),o=function(e,n){return!Bt(t,n)}),Zt(e,o,n)}));function tn(e,t,n){return r.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function on(e,t,n){return r.q.call(e,null==t||n?1:t)}function rn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:on(e,Math.max(0,e.length-t))}function an(e){return Nt(e,Boolean)}function cn(e,t){return ot(e,t,!1)}var pn=a((function(e,t){return t=ot(t,!0,!0),Nt(e,(function(e){return!Bt(t,e)}))})),sn=a((function(e,t){return pn(e,t)}));function bn(e,t,n,o){s(t)||(o=n,n=t,t=!1),null!=n&&(n=Te(n,o));for(var r=[],a=[],i=0,c=P(e);i1?o.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?o.resolveWith(this,[null]):o.resolveWith(this,[e.results[0]])})).fail((function(){o.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:c}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:c}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();t.a=p},,,,,function(e,t,n){var o; /*! * jQuery JavaScript Library v3.7.1 * https://jquery.com/ @@ -20,19 +20,19 @@ r.version="2.30.1",t=_t,r.fn=fn,r.min=function(){var e=[].slice.call(arguments,0 object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,p=o(e),s=1;s=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}t.a=function(e){var t=e.children,n=e.device,a=e.onChange,i=o(e,["children","device","onChange"]),c=Object(r.a)(i,n,a);return"function"==typeof t?t(c):c?t:null};var r=n(0)}]))},function(e,t,n){"use strict";var o=function(){};e.exports=o},function(e,t,n){"use strict";(function(e){var o=n(0);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,c=[],p=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;p=!1}else for(;!(p=(o=a.call(n)).done)&&(c.push(o.value),c.length!==t);p=!0);}catch(e){s=!0,r=e}finally{try{if(!p&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?t:e}),void 0===window.Logger&&(window.Logger={log:function(){}}),void 0===window.MathJax&&(window.MathJax={Hub:{Typeset:function(){},Queue:function(){}}})},function(e,t,n){var o,r,a; +*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,p=o(e),s=1;s=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}t.a=function(e){var t=e.children,n=e.device,a=e.onChange,i=o(e,["children","device","onChange"]),c=Object(r.a)(i,n,a);return"function"==typeof t?t(c):c?t:null};var r=n(0)}]))},function(e,t,n){"use strict";var o=function(){};e.exports=o},function(e,t,n){"use strict";(function(e){var o=n(0);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,c=[],p=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;p=!1}else for(;!(p=(o=a.call(n)).done)&&(c.push(o.value),c.length!==t);p=!0);}catch(e){s=!0,r=e}finally{try{if(!p&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?t:e}),void 0===window.Logger&&(window.Logger={log:function(){}})},function(e,t,n){var o,r,a; /*! backgrid 0.3.8 http://github.com/cloudflare/backgrid Copyright (c) 2017 Cloudflare, Inc. and contributors Licensed under the MIT license. -*/a=this,o=[n(10),n(24)],void 0===(r=function(e,t){return a.Backgrid=function(e,t){"use strict";var n="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||n.trim()){n="["+n+"]";var o=new RegExp("^"+n+n+"*"),r=new RegExp(n+n+"*$");String.prototype.trim=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(o,"").replace(r,"")}}function a(e,t,n){var o=t-(e+"").length;o=o<0?0:o;for(var r="",a=0;a20)throw new RangeError("decimals must be between 0 and 20")};b.prototype=new s,e.extend(b.prototype,{defaults:{decimals:2,decimalSeparator:".",orderSeparator:","},HUMANIZED_NUM_RE:/(\d)(?=(?:\d{3})+$)/g,fromRaw:function(t,n){if(e.isNull(t)||e.isUndefined(t))return"";var o=(t=parseFloat(t).toFixed(~~this.decimals)).split("."),r=o[0],a=o[1]?(this.decimalSeparator||".")+o[1]:"";return r.replace(this.HUMANIZED_NUM_RE,"$1"+this.orderSeparator)+a},toRaw:function(t,n){if(""===(t=t.trim()))return null;for(var o="",r=t.split(this.orderSeparator),a=0;a",{tabIndex:-1,href:e,title:this.title||t,target:this.target}).text(t)),this.delegateEvents(),this}}),q=(c.EmailCell=m.extend({className:"email-cell",formatter:z,render:function(){this.$el.empty();var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.append(i("",{tabIndex:-1,href:"mailto:"+t,title:t}).text(t)),this.delegateEvents(),this}}),c.NumberCell=A.extend({className:"number-cell",decimals:b.prototype.defaults.decimals,decimalSeparator:b.prototype.defaults.decimalSeparator,orderSeparator:b.prototype.defaults.orderSeparator,formatter:b,initialize:function(e){q.__super__.initialize.apply(this,arguments);var t=this.formatter;t.decimals=this.decimals,t.decimalSeparator=this.decimalSeparator,t.orderSeparator=this.orderSeparator}})),y=(c.IntegerCell=q.extend({className:"integer-cell",decimals:0}),c.PercentCell=q.extend({className:"percent-cell",multiplier:M.prototype.defaults.multiplier,symbol:M.prototype.defaults.symbol,formatter:M,initialize:function(){y.__super__.initialize.apply(this,arguments);var e=this.formatter;e.multiplier=this.multiplier,e.symbol=this.symbol}})),g=c.DatetimeCell=A.extend({className:"datetime-cell",includeDate:u.prototype.defaults.includeDate,includeTime:u.prototype.defaults.includeTime,includeMilli:u.prototype.defaults.includeMilli,formatter:u,initialize:function(t){g.__super__.initialize.apply(this,arguments);var n=this.formatter;n.includeDate=this.includeDate,n.includeTime=this.includeTime,n.includeMilli=this.includeMilli;var o=this.includeDate?"YYYY-MM-DD":"";o+=this.includeDate&&this.includeTime?"T":"",o+=this.includeTime?"HH:mm:ss":"",o+=this.includeTime&&this.includeMilli?".SSS":"",this.editor=this.editor.extend({attributes:e.extend({},this.editor.prototype.attributes,this.editor.attributes,{placeholder:o})})}}),W=(c.DateCell=g.extend({className:"date-cell",includeTime:!1}),c.TimeCell=g.extend({className:"time-cell",includeDate:!1}),c.BooleanCellEditor=O.extend({tagName:"input",attributes:{tabIndex:-1,type:"checkbox"},events:{mousedown:function(){this.mouseDown=!0},blur:"enterOrExitEditMode",mouseup:function(){this.mouseDown=!1},change:"saveOrCancel",keydown:"saveOrCancel"},render:function(){var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.prop("checked",t),this},enterOrExitEditMode:function(e){if(!this.mouseDown){var t=this.model;t.trigger("backgrid:edited",t,this.column,new p(e))}},saveOrCancel:function(e){var t=this.model,n=this.column,o=this.formatter,r=new p(e);if(r.passThru()&&"change"!=e.type)return!0;r.cancel()&&(e.stopPropagation(),t.trigger("backgrid:edited",t,n,r));var a=this.$el;if(r.save()||r.moveLeft()||r.moveRight()||r.moveUp()||r.moveDown()){e.preventDefault(),e.stopPropagation();var i=o.toRaw(a.prop("checked"),t);t.set(n.get("name"),i),t.trigger("backgrid:edited",t,n,r)}else"change"==e.type&&(i=o.toRaw(a.prop("checked"),t),t.set(n.get("name"),i),a.focus())}})),v=(c.BooleanCell=A.extend({className:"boolean-cell",editor:W,events:{click:"enterEditMode"},render:function(){this.$el.empty();var e=this.model,t=this.column,n=c.callByNeed(t.editable(),t,e);return this.$el.append(i("",{tabIndex:-1,type:"checkbox",checked:this.formatter.fromRaw(e.get(t.get("name")),e),disabled:!n})),this.delegateEvents(),this}}),c.SelectCellEditor=O.extend({tagName:"select",events:{change:"save",blur:"close",keydown:"close"},template:e.template('',null,{variable:null,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}),setOptionValues:function(t){this.optionValues=t,this.optionValues=e.result(this,"optionValues")},setMultiple:function(e){this.multiple=e,this.$el.prop("multiple",e)},_renderOptions:function(t,n){for(var o="",r=0;r-1});return o},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n);if(!e.isArray(t))throw new TypeError("optionValues must be an array");for(var r=null,a=null,c=(r=null,null),p=null,s=0;s-1}));else{if(!e.isObject(r))throw new TypeError("optionValues elements must be a name-value pair or an object hash of { name: 'optgroup label', value: [option name-value pairs] }");c=r.name,(p=i("",{label:c})).append(this._renderOptions.call(this,r.values,o)),this.$el.append(p)}return this.delegateEvents(),this},save:function(e){var t=this.model,n=this.column;t.set(n.get("name"),this.formatter.toRaw(this.$el.val(),t))},close:function(e){var t=this.model,n=this.column,o=new p(e);o.cancel()?(e.stopPropagation(),t.trigger("backgrid:edited",t,n,new p(e))):(o.save()||o.moveLeft()||o.moveRight()||o.moveUp()||o.moveDown()||"blur"==e.type)&&(e.preventDefault(),e.stopPropagation(),this.save(e),t.trigger("backgrid:edited",t,n,new p(e)))}})),_=c.SelectCell=A.extend({className:"select-cell",editor:v,multiple:!1,formatter:d,optionValues:void 0,delimiter:", ",initialize:function(e){_.__super__.initialize.apply(this,arguments),this.listenTo(this.model,"backgrid:edit",(function(e,t,n,o){t.get("name")==this.column.get("name")&&(o.setOptionValues(this.optionValues),o.setMultiple(this.multiple))}))},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n),r=[];try{if(!e.isArray(t)||e.isEmpty(t))throw new TypeError;for(var a=0;a|Array.<{name: string, values: Array.}>}");throw e}return this.delegateEvents(),this}}),L=c.Column=t.Model.extend({defaults:{name:void 0,label:void 0,sortable:!0,editable:!0,renderable:!0,formatter:void 0,sortType:"cycle",sortValue:void 0,direction:null,cell:void 0,headerCell:void 0},initialize:function(){this.has("label")||this.set({label:this.get("name")},{silent:!0});var e=c.resolveNameToClass(this.get("headerCell"),"HeaderCell"),t=c.resolveNameToClass(this.get("cell"),"Cell");this.set({cell:t,headerCell:e},{silent:!0})},sortValue:function(){var t=this.get("sortValue");return e.isString(t)?this[t]:e.isFunction(t)?t:function(e,t){return e.get(t)}}});e.each(["sortable","renderable","editable"],(function(t){L.prototype[t]=function(){var n=this.get(t);return e.isString(n)?this[n]:e.isFunction(n)?n:!!n}}));var R=c.Columns=t.Collection.extend({model:L}),w=c.Row=t.View.extend({tagName:"tr",initialize:function(e){var n=this.columns=e.columns;n instanceof t.Collection||(n=this.columns=new R(n));for(var o=this.cells=[],r=0;r").text(t.get("label")).append(""):document.createTextNode(t.get("label")),this.$el.append(e),this.$el.addClass(t.get("name")),this.$el.addClass(t.get("direction")),this.delegateEvents(),this}}),S=(c.HeaderRow=c.Row.extend({initialize:function(){c.Row.prototype.initialize.apply(this,arguments)},makeCell:function(e,t){var n=e.get("headerCell")||t.headerCell||N;return n=new n({column:e,collection:this.collection})}}),c.Header=t.View.extend({tagName:"thead",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=new c.HeaderRow({columns:this.columns,collection:this.collection})},render:function(){return this.$el.append(this.row.render().$el),this.delegateEvents(),this},remove:function(){return this.row.remove.apply(this.row,arguments),t.View.prototype.remove.apply(this,arguments)}})),k=c.Body=t.View.extend({tagName:"tbody",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=e.row||this.row||w,this.rows=this.collection.map((function(e){return new this.row({columns:this.columns,model:e})}),this),this.emptyText=e.emptyText,this._unshiftEmptyRowMayBe();var n=this.collection;this.listenTo(n,"add",this.insertRow),this.listenTo(n,"remove",this.removeRow),this.listenTo(n,"sort",this.refresh),this.listenTo(n,"reset",this.refresh),this.listenTo(n,"backgrid:sort",this.sort),this.listenTo(n,"backgrid:edited",this.moveToNextCell),this.listenTo(this.columns,"add remove",this.updateEmptyRow)},_unshiftEmptyRowMayBe:function(){if(0===this.rows.length&&null!=this.emptyText)return this.emptyRow=new T({emptyText:this.emptyText,columns:this.columns}),this.rows.unshift(this.emptyRow),!0},insertRow:function(e,n,o){if(this.rows[0]instanceof T&&this.rows.pop().remove(),n instanceof t.Collection||o){var r=new this.row({columns:this.columns,model:e}),a=n.indexOf(e);this.rows.splice(a,0,r);var i=this.$el,c=i.children(),p=r.render().$el;return a>=c.length?i.append(p):c.eq(a).before(p),this}this.collection.add(e,o=n)},removeRow:function(t,n,o){return o?((e.isUndefined(o.render)||o.render)&&this.rows[o.index].remove(),this.rows.splice(o.index,1),this._unshiftEmptyRowMayBe()&&this.render(),this):(this.collection.remove(t,o=n),void(this._unshiftEmptyRowMayBe()&&this.render()))},updateEmptyRow:function(){null!=this.emptyRow&&this.emptyRow.render()},refresh:function(){for(var e=0;e=0&&d").text(this.caption)),this.header&&this.$el.append(this.header.render().$el),this.footer&&this.$el.append(this.footer.render().$el),this.$el.append(this.body.render().$el),this.delegateEvents(),this.trigger("backgrid:rendered",this),this},remove:function(){return this.header&&this.header.remove.apply(this.header,arguments),this.body.remove.apply(this.body,arguments),this.footer&&this.footer.remove.apply(this.footer,arguments),t.View.prototype.remove.apply(this,arguments)}}),c}(e,t)}.apply(t,o))||(e.exports=r)},function(e,t,n){(function(o){var r,a,i;i="object"==typeof self&&self.self===self&&self||"object"==typeof o&&o.global===o&&o,r=[n(10),n(16),t],void 0===(a=function(e,t,n){i.Backbone=function(e,t,n,o){var r=e.Backbone,a=Array.prototype.slice;t.VERSION="1.3.3",t.$=o,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var i=function(e,t,o){n.each(t,(function(t,r){n[r]&&(e.prototype[r]=function(e,t,o){switch(e){case 1:return function(){return n[t](this[o])};case 2:return function(e){return n[t](this[o],e)};case 3:return function(e,r){return n[t](this[o],c(e,this),r)};case 4:return function(e,r,a){return n[t](this[o],c(e,this),r,a)};default:return function(){var e=a.call(arguments);return e.unshift(this[o]),n[t].apply(n,e)}}}(t,r,o))}))},c=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?p(e):n.isString(e)?function(t){return t.get(e)}:e},p=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},s=t.Events={},b=/\s+/,M=function(e,t,o,r,a){var i,c=0;if(o&&"object"==typeof o){void 0!==r&&"context"in a&&void 0===a.context&&(a.context=r);for(i=n.keys(o);cthis.length&&(r=this.length),r<0&&(r+=this.length+1);var a,i,c=[],p=[],s=[],b=[],M={},u=t.add,l=t.merge,z=t.remove,d=!1,O=this.comparator&&null==r&&!1!==t.sort,f=n.isString(this.comparator)?this.comparator:null;for(i=0;i7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(E,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var o=document.body,r=o.insertBefore(this.iframe,o.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),S.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!S.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var o=n+e;if(e=this.decodeFragment(e.replace(B,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,o);else{if(!this._wantsHashChange)return this.location.assign(o);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var o=e.href.replace(/(javascript:|#).*$/,"");e.replace(o+"#"+t)}else e.hash="#"+t}}),t.history=new S,A.extend=m.extend=L.extend=g.extend=S.extend=function(e,t){var o,r=this;return o=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(o,r,t),o.prototype=n.create(r.prototype,e),o.prototype.constructor=o,o.__super__=r.prototype,o};var x=function(){throw new Error('A "url" property or function must be specified')},D=function(e,t){var n=t.error;t.error=function(o){n&&n.call(t.context,e,o,t),e.trigger("error",e,o,t)}};return t}(i,n,e,t)}.apply(t,r))||(e.exports=a)}).call(this,n(9))},function(e,t,n){"use strict"; +*/a=this,o=[n(10),n(25)],void 0===(r=function(e,t){return a.Backgrid=function(e,t){"use strict";var n="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||n.trim()){n="["+n+"]";var o=new RegExp("^"+n+n+"*"),r=new RegExp(n+n+"*$");String.prototype.trim=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(o,"").replace(r,"")}}function a(e,t,n){var o=t-(e+"").length;o=o<0?0:o;for(var r="",a=0;a20)throw new RangeError("decimals must be between 0 and 20")};b.prototype=new s,e.extend(b.prototype,{defaults:{decimals:2,decimalSeparator:".",orderSeparator:","},HUMANIZED_NUM_RE:/(\d)(?=(?:\d{3})+$)/g,fromRaw:function(t,n){if(e.isNull(t)||e.isUndefined(t))return"";var o=(t=parseFloat(t).toFixed(~~this.decimals)).split("."),r=o[0],a=o[1]?(this.decimalSeparator||".")+o[1]:"";return r.replace(this.HUMANIZED_NUM_RE,"$1"+this.orderSeparator)+a},toRaw:function(t,n){if(""===(t=t.trim()))return null;for(var o="",r=t.split(this.orderSeparator),a=0;a",{tabIndex:-1,href:e,title:this.title||t,target:this.target}).text(t)),this.delegateEvents(),this}}),q=(c.EmailCell=m.extend({className:"email-cell",formatter:z,render:function(){this.$el.empty();var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.append(i("",{tabIndex:-1,href:"mailto:"+t,title:t}).text(t)),this.delegateEvents(),this}}),c.NumberCell=A.extend({className:"number-cell",decimals:b.prototype.defaults.decimals,decimalSeparator:b.prototype.defaults.decimalSeparator,orderSeparator:b.prototype.defaults.orderSeparator,formatter:b,initialize:function(e){q.__super__.initialize.apply(this,arguments);var t=this.formatter;t.decimals=this.decimals,t.decimalSeparator=this.decimalSeparator,t.orderSeparator=this.orderSeparator}})),y=(c.IntegerCell=q.extend({className:"integer-cell",decimals:0}),c.PercentCell=q.extend({className:"percent-cell",multiplier:M.prototype.defaults.multiplier,symbol:M.prototype.defaults.symbol,formatter:M,initialize:function(){y.__super__.initialize.apply(this,arguments);var e=this.formatter;e.multiplier=this.multiplier,e.symbol=this.symbol}})),g=c.DatetimeCell=A.extend({className:"datetime-cell",includeDate:u.prototype.defaults.includeDate,includeTime:u.prototype.defaults.includeTime,includeMilli:u.prototype.defaults.includeMilli,formatter:u,initialize:function(t){g.__super__.initialize.apply(this,arguments);var n=this.formatter;n.includeDate=this.includeDate,n.includeTime=this.includeTime,n.includeMilli=this.includeMilli;var o=this.includeDate?"YYYY-MM-DD":"";o+=this.includeDate&&this.includeTime?"T":"",o+=this.includeTime?"HH:mm:ss":"",o+=this.includeTime&&this.includeMilli?".SSS":"",this.editor=this.editor.extend({attributes:e.extend({},this.editor.prototype.attributes,this.editor.attributes,{placeholder:o})})}}),W=(c.DateCell=g.extend({className:"date-cell",includeTime:!1}),c.TimeCell=g.extend({className:"time-cell",includeDate:!1}),c.BooleanCellEditor=O.extend({tagName:"input",attributes:{tabIndex:-1,type:"checkbox"},events:{mousedown:function(){this.mouseDown=!0},blur:"enterOrExitEditMode",mouseup:function(){this.mouseDown=!1},change:"saveOrCancel",keydown:"saveOrCancel"},render:function(){var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.prop("checked",t),this},enterOrExitEditMode:function(e){if(!this.mouseDown){var t=this.model;t.trigger("backgrid:edited",t,this.column,new p(e))}},saveOrCancel:function(e){var t=this.model,n=this.column,o=this.formatter,r=new p(e);if(r.passThru()&&"change"!=e.type)return!0;r.cancel()&&(e.stopPropagation(),t.trigger("backgrid:edited",t,n,r));var a=this.$el;if(r.save()||r.moveLeft()||r.moveRight()||r.moveUp()||r.moveDown()){e.preventDefault(),e.stopPropagation();var i=o.toRaw(a.prop("checked"),t);t.set(n.get("name"),i),t.trigger("backgrid:edited",t,n,r)}else"change"==e.type&&(i=o.toRaw(a.prop("checked"),t),t.set(n.get("name"),i),a.focus())}})),v=(c.BooleanCell=A.extend({className:"boolean-cell",editor:W,events:{click:"enterEditMode"},render:function(){this.$el.empty();var e=this.model,t=this.column,n=c.callByNeed(t.editable(),t,e);return this.$el.append(i("",{tabIndex:-1,type:"checkbox",checked:this.formatter.fromRaw(e.get(t.get("name")),e),disabled:!n})),this.delegateEvents(),this}}),c.SelectCellEditor=O.extend({tagName:"select",events:{change:"save",blur:"close",keydown:"close"},template:e.template('',null,{variable:null,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}),setOptionValues:function(t){this.optionValues=t,this.optionValues=e.result(this,"optionValues")},setMultiple:function(e){this.multiple=e,this.$el.prop("multiple",e)},_renderOptions:function(t,n){for(var o="",r=0;r-1});return o},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n);if(!e.isArray(t))throw new TypeError("optionValues must be an array");for(var r=null,a=null,c=(r=null,null),p=null,s=0;s-1}));else{if(!e.isObject(r))throw new TypeError("optionValues elements must be a name-value pair or an object hash of { name: 'optgroup label', value: [option name-value pairs] }");c=r.name,(p=i("",{label:c})).append(this._renderOptions.call(this,r.values,o)),this.$el.append(p)}return this.delegateEvents(),this},save:function(e){var t=this.model,n=this.column;t.set(n.get("name"),this.formatter.toRaw(this.$el.val(),t))},close:function(e){var t=this.model,n=this.column,o=new p(e);o.cancel()?(e.stopPropagation(),t.trigger("backgrid:edited",t,n,new p(e))):(o.save()||o.moveLeft()||o.moveRight()||o.moveUp()||o.moveDown()||"blur"==e.type)&&(e.preventDefault(),e.stopPropagation(),this.save(e),t.trigger("backgrid:edited",t,n,new p(e)))}})),_=c.SelectCell=A.extend({className:"select-cell",editor:v,multiple:!1,formatter:d,optionValues:void 0,delimiter:", ",initialize:function(e){_.__super__.initialize.apply(this,arguments),this.listenTo(this.model,"backgrid:edit",(function(e,t,n,o){t.get("name")==this.column.get("name")&&(o.setOptionValues(this.optionValues),o.setMultiple(this.multiple))}))},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n),r=[];try{if(!e.isArray(t)||e.isEmpty(t))throw new TypeError;for(var a=0;a|Array.<{name: string, values: Array.}>}");throw e}return this.delegateEvents(),this}}),L=c.Column=t.Model.extend({defaults:{name:void 0,label:void 0,sortable:!0,editable:!0,renderable:!0,formatter:void 0,sortType:"cycle",sortValue:void 0,direction:null,cell:void 0,headerCell:void 0},initialize:function(){this.has("label")||this.set({label:this.get("name")},{silent:!0});var e=c.resolveNameToClass(this.get("headerCell"),"HeaderCell"),t=c.resolveNameToClass(this.get("cell"),"Cell");this.set({cell:t,headerCell:e},{silent:!0})},sortValue:function(){var t=this.get("sortValue");return e.isString(t)?this[t]:e.isFunction(t)?t:function(e,t){return e.get(t)}}});e.each(["sortable","renderable","editable"],(function(t){L.prototype[t]=function(){var n=this.get(t);return e.isString(n)?this[n]:e.isFunction(n)?n:!!n}}));var R=c.Columns=t.Collection.extend({model:L}),w=c.Row=t.View.extend({tagName:"tr",initialize:function(e){var n=this.columns=e.columns;n instanceof t.Collection||(n=this.columns=new R(n));for(var o=this.cells=[],r=0;r").text(t.get("label")).append(""):document.createTextNode(t.get("label")),this.$el.append(e),this.$el.addClass(t.get("name")),this.$el.addClass(t.get("direction")),this.delegateEvents(),this}}),S=(c.HeaderRow=c.Row.extend({initialize:function(){c.Row.prototype.initialize.apply(this,arguments)},makeCell:function(e,t){var n=e.get("headerCell")||t.headerCell||N;return n=new n({column:e,collection:this.collection})}}),c.Header=t.View.extend({tagName:"thead",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=new c.HeaderRow({columns:this.columns,collection:this.collection})},render:function(){return this.$el.append(this.row.render().$el),this.delegateEvents(),this},remove:function(){return this.row.remove.apply(this.row,arguments),t.View.prototype.remove.apply(this,arguments)}})),k=c.Body=t.View.extend({tagName:"tbody",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=e.row||this.row||w,this.rows=this.collection.map((function(e){return new this.row({columns:this.columns,model:e})}),this),this.emptyText=e.emptyText,this._unshiftEmptyRowMayBe();var n=this.collection;this.listenTo(n,"add",this.insertRow),this.listenTo(n,"remove",this.removeRow),this.listenTo(n,"sort",this.refresh),this.listenTo(n,"reset",this.refresh),this.listenTo(n,"backgrid:sort",this.sort),this.listenTo(n,"backgrid:edited",this.moveToNextCell),this.listenTo(this.columns,"add remove",this.updateEmptyRow)},_unshiftEmptyRowMayBe:function(){if(0===this.rows.length&&null!=this.emptyText)return this.emptyRow=new T({emptyText:this.emptyText,columns:this.columns}),this.rows.unshift(this.emptyRow),!0},insertRow:function(e,n,o){if(this.rows[0]instanceof T&&this.rows.pop().remove(),n instanceof t.Collection||o){var r=new this.row({columns:this.columns,model:e}),a=n.indexOf(e);this.rows.splice(a,0,r);var i=this.$el,c=i.children(),p=r.render().$el;return a>=c.length?i.append(p):c.eq(a).before(p),this}this.collection.add(e,o=n)},removeRow:function(t,n,o){return o?((e.isUndefined(o.render)||o.render)&&this.rows[o.index].remove(),this.rows.splice(o.index,1),this._unshiftEmptyRowMayBe()&&this.render(),this):(this.collection.remove(t,o=n),void(this._unshiftEmptyRowMayBe()&&this.render()))},updateEmptyRow:function(){null!=this.emptyRow&&this.emptyRow.render()},refresh:function(){for(var e=0;e=0&&d").text(this.caption)),this.header&&this.$el.append(this.header.render().$el),this.footer&&this.$el.append(this.footer.render().$el),this.$el.append(this.body.render().$el),this.delegateEvents(),this.trigger("backgrid:rendered",this),this},remove:function(){return this.header&&this.header.remove.apply(this.header,arguments),this.body.remove.apply(this.body,arguments),this.footer&&this.footer.remove.apply(this.footer,arguments),t.View.prototype.remove.apply(this,arguments)}}),c}(e,t)}.apply(t,o))||(e.exports=r)},function(e,t,n){(function(o){var r,a,i;i="object"==typeof self&&self.self===self&&self||"object"==typeof o&&o.global===o&&o,r=[n(10),n(17),t],void 0===(a=function(e,t,n){i.Backbone=function(e,t,n,o){var r=e.Backbone,a=Array.prototype.slice;t.VERSION="1.3.3",t.$=o,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var i=function(e,t,o){n.each(t,(function(t,r){n[r]&&(e.prototype[r]=function(e,t,o){switch(e){case 1:return function(){return n[t](this[o])};case 2:return function(e){return n[t](this[o],e)};case 3:return function(e,r){return n[t](this[o],c(e,this),r)};case 4:return function(e,r,a){return n[t](this[o],c(e,this),r,a)};default:return function(){var e=a.call(arguments);return e.unshift(this[o]),n[t].apply(n,e)}}}(t,r,o))}))},c=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?p(e):n.isString(e)?function(t){return t.get(e)}:e},p=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},s=t.Events={},b=/\s+/,M=function(e,t,o,r,a){var i,c=0;if(o&&"object"==typeof o){void 0!==r&&"context"in a&&void 0===a.context&&(a.context=r);for(i=n.keys(o);cthis.length&&(r=this.length),r<0&&(r+=this.length+1);var a,i,c=[],p=[],s=[],b=[],M={},u=t.add,l=t.merge,z=t.remove,d=!1,O=this.comparator&&null==r&&!1!==t.sort,f=n.isString(this.comparator)?this.comparator:null;for(i=0;i7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(E,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var o=document.body,r=o.insertBefore(this.iframe,o.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),S.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!S.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var o=n+e;if(e=this.decodeFragment(e.replace(B,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,o);else{if(!this._wantsHashChange)return this.location.assign(o);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var o=e.href.replace(/(javascript:|#).*$/,"");e.replace(o+"#"+t)}else e.hash="#"+t}}),t.history=new S,A.extend=m.extend=L.extend=g.extend=S.extend=function(e,t){var o,r=this;return o=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(o,r,t),o.prototype=n.create(r.prototype,e),o.prototype.constructor=o,o.__super__=r.prototype,o};var x=function(){throw new Error('A "url" property or function must be specified')},D=function(e,t){var n=t.error;t.error=function(o){n&&n.call(t.context,e,o,t),e.trigger("error",e,o,t)}};return t}(i,n,e,t)}.apply(t,r))||(e.exports=a)}).call(this,n(9))},function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,p=i(e),s=1;s-1}function W(e,t,n){for(var o=-1,r=e?e.length:0;++o-1},se.prototype.set=function(e,t){var n=this.__data__,o=ze(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},be.prototype.clear=function(){this.__data__={hash:new pe,map:new($||se),string:new pe}},be.prototype.delete=function(e){return We(this,e).delete(e)},be.prototype.get=function(e){return We(this,e).get(e)},be.prototype.has=function(e){return We(this,e).has(e)},be.prototype.set=function(e,t){return We(this,e).set(e,t),this},Me.prototype.add=Me.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Me.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new se},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var o=n.__data__;if(!$||o.length<199)return o.push([e,t]),this;n=this.__data__=new be(o)}return n.set(e,t),this};var ye=J&&1/T(new J([,-0]))[1]==1/0?function(e){return new J(e)}:function(){};function ge(e,t,n,o,r,a){var i=2&r,c=e.length,p=t.length;if(c!=p&&!(i&&p>c))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var b=-1,M=!0,u=1&r?new Me:void 0;for(a.set(e,t),a.set(t,e);++b-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Xe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Ye(e)&&"[object Symbol]"==X.call(e)}var Ie=y?function(e){return function(t){return e(t)}}(y):function(e){return Ye(e)&&Pe(e.length)&&!!z[X.call(e)]};function Fe(e){return je(e)?le(e):he(e)}function Ue(e){return e}n.exports=function(e,t){return e&&e.length?function(e,t,n){var o=-1,r=g,a=e.length,i=!0,c=[],p=c;if(n)i=!1,r=W;else if(a>=200){var s=t?null:ye(e);if(s)return T(s);i=!1,r=L,p=new Me}else p=t?[]:c;e:for(;++o-1}function W(e,t,n){for(var o=-1,r=e?e.length:0;++o-1},se.prototype.set=function(e,t){var n=this.__data__,o=ze(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},be.prototype.clear=function(){this.__data__={hash:new pe,map:new($||se),string:new pe}},be.prototype.delete=function(e){return We(this,e).delete(e)},be.prototype.get=function(e){return We(this,e).get(e)},be.prototype.has=function(e){return We(this,e).has(e)},be.prototype.set=function(e,t){return We(this,e).set(e,t),this},Me.prototype.add=Me.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Me.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new se},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof se){var o=n.__data__;if(!$||o.length<199)return o.push([e,t]),this;n=this.__data__=new be(o)}return n.set(e,t),this};var ye=J&&1/T(new J([,-0]))[1]==1/0?function(e){return new J(e)}:function(){};function ge(e,t,n,o,r,a){var i=2&r,c=e.length,p=t.length;if(c!=p&&!(i&&p>c))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var b=-1,M=!0,u=1&r?new Me:void 0;for(a.set(e,t),a.set(t,e);++b-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function Xe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Ye(e)&&"[object Symbol]"==X.call(e)}var Ie=y?function(e){return function(t){return e(t)}}(y):function(e){return Ye(e)&&Pe(e.length)&&!!z[X.call(e)]};function Fe(e){return je(e)?le(e):he(e)}function Ue(e){return e}n.exports=function(e,t){return e&&e.length?function(e,t,n){var o=-1,r=g,a=e.length,i=!0,c=[],p=c;if(n)i=!1,r=W;else if(a>=200){var s=t?null:ye(e);if(s)return T(s);i=!1,r=L,p=new Me}else p=t?[]:c;e:for(;++o=20?"ste":"de")},week:{dow:1,doy:4}})}(n(2))},function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration @@ -306,7 +306,7 @@ e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月 //! moment.js locale configuration e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration -e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,o,r,a){var i=o||"<>",c=a||n;if(null==t[n])return new Error("The "+r+" `"+c+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var p=arguments.length,s=Array(p>5?p-5:0),b=5;b",{text:o,title:this.title||o}),this.$el.append(i),i.on("click",$.proxy(a,"displayOraBlock",t))):this.$el.append(o),this.delegateEvents(),this}}),u=b.ENHANCED_STAFF_GRADER,l=b.ORA_GRADING_MICROFRONTEND_URL,z=e.UriCell.extend({render:function(){this.$el.empty();var e=this.column.get("name");this.$el.addClass(e);var t=u?gettext("View and grade responses"):gettext("Demo the new Grading Experience"),n=this.model.get("id"),o="".concat(l,"/").concat(n),r=this.model.get("staff_assessment"),a=$("",{text:t,title:t,href:o,class:"staff-esg-link"}),i=this.model.get("team_assignment");return r&&!i&&this.$el.append(a),this}}),d=M.extend({type:"peer_assessment",url:"url_waiting_step_details"}),O=M.extend({url:"url_grade_available_responses",type:"staff_assessment",shouldShowLink:function(){return this.model.get("team_assignment")||!u}});this._columns=[{name:"parent_name",label:gettext("Unit Name"),label_summary:gettext("Units"),cell:"string",num:!1,editable:!1},{name:"name",label:gettext("Assessment"),label_summary:gettext("Assessments"),cell:M,num:!1,editable:!1},{name:"total",label:gettext("Total Responses"),label_summary:gettext("Total Responses"),cell:"string",num:!0,editable:!1},{name:"training",label:gettext("Training"),label_summary:gettext("Training"),cell:"string",num:!0,editable:!1},{name:"peer",label:gettext("Peer"),label_summary:gettext("Peer"),cell:"string",num:!0,editable:!1},{name:"self",label:gettext("Self"),label_summary:gettext("Self"),cell:"string",num:!0,editable:!1},{name:"waiting",label:gettext("Waiting"),label_summary:gettext("Waiting"),cell:d,num:!0,editable:!1},{name:"staff",label:gettext("Staff"),label_summary:gettext("Staff"),cell:O,num:!0,editable:!1},{name:"done",label:gettext("Final Grade Received"),label_summary:gettext("Final Grade Received"),cell:"string",num:!0,editable:!1},{name:"staff_grader",label:gettext("Staff Grader"),cell:z,num:!0,editable:!1}]},(n=[{key:"refreshGrids",value:function(e){e=e||!1;var t=this,n=this.$section,o=n.find(".open-response-assessment-block"),r=this.runtime.handlerUrl(n,"get_ora2_responses");if(!parseInt(o.data("rendered"),10)||e)return $.Deferred((function(e){$.ajax({type:"GET",dataType:"json",url:r}).done((function(n){t.renderGrids(n),e.resolve()})).fail((function(o,r){n.find(".open-response-assessment-msg").text(gettext("List of Open Assessments is unavailable")),e.rejectWith(t,[r])}))})).promise()}},{key:"renderGrids",value:function(e){var t=this.$section,n=t.find(".open-response-assessment-block"),o=["training","peer","self","waiting","staff","done"];$.each(this.oraData,(function(t,n){var r=0,a=n.id;$.each(o,(function(e,t){n[t]=0})),a in e&&(_.extend(n,e[a]),n.staff_assessment&&(n.staff=n.waiting,n.waiting=0)),$.each(o,(function(e,t){r+=n[t]})),n.total=r})),n.data("rendered",1),t.find(".open-response-assessment-msg").hide(),this.showSummaryGrid(this.oraData),this.showOpenResponsesGrid(this.oraData)}},{key:"showSummaryGrid",value:function(e){var t=this.$section,n=[],o={};t.find(".open-response-assessment-summary").empty(),$.each(this._columns,(function(e,t){void 0!==t.label_summary&&(n.push({title:t.label_summary,value:0,num:t.num,class:t.name}),o[t.name]=e)})),$.each(e,(function(e,t){$.each(t,(function(e,t){var r=0;e in o&&(r=o[e],n[r].num?n[r].value+=t:n[r].value+=1)}))}));var r=_.template($("#open-response-assessment-summary-tpl").text());t.find(".open-response-assessment-summary").append(r({oraSummary:n}))}},{key:"showOpenResponsesGrid",value:function(t){var n=this.$section;n.find(".open-response-assessment-content").show();var o=new Backbone.Collection(t);n.find(".open-response-assessment-main-table").empty();var r=new e.Grid({columns:this._columns,collection:o});n.find(".open-response-assessment-main-table").append(r.render().el)}},{key:"displayOraBlock",value:function(e){var t=this.$section,n=this;return t.find(".open-response-assessment-content").hide(),t.find(".open-response-assessment-msg").text(gettext("Please wait")).show(),$.Deferred((function(o){$.ajax({type:"GET",dataType:"json",url:e}).done((function(e){var r=t.find(".open-response-assessment-item"),a=r.find(".open-response-assessment-item-block");t.find(".open-response-assessment-msg").hide(),r.show(),n.renderBreadcrumbs(),a.html(e.html),XBlock.initializeBlock($(a).find(".xblock")[0]),o.resolve()})).fail((function(e,r){t.find(".open-response-assessment-item").show(),t.find(".open-response-assessment-msg").text(gettext("Block view is unavailable")),n.renderBreadcrumbs(),o.rejectWith(n,[r])}))})).promise()}},{key:"renderBreadcrumbs",value:function(){var e=this.$section.find(".open-response-assessment-item-breadcrumbs"),t=gettext("Back to Full List"),n=$("",{html:"← ".concat(t),title:t});e.append(n),n.on("click",$.proxy(this,"backToOpenResponsesGrid"))}},{key:"backToOpenResponsesGrid",value:function(){var e=this.$section;e.find(".open-response-assessment-item-breadcrumbs").empty(),e.find(".open-response-assessment-item-block").empty(),e.find(".open-response-assessment-item").hide(),e.find(".open-response-assessment-msg").text(gettext("Please wait")).show(),this.refreshGrids(!0)}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();t.a=a}).call(this,n(187))},function(e,t){var n="undefined"!=typeof Element,o="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var c,p,s,b;if(Array.isArray(t)){if((c=t.length)!=i.length)return!1;for(p=c;0!=p--;)if(!e(t[p],i[p]))return!1;return!0}if(o&&t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(b=t.entries();!(p=b.next()).done;)if(!i.has(p.value[0]))return!1;for(b=t.entries();!(p=b.next()).done;)if(!e(p.value[1],i.get(p.value[0])))return!1;return!0}if(r&&t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(b=t.entries();!(p=b.next()).done;)if(!i.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(i)){if((c=t.length)!=i.length)return!1;for(p=c;0!=p--;)if(t[p]!==i[p])return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof i.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof i.toString)return t.toString()===i.toString();if((c=(s=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(p=c;0!=p--;)if(!Object.prototype.hasOwnProperty.call(i,s[p]))return!1;if(n&&t instanceof Element)return!1;for(p=c;0!=p--;)if(("_owner"!==s[p]&&"__v"!==s[p]&&"__o"!==s[p]||!t.$$typeof)&&!e(t[s[p]],i[s[p]]))return!1;return!0}return t!=t&&i!=i}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},,,,,,,,,,,,function(e,t,n){var o,r,a; +e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var o=100*e+t;return o<600?"凌晨":o<900?"早上":o<1130?"上午":o<1230?"中午":o<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n(2))},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,o,r,a){var i=o||"<>",c=a||n;if(null==t[n])return new Error("The "+r+" `"+c+"` is required to make `"+i+"` accessible for users of assistive technologies such as screen readers.");for(var p=arguments.length,s=Array(p>5?p-5:0),b=5;b",{text:o,title:this.title||o}),this.$el.append(i),i.on("click",$.proxy(a,"displayOraBlock",t))):this.$el.append(o),this.delegateEvents(),this}}),u=b.ENHANCED_STAFF_GRADER,l=b.ORA_GRADING_MICROFRONTEND_URL,z=e.UriCell.extend({render:function(){this.$el.empty();var e=this.column.get("name");this.$el.addClass(e);var t=u?gettext("View and grade responses"):gettext("Demo the new Grading Experience"),n=this.model.get("id"),o="".concat(l,"/").concat(n),r=this.model.get("staff_assessment"),a=$("",{text:t,title:t,href:o,class:"staff-esg-link"}),i=this.model.get("team_assignment");return r&&!i&&this.$el.append(a),this}}),d=M.extend({type:"peer_assessment",url:"url_waiting_step_details"}),O=M.extend({url:"url_grade_available_responses",type:"staff_assessment",shouldShowLink:function(){return this.model.get("team_assignment")||!u}});this._columns=[{name:"parent_name",label:gettext("Unit Name"),label_summary:gettext("Units"),cell:"string",num:!1,editable:!1},{name:"name",label:gettext("Assessment"),label_summary:gettext("Assessments"),cell:M,num:!1,editable:!1},{name:"total",label:gettext("Total Responses"),label_summary:gettext("Total Responses"),cell:"string",num:!0,editable:!1},{name:"training",label:gettext("Training"),label_summary:gettext("Training"),cell:"string",num:!0,editable:!1},{name:"peer",label:gettext("Peer"),label_summary:gettext("Peer"),cell:"string",num:!0,editable:!1},{name:"self",label:gettext("Self"),label_summary:gettext("Self"),cell:"string",num:!0,editable:!1},{name:"waiting",label:gettext("Waiting"),label_summary:gettext("Waiting"),cell:d,num:!0,editable:!1},{name:"staff",label:gettext("Staff"),label_summary:gettext("Staff"),cell:O,num:!0,editable:!1},{name:"done",label:gettext("Final Grade Received"),label_summary:gettext("Final Grade Received"),cell:"string",num:!0,editable:!1},{name:"staff_grader",label:gettext("Staff Grader"),cell:z,num:!0,editable:!1}]},(n=[{key:"refreshGrids",value:function(e){e=e||!1;var t=this,n=this.$section,o=n.find(".open-response-assessment-block"),r=this.runtime.handlerUrl(n,"get_ora2_responses");if(!parseInt(o.data("rendered"),10)||e)return $.Deferred((function(e){$.ajax({type:"GET",dataType:"json",url:r}).done((function(n){t.renderGrids(n),e.resolve()})).fail((function(o,r){n.find(".open-response-assessment-msg").text(gettext("List of Open Assessments is unavailable")),e.rejectWith(t,[r])}))})).promise()}},{key:"renderGrids",value:function(e){var t=this.$section,n=t.find(".open-response-assessment-block"),o=["training","peer","self","waiting","staff","done"];$.each(this.oraData,(function(t,n){var r=0,a=n.id;$.each(o,(function(e,t){n[t]=0})),a in e&&(_.extend(n,e[a]),n.staff_assessment&&(n.staff=n.waiting,n.waiting=0)),$.each(o,(function(e,t){r+=n[t]})),n.total=r})),n.data("rendered",1),t.find(".open-response-assessment-msg").hide(),this.showSummaryGrid(this.oraData),this.showOpenResponsesGrid(this.oraData)}},{key:"showSummaryGrid",value:function(e){var t=this.$section,n=[],o={};t.find(".open-response-assessment-summary").empty(),$.each(this._columns,(function(e,t){void 0!==t.label_summary&&(n.push({title:t.label_summary,value:0,num:t.num,class:t.name}),o[t.name]=e)})),$.each(e,(function(e,t){$.each(t,(function(e,t){var r=0;e in o&&(r=o[e],n[r].num?n[r].value+=t:n[r].value+=1)}))}));var r=_.template($("#open-response-assessment-summary-tpl").text());t.find(".open-response-assessment-summary").append(r({oraSummary:n}))}},{key:"showOpenResponsesGrid",value:function(t){var n=this.$section;n.find(".open-response-assessment-content").show();var o=new Backbone.Collection(t);n.find(".open-response-assessment-main-table").empty();var r=new e.Grid({columns:this._columns,collection:o});n.find(".open-response-assessment-main-table").append(r.render().el)}},{key:"displayOraBlock",value:function(e){var t=this.$section,n=this;return t.find(".open-response-assessment-content").hide(),t.find(".open-response-assessment-msg").text(gettext("Please wait")).show(),$.Deferred((function(o){$.ajax({type:"GET",dataType:"json",url:e}).done((function(e){var r=t.find(".open-response-assessment-item"),a=r.find(".open-response-assessment-item-block");t.find(".open-response-assessment-msg").hide(),r.show(),n.renderBreadcrumbs(),a.html(e.html),XBlock.initializeBlock($(a).find(".xblock")[0]),o.resolve()})).fail((function(e,r){t.find(".open-response-assessment-item").show(),t.find(".open-response-assessment-msg").text(gettext("Block view is unavailable")),n.renderBreadcrumbs(),o.rejectWith(n,[r])}))})).promise()}},{key:"renderBreadcrumbs",value:function(){var e=this.$section.find(".open-response-assessment-item-breadcrumbs"),t=gettext("Back to Full List"),n=$("",{html:"← ".concat(t),title:t});e.append(n),n.on("click",$.proxy(this,"backToOpenResponsesGrid"))}},{key:"backToOpenResponsesGrid",value:function(){var e=this.$section;e.find(".open-response-assessment-item-breadcrumbs").empty(),e.find(".open-response-assessment-item-block").empty(),e.find(".open-response-assessment-item").hide(),e.find(".open-response-assessment-msg").text(gettext("Please wait")).show(),this.refreshGrids(!0)}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();t.a=a}).call(this,n(188))},function(e,t){var n="undefined"!=typeof Element,o="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var c,p,s,b;if(Array.isArray(t)){if((c=t.length)!=i.length)return!1;for(p=c;0!=p--;)if(!e(t[p],i[p]))return!1;return!0}if(o&&t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(b=t.entries();!(p=b.next()).done;)if(!i.has(p.value[0]))return!1;for(b=t.entries();!(p=b.next()).done;)if(!e(p.value[1],i.get(p.value[0])))return!1;return!0}if(r&&t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(b=t.entries();!(p=b.next()).done;)if(!i.has(p.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(i)){if((c=t.length)!=i.length)return!1;for(p=c;0!=p--;)if(t[p]!==i[p])return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"==typeof t.valueOf&&"function"==typeof i.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString&&"function"==typeof t.toString&&"function"==typeof i.toString)return t.toString()===i.toString();if((c=(s=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(p=c;0!=p--;)if(!Object.prototype.hasOwnProperty.call(i,s[p]))return!1;if(n&&t instanceof Element)return!1;for(p=c;0!=p--;)if(("_owner"!==s[p]&&"__v"!==s[p]&&"__o"!==s[p]||!t.$$typeof)&&!e(t[s[p]],i[s[p]]))return!1;return!0}return t!=t&&i!=i}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},,,,,,,,,,,,function(e,t,n){var o,r,a; /*! backgrid 0.3.8 http://github.com/cloudflare/backgrid @@ -314,7 +314,7 @@ e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月 Copyright (c) 2017 Cloudflare, Inc. and contributors Licensed under the MIT license. */ -a=this,o=[n(10),n(188)],void 0===(r=function(e,t){return a.Backgrid=function(e,t){"use strict";var n="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||n.trim()){n="["+n+"]";var o=new RegExp("^"+n+n+"*"),r=new RegExp(n+n+"*$");String.prototype.trim=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(o,"").replace(r,"")}}function a(e,t,n){var o=t-(e+"").length;o=o<0?0:o;for(var r="",a=0;a20)throw new RangeError("decimals must be between 0 and 20")};b.prototype=new s,e.extend(b.prototype,{defaults:{decimals:2,decimalSeparator:".",orderSeparator:","},HUMANIZED_NUM_RE:/(\d)(?=(?:\d{3})+$)/g,fromRaw:function(t,n){if(e.isNull(t)||e.isUndefined(t))return"";var o=(t=parseFloat(t).toFixed(~~this.decimals)).split("."),r=o[0],a=o[1]?(this.decimalSeparator||".")+o[1]:"";return r.replace(this.HUMANIZED_NUM_RE,"$1"+this.orderSeparator)+a},toRaw:function(t,n){if(""===(t=t.trim()))return null;for(var o="",r=t.split(this.orderSeparator),a=0;a",{tabIndex:-1,href:e,title:this.title||t,target:this.target}).text(t)),this.delegateEvents(),this}}),q=(c.EmailCell=m.extend({className:"email-cell",formatter:z,render:function(){this.$el.empty();var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.append(i("",{tabIndex:-1,href:"mailto:"+t,title:t}).text(t)),this.delegateEvents(),this}}),c.NumberCell=A.extend({className:"number-cell",decimals:b.prototype.defaults.decimals,decimalSeparator:b.prototype.defaults.decimalSeparator,orderSeparator:b.prototype.defaults.orderSeparator,formatter:b,initialize:function(e){q.__super__.initialize.apply(this,arguments);var t=this.formatter;t.decimals=this.decimals,t.decimalSeparator=this.decimalSeparator,t.orderSeparator=this.orderSeparator}})),y=(c.IntegerCell=q.extend({className:"integer-cell",decimals:0}),c.PercentCell=q.extend({className:"percent-cell",multiplier:M.prototype.defaults.multiplier,symbol:M.prototype.defaults.symbol,formatter:M,initialize:function(){y.__super__.initialize.apply(this,arguments);var e=this.formatter;e.multiplier=this.multiplier,e.symbol=this.symbol}})),g=c.DatetimeCell=A.extend({className:"datetime-cell",includeDate:u.prototype.defaults.includeDate,includeTime:u.prototype.defaults.includeTime,includeMilli:u.prototype.defaults.includeMilli,formatter:u,initialize:function(t){g.__super__.initialize.apply(this,arguments);var n=this.formatter;n.includeDate=this.includeDate,n.includeTime=this.includeTime,n.includeMilli=this.includeMilli;var o=this.includeDate?"YYYY-MM-DD":"";o+=this.includeDate&&this.includeTime?"T":"",o+=this.includeTime?"HH:mm:ss":"",o+=this.includeTime&&this.includeMilli?".SSS":"",this.editor=this.editor.extend({attributes:e.extend({},this.editor.prototype.attributes,this.editor.attributes,{placeholder:o})})}}),W=(c.DateCell=g.extend({className:"date-cell",includeTime:!1}),c.TimeCell=g.extend({className:"time-cell",includeDate:!1}),c.BooleanCellEditor=O.extend({tagName:"input",attributes:{tabIndex:-1,type:"checkbox"},events:{mousedown:function(){this.mouseDown=!0},blur:"enterOrExitEditMode",mouseup:function(){this.mouseDown=!1},change:"saveOrCancel",keydown:"saveOrCancel"},render:function(){var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.prop("checked",t),this},enterOrExitEditMode:function(e){if(!this.mouseDown){var t=this.model;t.trigger("backgrid:edited",t,this.column,new p(e))}},saveOrCancel:function(e){var t=this.model,n=this.column,o=this.formatter,r=new p(e);if(r.passThru()&&"change"!=e.type)return!0;r.cancel()&&(e.stopPropagation(),t.trigger("backgrid:edited",t,n,r));var a=this.$el;if(r.save()||r.moveLeft()||r.moveRight()||r.moveUp()||r.moveDown()){e.preventDefault(),e.stopPropagation();var i=o.toRaw(a.prop("checked"),t);t.set(n.get("name"),i),t.trigger("backgrid:edited",t,n,r)}else"change"==e.type&&(i=o.toRaw(a.prop("checked"),t),t.set(n.get("name"),i),a.focus())}})),v=(c.BooleanCell=A.extend({className:"boolean-cell",editor:W,events:{click:"enterEditMode"},render:function(){this.$el.empty();var e=this.model,t=this.column,n=c.callByNeed(t.editable(),t,e);return this.$el.append(i("",{tabIndex:-1,type:"checkbox",checked:this.formatter.fromRaw(e.get(t.get("name")),e),disabled:!n})),this.delegateEvents(),this}}),c.SelectCellEditor=O.extend({tagName:"select",events:{change:"save",blur:"close",keydown:"close"},template:e.template('',null,{variable:null,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}),setOptionValues:function(t){this.optionValues=t,this.optionValues=e.result(this,"optionValues")},setMultiple:function(e){this.multiple=e,this.$el.prop("multiple",e)},_renderOptions:function(t,n){for(var o="",r=0;r-1});return o},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n);if(!e.isArray(t))throw new TypeError("optionValues must be an array");for(var r=null,a=null,c=(r=null,null),p=null,s=0;s-1}));else{if(!e.isObject(r))throw new TypeError("optionValues elements must be a name-value pair or an object hash of { name: 'optgroup label', value: [option name-value pairs] }");c=r.name,(p=i("",{label:c})).append(this._renderOptions.call(this,r.values,o)),this.$el.append(p)}return this.delegateEvents(),this},save:function(e){var t=this.model,n=this.column;t.set(n.get("name"),this.formatter.toRaw(this.$el.val(),t))},close:function(e){var t=this.model,n=this.column,o=new p(e);o.cancel()?(e.stopPropagation(),t.trigger("backgrid:edited",t,n,new p(e))):(o.save()||o.moveLeft()||o.moveRight()||o.moveUp()||o.moveDown()||"blur"==e.type)&&(e.preventDefault(),e.stopPropagation(),this.save(e),t.trigger("backgrid:edited",t,n,new p(e)))}})),_=c.SelectCell=A.extend({className:"select-cell",editor:v,multiple:!1,formatter:d,optionValues:void 0,delimiter:", ",initialize:function(e){_.__super__.initialize.apply(this,arguments),this.listenTo(this.model,"backgrid:edit",(function(e,t,n,o){t.get("name")==this.column.get("name")&&(o.setOptionValues(this.optionValues),o.setMultiple(this.multiple))}))},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n),r=[];try{if(!e.isArray(t)||e.isEmpty(t))throw new TypeError;for(var a=0;a|Array.<{name: string, values: Array.}>}");throw e}return this.delegateEvents(),this}}),L=c.Column=t.Model.extend({defaults:{name:void 0,label:void 0,sortable:!0,editable:!0,renderable:!0,formatter:void 0,sortType:"cycle",sortValue:void 0,direction:null,cell:void 0,headerCell:void 0},initialize:function(){this.has("label")||this.set({label:this.get("name")},{silent:!0});var e=c.resolveNameToClass(this.get("headerCell"),"HeaderCell"),t=c.resolveNameToClass(this.get("cell"),"Cell");this.set({cell:t,headerCell:e},{silent:!0})},sortValue:function(){var t=this.get("sortValue");return e.isString(t)?this[t]:e.isFunction(t)?t:function(e,t){return e.get(t)}}});e.each(["sortable","renderable","editable"],(function(t){L.prototype[t]=function(){var n=this.get(t);return e.isString(n)?this[n]:e.isFunction(n)?n:!!n}}));var R=c.Columns=t.Collection.extend({model:L}),w=c.Row=t.View.extend({tagName:"tr",initialize:function(e){var n=this.columns=e.columns;n instanceof t.Collection||(n=this.columns=new R(n));for(var o=this.cells=[],r=0;r").text(t.get("label")).append(""):document.createTextNode(t.get("label")),this.$el.append(e),this.$el.addClass(t.get("name")),this.$el.addClass(t.get("direction")),this.delegateEvents(),this}}),S=(c.HeaderRow=c.Row.extend({initialize:function(){c.Row.prototype.initialize.apply(this,arguments)},makeCell:function(e,t){var n=e.get("headerCell")||t.headerCell||N;return n=new n({column:e,collection:this.collection})}}),c.Header=t.View.extend({tagName:"thead",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=new c.HeaderRow({columns:this.columns,collection:this.collection})},render:function(){return this.$el.append(this.row.render().$el),this.delegateEvents(),this},remove:function(){return this.row.remove.apply(this.row,arguments),t.View.prototype.remove.apply(this,arguments)}})),k=c.Body=t.View.extend({tagName:"tbody",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=e.row||this.row||w,this.rows=this.collection.map((function(e){return new this.row({columns:this.columns,model:e})}),this),this.emptyText=e.emptyText,this._unshiftEmptyRowMayBe();var n=this.collection;this.listenTo(n,"add",this.insertRow),this.listenTo(n,"remove",this.removeRow),this.listenTo(n,"sort",this.refresh),this.listenTo(n,"reset",this.refresh),this.listenTo(n,"backgrid:sort",this.sort),this.listenTo(n,"backgrid:edited",this.moveToNextCell),this.listenTo(this.columns,"add remove",this.updateEmptyRow)},_unshiftEmptyRowMayBe:function(){if(0===this.rows.length&&null!=this.emptyText)return this.emptyRow=new T({emptyText:this.emptyText,columns:this.columns}),this.rows.unshift(this.emptyRow),!0},insertRow:function(e,n,o){if(this.rows[0]instanceof T&&this.rows.pop().remove(),n instanceof t.Collection||o){var r=new this.row({columns:this.columns,model:e}),a=n.indexOf(e);this.rows.splice(a,0,r);var i=this.$el,c=i.children(),p=r.render().$el;return a>=c.length?i.append(p):c.eq(a).before(p),this}this.collection.add(e,o=n)},removeRow:function(t,n,o){return o?((e.isUndefined(o.render)||o.render)&&this.rows[o.index].remove(),this.rows.splice(o.index,1),this._unshiftEmptyRowMayBe()&&this.render(),this):(this.collection.remove(t,o=n),void(this._unshiftEmptyRowMayBe()&&this.render()))},updateEmptyRow:function(){null!=this.emptyRow&&this.emptyRow.render()},refresh:function(){for(var e=0;e=0&&d").text(this.caption)),this.header&&this.$el.append(this.header.render().$el),this.footer&&this.$el.append(this.footer.render().$el),this.$el.append(this.body.render().$el),this.delegateEvents(),this.trigger("backgrid:rendered",this),this},remove:function(){return this.header&&this.header.remove.apply(this.header,arguments),this.body.remove.apply(this.body,arguments),this.footer&&this.footer.remove.apply(this.footer,arguments),t.View.prototype.remove.apply(this,arguments)}}),c}(e,t)}.apply(t,o))||(e.exports=r)},function(e,t,n){(function(o){var r,a,i;i="object"==typeof self&&self.self==self&&self||"object"==typeof o&&o.global==o&&o,r=[n(10),n(16),t],void 0===(a=function(e,t,n){i.Backbone=function(e,t,n,o){var r=e.Backbone,a=Array.prototype.slice;t.VERSION="1.2.3",t.$=o,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var i=function(e,t,o){n.each(t,(function(t,r){n[r]&&(e.prototype[r]=function(e,t,o){switch(e){case 1:return function(){return n[t](this[o])};case 2:return function(e){return n[t](this[o],e)};case 3:return function(e,r){return n[t](this[o],c(e,this),r)};case 4:return function(e,r,a){return n[t](this[o],c(e,this),r,a)};default:return function(){var e=a.call(arguments);return e.unshift(this[o]),n[t].apply(n,e)}}}(t,r,o))}))},c=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?p(e):n.isString(e)?function(t){return t.get(e)}:e},p=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},s=t.Events={},b=/\s+/,M=function(e,t,o,r,a){var i,c=0;if(o&&"object"==typeof o){void 0!==r&&"context"in a&&void 0===a.context&&(a.context=r);for(i=n.keys(o);c7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(E,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var o=document.body,r=o.insertBefore(this.iframe,o.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),S.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!S.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var o=n+e;if(e=this.decodeFragment(e.replace(B,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,o);else{if(!this._wantsHashChange)return this.location.assign(o);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var o=e.href.replace(/(javascript:|#).*$/,"");e.replace(o+"#"+t)}else e.hash="#"+t}}),t.history=new S,A.extend=m.extend=L.extend=g.extend=S.extend=function(e,t){var o,r=this;o=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(o,r,t);var a=function(){this.constructor=o};return a.prototype=r.prototype,o.prototype=new a,e&&n.extend(o.prototype,e),o.__super__=r.prototype,o};var x=function(){throw new Error('A "url" property or function must be specified')},D=function(e,t){var n=t.error;t.error=function(o){n&&n.call(t.context,e,o,t),e.trigger("error",e,o,t)}};return t}(i,n,e,t)}.apply(t,r))||(e.exports=a)}).call(this,n(9))},function(e,t,n){var o={"./af":35,"./af.js":35,"./ar":36,"./ar-dz":37,"./ar-dz.js":37,"./ar-kw":38,"./ar-kw.js":38,"./ar-ly":39,"./ar-ly.js":39,"./ar-ma":40,"./ar-ma.js":40,"./ar-ps":41,"./ar-ps.js":41,"./ar-sa":42,"./ar-sa.js":42,"./ar-tn":43,"./ar-tn.js":43,"./ar.js":36,"./az":44,"./az.js":44,"./be":45,"./be.js":45,"./bg":46,"./bg.js":46,"./bm":47,"./bm.js":47,"./bn":48,"./bn-bd":49,"./bn-bd.js":49,"./bn.js":48,"./bo":50,"./bo.js":50,"./br":51,"./br.js":51,"./bs":52,"./bs.js":52,"./ca":53,"./ca.js":53,"./cs":54,"./cs.js":54,"./cv":55,"./cv.js":55,"./cy":56,"./cy.js":56,"./da":57,"./da.js":57,"./de":58,"./de-at":59,"./de-at.js":59,"./de-ch":60,"./de-ch.js":60,"./de.js":58,"./dv":61,"./dv.js":61,"./el":62,"./el.js":62,"./en-au":63,"./en-au.js":63,"./en-ca":64,"./en-ca.js":64,"./en-gb":65,"./en-gb.js":65,"./en-ie":66,"./en-ie.js":66,"./en-il":67,"./en-il.js":67,"./en-in":68,"./en-in.js":68,"./en-nz":69,"./en-nz.js":69,"./en-sg":70,"./en-sg.js":70,"./eo":71,"./eo.js":71,"./es":72,"./es-do":73,"./es-do.js":73,"./es-mx":74,"./es-mx.js":74,"./es-us":75,"./es-us.js":75,"./es.js":72,"./et":76,"./et.js":76,"./eu":77,"./eu.js":77,"./fa":78,"./fa.js":78,"./fi":79,"./fi.js":79,"./fil":80,"./fil.js":80,"./fo":81,"./fo.js":81,"./fr":82,"./fr-ca":83,"./fr-ca.js":83,"./fr-ch":84,"./fr-ch.js":84,"./fr.js":82,"./fy":85,"./fy.js":85,"./ga":86,"./ga.js":86,"./gd":87,"./gd.js":87,"./gl":88,"./gl.js":88,"./gom-deva":89,"./gom-deva.js":89,"./gom-latn":90,"./gom-latn.js":90,"./gu":91,"./gu.js":91,"./he":92,"./he.js":92,"./hi":93,"./hi.js":93,"./hr":94,"./hr.js":94,"./hu":95,"./hu.js":95,"./hy-am":96,"./hy-am.js":96,"./id":97,"./id.js":97,"./is":98,"./is.js":98,"./it":99,"./it-ch":100,"./it-ch.js":100,"./it.js":99,"./ja":101,"./ja.js":101,"./jv":102,"./jv.js":102,"./ka":103,"./ka.js":103,"./kk":104,"./kk.js":104,"./km":105,"./km.js":105,"./kn":106,"./kn.js":106,"./ko":107,"./ko.js":107,"./ku":108,"./ku-kmr":109,"./ku-kmr.js":109,"./ku.js":108,"./ky":110,"./ky.js":110,"./lb":111,"./lb.js":111,"./lo":112,"./lo.js":112,"./lt":113,"./lt.js":113,"./lv":114,"./lv.js":114,"./me":115,"./me.js":115,"./mi":116,"./mi.js":116,"./mk":117,"./mk.js":117,"./ml":118,"./ml.js":118,"./mn":119,"./mn.js":119,"./mr":120,"./mr.js":120,"./ms":121,"./ms-my":122,"./ms-my.js":122,"./ms.js":121,"./mt":123,"./mt.js":123,"./my":124,"./my.js":124,"./nb":125,"./nb.js":125,"./ne":126,"./ne.js":126,"./nl":127,"./nl-be":128,"./nl-be.js":128,"./nl.js":127,"./nn":129,"./nn.js":129,"./oc-lnc":130,"./oc-lnc.js":130,"./pa-in":131,"./pa-in.js":131,"./pl":132,"./pl.js":132,"./pt":133,"./pt-br":134,"./pt-br.js":134,"./pt.js":133,"./ro":135,"./ro.js":135,"./ru":136,"./ru.js":136,"./sd":137,"./sd.js":137,"./se":138,"./se.js":138,"./si":139,"./si.js":139,"./sk":140,"./sk.js":140,"./sl":141,"./sl.js":141,"./sq":142,"./sq.js":142,"./sr":143,"./sr-cyrl":144,"./sr-cyrl.js":144,"./sr.js":143,"./ss":145,"./ss.js":145,"./sv":146,"./sv.js":146,"./sw":147,"./sw.js":147,"./ta":148,"./ta.js":148,"./te":149,"./te.js":149,"./tet":150,"./tet.js":150,"./tg":151,"./tg.js":151,"./th":152,"./th.js":152,"./tk":153,"./tk.js":153,"./tl-ph":154,"./tl-ph.js":154,"./tlh":155,"./tlh.js":155,"./tr":156,"./tr.js":156,"./tzl":157,"./tzl.js":157,"./tzm":158,"./tzm-latn":159,"./tzm-latn.js":159,"./tzm.js":158,"./ug-cn":160,"./ug-cn.js":160,"./uk":161,"./uk.js":161,"./ur":162,"./ur.js":162,"./uz":163,"./uz-latn":164,"./uz-latn.js":164,"./uz.js":163,"./vi":165,"./vi.js":165,"./x-pseudo":166,"./x-pseudo.js":166,"./yo":167,"./yo.js":167,"./zh-cn":168,"./zh-cn.js":168,"./zh-hk":169,"./zh-hk.js":169,"./zh-mo":170,"./zh-mo.js":170,"./zh-tw":171,"./zh-tw.js":171};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=a,e.exports=r,r.id=189},function(e,t,n){(e.exports=n(191)).tz.load(n(192))},function(e,t,n){var o,r,a;//! moment-timezone.js +a=this,o=[n(10),n(189)],void 0===(r=function(e,t){return a.Backgrid=function(e,t){"use strict";var n="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff";if(!String.prototype.trim||n.trim()){n="["+n+"]";var o=new RegExp("^"+n+n+"*"),r=new RegExp(n+n+"*$");String.prototype.trim=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(o,"").replace(r,"")}}function a(e,t,n){var o=t-(e+"").length;o=o<0?0:o;for(var r="",a=0;a20)throw new RangeError("decimals must be between 0 and 20")};b.prototype=new s,e.extend(b.prototype,{defaults:{decimals:2,decimalSeparator:".",orderSeparator:","},HUMANIZED_NUM_RE:/(\d)(?=(?:\d{3})+$)/g,fromRaw:function(t,n){if(e.isNull(t)||e.isUndefined(t))return"";var o=(t=parseFloat(t).toFixed(~~this.decimals)).split("."),r=o[0],a=o[1]?(this.decimalSeparator||".")+o[1]:"";return r.replace(this.HUMANIZED_NUM_RE,"$1"+this.orderSeparator)+a},toRaw:function(t,n){if(""===(t=t.trim()))return null;for(var o="",r=t.split(this.orderSeparator),a=0;a",{tabIndex:-1,href:e,title:this.title||t,target:this.target}).text(t)),this.delegateEvents(),this}}),q=(c.EmailCell=m.extend({className:"email-cell",formatter:z,render:function(){this.$el.empty();var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.append(i("",{tabIndex:-1,href:"mailto:"+t,title:t}).text(t)),this.delegateEvents(),this}}),c.NumberCell=A.extend({className:"number-cell",decimals:b.prototype.defaults.decimals,decimalSeparator:b.prototype.defaults.decimalSeparator,orderSeparator:b.prototype.defaults.orderSeparator,formatter:b,initialize:function(e){q.__super__.initialize.apply(this,arguments);var t=this.formatter;t.decimals=this.decimals,t.decimalSeparator=this.decimalSeparator,t.orderSeparator=this.orderSeparator}})),y=(c.IntegerCell=q.extend({className:"integer-cell",decimals:0}),c.PercentCell=q.extend({className:"percent-cell",multiplier:M.prototype.defaults.multiplier,symbol:M.prototype.defaults.symbol,formatter:M,initialize:function(){y.__super__.initialize.apply(this,arguments);var e=this.formatter;e.multiplier=this.multiplier,e.symbol=this.symbol}})),g=c.DatetimeCell=A.extend({className:"datetime-cell",includeDate:u.prototype.defaults.includeDate,includeTime:u.prototype.defaults.includeTime,includeMilli:u.prototype.defaults.includeMilli,formatter:u,initialize:function(t){g.__super__.initialize.apply(this,arguments);var n=this.formatter;n.includeDate=this.includeDate,n.includeTime=this.includeTime,n.includeMilli=this.includeMilli;var o=this.includeDate?"YYYY-MM-DD":"";o+=this.includeDate&&this.includeTime?"T":"",o+=this.includeTime?"HH:mm:ss":"",o+=this.includeTime&&this.includeMilli?".SSS":"",this.editor=this.editor.extend({attributes:e.extend({},this.editor.prototype.attributes,this.editor.attributes,{placeholder:o})})}}),W=(c.DateCell=g.extend({className:"date-cell",includeTime:!1}),c.TimeCell=g.extend({className:"time-cell",includeDate:!1}),c.BooleanCellEditor=O.extend({tagName:"input",attributes:{tabIndex:-1,type:"checkbox"},events:{mousedown:function(){this.mouseDown=!0},blur:"enterOrExitEditMode",mouseup:function(){this.mouseDown=!1},change:"saveOrCancel",keydown:"saveOrCancel"},render:function(){var e=this.model,t=this.formatter.fromRaw(e.get(this.column.get("name")),e);return this.$el.prop("checked",t),this},enterOrExitEditMode:function(e){if(!this.mouseDown){var t=this.model;t.trigger("backgrid:edited",t,this.column,new p(e))}},saveOrCancel:function(e){var t=this.model,n=this.column,o=this.formatter,r=new p(e);if(r.passThru()&&"change"!=e.type)return!0;r.cancel()&&(e.stopPropagation(),t.trigger("backgrid:edited",t,n,r));var a=this.$el;if(r.save()||r.moveLeft()||r.moveRight()||r.moveUp()||r.moveDown()){e.preventDefault(),e.stopPropagation();var i=o.toRaw(a.prop("checked"),t);t.set(n.get("name"),i),t.trigger("backgrid:edited",t,n,r)}else"change"==e.type&&(i=o.toRaw(a.prop("checked"),t),t.set(n.get("name"),i),a.focus())}})),v=(c.BooleanCell=A.extend({className:"boolean-cell",editor:W,events:{click:"enterEditMode"},render:function(){this.$el.empty();var e=this.model,t=this.column,n=c.callByNeed(t.editable(),t,e);return this.$el.append(i("",{tabIndex:-1,type:"checkbox",checked:this.formatter.fromRaw(e.get(t.get("name")),e),disabled:!n})),this.delegateEvents(),this}}),c.SelectCellEditor=O.extend({tagName:"select",events:{change:"save",blur:"close",keydown:"close"},template:e.template('',null,{variable:null,evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}),setOptionValues:function(t){this.optionValues=t,this.optionValues=e.result(this,"optionValues")},setMultiple:function(e){this.multiple=e,this.$el.prop("multiple",e)},_renderOptions:function(t,n){for(var o="",r=0;r-1});return o},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n);if(!e.isArray(t))throw new TypeError("optionValues must be an array");for(var r=null,a=null,c=(r=null,null),p=null,s=0;s-1}));else{if(!e.isObject(r))throw new TypeError("optionValues elements must be a name-value pair or an object hash of { name: 'optgroup label', value: [option name-value pairs] }");c=r.name,(p=i("",{label:c})).append(this._renderOptions.call(this,r.values,o)),this.$el.append(p)}return this.delegateEvents(),this},save:function(e){var t=this.model,n=this.column;t.set(n.get("name"),this.formatter.toRaw(this.$el.val(),t))},close:function(e){var t=this.model,n=this.column,o=new p(e);o.cancel()?(e.stopPropagation(),t.trigger("backgrid:edited",t,n,new p(e))):(o.save()||o.moveLeft()||o.moveRight()||o.moveUp()||o.moveDown()||"blur"==e.type)&&(e.preventDefault(),e.stopPropagation(),this.save(e),t.trigger("backgrid:edited",t,n,new p(e)))}})),_=c.SelectCell=A.extend({className:"select-cell",editor:v,multiple:!1,formatter:d,optionValues:void 0,delimiter:", ",initialize:function(e){_.__super__.initialize.apply(this,arguments),this.listenTo(this.model,"backgrid:edit",(function(e,t,n,o){t.get("name")==this.column.get("name")&&(o.setOptionValues(this.optionValues),o.setMultiple(this.multiple))}))},render:function(){this.$el.empty();var t=e.result(this,"optionValues"),n=this.model,o=this.formatter.fromRaw(n.get(this.column.get("name")),n),r=[];try{if(!e.isArray(t)||e.isEmpty(t))throw new TypeError;for(var a=0;a|Array.<{name: string, values: Array.}>}");throw e}return this.delegateEvents(),this}}),L=c.Column=t.Model.extend({defaults:{name:void 0,label:void 0,sortable:!0,editable:!0,renderable:!0,formatter:void 0,sortType:"cycle",sortValue:void 0,direction:null,cell:void 0,headerCell:void 0},initialize:function(){this.has("label")||this.set({label:this.get("name")},{silent:!0});var e=c.resolveNameToClass(this.get("headerCell"),"HeaderCell"),t=c.resolveNameToClass(this.get("cell"),"Cell");this.set({cell:t,headerCell:e},{silent:!0})},sortValue:function(){var t=this.get("sortValue");return e.isString(t)?this[t]:e.isFunction(t)?t:function(e,t){return e.get(t)}}});e.each(["sortable","renderable","editable"],(function(t){L.prototype[t]=function(){var n=this.get(t);return e.isString(n)?this[n]:e.isFunction(n)?n:!!n}}));var R=c.Columns=t.Collection.extend({model:L}),w=c.Row=t.View.extend({tagName:"tr",initialize:function(e){var n=this.columns=e.columns;n instanceof t.Collection||(n=this.columns=new R(n));for(var o=this.cells=[],r=0;r").text(t.get("label")).append(""):document.createTextNode(t.get("label")),this.$el.append(e),this.$el.addClass(t.get("name")),this.$el.addClass(t.get("direction")),this.delegateEvents(),this}}),S=(c.HeaderRow=c.Row.extend({initialize:function(){c.Row.prototype.initialize.apply(this,arguments)},makeCell:function(e,t){var n=e.get("headerCell")||t.headerCell||N;return n=new n({column:e,collection:this.collection})}}),c.Header=t.View.extend({tagName:"thead",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=new c.HeaderRow({columns:this.columns,collection:this.collection})},render:function(){return this.$el.append(this.row.render().$el),this.delegateEvents(),this},remove:function(){return this.row.remove.apply(this.row,arguments),t.View.prototype.remove.apply(this,arguments)}})),k=c.Body=t.View.extend({tagName:"tbody",initialize:function(e){this.columns=e.columns,this.columns instanceof t.Collection||(this.columns=new R(this.columns)),this.row=e.row||this.row||w,this.rows=this.collection.map((function(e){return new this.row({columns:this.columns,model:e})}),this),this.emptyText=e.emptyText,this._unshiftEmptyRowMayBe();var n=this.collection;this.listenTo(n,"add",this.insertRow),this.listenTo(n,"remove",this.removeRow),this.listenTo(n,"sort",this.refresh),this.listenTo(n,"reset",this.refresh),this.listenTo(n,"backgrid:sort",this.sort),this.listenTo(n,"backgrid:edited",this.moveToNextCell),this.listenTo(this.columns,"add remove",this.updateEmptyRow)},_unshiftEmptyRowMayBe:function(){if(0===this.rows.length&&null!=this.emptyText)return this.emptyRow=new T({emptyText:this.emptyText,columns:this.columns}),this.rows.unshift(this.emptyRow),!0},insertRow:function(e,n,o){if(this.rows[0]instanceof T&&this.rows.pop().remove(),n instanceof t.Collection||o){var r=new this.row({columns:this.columns,model:e}),a=n.indexOf(e);this.rows.splice(a,0,r);var i=this.$el,c=i.children(),p=r.render().$el;return a>=c.length?i.append(p):c.eq(a).before(p),this}this.collection.add(e,o=n)},removeRow:function(t,n,o){return o?((e.isUndefined(o.render)||o.render)&&this.rows[o.index].remove(),this.rows.splice(o.index,1),this._unshiftEmptyRowMayBe()&&this.render(),this):(this.collection.remove(t,o=n),void(this._unshiftEmptyRowMayBe()&&this.render()))},updateEmptyRow:function(){null!=this.emptyRow&&this.emptyRow.render()},refresh:function(){for(var e=0;e=0&&d").text(this.caption)),this.header&&this.$el.append(this.header.render().$el),this.footer&&this.$el.append(this.footer.render().$el),this.$el.append(this.body.render().$el),this.delegateEvents(),this.trigger("backgrid:rendered",this),this},remove:function(){return this.header&&this.header.remove.apply(this.header,arguments),this.body.remove.apply(this.body,arguments),this.footer&&this.footer.remove.apply(this.footer,arguments),t.View.prototype.remove.apply(this,arguments)}}),c}(e,t)}.apply(t,o))||(e.exports=r)},function(e,t,n){(function(o){var r,a,i;i="object"==typeof self&&self.self==self&&self||"object"==typeof o&&o.global==o&&o,r=[n(10),n(17),t],void 0===(a=function(e,t,n){i.Backbone=function(e,t,n,o){var r=e.Backbone,a=Array.prototype.slice;t.VERSION="1.2.3",t.$=o,t.noConflict=function(){return e.Backbone=r,this},t.emulateHTTP=!1,t.emulateJSON=!1;var i=function(e,t,o){n.each(t,(function(t,r){n[r]&&(e.prototype[r]=function(e,t,o){switch(e){case 1:return function(){return n[t](this[o])};case 2:return function(e){return n[t](this[o],e)};case 3:return function(e,r){return n[t](this[o],c(e,this),r)};case 4:return function(e,r,a){return n[t](this[o],c(e,this),r,a)};default:return function(){var e=a.call(arguments);return e.unshift(this[o]),n[t].apply(n,e)}}}(t,r,o))}))},c=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?p(e):n.isString(e)?function(t){return t.get(e)}:e},p=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},s=t.Events={},b=/\s+/,M=function(e,t,o,r,a){var i,c=0;if(o&&"object"==typeof o){void 0!==r&&"context"in a&&void 0===a.context&&(a.context=r);for(i=n.keys(o);c7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(E,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var o=document.body,r=o.insertBefore(this.iframe,o.firstChild).contentWindow;r.document.open(),r.document.close(),r.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),S.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!S.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var o=n+e;if(e=this.decodeFragment(e.replace(B,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,o);else{if(!this._wantsHashChange)return this.location.assign(o);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var r=this.iframe.contentWindow;t.replace||(r.document.open(),r.document.close()),this._updateHash(r.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var o=e.href.replace(/(javascript:|#).*$/,"");e.replace(o+"#"+t)}else e.hash="#"+t}}),t.history=new S,A.extend=m.extend=L.extend=g.extend=S.extend=function(e,t){var o,r=this;o=e&&n.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},n.extend(o,r,t);var a=function(){this.constructor=o};return a.prototype=r.prototype,o.prototype=new a,e&&n.extend(o.prototype,e),o.__super__=r.prototype,o};var x=function(){throw new Error('A "url" property or function must be specified')},D=function(e,t){var n=t.error;t.error=function(o){n&&n.call(t.context,e,o,t),e.trigger("error",e,o,t)}};return t}(i,n,e,t)}.apply(t,r))||(e.exports=a)}).call(this,n(9))},function(e,t,n){var o={"./af":36,"./af.js":36,"./ar":37,"./ar-dz":38,"./ar-dz.js":38,"./ar-kw":39,"./ar-kw.js":39,"./ar-ly":40,"./ar-ly.js":40,"./ar-ma":41,"./ar-ma.js":41,"./ar-ps":42,"./ar-ps.js":42,"./ar-sa":43,"./ar-sa.js":43,"./ar-tn":44,"./ar-tn.js":44,"./ar.js":37,"./az":45,"./az.js":45,"./be":46,"./be.js":46,"./bg":47,"./bg.js":47,"./bm":48,"./bm.js":48,"./bn":49,"./bn-bd":50,"./bn-bd.js":50,"./bn.js":49,"./bo":51,"./bo.js":51,"./br":52,"./br.js":52,"./bs":53,"./bs.js":53,"./ca":54,"./ca.js":54,"./cs":55,"./cs.js":55,"./cv":56,"./cv.js":56,"./cy":57,"./cy.js":57,"./da":58,"./da.js":58,"./de":59,"./de-at":60,"./de-at.js":60,"./de-ch":61,"./de-ch.js":61,"./de.js":59,"./dv":62,"./dv.js":62,"./el":63,"./el.js":63,"./en-au":64,"./en-au.js":64,"./en-ca":65,"./en-ca.js":65,"./en-gb":66,"./en-gb.js":66,"./en-ie":67,"./en-ie.js":67,"./en-il":68,"./en-il.js":68,"./en-in":69,"./en-in.js":69,"./en-nz":70,"./en-nz.js":70,"./en-sg":71,"./en-sg.js":71,"./eo":72,"./eo.js":72,"./es":73,"./es-do":74,"./es-do.js":74,"./es-mx":75,"./es-mx.js":75,"./es-us":76,"./es-us.js":76,"./es.js":73,"./et":77,"./et.js":77,"./eu":78,"./eu.js":78,"./fa":79,"./fa.js":79,"./fi":80,"./fi.js":80,"./fil":81,"./fil.js":81,"./fo":82,"./fo.js":82,"./fr":83,"./fr-ca":84,"./fr-ca.js":84,"./fr-ch":85,"./fr-ch.js":85,"./fr.js":83,"./fy":86,"./fy.js":86,"./ga":87,"./ga.js":87,"./gd":88,"./gd.js":88,"./gl":89,"./gl.js":89,"./gom-deva":90,"./gom-deva.js":90,"./gom-latn":91,"./gom-latn.js":91,"./gu":92,"./gu.js":92,"./he":93,"./he.js":93,"./hi":94,"./hi.js":94,"./hr":95,"./hr.js":95,"./hu":96,"./hu.js":96,"./hy-am":97,"./hy-am.js":97,"./id":98,"./id.js":98,"./is":99,"./is.js":99,"./it":100,"./it-ch":101,"./it-ch.js":101,"./it.js":100,"./ja":102,"./ja.js":102,"./jv":103,"./jv.js":103,"./ka":104,"./ka.js":104,"./kk":105,"./kk.js":105,"./km":106,"./km.js":106,"./kn":107,"./kn.js":107,"./ko":108,"./ko.js":108,"./ku":109,"./ku-kmr":110,"./ku-kmr.js":110,"./ku.js":109,"./ky":111,"./ky.js":111,"./lb":112,"./lb.js":112,"./lo":113,"./lo.js":113,"./lt":114,"./lt.js":114,"./lv":115,"./lv.js":115,"./me":116,"./me.js":116,"./mi":117,"./mi.js":117,"./mk":118,"./mk.js":118,"./ml":119,"./ml.js":119,"./mn":120,"./mn.js":120,"./mr":121,"./mr.js":121,"./ms":122,"./ms-my":123,"./ms-my.js":123,"./ms.js":122,"./mt":124,"./mt.js":124,"./my":125,"./my.js":125,"./nb":126,"./nb.js":126,"./ne":127,"./ne.js":127,"./nl":128,"./nl-be":129,"./nl-be.js":129,"./nl.js":128,"./nn":130,"./nn.js":130,"./oc-lnc":131,"./oc-lnc.js":131,"./pa-in":132,"./pa-in.js":132,"./pl":133,"./pl.js":133,"./pt":134,"./pt-br":135,"./pt-br.js":135,"./pt.js":134,"./ro":136,"./ro.js":136,"./ru":137,"./ru.js":137,"./sd":138,"./sd.js":138,"./se":139,"./se.js":139,"./si":140,"./si.js":140,"./sk":141,"./sk.js":141,"./sl":142,"./sl.js":142,"./sq":143,"./sq.js":143,"./sr":144,"./sr-cyrl":145,"./sr-cyrl.js":145,"./sr.js":144,"./ss":146,"./ss.js":146,"./sv":147,"./sv.js":147,"./sw":148,"./sw.js":148,"./ta":149,"./ta.js":149,"./te":150,"./te.js":150,"./tet":151,"./tet.js":151,"./tg":152,"./tg.js":152,"./th":153,"./th.js":153,"./tk":154,"./tk.js":154,"./tl-ph":155,"./tl-ph.js":155,"./tlh":156,"./tlh.js":156,"./tr":157,"./tr.js":157,"./tzl":158,"./tzl.js":158,"./tzm":159,"./tzm-latn":160,"./tzm-latn.js":160,"./tzm.js":159,"./ug-cn":161,"./ug-cn.js":161,"./uk":162,"./uk.js":162,"./ur":163,"./ur.js":163,"./uz":164,"./uz-latn":165,"./uz-latn.js":165,"./uz.js":164,"./vi":166,"./vi.js":166,"./x-pseudo":167,"./x-pseudo.js":167,"./yo":168,"./yo.js":168,"./zh-cn":169,"./zh-cn.js":169,"./zh-hk":170,"./zh-hk.js":170,"./zh-mo":171,"./zh-mo.js":171,"./zh-tw":172,"./zh-tw.js":172};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=a,e.exports=r,r.id=190},function(e,t,n){(e.exports=n(192)).tz.load(n(193))},function(e,t,n){var o,r,a;//! moment-timezone.js //! version : 0.5.46 //! Copyright (c) JS Foundation and other contributors //! license : MIT @@ -327,7 +327,7 @@ a=this,o=[n(10),n(188)],void 0===(r=function(e,t){return a.Backgrid=function(e,t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var o=n(25),r=60103,a=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,c=60110,p=60112;t.Suspense=60113;var s=60115,b=60116;if("function"==typeof Symbol&&Symbol.for){var M=Symbol.for;r=M("react.element"),a=M("react.portal"),t.Fragment=M("react.fragment"),t.StrictMode=M("react.strict_mode"),t.Profiler=M("react.profiler"),i=M("react.provider"),c=M("react.context"),p=M("react.forward_ref"),t.Suspense=M("react.suspense"),s=M("react.memo"),b=M("react.lazy")}var u="function"==typeof Symbol&&Symbol.iterator;function l(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n