Skip to content
Snippets Groups Projects
index.js 7.4 MiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
            },
            relativeTime: {
                future: '%s tới',
                past: '%s trước',
                s: 'vài giây',
                ss: '%d giây',
                m: 'một phút',
                mm: '%d phút',
                h: 'một giờ',
                hh: '%d giờ',
                d: 'một ngày',
                dd: '%d ngày',
                w: 'một tuần',
                ww: '%d tuần',
                M: 'một tháng',
                MM: '%d tháng',
                y: 'một năm',
                yy: '%d năm',
            },
            dayOfMonthOrdinalParse: /\d{1,2}/,
            ordinal: function (number) {
                return number;
            },
            week: {
                dow: 1, // Monday is the first day of the week.
                doy: 4, // The week that contains Jan 4th is the first week of the year.
            },
        });
    
        return vi;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1504 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Pseudo [x-pseudo]
    //! author : Andrew Hood : https://github.com/andrewhood125
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var xPseudo = moment.defineLocale('x-pseudo', {
            months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
                '_'
            ),
            monthsShort:
                'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
                    '_'
                ),
            monthsParseExact: true,
            weekdays:
                'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
                    '_'
                ),
            weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
            weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
            weekdaysParseExact: true,
            longDateFormat: {
                LT: 'HH:mm',
                L: 'DD/MM/YYYY',
                LL: 'D MMMM YYYY',
                LLL: 'D MMMM YYYY HH:mm',
                LLLL: 'dddd, D MMMM YYYY HH:mm',
            },
            calendar: {
                sameDay: '[T~ódá~ý át] LT',
                nextDay: '[T~ómó~rró~w át] LT',
                nextWeek: 'dddd [át] LT',
                lastDay: '[Ý~ést~érdá~ý át] LT',
                lastWeek: '[L~ást] dddd [át] LT',
                sameElse: 'L',
            },
            relativeTime: {
                future: 'í~ñ %s',
                past: '%s á~gó',
                s: 'á ~féw ~sécó~ñds',
                ss: '%d s~écóñ~ds',
                m: 'á ~míñ~úté',
                mm: '%d m~íñú~tés',
                h: 'á~ñ hó~úr',
                hh: '%d h~óúrs',
                d: 'á ~dáý',
                dd: '%d d~áýs',
                M: 'á ~móñ~th',
                MM: '%d m~óñt~hs',
                y: 'á ~ýéár',
                yy: '%d ý~éárs',
            },
            dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
            ordinal: function (number) {
                var b = number % 10,
                    output =
                        ~~((number % 100) / 10) === 1
                            ? 'th'
                            : b === 1
                            ? 'st'
                            : b === 2
                            ? 'nd'
                            : b === 3
                            ? 'rd'
                            : 'th';
                return number + output;
            },
            week: {
                dow: 1, // Monday is the first day of the week.
                doy: 4, // The week that contains Jan 4th is the first week of the year.
            },
        });
    
        return xPseudo;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1505 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Yoruba Nigeria [yo]
    //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var yo = moment.defineLocale('yo', {
            months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
                '_'
            ),
            monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
            weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
            weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
            weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
            longDateFormat: {
                LT: 'h:mm A',
                LTS: 'h:mm:ss A',
                L: 'DD/MM/YYYY',
                LL: 'D MMMM YYYY',
                LLL: 'D MMMM YYYY h:mm A',
                LLLL: 'dddd, D MMMM YYYY h:mm A',
            },
            calendar: {
                sameDay: '[Ònì ni] LT',
                nextDay: '[Ọ̀la ni] LT',
                nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
                lastDay: '[Àna ni] LT',
                lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
                sameElse: 'L',
            },
            relativeTime: {
                future: 'ní %s',
                past: '%s kọjá',
                s: 'ìsẹjú aayá die',
                ss: 'aayá %d',
                m: 'ìsẹjú kan',
                mm: 'ìsẹjú %d',
                h: 'wákati kan',
                hh: 'wákati %d',
                d: 'ọjọ́ kan',
                dd: 'ọjọ́ %d',
                M: 'osù kan',
                MM: 'osù %d',
                y: 'ọdún kan',
                yy: 'ọdún %d',
            },
            dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
            ordinal: 'ọjọ́ %d',
            week: {
                dow: 1, // Monday is the first day of the week.
                doy: 4, // The week that contains Jan 4th is the first week of the year.
            },
        });
    
        return yo;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1506 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Chinese (China) [zh-cn]
    //! author : suupic : https://github.com/suupic
    //! author : Zeno Zeng : https://github.com/zenozeng
    //! author : uu109 : https://github.com/uu109
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var zhCn = moment.defineLocale('zh-cn', {
            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日Ah点mm分',
                LLLL: 'YYYY年M月D日ddddAh点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 (hour, meridiem) {
                if (hour === 12) {
                    hour = 0;
                }
                if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                    return hour;
                } else if (meridiem === '下午' || meridiem === '晚上') {
                    return hour + 12;
                } else {
                    // '中午'
                    return hour >= 11 ? hour : hour + 12;
                }
            },
            meridiem: function (hour, minute, isLower) {
                var hm = hour * 100 + minute;
                if (hm < 600) {
                    return '凌晨';
                } else if (hm < 900) {
                    return '早上';
                } else if (hm < 1130) {
                    return '上午';
                } else if (hm < 1230) {
                    return '中午';
                } else if (hm < 1800) {
                    return '下午';
                } else {
                    return '晚上';
                }
            },
            calendar: {
                sameDay: '[今天]LT',
                nextDay: '[明天]LT',
                nextWeek: function (now) {
                    if (now.week() !== this.week()) {
                        return '[下]dddLT';
                    } else {
                        return '[本]dddLT';
                    }
                },
                lastDay: '[昨天]LT',
                lastWeek: function (now) {
                    if (this.week() !== now.week()) {
                        return '[上]dddLT';
                    } else {
                        return '[本]dddLT';
                    }
                },
                sameElse: 'L',
            },
            dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
            ordinal: function (number, period) {
                switch (period) {
                    case 'd':
                    case 'D':
                    case 'DDD':
                        return number + '日';
                    case 'M':
                        return number + '月';
                    case 'w':
                    case 'W':
                        return number + '周';
                    default:
                        return number;
                }
            },
            relativeTime: {
                future: '%s后',
                past: '%s前',
                s: '几秒',
                ss: '%d 秒',
                m: '1 分钟',
                mm: '%d 分钟',
                h: '1 小时',
                hh: '%d 小时',
                d: '1 天',
                dd: '%d 天',
                w: '1 周',
                ww: '%d 周',
                M: '1 个月',
                MM: '%d 个月',
                y: '1 年',
                yy: '%d 年',
            },
            week: {
                // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
                dow: 1, // Monday is the first day of the week.
                doy: 4, // The week that contains Jan 4th is the first week of the year.
            },
        });
    
        return zhCn;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1507 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Chinese (Hong Kong) [zh-hk]
    //! author : Ben : https://github.com/ben-lin
    //! author : Chris Lam : https://github.com/hehachris
    //! author : Konstantin : https://github.com/skfd
    //! author : Anthony : https://github.com/anthonylau
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var zhHk = moment.defineLocale('zh-hk', {
            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 (hour, meridiem) {
                if (hour === 12) {
                    hour = 0;
                }
                if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                    return hour;
                } else if (meridiem === '中午') {
                    return hour >= 11 ? hour : hour + 12;
                } else if (meridiem === '下午' || meridiem === '晚上') {
                    return hour + 12;
                }
            },
            meridiem: function (hour, minute, isLower) {
                var hm = hour * 100 + minute;
                if (hm < 600) {
                    return '凌晨';
                } else if (hm < 900) {
                    return '早上';
                } else if (hm < 1200) {
                    return '上午';
                } else if (hm === 1200) {
                    return '中午';
                } else if (hm < 1800) {
                    return '下午';
                } else {
                    return '晚上';
                }
            },
            calendar: {
                sameDay: '[今天]LT',
                nextDay: '[明天]LT',
                nextWeek: '[下]ddddLT',
                lastDay: '[昨天]LT',
                lastWeek: '[上]ddddLT',
                sameElse: 'L',
            },
            dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
            ordinal: function (number, period) {
                switch (period) {
                    case 'd':
                    case 'D':
                    case 'DDD':
                        return number + '日';
                    case 'M':
                        return number + '月';
                    case 'w':
                    case 'W':
                        return number + '週';
                    default:
                        return number;
                }
            },
            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 年',
            },
        });
    
        return zhHk;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1508 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Chinese (Macau) [zh-mo]
    //! author : Ben : https://github.com/ben-lin
    //! author : Chris Lam : https://github.com/hehachris
    //! author : Tan Yuanhong : https://github.com/le0tan
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var zhMo = moment.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 (hour, meridiem) {
                if (hour === 12) {
                    hour = 0;
                }
                if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                    return hour;
                } else if (meridiem === '中午') {
                    return hour >= 11 ? hour : hour + 12;
                } else if (meridiem === '下午' || meridiem === '晚上') {
                    return hour + 12;
                }
            },
            meridiem: function (hour, minute, isLower) {
                var hm = hour * 100 + minute;
                if (hm < 600) {
                    return '凌晨';
                } else if (hm < 900) {
                    return '早上';
                } else if (hm < 1130) {
                    return '上午';
                } else if (hm < 1230) {
                    return '中午';
                } else if (hm < 1800) {
                    return '下午';
                } else {
                    return '晚上';
                }
            },
            calendar: {
                sameDay: '[今天] LT',
                nextDay: '[明天] LT',
                nextWeek: '[下]dddd LT',
                lastDay: '[昨天] LT',
                lastWeek: '[上]dddd LT',
                sameElse: 'L',
            },
            dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
            ordinal: function (number, period) {
                switch (period) {
                    case 'd':
                    case 'D':
                    case 'DDD':
                        return number + '日';
                    case 'M':
                        return number + '月';
                    case 'w':
                    case 'W':
                        return number + '週';
                    default:
                        return number;
                }
            },
            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 年',
            },
        });
    
        return zhMo;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1509 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
    
    //! moment.js locale configuration
    //! locale : Chinese (Taiwan) [zh-tw]
    //! author : Ben : https://github.com/ben-lin
    //! author : Chris Lam : https://github.com/hehachris
    
    ;(function (global, factory) {
    
    build-token's avatar
    build-token committed
        true ? factory(__webpack_require__(1373)) :
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
       0
    }(this, (function (moment) { 'use strict';
    
        //! moment.js locale configuration
    
        var zhTw = moment.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 (hour, meridiem) {
                if (hour === 12) {
                    hour = 0;
                }
                if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
                    return hour;
                } else if (meridiem === '中午') {
                    return hour >= 11 ? hour : hour + 12;
                } else if (meridiem === '下午' || meridiem === '晚上') {
                    return hour + 12;
                }
            },
            meridiem: function (hour, minute, isLower) {
                var hm = hour * 100 + minute;
                if (hm < 600) {
                    return '凌晨';
                } else if (hm < 900) {
                    return '早上';
                } else if (hm < 1130) {
                    return '上午';
                } else if (hm < 1230) {
                    return '中午';
                } else if (hm < 1800) {
                    return '下午';
                } else {
                    return '晚上';
                }
            },
            calendar: {
                sameDay: '[今天] LT',
                nextDay: '[明天] LT',
                nextWeek: '[下]dddd LT',
                lastDay: '[昨天] LT',
                lastWeek: '[上]dddd LT',
                sameElse: 'L',
            },
            dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
            ordinal: function (number, period) {
                switch (period) {
                    case 'd':
                    case 'D':
                    case 'DDD':
                        return number + '日';
                    case 'M':
                        return number + '月';
                    case 'w':
                    case 'W':
                        return number + '週';
                    default:
                        return number;
                }
            },
            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 年',
            },
        });
    
        return zhTw;
    
    })));
    
    
    /***/ }),
    
    build-token's avatar
    build-token committed
    /* 1510 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
    
    
    build-token's avatar
    build-token committed
    var moment = module.exports = __webpack_require__(1511);
    moment.tz.load(__webpack_require__(1512));
    
    build-token's avatar
    build-token committed
    /* 1511 */
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    /***/ (function(module, exports, __webpack_require__) {
    
    var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;//! moment-timezone.js
    //! version : 0.5.34
    //! Copyright (c) JS Foundation and other contributors
    //! license : MIT
    //! github.com/moment/moment-timezone
    
    (function (root, factory) {
    	"use strict";
    
    	/*global define*/
    	if ( true && module.exports) {
    
    build-token's avatar
    build-token committed
    		module.exports = factory(__webpack_require__(1373)); // Node
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    	} else if (true) {
    
    build-token's avatar
    build-token committed
    		!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(1373)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    215697 215698 215699 215700 215701 215702 215703 215704 215705 215706 215707 215708 215709 215710 215711 215712 215713 215714 215715 215716 215717 215718 215719 215720 215721 215722 215723 215724 215725 215726 215727 215728 215729 215730 215731 215732 215733 215734 215735 215736 215737 215738 215739 215740 215741 215742 215743 215744 215745 215746 215747 215748 215749 215750 215751 215752 215753 215754 215755 215756 215757 215758 215759 215760 215761 215762 215763 215764 215765 215766 215767 215768 215769 215770 215771 215772 215773 215774 215775 215776 215777 215778 215779 215780 215781 215782 215783 215784 215785 215786 215787 215788 215789 215790 215791 215792 215793 215794 215795 215796 215797 215798 215799 215800 215801 215802 215803 215804 215805 215806 215807 215808 215809 215810 215811 215812 215813 215814 215815 215816 215817 215818 215819 215820 215821 215822 215823 215824 215825 215826 215827 215828 215829 215830 215831 215832 215833 215834 215835 215836 215837 215838 215839 215840 215841 215842 215843 215844 215845 215846 215847 215848 215849 215850 215851 215852 215853 215854 215855 215856 215857 215858 215859 215860 215861 215862 215863 215864 215865 215866 215867 215868 215869 215870 215871 215872 215873 215874 215875 215876 215877 215878 215879 215880 215881 215882 215883 215884 215885 215886 215887 215888 215889 215890 215891 215892 215893 215894 215895 215896 215897 215898 215899 215900 215901 215902 215903 215904 215905 215906 215907 215908 215909 215910 215911 215912 215913 215914 215915 215916 215917 215918 215919 215920 215921 215922 215923 215924 215925 215926 215927 215928 215929 215930 215931 215932 215933 215934 215935 215936 215937 215938 215939 215940 215941 215942 215943 215944 215945 215946 215947 215948 215949 215950 215951 215952 215953 215954 215955 215956 215957 215958 215959 215960 215961 215962 215963 215964 215965 215966 215967 215968 215969 215970 215971 215972 215973 215974 215975 215976 215977 215978 215979 215980 215981 215982 215983 215984 215985 215986 215987 215988 215989 215990 215991 215992 215993 215994 215995 215996 215997 215998 215999 216000
    		__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
    		(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
    		__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));                 // AMD
    	} else {}
    }(this, function (moment) {
    	"use strict";
    
    	// Resolves es6 module loading issue
    	if (moment.version === undefined && moment.default) {
    		moment = moment.default;
    	}
    
    	// Do not load moment-timezone a second time.
    	// if (moment.tz !== undefined) {
    	// 	logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
    	// 	return moment;
    	// }
    
    	var VERSION = "0.5.34",
    		zones = {},
    		links = {},
    		countries = {},
    		names = {},
    		guesses = {},
    		cachedGuess;
    
    	if (!moment || typeof moment.version !== 'string') {
    		logError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');
    	}
    
    	var momentVersion = moment.version.split('.'),
    		major = +momentVersion[0],
    		minor = +momentVersion[1];
    
    	// Moment.js version check
    	if (major < 2 || (major === 2 && minor < 6)) {
    		logError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');
    	}
    
    	/************************************
    		Unpacking
    	************************************/
    
    	function charCodeToInt(charCode) {
    		if (charCode > 96) {
    			return charCode - 87;
    		} else if (charCode > 64) {
    			return charCode - 29;
    		}
    		return charCode - 48;
    	}
    
    	function unpackBase60(string) {
    		var i = 0,
    			parts = string.split('.'),
    			whole = parts[0],
    			fractional = parts[1] || '',
    			multiplier = 1,
    			num,
    			out = 0,
    			sign = 1;
    
    		// handle negative numbers
    		if (string.charCodeAt(0) === 45) {
    			i = 1;
    			sign = -1;
    		}
    
    		// handle digits before the decimal
    		for (i; i < whole.length; i++) {
    			num = charCodeToInt(whole.charCodeAt(i));
    			out = 60 * out + num;
    		}
    
    		// handle digits after the decimal
    		for (i = 0; i < fractional.length; i++) {
    			multiplier = multiplier / 60;
    			num = charCodeToInt(fractional.charCodeAt(i));
    			out += num * multiplier;
    		}
    
    		return out * sign;
    	}
    
    	function arrayToInt (array) {
    		for (var i = 0; i < array.length; i++) {
    			array[i] = unpackBase60(array[i]);
    		}
    	}
    
    	function intToUntil (array, length) {
    		for (var i = 0; i < length; i++) {
    			array[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds
    		}
    
    		array[length - 1] = Infinity;
    	}
    
    	function mapIndices (source, indices) {
    		var out = [], i;
    
    		for (i = 0; i < indices.length; i++) {
    			out[i] = source[indices[i]];
    		}
    
    		return out;
    	}
    
    	function unpack (string) {
    		var data = string.split('|'),
    			offsets = data[2].split(' '),
    			indices = data[3].split(''),
    			untils  = data[4].split(' ');
    
    		arrayToInt(offsets);
    		arrayToInt(indices);
    		arrayToInt(untils);
    
    		intToUntil(untils, indices.length);
    
    		return {
    			name       : data[0],
    			abbrs      : mapIndices(data[1].split(' '), indices),
    			offsets    : mapIndices(offsets, indices),
    			untils     : untils,
    			population : data[5] | 0
    		};
    	}
    
    	/************************************
    		Zone object
    	************************************/
    
    	function Zone (packedString) {
    		if (packedString) {
    			this._set(unpack(packedString));
    		}
    	}
    
    	Zone.prototype = {
    		_set : function (unpacked) {
    			this.name       = unpacked.name;
    			this.abbrs      = unpacked.abbrs;
    			this.untils     = unpacked.untils;
    			this.offsets    = unpacked.offsets;
    			this.population = unpacked.population;
    		},
    
    		_index : function (timestamp) {
    			var target = +timestamp,
    				untils = this.untils,
    				i;
    
    			for (i = 0; i < untils.length; i++) {
    				if (target < untils[i]) {
    					return i;
    				}
    			}
    		},
    
    		countries : function () {
    			var zone_name = this.name;
    			return Object.keys(countries).filter(function (country_code) {
    				return countries[country_code].zones.indexOf(zone_name) !== -1;
    			});
    		},
    
    		parse : function (timestamp) {
    			var target  = +timestamp,
    				offsets = this.offsets,
    				untils  = this.untils,
    				max     = untils.length - 1,
    				offset, offsetNext, offsetPrev, i;
    
    			for (i = 0; i < max; i++) {
    				offset     = offsets[i];
    				offsetNext = offsets[i + 1];
    				offsetPrev = offsets[i ? i - 1 : i];
    
    				if (offset < offsetNext && tz.moveAmbiguousForward) {
    					offset = offsetNext;
    				} else if (offset > offsetPrev && tz.moveInvalidForward) {
    					offset = offsetPrev;
    				}
    
    				if (target < untils[i] - (offset * 60000)) {
    					return offsets[i];
    				}
    			}
    
    			return offsets[max];
    		},
    
    		abbr : function (mom) {
    			return this.abbrs[this._index(mom)];
    		},
    
    		offset : function (mom) {
    			logError("zone.offset has been deprecated in favor of zone.utcOffset");
    			return this.offsets[this._index(mom)];
    		},
    
    		utcOffset : function (mom) {
    			return this.offsets[this._index(mom)];
    		}
    	};
    
    	/************************************
    		Country object
    	************************************/
    
    	function Country (country_name, zone_names) {
    		this.name = country_name;
    		this.zones = zone_names;
    	}
    
    	/************************************
    		Current Timezone
    	************************************/
    
    	function OffsetAt(at) {
    		var timeString = at.toTimeString();
    		var abbr = timeString.match(/\([a-z ]+\)/i);
    		if (abbr && abbr[0]) {
    			// 17:56:31 GMT-0600 (CST)
    			// 17:56:31 GMT-0600 (Central Standard Time)
    			abbr = abbr[0].match(/[A-Z]/g);
    			abbr = abbr ? abbr.join('') : undefined;
    		} else {
    			// 17:56:31 CST
    			// 17:56:31 GMT+0800 (台北標準時間)
    			abbr = timeString.match(/[A-Z]{3,5}/g);
    			abbr = abbr ? abbr[0] : undefined;
    		}
    
    		if (abbr === 'GMT') {
    			abbr = undefined;
    		}
    
    		this.at = +at;
    		this.abbr = abbr;
    		this.offset = at.getTimezoneOffset();
    	}
    
    	function ZoneScore(zone) {
    		this.zone = zone;
    		this.offsetScore = 0;
    		this.abbrScore = 0;
    	}
    
    	ZoneScore.prototype.scoreOffsetAt = function (offsetAt) {
    		this.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);
    		if (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {
    			this.abbrScore++;
    		}
    	};
    
    	function findChange(low, high) {
    		var mid, diff;
    
    		while ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {
    			mid = new OffsetAt(new Date(low.at + diff));
    			if (mid.offset === low.offset) {
    				low = mid;
    			} else {
    				high = mid;
    			}
    		}
    
    		return low;
    	}
    
    	function userOffsets() {
    		var startYear = new Date().getFullYear() - 2,
    			last = new OffsetAt(new Date(startYear, 0, 1)),
    			offsets = [last],
    			change, next, i;
    
    		for (i = 1; i < 48; i++) {
    			next = new OffsetAt(new Date(startYear, i, 1));
    			if (next.offset !== last.offset) {
    				change = findChange(last, next);
    				offsets.push(change);
    				offsets.push(new OffsetAt(new Date(change.at + 6e4)));
    			}
    			last = next;
    		}
    
    		for (i = 0; i < 4; i++) {
    			offsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));
    			offsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));
    		}
    
    		return offsets;
    	}
    
    	function sortZoneScores (a, b) {
    		if (a.offsetScore !== b.offsetScore) {
    			return a.offsetScore - b.offsetScore;
    		}
    		if (a.abbrScore !== b.abbrScore) {
    			return a.abbrScore - b.abbrScore;
    		}
    		if (a.zone.population !== b.zone.population) {