vendor: 4,526 bytes, lines 1-155
1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // getDefaultExport function for compatibility with non-harmony modules 48/******/ __webpack_require__.n = function(module) { 49/******/ var getter = module && module.__esModule ? 50/******/ function getDefault() { return module['default']; } : 51/******/ function getModuleExports() { return module; }; 52/******/ __webpack_require__.d(getter, 'a', getter); 53/******/ return getter; 54/******/ }; 55/******/ 56/******/ // Object.prototype.hasOwnProperty.call 57/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 58/******/ 59/******/ // __webpack_public_path__ 60/******/ __webpack_require__.p = "dist/"; 61/******/ 62/******/ // Load entry module and return exports 63/******/ return __webpack_require__(__webpack_require__.s = 514); 64/******/ }) 65/************************************************************************/ 66/******/ ([ 67/* 0 */ 68/***/ (function(module, exports, __webpack_require__) { 69 70/* WEBPACK VAR INJECTION */(function(module) {//! moment.js 71//! version : 2.18.1 72//! authors : Tim Wood, Iskren Chernev, Moment.js contributors 73//! license : MIT 74//! momentjs.com 75 76;(function (global, factory) { 77 true ? module.exports = factory() : 78 typeof define === 'function' && define.amd ? define(factory) : 79 global.moment = factory() 80}(this, (function () { 'use strict'; 81 82var hookCallback; 83 84function hooks () { 85 return hookCallback.apply(null, arguments); 86} 87 88// This is done to register the method called with moment() 89// without creating circular dependencies. 90function setHookCallback (callback) { 91 hookCallback = callback; 92} 93 94function isArray(input) { 95 return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; 96} 97 98function isObject(input) { 99 // IE8 will treat undefined and null as object if it wasn't for 100 // input != null 101 return input != null && Object.prototype.toString.call(input) === '[object Object]'; 102} 103 104function isObjectEmpty(obj) { 105 var k; 106 for (k in obj) { 107 // even if its not own property I'd still call it non-empty 108 return false; 109 } 110 return true; 111} 112 113function isUndefined(input) { 114 return input === void 0; 115} 116 117function isNumber(input) { 118 return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]'; 119} 120 121function isDate(input) { 122 return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; 123} 124 125function map(arr, fn) { 126 var res = [], i; 127 for (i = 0; i < arr.length; ++i) { 128 res.push(fn(arr[i], i)); 129 } 130 return res; 131} 132 133function hasOwnProp(a, b) { 134 return Object.prototype.hasOwnProperty.call(a, b); 135} 136 137function extend(a, b) { 138 for (var i in b) { 139 if (hasOwnProp(b, i)) { 140 a[i] = b[i]; 141 } 142 } 143 144 if (hasOwnProp(b, 'toString')) { 145 a.toString = b.toString; 146 } 147 148 if (hasOwnProp(b, 'valueOf')) { 149 a.valueOf = b.valueOf; 150 } 151 152 return a; 153} 154 155function createUTC (input, format, locale, strict) {
vendor: 9,650 bytes, lines 156-523
156 return createLocalOrUTC(input, format, locale, strict, true).utc(); 157} 158 159function defaultParsingFlags() { 160 // We need to deep clone this object. 161 return { 162 empty : false, 163 unusedTokens : [], 164 unusedInput : [], 165 overflow : -2, 166 charsLeftOver : 0, 167 nullInput : false, 168 invalidMonth : null, 169 invalidFormat : false, 170 userInvalidated : false, 171 iso : false, 172 parsedDateParts : [], 173 meridiem : null, 174 rfc2822 : false, 175 weekdayMismatch : false 176 }; 177} 178 179function getParsingFlags(m) { 180 if (m._pf == null) { 181 m._pf = defaultParsingFlags(); 182 } 183 return m._pf; 184} 185 186var some; 187if (Array.prototype.some) { 188 some = Array.prototype.some; 189} else { 190 some = function (fun) { 191 var t = Object(this); 192 var len = t.length >>> 0; 193 194 for (var i = 0; i < len; i++) { 195 if (i in t && fun.call(this, t[i], i, t)) { 196 return true; 197 } 198 } 199 200 return false; 201 }; 202} 203 204var some$1 = some; 205 206function isValid(m) { 207 if (m._isValid == null) { 208 var flags = getParsingFlags(m); 209 var parsedParts = some$1.call(flags.parsedDateParts, function (i) { 210 return i != null; 211 }); 212 var isNowValid = !isNaN(m._d.getTime()) && 213 flags.overflow < 0 && 214 !flags.empty && 215 !flags.invalidMonth && 216 !flags.invalidWeekday && 217 !flags.nullInput && 218 !flags.invalidFormat && 219 !flags.userInvalidated && 220 (!flags.meridiem || (flags.meridiem && parsedParts)); 221 222 if (m._strict) { 223 isNowValid = isNowValid && 224 flags.charsLeftOver === 0 && 225 flags.unusedTokens.length === 0 && 226 flags.bigHour === undefined; 227 } 228 229 if (Object.isFrozen == null || !Object.isFrozen(m)) { 230 m._isValid = isNowValid; 231 } 232 else { 233 return isNowValid; 234 } 235 } 236 return m._isValid; 237} 238 239function createInvalid (flags) { 240 var m = createUTC(NaN); 241 if (flags != null) { 242 extend(getParsingFlags(m), flags); 243 } 244 else { 245 getParsingFlags(m).userInvalidated = true; 246 } 247 248 return m; 249} 250 251// Plugins that add properties should also add the key here (null value), 252// so we can properly clone ourselves. 253var momentProperties = hooks.momentProperties = []; 254 255function copyConfig(to, from) { 256 var i, prop, val; 257 258 if (!isUndefined(from._isAMomentObject)) { 259 to._isAMomentObject = from._isAMomentObject; 260 } 261 if (!isUndefined(from._i)) { 262 to._i = from._i; 263 } 264 if (!isUndefined(from._f)) { 265 to._f = from._f; 266 } 267 if (!isUndefined(from._l)) { 268 to._l = from._l; 269 } 270 if (!isUndefined(from._strict)) { 271 to._strict = from._strict; 272 } 273 if (!isUndefined(from._tzm)) { 274 to._tzm = from._tzm; 275 } 276 if (!isUndefined(from._isUTC)) { 277 to._isUTC = from._isUTC; 278 } 279 if (!isUndefined(from._offset)) { 280 to._offset = from._offset; 281 } 282 if (!isUndefined(from._pf)) { 283 to._pf = getParsingFlags(from); 284 } 285 if (!isUndefined(from._locale)) { 286 to._locale = from._locale; 287 } 288 289 if (momentProperties.length > 0) { 290 for (i = 0; i < momentProperties.length; i++) { 291 prop = momentProperties[i]; 292 val = from[prop]; 293 if (!isUndefined(val)) { 294 to[prop] = val; 295 } 296 } 297 } 298 299 return to; 300} 301 302var updateInProgress = false; 303 304// Moment prototype object 305function Moment(config) { 306 copyConfig(this, config); 307 this._d = new Date(config._d != null ? config._d.getTime() : NaN); 308 if (!this.isValid()) { 309 this._d = new Date(NaN); 310 } 311 // Prevent infinite loop in case updateOffset creates new moment 312 // objects. 313 if (updateInProgress === false) { 314 updateInProgress = true; 315 hooks.updateOffset(this); 316 updateInProgress = false; 317 } 318} 319 320function isMoment (obj) { 321 return obj instanceof Moment || (obj != null && obj._isAMomentObject != null); 322} 323 324function absFloor (number) { 325 if (number < 0) { 326 // -0 -> 0 327 return Math.ceil(number) || 0; 328 } else { 329 return Math.floor(number); 330 } 331} 332 333function toInt(argumentForCoercion) { 334 var coercedNumber = +argumentForCoercion, 335 value = 0; 336 337 if (coercedNumber !== 0 && isFinite(coercedNumber)) { 338 value = absFloor(coercedNumber); 339 } 340 341 return value; 342} 343 344// compare two arrays, return the number of differences 345function compareArrays(array1, array2, dontConvert) { 346 var len = Math.min(array1.length, array2.length), 347 lengthDiff = Math.abs(array1.length - array2.length), 348 diffs = 0, 349 i; 350 for (i = 0; i < len; i++) { 351 if ((dontConvert && array1[i] !== array2[i]) || 352 (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { 353 diffs++; 354 } 355 } 356 return diffs + lengthDiff; 357} 358 359function warn(msg) { 360 if (hooks.suppressDeprecationWarnings === false && 361 (typeof console !== 'undefined') && console.warn) { 362 console.warn('Deprecation warning: ' + msg); 363 } 364} 365 366function deprecate(msg, fn) { 367 var firstTime = true; 368 369 return extend(function () { 370 if (hooks.deprecationHandler != null) { 371 hooks.deprecationHandler(null, msg); 372 } 373 if (firstTime) { 374 var args = []; 375 var arg; 376 for (var i = 0; i < arguments.length; i++) { 377 arg = ''; 378 if (typeof arguments[i] === 'object') { 379 arg += '\n[' + i + '] '; 380 for (var key in arguments[0]) { 381 arg += key + ': ' + arguments[0][key] + ', '; 382 } 383 arg = arg.slice(0, -2); // Remove trailing comma and space 384 } else { 385 arg = arguments[i]; 386 } 387 args.push(arg); 388 } 389 warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack); 390 firstTime = false; 391 } 392 return fn.apply(this, arguments); 393 }, fn); 394} 395 396var deprecations = {}; 397 398function deprecateSimple(name, msg) { 399 if (hooks.deprecationHandler != null) { 400 hooks.deprecationHandler(name, msg); 401 } 402 if (!deprecations[name]) { 403 warn(msg); 404 deprecations[name] = true; 405 } 406} 407 408hooks.suppressDeprecationWarnings = false; 409hooks.deprecationHandler = null; 410 411function isFunction(input) { 412 return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; 413} 414 415function set (config) { 416 var prop, i; 417 for (i in config) { 418 prop = config[i]; 419 if (isFunction(prop)) { 420 this[i] = prop; 421 } else { 422 this['_' + i] = prop; 423 } 424 } 425 this._config = config; 426 // Lenient ordinal parsing accepts just a number in addition to 427 // number + (possibly) stuff coming from _dayOfMonthOrdinalParse. 428 // TODO: Remove "ordinalParse" fallback in next major release. 429 this._dayOfMonthOrdinalParseLenient = new RegExp( 430 (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + 431 '|' + (/\d{1,2}/).source); 432} 433 434function mergeConfigs(parentConfig, childConfig) { 435 var res = extend({}, parentConfig), prop; 436 for (prop in childConfig) { 437 if (hasOwnProp(childConfig, prop)) { 438 if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { 439 res[prop] = {}; 440 extend(res[prop], parentConfig[prop]); 441 extend(res[prop], childConfig[prop]); 442 } else if (childConfig[prop] != null) { 443 res[prop] = childConfig[prop]; 444 } else { 445 delete res[prop]; 446 } 447 } 448 } 449 for (prop in parentConfig) { 450 if (hasOwnProp(parentConfig, prop) && 451 !hasOwnProp(childConfig, prop) && 452 isObject(parentConfig[prop])) { 453 // make sure changes to properties don't modify parent config 454 res[prop] = extend({}, res[prop]); 455 } 456 } 457 return res; 458} 459 460function Locale(config) { 461 if (config != null) { 462 this.set(config); 463 } 464} 465 466var keys; 467 468if (Object.keys) { 469 keys = Object.keys; 470} else { 471 keys = function (obj) { 472 var i, res = []; 473 for (i in obj) { 474 if (hasOwnProp(obj, i)) { 475 res.push(i); 476 } 477 } 478 return res; 479 }; 480} 481 482var keys$1 = keys; 483 484var defaultCalendar = { 485 sameDay : '[Today at] LT', 486 nextDay : '[Tomorrow at] LT', 487 nextWeek : 'dddd [at] LT', 488 lastDay : '[Yesterday at] LT', 489 lastWeek : '[Last] dddd [at] LT', 490 sameElse : 'L' 491}; 492 493function calendar (key, mom, now) { 494 var output = this._calendar[key] || this._calendar['sameElse']; 495 return isFunction(output) ? output.call(mom, now) : output; 496} 497 498var defaultLongDateFormat = { 499 LTS : 'h:mm:ss A', 500 LT : 'h:mm A', 501 L : 'MM/DD/YYYY', 502 LL : 'MMMM D, YYYY', 503 LLL : 'MMMM D, YYYY h:mm A', 504 LLLL : 'dddd, MMMM D, YYYY h:mm A' 505}; 506 507function longDateFormat (key) { 508 var format = this._longDateFormat[key], 509 formatUpper = this._longDateFormat[key.toUpperCase()]; 510 511 if (format || !formatUpper) { 512 return format; 513 } 514 515 this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { 516 return val.slice(1); 517 }); 518 519 return this._longDateFormat[key]; 520} 521 522var defaultInvalidDate = 'Invalid date'; 523
vendor: 10,397 bytes, lines 524-909
524function invalidDate () { 525 return this._invalidDate; 526} 527 528var defaultOrdinal = '%d'; 529var defaultDayOfMonthOrdinalParse = /\d{1,2}/; 530 531function ordinal (number) { 532 return this._ordinal.replace('%d', number); 533} 534 535var defaultRelativeTime = { 536 future : 'in %s', 537 past : '%s ago', 538 s : 'a few seconds', 539 ss : '%d seconds', 540 m : 'a minute', 541 mm : '%d minutes', 542 h : 'an hour', 543 hh : '%d hours', 544 d : 'a day', 545 dd : '%d days', 546 M : 'a month', 547 MM : '%d months', 548 y : 'a year', 549 yy : '%d years' 550}; 551 552function relativeTime (number, withoutSuffix, string, isFuture) { 553 var output = this._relativeTime[string]; 554 return (isFunction(output)) ? 555 output(number, withoutSuffix, string, isFuture) : 556 output.replace(/%d/i, number); 557} 558 559function pastFuture (diff, output) { 560 var format = this._relativeTime[diff > 0 ? 'future' : 'past']; 561 return isFunction(format) ? format(output) : format.replace(/%s/i, output); 562} 563 564var aliases = {}; 565 566function addUnitAlias (unit, shorthand) { 567 var lowerCase = unit.toLowerCase(); 568 aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; 569} 570 571function normalizeUnits(units) { 572 return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined; 573} 574 575function normalizeObjectUnits(inputObject) { 576 var normalizedInput = {}, 577 normalizedProp, 578 prop; 579 580 for (prop in inputObject) { 581 if (hasOwnProp(inputObject, prop)) { 582 normalizedProp = normalizeUnits(prop); 583 if (normalizedProp) { 584 normalizedInput[normalizedProp] = inputObject[prop]; 585 } 586 } 587 } 588 589 return normalizedInput; 590} 591 592var priorities = {}; 593 594function addUnitPriority(unit, priority) { 595 priorities[unit] = priority; 596} 597 598function getPrioritizedUnits(unitsObj) { 599 var units = []; 600 for (var u in unitsObj) { 601 units.push({unit: u, priority: priorities[u]}); 602 } 603 units.sort(function (a, b) { 604 return a.priority - b.priority; 605 }); 606 return units; 607} 608 609function makeGetSet (unit, keepTime) { 610 return function (value) { 611 if (value != null) { 612 set$1(this, unit, value); 613 hooks.updateOffset(this, keepTime); 614 return this; 615 } else { 616 return get(this, unit); 617 } 618 }; 619} 620 621function get (mom, unit) { 622 return mom.isValid() ? 623 mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; 624} 625 626function set$1 (mom, unit, value) { 627 if (mom.isValid()) { 628 mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); 629 } 630} 631 632// MOMENTS 633 634function stringGet (units) { 635 units = normalizeUnits(units); 636 if (isFunction(this[units])) { 637 return this[units](); 638 } 639 return this; 640} 641 642 643function stringSet (units, value) { 644 if (typeof units === 'object') { 645 units = normalizeObjectUnits(units); 646 var prioritized = getPrioritizedUnits(units); 647 for (var i = 0; i < prioritized.length; i++) { 648 this[prioritized[i].unit](units[prioritized[i].unit]); 649 } 650 } else { 651 units = normalizeUnits(units); 652 if (isFunction(this[units])) { 653 return this[units](value); 654 } 655 } 656 return this; 657} 658 659function zeroFill(number, targetLength, forceSign) { 660 var absNumber = '' + Math.abs(number), 661 zerosToFill = targetLength - absNumber.length, 662 sign = number >= 0; 663 return (sign ? (forceSign ? '+' : '') : '-') + 664 Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; 665} 666 667var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g; 668 669var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; 670 671var formatFunctions = {}; 672 673var formatTokenFunctions = {}; 674 675// token: 'M' 676// padded: ['MM', 2] 677// ordinal: 'Mo' 678// callback: function () { this.month() + 1 } 679function addFormatToken (token, padded, ordinal, callback) { 680 var func = callback; 681 if (typeof callback === 'string') { 682 func = function () { 683 return this[callback](); 684 }; 685 } 686 if (token) { 687 formatTokenFunctions[token] = func; 688 } 689 if (padded) { 690 formatTokenFunctions[padded[0]] = function () { 691 return zeroFill(func.apply(this, arguments), padded[1], padded[2]); 692 }; 693 } 694 if (ordinal) { 695 formatTokenFunctions[ordinal] = function () { 696 return this.localeData().ordinal(func.apply(this, arguments), token); 697 }; 698 } 699} 700 701function removeFormattingTokens(input) { 702 if (input.match(/\[[\s\S]/)) { 703 return input.replace(/^\[|\]$/g, ''); 704 } 705 return input.replace(/\\/g, ''); 706} 707 708function makeFormatFunction(format) { 709 var array = format.match(formattingTokens), i, length; 710 711 for (i = 0, length = array.length; i < length; i++) { 712 if (formatTokenFunctions[array[i]]) { 713 array[i] = formatTokenFunctions[array[i]]; 714 } else { 715 array[i] = removeFormattingTokens(array[i]); 716 } 717 } 718 719 return function (mom) { 720 var output = '', i; 721 for (i = 0; i < length; i++) { 722 output += isFunction(array[i]) ? array[i].call(mom, format) : array[i]; 723 } 724 return output; 725 }; 726} 727 728// format date using native date object 729function formatMoment(m, format) { 730 if (!m.isValid()) { 731 return m.localeData().invalidDate(); 732 } 733 734 format = expandFormat(format, m.localeData()); 735 formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format); 736 737 return formatFunctions[format](m); 738} 739 740function expandFormat(format, locale) { 741 var i = 5; 742 743 function replaceLongDateFormatTokens(input) { 744 return locale.longDateFormat(input) || input; 745 } 746 747 localFormattingTokens.lastIndex = 0; 748 while (i >= 0 && localFormattingTokens.test(format)) { 749 format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); 750 localFormattingTokens.lastIndex = 0; 751 i -= 1; 752 } 753 754 return format; 755} 756 757var match1 = /\d/; // 0 - 9 758var match2 = /\d\d/; // 00 - 99 759var match3 = /\d{3}/; // 000 - 999 760var match4 = /\d{4}/; // 0000 - 9999 761var match6 = /[+-]?\d{6}/; // -999999 - 999999 762var match1to2 = /\d\d?/; // 0 - 99 763var match3to4 = /\d\d\d\d?/; // 999 - 9999 764var match5to6 = /\d\d\d\d\d\d?/; // 99999 - 999999 765var match1to3 = /\d{1,3}/; // 0 - 999 766var match1to4 = /\d{1,4}/; // 0 - 9999 767var match1to6 = /[+-]?\d{1,6}/; // -999999 - 999999 768 769var matchUnsigned = /\d+/; // 0 - inf 770var matchSigned = /[+-]?\d+/; // -inf - inf 771 772var matchOffset = /Z|[+-]\d\d:?\d\d/gi; // +00:00 -00:00 +0000 -0000 or Z 773var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z 774 775var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 776 777// any word (or two) characters or numbers including two/three word month in arabic. 778// includes scottish gaelic two word and hyphenated months 779var matchWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; 780 781 782var regexes = {}; 783 784function addRegexToken (token, regex, strictRegex) { 785 regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { 786 return (isStrict && strictRegex) ? strictRegex : regex; 787 }; 788} 789 790function getParseRegexForToken (token, config) { 791 if (!hasOwnProp(regexes, token)) { 792 return new RegExp(unescapeFormat(token)); 793 } 794 795 return regexes[token](config._strict, config._locale); 796} 797 798// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript 799function unescapeFormat(s) { 800 return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { 801 return p1 || p2 || p3 || p4; 802 })); 803} 804 805function regexEscape(s) { 806 return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); 807} 808 809var tokens = {}; 810 811function addParseToken (token, callback) { 812 var i, func = callback; 813 if (typeof token === 'string') { 814 token = [token]; 815 } 816 if (isNumber(callback)) { 817 func = function (input, array) { 818 array[callback] = toInt(input); 819 }; 820 } 821 for (i = 0; i < token.length; i++) { 822 tokens[token[i]] = func; 823 } 824} 825 826function addWeekParseToken (token, callback) { 827 addParseToken(token, function (input, array, config, token) { 828 config._w = config._w || {}; 829 callback(input, config._w, config, token); 830 }); 831} 832 833function addTimeToArrayFromToken(token, input, config) { 834 if (input != null && hasOwnProp(tokens, token)) { 835 tokens[token](input, config._a, config, token); 836 } 837} 838 839var YEAR = 0; 840var MONTH = 1; 841var DATE = 2; 842var HOUR = 3; 843var MINUTE = 4; 844var SECOND = 5; 845var MILLISECOND = 6; 846var WEEK = 7; 847var WEEKDAY = 8; 848 849var indexOf; 850 851if (Array.prototype.indexOf) { 852 indexOf = Array.prototype.indexOf; 853} else { 854 indexOf = function (o) { 855 // I know 856 var i; 857 for (i = 0; i < this.length; ++i) { 858 if (this[i] === o) { 859 return i; 860 } 861 } 862 return -1; 863 }; 864} 865 866var indexOf$1 = indexOf; 867 868function daysInMonth(year, month) { 869 return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); 870} 871 872// FORMATTING 873 874addFormatToken('M', ['MM', 2], 'Mo', function () { 875 return this.month() + 1; 876}); 877 878addFormatToken('MMM', 0, 0, function (format) { 879 return this.localeData().monthsShort(this, format); 880}); 881 882addFormatToken('MMMM', 0, 0, function (format) { 883 return this.localeData().months(this, format); 884}); 885 886// ALIASES 887 888addUnitAlias('month', 'M'); 889 890// PRIORITY 891 892addUnitPriority('month', 8); 893 894// PARSING 895 896addRegexToken('M', match1to2); 897addRegexToken('MM', match1to2, match2); 898addRegexToken('MMM', function (isStrict, locale) { 899 return locale.monthsShortRegex(isStrict); 900}); 901addRegexToken('MMMM', function (isStrict, locale) { 902 return locale.monthsRegex(isStrict); 903}); 904 905addParseToken(['M', 'MM'], function (input, array) { 906 array[MONTH] = toInt(input) - 1; 907}); 908 909addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
vendor: 25,600 bytes, lines 910-1760
910 var month = config._locale.monthsParse(input, token, config._strict); 911 // if we didn't find a month name, mark the date as invalid. 912 if (month != null) { 913 array[MONTH] = month; 914 } else { 915 getParsingFlags(config).invalidMonth = input; 916 } 917}); 918 919// LOCALES 920 921var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/; 922var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); 923function localeMonths (m, format) { 924 if (!m) { 925 return isArray(this._months) ? this._months : 926 this._months['standalone']; 927 } 928 return isArray(this._months) ? this._months[m.month()] : 929 this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()]; 930} 931 932var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); 933function localeMonthsShort (m, format) { 934 if (!m) { 935 return isArray(this._monthsShort) ? this._monthsShort : 936 this._monthsShort['standalone']; 937 } 938 return isArray(this._monthsShort) ? this._monthsShort[m.month()] : 939 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()]; 940} 941 942function handleStrictParse(monthName, format, strict) { 943 var i, ii, mom, llc = monthName.toLocaleLowerCase(); 944 if (!this._monthsParse) { 945 // this is not used 946 this._monthsParse = []; 947 this._longMonthsParse = []; 948 this._shortMonthsParse = []; 949 for (i = 0; i < 12; ++i) { 950 mom = createUTC([2000, i]); 951 this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase(); 952 this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); 953 } 954 } 955 956 if (strict) { 957 if (format === 'MMM') { 958 ii = indexOf$1.call(this._shortMonthsParse, llc); 959 return ii !== -1 ? ii : null; 960 } else { 961 ii = indexOf$1.call(this._longMonthsParse, llc); 962 return ii !== -1 ? ii : null; 963 } 964 } else { 965 if (format === 'MMM') { 966 ii = indexOf$1.call(this._shortMonthsParse, llc); 967 if (ii !== -1) { 968 return ii; 969 } 970 ii = indexOf$1.call(this._longMonthsParse, llc); 971 return ii !== -1 ? ii : null; 972 } else { 973 ii = indexOf$1.call(this._longMonthsParse, llc); 974 if (ii !== -1) { 975 return ii; 976 } 977 ii = indexOf$1.call(this._shortMonthsParse, llc); 978 return ii !== -1 ? ii : null; 979 } 980 } 981} 982 983function localeMonthsParse (monthName, format, strict) { 984 var i, mom, regex; 985 986 if (this._monthsParseExact) { 987 return handleStrictParse.call(this, monthName, format, strict); 988 } 989 990 if (!this._monthsParse) { 991 this._monthsParse = []; 992 this._longMonthsParse = []; 993 this._shortMonthsParse = []; 994 } 995 996 // TODO: add sorting 997 // Sorting makes sure if one month (or abbr) is a prefix of another 998 // see sorting in computeMonthsParse 999 for (i = 0; i < 12; i++) { 1000 // make the regex if we don't have it already 1001 mom = createUTC([2000, i]); 1002 if (strict && !this._longMonthsParse[i]) { 1003 this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i'); 1004 this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i'); 1005 } 1006 if (!strict && !this._monthsParse[i]) { 1007 regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); 1008 this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); 1009 } 1010 // test the regex 1011 if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) { 1012 return i; 1013 } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) { 1014 return i; 1015 } else if (!strict && this._monthsParse[i].test(monthName)) { 1016 return i; 1017 } 1018 } 1019} 1020 1021// MOMENTS 1022 1023function setMonth (mom, value) { 1024 var dayOfMonth; 1025 1026 if (!mom.isValid()) { 1027 // No op 1028 return mom; 1029 } 1030 1031 if (typeof value === 'string') { 1032 if (/^\d+$/.test(value)) { 1033 value = toInt(value); 1034 } else { 1035 value = mom.localeData().monthsParse(value); 1036 // TODO: Another silent failure? 1037 if (!isNumber(value)) { 1038 return mom; 1039 } 1040 } 1041 } 1042 1043 dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); 1044 mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); 1045 return mom; 1046} 1047 1048function getSetMonth (value) { 1049 if (value != null) { 1050 setMonth(this, value); 1051 hooks.updateOffset(this, true); 1052 return this; 1053 } else { 1054 return get(this, 'Month'); 1055 } 1056} 1057 1058function getDaysInMonth () { 1059 return daysInMonth(this.year(), this.month()); 1060} 1061 1062var defaultMonthsShortRegex = matchWord; 1063function monthsShortRegex (isStrict) { 1064 if (this._monthsParseExact) { 1065 if (!hasOwnProp(this, '_monthsRegex')) { 1066 computeMonthsParse.call(this); 1067 } 1068 if (isStrict) { 1069 return this._monthsShortStrictRegex; 1070 } else { 1071 return this._monthsShortRegex; 1072 } 1073 } else { 1074 if (!hasOwnProp(this, '_monthsShortRegex')) { 1075 this._monthsShortRegex = defaultMonthsShortRegex; 1076 } 1077 return this._monthsShortStrictRegex && isStrict ? 1078 this._monthsShortStrictRegex : this._monthsShortRegex; 1079 } 1080} 1081 1082var defaultMonthsRegex = matchWord; 1083function monthsRegex (isStrict) { 1084 if (this._monthsParseExact) { 1085 if (!hasOwnProp(this, '_monthsRegex')) { 1086 computeMonthsParse.call(this); 1087 } 1088 if (isStrict) { 1089 return this._monthsStrictRegex; 1090 } else { 1091 return this._monthsRegex; 1092 } 1093 } else { 1094 if (!hasOwnProp(this, '_monthsRegex')) { 1095 this._monthsRegex = defaultMonthsRegex; 1096 } 1097 return this._monthsStrictRegex && isStrict ? 1098 this._monthsStrictRegex : this._monthsRegex; 1099 } 1100} 1101 1102function computeMonthsParse () { 1103 function cmpLenRev(a, b) { 1104 return b.length - a.length; 1105 } 1106 1107 var shortPieces = [], longPieces = [], mixedPieces = [], 1108 i, mom; 1109 for (i = 0; i < 12; i++) { 1110 // make the regex if we don't have it already 1111 mom = createUTC([2000, i]); 1112 shortPieces.push(this.monthsShort(mom, '')); 1113 longPieces.push(this.months(mom, '')); 1114 mixedPieces.push(this.months(mom, '')); 1115 mixedPieces.push(this.monthsShort(mom, '')); 1116 } 1117 // Sorting makes sure if one month (or abbr) is a prefix of another it 1118 // will match the longer piece. 1119 shortPieces.sort(cmpLenRev); 1120 longPieces.sort(cmpLenRev); 1121 mixedPieces.sort(cmpLenRev); 1122 for (i = 0; i < 12; i++) { 1123 shortPieces[i] = regexEscape(shortPieces[i]); 1124 longPieces[i] = regexEscape(longPieces[i]); 1125 } 1126 for (i = 0; i < 24; i++) { 1127 mixedPieces[i] = regexEscape(mixedPieces[i]); 1128 } 1129 1130 this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 1131 this._monthsShortRegex = this._monthsRegex; 1132 this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); 1133 this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); 1134} 1135 1136// FORMATTING 1137 1138addFormatToken('Y', 0, 0, function () { 1139 var y = this.year(); 1140 return y <= 9999 ? '' + y : '+' + y; 1141}); 1142 1143addFormatToken(0, ['YY', 2], 0, function () { 1144 return this.year() % 100; 1145}); 1146 1147addFormatToken(0, ['YYYY', 4], 0, 'year'); 1148addFormatToken(0, ['YYYYY', 5], 0, 'year'); 1149addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); 1150 1151// ALIASES 1152 1153addUnitAlias('year', 'y'); 1154 1155// PRIORITIES 1156 1157addUnitPriority('year', 1); 1158 1159// PARSING 1160 1161addRegexToken('Y', matchSigned); 1162addRegexToken('YY', match1to2, match2); 1163addRegexToken('YYYY', match1to4, match4); 1164addRegexToken('YYYYY', match1to6, match6); 1165addRegexToken('YYYYYY', match1to6, match6); 1166 1167addParseToken(['YYYYY', 'YYYYYY'], YEAR); 1168addParseToken('YYYY', function (input, array) { 1169 array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input); 1170}); 1171addParseToken('YY', function (input, array) { 1172 array[YEAR] = hooks.parseTwoDigitYear(input); 1173}); 1174addParseToken('Y', function (input, array) { 1175 array[YEAR] = parseInt(input, 10); 1176}); 1177 1178// HELPERS 1179 1180function daysInYear(year) { 1181 return isLeapYear(year) ? 366 : 365; 1182} 1183 1184function isLeapYear(year) { 1185 return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; 1186} 1187 1188// HOOKS 1189 1190hooks.parseTwoDigitYear = function (input) { 1191 return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); 1192}; 1193 1194// MOMENTS 1195 1196var getSetYear = makeGetSet('FullYear', true); 1197 1198function getIsLeapYear () { 1199 return isLeapYear(this.year()); 1200} 1201 1202function createDate (y, m, d, h, M, s, ms) { 1203 // can't just apply() to create a date: 1204 // https://stackoverflow.com/q/181348 1205 var date = new Date(y, m, d, h, M, s, ms); 1206 1207 // the date constructor remaps years 0-99 to 1900-1999 1208 if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { 1209 date.setFullYear(y); 1210 } 1211 return date; 1212} 1213 1214function createUTCDate (y) { 1215 var date = new Date(Date.UTC.apply(null, arguments)); 1216 1217 // the Date.UTC function remaps years 0-99 to 1900-1999 1218 if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { 1219 date.setUTCFullYear(y); 1220 } 1221 return date; 1222} 1223 1224// start-of-first-week - start-of-year 1225function firstWeekOffset(year, dow, doy) { 1226 var // first-week day -- which january is always in the first week (4 for iso, 1 for other) 1227 fwd = 7 + dow - doy, 1228 // first-week day local weekday -- which local weekday is fwd 1229 fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; 1230 1231 return -fwdlw + fwd - 1; 1232} 1233 1234// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday 1235function dayOfYearFromWeeks(year, week, weekday, dow, doy) { 1236 var localWeekday = (7 + weekday - dow) % 7, 1237 weekOffset = firstWeekOffset(year, dow, doy), 1238 dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, 1239 resYear, resDayOfYear; 1240 1241 if (dayOfYear <= 0) { 1242 resYear = year - 1; 1243 resDayOfYear = daysInYear(resYear) + dayOfYear; 1244 } else if (dayOfYear > daysInYear(year)) { 1245 resYear = year + 1; 1246 resDayOfYear = dayOfYear - daysInYear(year); 1247 } else { 1248 resYear = year; 1249 resDayOfYear = dayOfYear; 1250 } 1251 1252 return { 1253 year: resYear, 1254 dayOfYear: resDayOfYear 1255 }; 1256} 1257 1258function weekOfYear(mom, dow, doy) { 1259 var weekOffset = firstWeekOffset(mom.year(), dow, doy), 1260 week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, 1261 resWeek, resYear; 1262 1263 if (week < 1) { 1264 resYear = mom.year() - 1; 1265 resWeek = week + weeksInYear(resYear, dow, doy); 1266 } else if (week > weeksInYear(mom.year(), dow, doy)) { 1267 resWeek = week - weeksInYear(mom.year(), dow, doy); 1268 resYear = mom.year() + 1; 1269 } else { 1270 resYear = mom.year(); 1271 resWeek = week; 1272 } 1273 1274 return { 1275 week: resWeek, 1276 year: resYear 1277 }; 1278} 1279 1280function weeksInYear(year, dow, doy) { 1281 var weekOffset = firstWeekOffset(year, dow, doy), 1282 weekOffsetNext = firstWeekOffset(year + 1, dow, doy); 1283 return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; 1284} 1285 1286// FORMATTING 1287 1288addFormatToken('w', ['ww', 2], 'wo', 'week'); 1289addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); 1290 1291// ALIASES 1292 1293addUnitAlias('week', 'w'); 1294addUnitAlias('isoWeek', 'W'); 1295 1296// PRIORITIES 1297 1298addUnitPriority('week', 5); 1299addUnitPriority('isoWeek', 5); 1300 1301// PARSING 1302 1303addRegexToken('w', match1to2); 1304addRegexToken('ww', match1to2, match2); 1305addRegexToken('W', match1to2); 1306addRegexToken('WW', match1to2, match2); 1307 1308addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) { 1309 week[token.substr(0, 1)] = toInt(input); 1310}); 1311 1312// HELPERS 1313 1314// LOCALES 1315 1316function localeWeek (mom) { 1317 return weekOfYear(mom, this._week.dow, this._week.doy).week; 1318} 1319 1320var defaultLocaleWeek = { 1321 dow : 0, // Sunday is the first day of the week. 1322 doy : 6 // The week that contains Jan 1st is the first week of the year. 1323}; 1324 1325function localeFirstDayOfWeek () { 1326 return this._week.dow; 1327} 1328 1329function localeFirstDayOfYear () { 1330 return this._week.doy; 1331} 1332 1333// MOMENTS 1334 1335function getSetWeek (input) { 1336 var week = this.localeData().week(this); 1337 return input == null ? week : this.add((input - week) * 7, 'd'); 1338} 1339 1340function getSetISOWeek (input) { 1341 var week = weekOfYear(this, 1, 4).week; 1342 return input == null ? week : this.add((input - week) * 7, 'd'); 1343} 1344 1345// FORMATTING 1346 1347addFormatToken('d', 0, 'do', 'day'); 1348 1349addFormatToken('dd', 0, 0, function (format) { 1350 return this.localeData().weekdaysMin(this, format); 1351}); 1352 1353addFormatToken('ddd', 0, 0, function (format) { 1354 return this.localeData().weekdaysShort(this, format); 1355}); 1356 1357addFormatToken('dddd', 0, 0, function (format) { 1358 return this.localeData().weekdays(this, format); 1359}); 1360 1361addFormatToken('e', 0, 0, 'weekday'); 1362addFormatToken('E', 0, 0, 'isoWeekday'); 1363 1364// ALIASES 1365 1366addUnitAlias('day', 'd'); 1367addUnitAlias('weekday', 'e'); 1368addUnitAlias('isoWeekday', 'E'); 1369 1370// PRIORITY 1371addUnitPriority('day', 11); 1372addUnitPriority('weekday', 11); 1373addUnitPriority('isoWeekday', 11); 1374 1375// PARSING 1376 1377addRegexToken('d', match1to2); 1378addRegexToken('e', match1to2); 1379addRegexToken('E', match1to2); 1380addRegexToken('dd', function (isStrict, locale) { 1381 return locale.weekdaysMinRegex(isStrict); 1382}); 1383addRegexToken('ddd', function (isStrict, locale) { 1384 return locale.weekdaysShortRegex(isStrict); 1385}); 1386addRegexToken('dddd', function (isStrict, locale) { 1387 return locale.weekdaysRegex(isStrict); 1388}); 1389 1390addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { 1391 var weekday = config._locale.weekdaysParse(input, token, config._strict); 1392 // if we didn't get a weekday name, mark the date as invalid 1393 if (weekday != null) { 1394 week.d = weekday; 1395 } else { 1396 getParsingFlags(config).invalidWeekday = input; 1397 } 1398}); 1399 1400addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { 1401 week[token] = toInt(input); 1402}); 1403 1404// HELPERS 1405 1406function parseWeekday(input, locale) { 1407 if (typeof input !== 'string') { 1408 return input; 1409 } 1410 1411 if (!isNaN(input)) { 1412 return parseInt(input, 10); 1413 } 1414 1415 input = locale.weekdaysParse(input); 1416 if (typeof input === 'number') { 1417 return input; 1418 } 1419 1420 return null; 1421} 1422 1423function parseIsoWeekday(input, locale) { 1424 if (typeof input === 'string') { 1425 return locale.weekdaysParse(input) % 7 || 7; 1426 } 1427 return isNaN(input) ? null : input; 1428} 1429 1430// LOCALES 1431 1432var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); 1433function localeWeekdays (m, format) { 1434 if (!m) { 1435 return isArray(this._weekdays) ? this._weekdays : 1436 this._weekdays['standalone']; 1437 } 1438 return isArray(this._weekdays) ? this._weekdays[m.day()] : 1439 this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; 1440} 1441 1442var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); 1443function localeWeekdaysShort (m) { 1444 return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort; 1445} 1446 1447var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'); 1448function localeWeekdaysMin (m) { 1449 return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin; 1450} 1451 1452function handleStrictParse$1(weekdayName, format, strict) { 1453 var i, ii, mom, llc = weekdayName.toLocaleLowerCase(); 1454 if (!this._weekdaysParse) { 1455 this._weekdaysParse = []; 1456 this._shortWeekdaysParse = []; 1457 this._minWeekdaysParse = []; 1458 1459 for (i = 0; i < 7; ++i) { 1460 mom = createUTC([2000, 1]).day(i); 1461 this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase(); 1462 this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase(); 1463 this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); 1464 } 1465 } 1466 1467 if (strict) { 1468 if (format === 'dddd') { 1469 ii = indexOf$1.call(this._weekdaysParse, llc); 1470 return ii !== -1 ? ii : null; 1471 } else if (format === 'ddd') { 1472 ii = indexOf$1.call(this._shortWeekdaysParse, llc); 1473 return ii !== -1 ? ii : null; 1474 } else { 1475 ii = indexOf$1.call(this._minWeekdaysParse, llc); 1476 return ii !== -1 ? ii : null; 1477 } 1478 } else { 1479 if (format === 'dddd') { 1480 ii = indexOf$1.call(this._weekdaysParse, llc); 1481 if (ii !== -1) { 1482 return ii; 1483 } 1484 ii = indexOf$1.call(this._shortWeekdaysParse, llc); 1485 if (ii !== -1) { 1486 return ii; 1487 } 1488 ii = indexOf$1.call(this._minWeekdaysParse, llc); 1489 return ii !== -1 ? ii : null; 1490 } else if (format === 'ddd') { 1491 ii = indexOf$1.call(this._shortWeekdaysParse, llc); 1492 if (ii !== -1) { 1493 return ii; 1494 } 1495 ii = indexOf$1.call(this._weekdaysParse, llc); 1496 if (ii !== -1) { 1497 return ii; 1498 } 1499 ii = indexOf$1.call(this._minWeekdaysParse, llc); 1500 return ii !== -1 ? ii : null; 1501 } else { 1502 ii = indexOf$1.call(this._minWeekdaysParse, llc); 1503 if (ii !== -1) { 1504 return ii; 1505 } 1506 ii = indexOf$1.call(this._weekdaysParse, llc); 1507 if (ii !== -1) { 1508 return ii; 1509 } 1510 ii = indexOf$1.call(this._shortWeekdaysParse, llc); 1511 return ii !== -1 ? ii : null; 1512 } 1513 } 1514} 1515 1516function localeWeekdaysParse (weekdayName, format, strict) { 1517 var i, mom, regex; 1518 1519 if (this._weekdaysParseExact) { 1520 return handleStrictParse$1.call(this, weekdayName, format, strict); 1521 } 1522 1523 if (!this._weekdaysParse) { 1524 this._weekdaysParse = []; 1525 this._minWeekdaysParse = []; 1526 this._shortWeekdaysParse = []; 1527 this._fullWeekdaysParse = []; 1528 } 1529 1530 for (i = 0; i < 7; i++) { 1531 // make the regex if we don't have it already 1532 1533 mom = createUTC([2000, 1]).day(i); 1534 if (strict && !this._fullWeekdaysParse[i]) { 1535 this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i'); 1536 this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '$', 'i'); 1537 this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', 'i'); 1538 } 1539 if (!this._weekdaysParse[i]) { 1540 regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); 1541 this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); 1542 } 1543 // test the regex 1544 if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) { 1545 return i; 1546 } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) { 1547 return i; 1548 } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) { 1549 return i; 1550 } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { 1551 return i; 1552 } 1553 } 1554} 1555 1556// MOMENTS 1557 1558function getSetDayOfWeek (input) { 1559 if (!this.isValid()) { 1560 return input != null ? this : NaN; 1561 } 1562 var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); 1563 if (input != null) { 1564 input = parseWeekday(input, this.localeData()); 1565 return this.add(input - day, 'd'); 1566 } else { 1567 return day; 1568 } 1569} 1570 1571function getSetLocaleDayOfWeek (input) { 1572 if (!this.isValid()) { 1573 return input != null ? this : NaN; 1574 } 1575 var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; 1576 return input == null ? weekday : this.add(input - weekday, 'd'); 1577} 1578 1579function getSetISODayOfWeek (input) { 1580 if (!this.isValid()) { 1581 return input != null ? this : NaN; 1582 } 1583 1584 // behaves the same as moment#day except 1585 // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) 1586 // as a setter, sunday should belong to the previous week. 1587 1588 if (input != null) { 1589 var weekday = parseIsoWeekday(input, this.localeData()); 1590 return this.day(this.day() % 7 ? weekday : weekday - 7); 1591 } else { 1592 return this.day() || 7; 1593 } 1594} 1595 1596var defaultWeekdaysRegex = matchWord; 1597function weekdaysRegex (isStrict) { 1598 if (this._weekdaysParseExact) { 1599 if (!hasOwnProp(this, '_weekdaysRegex')) { 1600 computeWeekdaysParse.call(this); 1601 } 1602 if (isStrict) { 1603 return this._weekdaysStrictRegex; 1604 } else { 1605 return this._weekdaysRegex; 1606 } 1607 } else { 1608 if (!hasOwnProp(this, '_weekdaysRegex')) { 1609 this._weekdaysRegex = defaultWeekdaysRegex; 1610 } 1611 return this._weekdaysStrictRegex && isStrict ? 1612 this._weekdaysStrictRegex : this._weekdaysRegex; 1613 } 1614} 1615 1616var defaultWeekdaysShortRegex = matchWord; 1617function weekdaysShortRegex (isStrict) { 1618 if (this._weekdaysParseExact) { 1619 if (!hasOwnProp(this, '_weekdaysRegex')) { 1620 computeWeekdaysParse.call(this); 1621 } 1622 if (isStrict) { 1623 return this._weekdaysShortStrictRegex; 1624 } else { 1625 return this._weekdaysShortRegex; 1626 } 1627 } else { 1628 if (!hasOwnProp(this, '_weekdaysShortRegex')) { 1629 this._weekdaysShortRegex = defaultWeekdaysShortRegex; 1630 } 1631 return this._weekdaysShortStrictRegex && isStrict ? 1632 this._weekdaysShortStrictRegex : this._weekdaysShortRegex; 1633 } 1634} 1635 1636var defaultWeekdaysMinRegex = matchWord; 1637function weekdaysMinRegex (isStrict) { 1638 if (this._weekdaysParseExact) { 1639 if (!hasOwnProp(this, '_weekdaysRegex')) { 1640 computeWeekdaysParse.call(this); 1641 } 1642 if (isStrict) { 1643 return this._weekdaysMinStrictRegex; 1644 } else { 1645 return this._weekdaysMinRegex; 1646 } 1647 } else { 1648 if (!hasOwnProp(this, '_weekdaysMinRegex')) { 1649 this._weekdaysMinRegex = defaultWeekdaysMinRegex; 1650 } 1651 return this._weekdaysMinStrictRegex && isStrict ? 1652 this._weekdaysMinStrictRegex : this._weekdaysMinRegex; 1653 } 1654} 1655 1656 1657function computeWeekdaysParse () { 1658 function cmpLenRev(a, b) { 1659 return b.length - a.length; 1660 } 1661 1662 var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], 1663 i, mom, minp, shortp, longp; 1664 for (i = 0; i < 7; i++) { 1665 // make the regex if we don't have it already 1666 mom = createUTC([2000, 1]).day(i); 1667 minp = this.weekdaysMin(mom, ''); 1668 shortp = this.weekdaysShort(mom, ''); 1669 longp = this.weekdays(mom, ''); 1670 minPieces.push(minp); 1671 shortPieces.push(shortp); 1672 longPieces.push(longp); 1673 mixedPieces.push(minp); 1674 mixedPieces.push(shortp); 1675 mixedPieces.push(longp); 1676 } 1677 // Sorting makes sure if one weekday (or abbr) is a prefix of another it 1678 // will match the longer piece. 1679 minPieces.sort(cmpLenRev); 1680 shortPieces.sort(cmpLenRev); 1681 longPieces.sort(cmpLenRev); 1682 mixedPieces.sort(cmpLenRev); 1683 for (i = 0; i < 7; i++) { 1684 shortPieces[i] = regexEscape(shortPieces[i]); 1685 longPieces[i] = regexEscape(longPieces[i]); 1686 mixedPieces[i] = regexEscape(mixedPieces[i]); 1687 } 1688 1689 this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); 1690 this._weekdaysShortRegex = this._weekdaysRegex; 1691 this._weekdaysMinRegex = this._weekdaysRegex; 1692 1693 this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); 1694 this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); 1695 this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i'); 1696} 1697 1698// FORMATTING 1699 1700function hFormat() { 1701 return this.hours() % 12 || 12; 1702} 1703 1704function kFormat() { 1705 return this.hours() || 24; 1706} 1707 1708addFormatToken('H', ['HH', 2], 0, 'hour'); 1709addFormatToken('h', ['hh', 2], 0, hFormat); 1710addFormatToken('k', ['kk', 2], 0, kFormat); 1711 1712addFormatToken('hmm', 0, 0, function () { 1713 return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); 1714}); 1715 1716addFormatToken('hmmss', 0, 0, function () { 1717 return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + 1718 zeroFill(this.seconds(), 2); 1719}); 1720 1721addFormatToken('Hmm', 0, 0, function () { 1722 return '' + this.hours() + zeroFill(this.minutes(), 2); 1723}); 1724 1725addFormatToken('Hmmss', 0, 0, function () { 1726 return '' + this.hours() + zeroFill(this.minutes(), 2) + 1727 zeroFill(this.seconds(), 2); 1728}); 1729 1730function meridiem (token, lowercase) { 1731 addFormatToken(token, 0, 0, function () { 1732 return this.localeData().meridiem(this.hours(), this.minutes(), lowercase); 1733 }); 1734} 1735 1736meridiem('a', true); 1737meridiem('A', false); 1738 1739// ALIASES 1740 1741addUnitAlias('hour', 'h'); 1742 1743// PRIORITY 1744addUnitPriority('hour', 13); 1745 1746// PARSING 1747 1748function matchMeridiem (isStrict, locale) { 1749 return locale._meridiemParse; 1750} 1751 1752addRegexToken('a', matchMeridiem); 1753addRegexToken('A', matchMeridiem); 1754addRegexToken('H', match1to2); 1755addRegexToken('h', match1to2); 1756addRegexToken('k', match1to2); 1757addRegexToken('HH', match1to2, match2); 1758addRegexToken('hh', match1to2, match2); 1759addRegexToken('kk', match1to2, match2); 1760
vendor: 10,841 bytes, lines 1761-2101
1761addRegexToken('hmm', match3to4); 1762addRegexToken('hmmss', match5to6); 1763addRegexToken('Hmm', match3to4); 1764addRegexToken('Hmmss', match5to6); 1765 1766addParseToken(['H', 'HH'], HOUR); 1767addParseToken(['k', 'kk'], function (input, array, config) { 1768 var kInput = toInt(input); 1769 array[HOUR] = kInput === 24 ? 0 : kInput; 1770}); 1771addParseToken(['a', 'A'], function (input, array, config) { 1772 config._isPm = config._locale.isPM(input); 1773 config._meridiem = input; 1774}); 1775addParseToken(['h', 'hh'], function (input, array, config) { 1776 array[HOUR] = toInt(input); 1777 getParsingFlags(config).bigHour = true; 1778}); 1779addParseToken('hmm', function (input, array, config) { 1780 var pos = input.length - 2; 1781 array[HOUR] = toInt(input.substr(0, pos)); 1782 array[MINUTE] = toInt(input.substr(pos)); 1783 getParsingFlags(config).bigHour = true; 1784}); 1785addParseToken('hmmss', function (input, array, config) { 1786 var pos1 = input.length - 4; 1787 var pos2 = input.length - 2; 1788 array[HOUR] = toInt(input.substr(0, pos1)); 1789 array[MINUTE] = toInt(input.substr(pos1, 2)); 1790 array[SECOND] = toInt(input.substr(pos2)); 1791 getParsingFlags(config).bigHour = true; 1792}); 1793addParseToken('Hmm', function (input, array, config) { 1794 var pos = input.length - 2; 1795 array[HOUR] = toInt(input.substr(0, pos)); 1796 array[MINUTE] = toInt(input.substr(pos)); 1797}); 1798addParseToken('Hmmss', function (input, array, config) { 1799 var pos1 = input.length - 4; 1800 var pos2 = input.length - 2; 1801 array[HOUR] = toInt(input.substr(0, pos1)); 1802 array[MINUTE] = toInt(input.substr(pos1, 2)); 1803 array[SECOND] = toInt(input.substr(pos2)); 1804}); 1805 1806// LOCALES 1807 1808function localeIsPM (input) { 1809 // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays 1810 // Using charAt should be more compatible. 1811 return ((input + '').toLowerCase().charAt(0) === 'p'); 1812} 1813 1814var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; 1815function localeMeridiem (hours, minutes, isLower) { 1816 if (hours > 11) { 1817 return isLower ? 'pm' : 'PM'; 1818 } else { 1819 return isLower ? 'am' : 'AM'; 1820 } 1821} 1822 1823 1824// MOMENTS 1825 1826// Setting the hour should keep the time, because the user explicitly 1827// specified which hour he wants. So trying to maintain the same hour (in 1828// a new timezone) makes sense. Adding/subtracting hours does not follow 1829// this rule. 1830var getSetHour = makeGetSet('Hours', true); 1831 1832// months 1833// week 1834// weekdays 1835// meridiem 1836var baseConfig = { 1837 calendar: defaultCalendar, 1838 longDateFormat: defaultLongDateFormat, 1839 invalidDate: defaultInvalidDate, 1840 ordinal: defaultOrdinal, 1841 dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse, 1842 relativeTime: defaultRelativeTime, 1843 1844 months: defaultLocaleMonths, 1845 monthsShort: defaultLocaleMonthsShort, 1846 1847 week: defaultLocaleWeek, 1848 1849 weekdays: defaultLocaleWeekdays, 1850 weekdaysMin: defaultLocaleWeekdaysMin, 1851 weekdaysShort: defaultLocaleWeekdaysShort, 1852 1853 meridiemParse: defaultLocaleMeridiemParse 1854}; 1855 1856// internal storage for locale config files 1857var locales = {}; 1858var localeFamilies = {}; 1859var globalLocale; 1860 1861function normalizeLocale(key) { 1862 return key ? key.toLowerCase().replace('_', '-') : key; 1863} 1864 1865// pick the locale from the array 1866// try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each 1867// substring from most specific to least, but move to the next array item if it's a more specific variant than the current root 1868function chooseLocale(names) { 1869 var i = 0, j, next, locale, split; 1870 1871 while (i < names.length) { 1872 split = normalizeLocale(names[i]).split('-'); 1873 j = split.length; 1874 next = normalizeLocale(names[i + 1]); 1875 next = next ? next.split('-') : null; 1876 while (j > 0) { 1877 locale = loadLocale(split.slice(0, j).join('-')); 1878 if (locale) { 1879 return locale; 1880 } 1881 if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { 1882 //the next array item is better than a shallower substring of this one 1883 break; 1884 } 1885 j--; 1886 } 1887 i++; 1888 } 1889 return null; 1890} 1891 1892function loadLocale(name) { 1893 var oldLocale = null; 1894 // TODO: Find a better way to register and load all the locales in Node 1895 if (!locales[name] && (typeof module !== 'undefined') && 1896 module && module.exports) { 1897 try { 1898 oldLocale = globalLocale._abbr; 1899 __webpack_require__(203)("./" + name); 1900 // because defineLocale currently also sets the global locale, we 1901 // want to undo that for lazy loaded locales 1902 getSetGlobalLocale(oldLocale); 1903 } catch (e) { } 1904 } 1905 return locales[name]; 1906} 1907 1908// This function will load locale and then set the global locale. If 1909// no arguments are passed in, it will simply return the current global 1910// locale key. 1911function getSetGlobalLocale (key, values) { 1912 var data; 1913 if (key) { 1914 if (isUndefined(values)) { 1915 data = getLocale(key); 1916 } 1917 else { 1918 data = defineLocale(key, values); 1919 } 1920 1921 if (data) { 1922 // moment.duration._locale = moment._locale = data; 1923 globalLocale = data; 1924 } 1925 } 1926 1927 return globalLocale._abbr; 1928} 1929 1930function defineLocale (name, config) { 1931 if (config !== null) { 1932 var parentConfig = baseConfig; 1933 config.abbr = name; 1934 if (locales[name] != null) { 1935 deprecateSimple('defineLocaleOverride', 1936 'use moment.updateLocale(localeName, config) to change ' + 1937 'an existing locale. moment.defineLocale(localeName, ' + 1938 'config) should only be used for creating a new locale ' + 1939 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'); 1940 parentConfig = locales[name]._config; 1941 } else if (config.parentLocale != null) { 1942 if (locales[config.parentLocale] != null) { 1943 parentConfig = locales[config.parentLocale]._config; 1944 } else { 1945 if (!localeFamilies[config.parentLocale]) { 1946 localeFamilies[config.parentLocale] = []; 1947 } 1948 localeFamilies[config.parentLocale].push({ 1949 name: name, 1950 config: config 1951 }); 1952 return null; 1953 } 1954 } 1955 locales[name] = new Locale(mergeConfigs(parentConfig, config)); 1956 1957 if (localeFamilies[name]) { 1958 localeFamilies[name].forEach(function (x) { 1959 defineLocale(x.name, x.config); 1960 }); 1961 } 1962 1963 // backwards compat for now: also set the locale 1964 // make sure we set the locale AFTER all child locales have been 1965 // created, so we won't end up with the child locale set. 1966 getSetGlobalLocale(name); 1967 1968 1969 return locales[name]; 1970 } else { 1971 // useful for testing 1972 delete locales[name]; 1973 return null; 1974 } 1975} 1976 1977function updateLocale(name, config) { 1978 if (config != null) { 1979 var locale, parentConfig = baseConfig; 1980 // MERGE 1981 if (locales[name] != null) { 1982 parentConfig = locales[name]._config; 1983 } 1984 config = mergeConfigs(parentConfig, config); 1985 locale = new Locale(config); 1986 locale.parentLocale = locales[name]; 1987 locales[name] = locale; 1988 1989 // backwards compat for now: also set the locale 1990 getSetGlobalLocale(name); 1991 } else { 1992 // pass null for config to unupdate, useful for tests 1993 if (locales[name] != null) { 1994 if (locales[name].parentLocale != null) { 1995 locales[name] = locales[name].parentLocale; 1996 } else if (locales[name] != null) { 1997 delete locales[name]; 1998 } 1999 } 2000 } 2001 return locales[name]; 2002} 2003 2004// returns locale data 2005function getLocale (key) { 2006 var locale; 2007 2008 if (key && key._locale && key._locale._abbr) { 2009 key = key._locale._abbr; 2010 } 2011 2012 if (!key) { 2013 return globalLocale; 2014 } 2015 2016 if (!isArray(key)) { 2017 //short-circuit everything else 2018 locale = loadLocale(key); 2019 if (locale) { 2020 return locale; 2021 } 2022 key = [key]; 2023 } 2024 2025 return chooseLocale(key); 2026} 2027 2028function listLocales() { 2029 return keys$1(locales); 2030} 2031 2032function checkOverflow (m) { 2033 var overflow; 2034 var a = m._a; 2035 2036 if (a && getParsingFlags(m).overflow === -2) { 2037 overflow = 2038 a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : 2039 a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : 2040 a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR : 2041 a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : 2042 a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : 2043 a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : 2044 -1; 2045 2046 if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { 2047 overflow = DATE; 2048 } 2049 if (getParsingFlags(m)._overflowWeeks && overflow === -1) { 2050 overflow = WEEK; 2051 } 2052 if (getParsingFlags(m)._overflowWeekday && overflow === -1) { 2053 overflow = WEEKDAY; 2054 } 2055 2056 getParsingFlags(m).overflow = overflow; 2057 } 2058 2059 return m; 2060} 2061 2062// iso 8601 regex 2063// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) 2064var extendedIsoRegex = /^\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)?)?$/; 2065var basicIsoRegex = /^\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)?)?$/; 2066 2067var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; 2068 2069var isoDates = [ 2070 ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], 2071 ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], 2072 ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], 2073 ['GGGG-[W]WW', /\d{4}-W\d\d/, false], 2074 ['YYYY-DDD', /\d{4}-\d{3}/], 2075 ['YYYY-MM', /\d{4}-\d\d/, false], 2076 ['YYYYYYMMDD', /[+-]\d{10}/], 2077 ['YYYYMMDD', /\d{8}/], 2078 // YYYYMM is NOT allowed by the standard 2079 ['GGGG[W]WWE', /\d{4}W\d{3}/], 2080 ['GGGG[W]WW', /\d{4}W\d{2}/, false], 2081 ['YYYYDDD', /\d{7}/] 2082]; 2083 2084// iso time formats and regexes 2085var isoTimes = [ 2086 ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], 2087 ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], 2088 ['HH:mm:ss', /\d\d:\d\d:\d\d/], 2089 ['HH:mm', /\d\d:\d\d/], 2090 ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], 2091 ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], 2092 ['HHmmss', /\d\d\d\d\d\d/], 2093 ['HHmm', /\d\d\d\d/], 2094 ['HH', /\d\d/] 2095]; 2096 2097var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; 2098 2099// date from iso format 2100function configFromISO(config) { 2101 var i, l,
vendor: 2,325 bytes, lines 2102-2173
2102 string = config._i, 2103 match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), 2104 allowTime, dateFormat, timeFormat, tzFormat; 2105 2106 if (match) { 2107 getParsingFlags(config).iso = true; 2108 2109 for (i = 0, l = isoDates.length; i < l; i++) { 2110 if (isoDates[i][1].exec(match[1])) { 2111 dateFormat = isoDates[i][0]; 2112 allowTime = isoDates[i][2] !== false; 2113 break; 2114 } 2115 } 2116 if (dateFormat == null) { 2117 config._isValid = false; 2118 return; 2119 } 2120 if (match[3]) { 2121 for (i = 0, l = isoTimes.length; i < l; i++) { 2122 if (isoTimes[i][1].exec(match[3])) { 2123 // match[2] should be 'T' or space 2124 timeFormat = (match[2] || ' ') + isoTimes[i][0]; 2125 break; 2126 } 2127 } 2128 if (timeFormat == null) { 2129 config._isValid = false; 2130 return; 2131 } 2132 } 2133 if (!allowTime && timeFormat != null) { 2134 config._isValid = false; 2135 return; 2136 } 2137 if (match[4]) { 2138 if (tzRegex.exec(match[4])) { 2139 tzFormat = 'Z'; 2140 } else { 2141 config._isValid = false; 2142 return; 2143 } 2144 } 2145 config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); 2146 configFromStringAndFormat(config); 2147 } else { 2148 config._isValid = false; 2149 } 2150} 2151 2152// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3 2153var basicRfcRegex = /^((?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d?\d\s(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(?:\d\d)?\d\d\s)(\d\d:\d\d)(\:\d\d)?(\s(?:UT|GMT|[ECMP][SD]T|[A-IK-Za-ik-z]|[+-]\d{4}))$/; 2154 2155// date and time from ref 2822 format 2156function configFromRFC2822(config) { 2157 var string, match, dayFormat, 2158 dateFormat, timeFormat, tzFormat; 2159 var timezones = { 2160 ' GMT': ' +0000', 2161 ' EDT': ' -0400', 2162 ' EST': ' -0500', 2163 ' CDT': ' -0500', 2164 ' CST': ' -0600', 2165 ' MDT': ' -0600', 2166 ' MST': ' -0700', 2167 ' PDT': ' -0700', 2168 ' PST': ' -0800' 2169 }; 2170 var military = 'YXWVUTSRQPONZABCDEFGHIKLM'; 2171 var timezone, timezoneIndex; 2172 2173 string = config._i
2174 .replace(/\([^\)]*\)|[\n\t]/g, ' ') // Remove comments and folding whitespace 2175 .replace(/(\s\s+)/g, ' ') // Replace multiple-spaces with a single space 2176 .replace(/^\s|\s$/g, ''); // Remove leading and trailing spaces 2177 match = basicRfcRegex.exec(string); 2178 2179 if (match) { 2180 dayFormat = match[1] ? 'ddd' + ((match[1].length === 5) ? ', ' : ' ') : ''; 2181 dateFormat = 'D MMM ' + ((match[2].length > 10) ? 'YYYY ' : 'YY '); 2182 timeFormat = 'HH:mm' + (match[4] ? ':ss' : ''); 2183 2184 // TODO: Replace the vanilla JS Date object with an indepentent day-of-week check. 2185 if (match[1]) { // day of week given 2186 var momentDate = new Date(match[2]); 2187 var momentDay = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][momentDate.getDay()]; 2188 2189 if (match[1].substr(0,3) !== momentDay) { 2190 getParsingFlags(config).weekdayMismatch = true; 2191 config._isValid = false; 2192 return; 2193 } 2194 } 2195 2196 switch (match[5].length) { 2197 case 2: // military 2198 if (timezoneIndex === 0) { 2199 timezone = ' +0000'; 2200 } else { 2201 timezoneIndex = military.indexOf(match[5][1].toUpperCase()) - 12; 2202 timezone = ((timezoneIndex < 0) ? ' -' : ' +') + 2203 (('' + timezoneIndex).replace(/^-?/, '0')).match(/..$/)[0] + '00'; 2204 } 2205 break; 2206 case 4: // Zone 2207 timezone = timezones[match[5]]; 2208 break; 2209 default: // UT or +/-9999 2210 timezone = timezones[' GMT']; 2211 } 2212 match[5] = timezone; 2213 config._i = match.splice(1).join(''); 2214 tzFormat = ' ZZ'; 2215 config._f = dayFormat + dateFormat + timeFormat + tzFormat; 2216 configFromStringAndFormat(config); 2217 getParsingFlags(config).rfc2822 = true; 2218 } else { 2219 config._isValid = false; 2220 } 2221} 2222 2223// date from iso format or fallback 2224function configFromString(config) { 2225 var matched = aspNetJsonRegex.exec(config._i); 2226 2227 if (matched !== null) { 2228 config._d = new Date(+matched[1]); 2229 return; 2230 } 2231 2232 configFromISO(config); 2233 if (config._isValid === false) { 2234 delete config._isValid; 2235 } else { 2236 return; 2237 } 2238 2239 configFromRFC2822(config); 2240 if (config._isValid === false) { 2241 delete config._isValid; 2242 } else { 2243 return; 2244 } 2245 2246 // Final attempt, use Input Fallback 2247 hooks.createFromInputFallback(config); 2248} 2249 2250hooks.createFromInputFallback = deprecate( 2251 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 2252 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 2253 'discouraged and will be removed in an upcoming major release. Please refer to ' + 2254 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', 2255 function (config) { 2256 config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); 2257 } 2258); 2259 2260// Pick the first defined of two or three arguments. 2261function defaults(a, b, c) { 2262 if (a != null) { 2263 return a; 2264 } 2265 if (b != null) { 2266 return b; 2267 } 2268 return c; 2269} 2270 2271function currentDateArray(config) { 2272 // hooks is actually the exported moment object 2273 var nowValue = new Date(hooks.now()); 2274 if (config._useUTC) { 2275 return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()]; 2276 } 2277 return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; 2278} 2279 2280// convert an array to a date. 2281// the array should mirror the parameters below 2282// note: all values past the year are optional and will default to the lowest possible value. 2283// [year, month, day , hour, minute, second, millisecond] 2284function configFromArray (config) { 2285 var i, date, input = [], currentDate, yearToUse; 2286 2287 if (config._d) { 2288 return; 2289 } 2290 2291 currentDate = currentDateArray(config); 2292 2293 //compute day of the year from weeks and weekdays 2294 if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { 2295 dayOfYearFromWeekInfo(config); 2296 } 2297 2298 //if the day of the year is set, figure out what it is 2299 if (config._dayOfYear != null) { 2300 yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); 2301 2302 if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) { 2303 getParsingFlags(config)._overflowDayOfYear = true; 2304 } 2305 2306 date = createUTCDate(yearToUse, 0, config._dayOfYear); 2307 config._a[MONTH] = date.getUTCMonth(); 2308 config._a[DATE] = date.getUTCDate(); 2309 } 2310 2311 // Default to current date. 2312 // * if no year, month, day of month are given, default to today 2313 // * if day of month is given, default month and year 2314 // * if month is given, default only year 2315 // * if year is given, don't default anything 2316 for (i = 0; i < 3 && config._a[i] == null; ++i) {
vendor: 4,215 bytes, lines 2317-2440
2317 config._a[i] = input[i] = currentDate[i]; 2318 } 2319 2320 // Zero out whatever was not defaulted, including time 2321 for (; i < 7; i++) { 2322 config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; 2323 } 2324 2325 // Check for 24:00:00.000 2326 if (config._a[HOUR] === 24 && 2327 config._a[MINUTE] === 0 && 2328 config._a[SECOND] === 0 && 2329 config._a[MILLISECOND] === 0) { 2330 config._nextDay = true; 2331 config._a[HOUR] = 0; 2332 } 2333 2334 config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input); 2335 // Apply timezone offset from input. The actual utcOffset can be changed 2336 // with parseZone. 2337 if (config._tzm != null) { 2338 config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); 2339 } 2340 2341 if (config._nextDay) { 2342 config._a[HOUR] = 24; 2343 } 2344} 2345 2346function dayOfYearFromWeekInfo(config) { 2347 var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow; 2348 2349 w = config._w; 2350 if (w.GG != null || w.W != null || w.E != null) { 2351 dow = 1; 2352 doy = 4; 2353 2354 // TODO: We need to take the current isoWeekYear, but that depends on 2355 // how we interpret now (local, utc, fixed offset). So create 2356 // a now version of current config (take local/utc/offset flags, and 2357 // create now). 2358 weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year); 2359 week = defaults(w.W, 1); 2360 weekday = defaults(w.E, 1); 2361 if (weekday < 1 || weekday > 7) { 2362 weekdayOverflow = true; 2363 } 2364 } else { 2365 dow = config._locale._week.dow; 2366 doy = config._locale._week.doy; 2367 2368 var curWeek = weekOfYear(createLocal(), dow, doy); 2369 2370 weekYear = defaults(w.gg, config._a[YEAR], curWeek.year); 2371 2372 // Default to current week. 2373 week = defaults(w.w, curWeek.week); 2374 2375 if (w.d != null) { 2376 // weekday -- low day numbers are considered next week 2377 weekday = w.d; 2378 if (weekday < 0 || weekday > 6) { 2379 weekdayOverflow = true; 2380 } 2381 } else if (w.e != null) { 2382 // local weekday -- counting starts from begining of week 2383 weekday = w.e + dow; 2384 if (w.e < 0 || w.e > 6) { 2385 weekdayOverflow = true; 2386 } 2387 } else { 2388 // default to begining of week 2389 weekday = dow; 2390 } 2391 } 2392 if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { 2393 getParsingFlags(config)._overflowWeeks = true; 2394 } else if (weekdayOverflow != null) { 2395 getParsingFlags(config)._overflowWeekday = true; 2396 } else { 2397 temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); 2398 config._a[YEAR] = temp.year; 2399 config._dayOfYear = temp.dayOfYear; 2400 } 2401} 2402 2403// constant that refers to the ISO standard 2404hooks.ISO_8601 = function () {}; 2405 2406// constant that refers to the RFC 2822 form 2407hooks.RFC_2822 = function () {}; 2408 2409// date from string and format string 2410function configFromStringAndFormat(config) { 2411 // TODO: Move this to another part of the creation flow to prevent circular deps 2412 if (config._f === hooks.ISO_8601) { 2413 configFromISO(config); 2414 return; 2415 } 2416 if (config._f === hooks.RFC_2822) { 2417 configFromRFC2822(config); 2418 return; 2419 } 2420 config._a = []; 2421 getParsingFlags(config).empty = true; 2422 2423 // This array is used to make a Date, either with `new Date` or `Date.UTC` 2424 var string = '' + config._i, 2425 i, parsedInput, tokens, token, skipped, 2426 stringLength = string.length, 2427 totalParsedInputLength = 0; 2428 2429 tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; 2430 2431 for (i = 0; i < tokens.length; i++) { 2432 token = tokens[i]; 2433 parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; 2434 // console.log('token', token, 'parsedInput', parsedInput, 2435 // 'regex', getParseRegexForToken(token, config)); 2436 if (parsedInput) { 2437 skipped = string.substr(0, string.indexOf(parsedInput)); 2438 if (skipped.length > 0) { 2439 getParsingFlags(config).unusedInput.push(skipped); 2440 }
vendor: 18,727 bytes, lines 2441-3093
2441 string = string.slice(string.indexOf(parsedInput) + parsedInput.length); 2442 totalParsedInputLength += parsedInput.length; 2443 } 2444 // don't parse if it's not a known token 2445 if (formatTokenFunctions[token]) { 2446 if (parsedInput) { 2447 getParsingFlags(config).empty = false; 2448 } 2449 else { 2450 getParsingFlags(config).unusedTokens.push(token); 2451 } 2452 addTimeToArrayFromToken(token, parsedInput, config); 2453 } 2454 else if (config._strict && !parsedInput) { 2455 getParsingFlags(config).unusedTokens.push(token); 2456 } 2457 } 2458 2459 // add remaining unparsed input length to the string 2460 getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength; 2461 if (string.length > 0) { 2462 getParsingFlags(config).unusedInput.push(string); 2463 } 2464 2465 // clear _12h flag if hour is <= 12 2466 if (config._a[HOUR] <= 12 && 2467 getParsingFlags(config).bigHour === true && 2468 config._a[HOUR] > 0) { 2469 getParsingFlags(config).bigHour = undefined; 2470 } 2471 2472 getParsingFlags(config).parsedDateParts = config._a.slice(0); 2473 getParsingFlags(config).meridiem = config._meridiem; 2474 // handle meridiem 2475 config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem); 2476 2477 configFromArray(config); 2478 checkOverflow(config); 2479} 2480 2481 2482function meridiemFixWrap (locale, hour, meridiem) { 2483 var isPm; 2484 2485 if (meridiem == null) { 2486 // nothing to do 2487 return hour; 2488 } 2489 if (locale.meridiemHour != null) { 2490 return locale.meridiemHour(hour, meridiem); 2491 } else if (locale.isPM != null) { 2492 // Fallback 2493 isPm = locale.isPM(meridiem); 2494 if (isPm && hour < 12) { 2495 hour += 12; 2496 } 2497 if (!isPm && hour === 12) { 2498 hour = 0; 2499 } 2500 return hour; 2501 } else { 2502 // this is not supposed to happen 2503 return hour; 2504 } 2505} 2506 2507// date from string and array of format strings 2508function configFromStringAndArray(config) { 2509 var tempConfig, 2510 bestMoment, 2511 2512 scoreToBeat, 2513 i, 2514 currentScore; 2515 2516 if (config._f.length === 0) { 2517 getParsingFlags(config).invalidFormat = true; 2518 config._d = new Date(NaN); 2519 return; 2520 } 2521 2522 for (i = 0; i < config._f.length; i++) { 2523 currentScore = 0; 2524 tempConfig = copyConfig({}, config); 2525 if (config._useUTC != null) { 2526 tempConfig._useUTC = config._useUTC; 2527 } 2528 tempConfig._f = config._f[i]; 2529 configFromStringAndFormat(tempConfig); 2530 2531 if (!isValid(tempConfig)) { 2532 continue; 2533 } 2534 2535 // if there is any input that was not parsed add a penalty for that format 2536 currentScore += getParsingFlags(tempConfig).charsLeftOver; 2537 2538 //or tokens 2539 currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; 2540 2541 getParsingFlags(tempConfig).score = currentScore; 2542 2543 if (scoreToBeat == null || currentScore < scoreToBeat) { 2544 scoreToBeat = currentScore; 2545 bestMoment = tempConfig; 2546 } 2547 } 2548 2549 extend(config, bestMoment || tempConfig); 2550} 2551 2552function configFromObject(config) { 2553 if (config._d) { 2554 return; 2555 } 2556 2557 var i = normalizeObjectUnits(config._i); 2558 config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { 2559 return obj && parseInt(obj, 10); 2560 }); 2561 2562 configFromArray(config); 2563} 2564 2565function createFromConfig (config) { 2566 var res = new Moment(checkOverflow(prepareConfig(config))); 2567 if (res._nextDay) { 2568 // Adding is smart enough around DST 2569 res.add(1, 'd'); 2570 res._nextDay = undefined; 2571 } 2572 2573 return res; 2574} 2575 2576function prepareConfig (config) { 2577 var input = config._i, 2578 format = config._f; 2579 2580 config._locale = config._locale || getLocale(config._l); 2581 2582 if (input === null || (format === undefined && input === '')) { 2583 return createInvalid({nullInput: true}); 2584 } 2585 2586 if (typeof input === 'string') { 2587 config._i = input = config._locale.preparse(input); 2588 } 2589 2590 if (isMoment(input)) { 2591 return new Moment(checkOverflow(input)); 2592 } else if (isDate(input)) { 2593 config._d = input; 2594 } else if (isArray(format)) { 2595 configFromStringAndArray(config); 2596 } else if (format) { 2597 configFromStringAndFormat(config); 2598 } else { 2599 configFromInput(config); 2600 } 2601 2602 if (!isValid(config)) { 2603 config._d = null; 2604 } 2605 2606 return config; 2607} 2608 2609function configFromInput(config) { 2610 var input = config._i; 2611 if (isUndefined(input)) { 2612 config._d = new Date(hooks.now()); 2613 } else if (isDate(input)) { 2614 config._d = new Date(input.valueOf()); 2615 } else if (typeof input === 'string') { 2616 configFromString(config); 2617 } else if (isArray(input)) { 2618 config._a = map(input.slice(0), function (obj) { 2619 return parseInt(obj, 10); 2620 }); 2621 configFromArray(config); 2622 } else if (isObject(input)) { 2623 configFromObject(config); 2624 } else if (isNumber(input)) { 2625 // from milliseconds 2626 config._d = new Date(input); 2627 } else { 2628 hooks.createFromInputFallback(config); 2629 } 2630} 2631 2632function createLocalOrUTC (input, format, locale, strict, isUTC) { 2633 var c = {}; 2634 2635 if (locale === true || locale === false) { 2636 strict = locale; 2637 locale = undefined; 2638 } 2639 2640 if ((isObject(input) && isObjectEmpty(input)) || 2641 (isArray(input) && input.length === 0)) { 2642 input = undefined; 2643 } 2644 // object construction must be done this way. 2645 // https://github.com/moment/moment/issues/1423 2646 c._isAMomentObject = true; 2647 c._useUTC = c._isUTC = isUTC; 2648 c._l = locale; 2649 c._i = input; 2650 c._f = format; 2651 c._strict = strict; 2652 2653 return createFromConfig(c); 2654} 2655 2656function createLocal (input, format, locale, strict) { 2657 return createLocalOrUTC(input, format, locale, strict, false); 2658} 2659 2660var prototypeMin = deprecate( 2661 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', 2662 function () { 2663 var other = createLocal.apply(null, arguments); 2664 if (this.isValid() && other.isValid()) { 2665 return other < this ? this : other; 2666 } else { 2667 return createInvalid(); 2668 } 2669 } 2670); 2671 2672var prototypeMax = deprecate( 2673 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', 2674 function () { 2675 var other = createLocal.apply(null, arguments); 2676 if (this.isValid() && other.isValid()) { 2677 return other > this ? this : other; 2678 } else { 2679 return createInvalid(); 2680 } 2681 } 2682); 2683 2684// Pick a moment m from moments so that m[fn](other) is true for all 2685// other. This relies on the function fn to be transitive. 2686// 2687// moments should either be an array of moment objects or an array, whose 2688// first element is an array of moment objects. 2689function pickBy(fn, moments) { 2690 var res, i; 2691 if (moments.length === 1 && isArray(moments[0])) { 2692 moments = moments[0]; 2693 } 2694 if (!moments.length) { 2695 return createLocal(); 2696 } 2697 res = moments[0]; 2698 for (i = 1; i < moments.length; ++i) { 2699 if (!moments[i].isValid() || moments[i][fn](res)) { 2700 res = moments[i]; 2701 } 2702 } 2703 return res; 2704} 2705 2706// TODO: Use [].sort instead? 2707function min () { 2708 var args = [].slice.call(arguments, 0); 2709 2710 return pickBy('isBefore', args); 2711} 2712 2713function max () { 2714 var args = [].slice.call(arguments, 0); 2715 2716 return pickBy('isAfter', args); 2717} 2718 2719var now = function () { 2720 return Date.now ? Date.now() : +(new Date()); 2721}; 2722 2723var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond']; 2724 2725function isDurationValid(m) { 2726 for (var key in m) { 2727 if (!(ordering.indexOf(key) !== -1 && (m[key] == null || !isNaN(m[key])))) { 2728 return false; 2729 } 2730 } 2731 2732 var unitHasDecimal = false; 2733 for (var i = 0; i < ordering.length; ++i) { 2734 if (m[ordering[i]]) { 2735 if (unitHasDecimal) { 2736 return false; // only allow non-integers for smallest unit 2737 } 2738 if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) { 2739 unitHasDecimal = true; 2740 } 2741 } 2742 } 2743 2744 return true; 2745} 2746 2747function isValid$1() { 2748 return this._isValid; 2749} 2750 2751function createInvalid$1() { 2752 return createDuration(NaN); 2753} 2754 2755function Duration (duration) { 2756 var normalizedInput = normalizeObjectUnits(duration), 2757 years = normalizedInput.year || 0, 2758 quarters = normalizedInput.quarter || 0, 2759 months = normalizedInput.month || 0, 2760 weeks = normalizedInput.week || 0, 2761 days = normalizedInput.day || 0, 2762 hours = normalizedInput.hour || 0, 2763 minutes = normalizedInput.minute || 0, 2764 seconds = normalizedInput.second || 0, 2765 milliseconds = normalizedInput.millisecond || 0; 2766 2767 this._isValid = isDurationValid(normalizedInput); 2768 2769 // representation for dateAddRemove 2770 this._milliseconds = +milliseconds + 2771 seconds * 1e3 + // 1000 2772 minutes * 6e4 + // 1000 * 60 2773 hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 2774 // Because of dateAddRemove treats 24 hours as different from a 2775 // day when working around DST, we need to store them separately 2776 this._days = +days + 2777 weeks * 7; 2778 // It is impossible translate months into days without knowing 2779 // which months you are are talking about, so we have to store 2780 // it separately. 2781 this._months = +months + 2782 quarters * 3 + 2783 years * 12; 2784 2785 this._data = {}; 2786 2787 this._locale = getLocale(); 2788 2789 this._bubble(); 2790} 2791 2792function isDuration (obj) { 2793 return obj instanceof Duration; 2794} 2795 2796function absRound (number) { 2797 if (number < 0) { 2798 return Math.round(-1 * number) * -1; 2799 } else { 2800 return Math.round(number); 2801 } 2802} 2803 2804// FORMATTING 2805 2806function offset (token, separator) { 2807 addFormatToken(token, 0, 0, function () { 2808 var offset = this.utcOffset(); 2809 var sign = '+'; 2810 if (offset < 0) { 2811 offset = -offset; 2812 sign = '-'; 2813 } 2814 return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2); 2815 }); 2816} 2817 2818offset('Z', ':'); 2819offset('ZZ', ''); 2820 2821// PARSING 2822 2823addRegexToken('Z', matchShortOffset); 2824addRegexToken('ZZ', matchShortOffset); 2825addParseToken(['Z', 'ZZ'], function (input, array, config) { 2826 config._useUTC = true; 2827 config._tzm = offsetFromString(matchShortOffset, input); 2828}); 2829 2830// HELPERS 2831 2832// timezone chunker 2833// '+10:00' > ['10', '00'] 2834// '-1530' > ['-15', '30'] 2835var chunkOffset = /([\+\-]|\d\d)/gi; 2836 2837function offsetFromString(matcher, string) { 2838 var matches = (string || '').match(matcher); 2839 2840 if (matches === null) { 2841 return null; 2842 } 2843 2844 var chunk = matches[matches.length - 1] || []; 2845 var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; 2846 var minutes = +(parts[1] * 60) + toInt(parts[2]); 2847 2848 return minutes === 0 ? 2849 0 : 2850 parts[0] === '+' ? minutes : -minutes; 2851} 2852 2853// Return a moment from input, that is local/utc/zone equivalent to model. 2854function cloneWithOffset(input, model) { 2855 var res, diff; 2856 if (model._isUTC) { 2857 res = model.clone(); 2858 diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf(); 2859 // Use low-level api, because this fn is low-level api. 2860 res._d.setTime(res._d.valueOf() + diff); 2861 hooks.updateOffset(res, false); 2862 return res; 2863 } else { 2864 return createLocal(input).local(); 2865 } 2866} 2867 2868function getDateOffset (m) { 2869 // On Firefox.24 Date#getTimezoneOffset returns a floating point. 2870 // https://github.com/moment/moment/pull/1871 2871 return -Math.round(m._d.getTimezoneOffset() / 15) * 15; 2872} 2873 2874// HOOKS 2875 2876// This function will be called whenever a moment is mutated. 2877// It is intended to keep the offset in sync with the timezone. 2878hooks.updateOffset = function () {}; 2879 2880// MOMENTS 2881 2882// keepLocalTime = true means only change the timezone, without 2883// affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> 2884// 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset 2885// +0200, so we adjust the time as needed, to be valid. 2886// 2887// Keeping the time actually adds/subtracts (one hour) 2888// from the actual represented time. That is why we call updateOffset 2889// a second time. In case it wants us to change the offset again 2890// _changeInProgress == true case, then we have to adjust, because 2891// there is no such time in the given timezone. 2892function getSetOffset (input, keepLocalTime, keepMinutes) { 2893 var offset = this._offset || 0, 2894 localAdjust; 2895 if (!this.isValid()) { 2896 return input != null ? this : NaN; 2897 } 2898 if (input != null) { 2899 if (typeof input === 'string') { 2900 input = offsetFromString(matchShortOffset, input); 2901 if (input === null) { 2902 return this; 2903 } 2904 } else if (Math.abs(input) < 16 && !keepMinutes) { 2905 input = input * 60; 2906 } 2907 if (!this._isUTC && keepLocalTime) { 2908 localAdjust = getDateOffset(this); 2909 } 2910 this._offset = input; 2911 this._isUTC = true; 2912 if (localAdjust != null) { 2913 this.add(localAdjust, 'm'); 2914 } 2915 if (offset !== input) { 2916 if (!keepLocalTime || this._changeInProgress) { 2917 addSubtract(this, createDuration(input - offset, 'm'), 1, false); 2918 } else if (!this._changeInProgress) { 2919 this._changeInProgress = true; 2920 hooks.updateOffset(this, true); 2921 this._changeInProgress = null; 2922 } 2923 } 2924 return this; 2925 } else { 2926 return this._isUTC ? offset : getDateOffset(this); 2927 } 2928} 2929 2930function getSetZone (input, keepLocalTime) { 2931 if (input != null) { 2932 if (typeof input !== 'string') { 2933 input = -input; 2934 } 2935 2936 this.utcOffset(input, keepLocalTime); 2937 2938 return this; 2939 } else { 2940 return -this.utcOffset(); 2941 } 2942} 2943 2944function setOffsetToUTC (keepLocalTime) { 2945 return this.utcOffset(0, keepLocalTime); 2946} 2947 2948function setOffsetToLocal (keepLocalTime) { 2949 if (this._isUTC) { 2950 this.utcOffset(0, keepLocalTime); 2951 this._isUTC = false; 2952 2953 if (keepLocalTime) { 2954 this.subtract(getDateOffset(this), 'm'); 2955 } 2956 } 2957 return this; 2958} 2959 2960function setOffsetToParsedOffset () { 2961 if (this._tzm != null) { 2962 this.utcOffset(this._tzm, false, true); 2963 } else if (typeof this._i === 'string') { 2964 var tZone = offsetFromString(matchOffset, this._i); 2965 if (tZone != null) { 2966 this.utcOffset(tZone); 2967 } 2968 else { 2969 this.utcOffset(0, true); 2970 } 2971 } 2972 return this; 2973} 2974 2975function hasAlignedHourOffset (input) { 2976 if (!this.isValid()) { 2977 return false; 2978 } 2979 input = input ? createLocal(input).utcOffset() : 0; 2980 2981 return (this.utcOffset() - input) % 60 === 0; 2982} 2983 2984function isDaylightSavingTime () { 2985 return ( 2986 this.utcOffset() > this.clone().month(0).utcOffset() || 2987 this.utcOffset() > this.clone().month(5).utcOffset() 2988 ); 2989} 2990 2991function isDaylightSavingTimeShifted () { 2992 if (!isUndefined(this._isDSTShifted)) { 2993 return this._isDSTShifted; 2994 } 2995 2996 var c = {}; 2997 2998 copyConfig(c, this); 2999 c = prepareConfig(c); 3000 3001 if (c._a) { 3002 var other = c._isUTC ? createUTC(c._a) : createLocal(c._a); 3003 this._isDSTShifted = this.isValid() && 3004 compareArrays(c._a, other.toArray()) > 0; 3005 } else { 3006 this._isDSTShifted = false; 3007 } 3008 3009 return this._isDSTShifted; 3010} 3011 3012function isLocal () { 3013 return this.isValid() ? !this._isUTC : false; 3014} 3015 3016function isUtcOffset () { 3017 return this.isValid() ? this._isUTC : false; 3018} 3019 3020function isUtc () { 3021 return this.isValid() ? this._isUTC && this._offset === 0 : false; 3022} 3023 3024// ASP.NET json date format regex 3025var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; 3026 3027// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html 3028// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere 3029// and further modified to allow for strings containing both week and day 3030var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; 3031 3032function createDuration (input, key) { 3033 var duration = input, 3034 // matching against regexp is expensive, do it on demand 3035 match = null, 3036 sign, 3037 ret, 3038 diffRes; 3039 3040 if (isDuration(input)) { 3041 duration = { 3042 ms : input._milliseconds, 3043 d : input._days, 3044 M : input._months 3045 }; 3046 } else if (isNumber(input)) { 3047 duration = {}; 3048 if (key) { 3049 duration[key] = input; 3050 } else { 3051 duration.milliseconds = input; 3052 } 3053 } else if (!!(match = aspNetRegex.exec(input))) { 3054 sign = (match[1] === '-') ? -1 : 1; 3055 duration = { 3056 y : 0, 3057 d : toInt(match[DATE]) * sign, 3058 h : toInt(match[HOUR]) * sign, 3059 m : toInt(match[MINUTE]) * sign, 3060 s : toInt(match[SECOND]) * sign, 3061 ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match 3062 }; 3063 } else if (!!(match = isoRegex.exec(input))) { 3064 sign = (match[1] === '-') ? -1 : 1; 3065 duration = { 3066 y : parseIso(match[2], sign), 3067 M : parseIso(match[3], sign), 3068 w : parseIso(match[4], sign), 3069 d : parseIso(match[5], sign), 3070 h : parseIso(match[6], sign), 3071 m : parseIso(match[7], sign), 3072 s : parseIso(match[8], sign) 3073 }; 3074 } else if (duration == null) {// checks for null or undefined 3075 duration = {}; 3076 } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) { 3077 diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to)); 3078 3079 duration = {}; 3080 duration.ms = diffRes.milliseconds; 3081 duration.M = diffRes.months; 3082 } 3083 3084 ret = new Duration(duration); 3085 3086 if (isDuration(input) && hasOwnProp(input, '_locale')) { 3087 ret._locale = input._locale; 3088 } 3089 3090 return ret; 3091} 3092 3093createDuration.fn = Duration.prototype;
vendor: 8,280 bytes, lines 3094-3353
3094createDuration.invalid = createInvalid$1; 3095 3096function parseIso (inp, sign) { 3097 // We'd normally use ~~inp for this, but unfortunately it also 3098 // converts floats to ints. 3099 // inp may be undefined, so careful calling replace on it. 3100 var res = inp && parseFloat(inp.replace(',', '.')); 3101 // apply sign while we're at it 3102 return (isNaN(res) ? 0 : res) * sign; 3103} 3104 3105function positiveMomentsDifference(base, other) { 3106 var res = {milliseconds: 0, months: 0}; 3107 3108 res.months = other.month() - base.month() + 3109 (other.year() - base.year()) * 12; 3110 if (base.clone().add(res.months, 'M').isAfter(other)) { 3111 --res.months; 3112 } 3113 3114 res.milliseconds = +other - +(base.clone().add(res.months, 'M')); 3115 3116 return res; 3117} 3118 3119function momentsDifference(base, other) { 3120 var res; 3121 if (!(base.isValid() && other.isValid())) { 3122 return {milliseconds: 0, months: 0}; 3123 } 3124 3125 other = cloneWithOffset(other, base); 3126 if (base.isBefore(other)) { 3127 res = positiveMomentsDifference(base, other); 3128 } else { 3129 res = positiveMomentsDifference(other, base); 3130 res.milliseconds = -res.milliseconds; 3131 res.months = -res.months; 3132 } 3133 3134 return res; 3135} 3136 3137// TODO: remove 'name' arg after deprecation is removed 3138function createAdder(direction, name) { 3139 return function (val, period) { 3140 var dur, tmp; 3141 //invert the arguments, but complain about it 3142 if (period !== null && !isNaN(+period)) { 3143 deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 3144 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'); 3145 tmp = val; val = period; period = tmp; 3146 } 3147 3148 val = typeof val === 'string' ? +val : val; 3149 dur = createDuration(val, period); 3150 addSubtract(this, dur, direction); 3151 return this; 3152 }; 3153} 3154 3155function addSubtract (mom, duration, isAdding, updateOffset) { 3156 var milliseconds = duration._milliseconds, 3157 days = absRound(duration._days), 3158 months = absRound(duration._months); 3159 3160 if (!mom.isValid()) { 3161 // No op 3162 return; 3163 } 3164 3165 updateOffset = updateOffset == null ? true : updateOffset; 3166 3167 if (milliseconds) { 3168 mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); 3169 } 3170 if (days) { 3171 set$1(mom, 'Date', get(mom, 'Date') + days * isAdding); 3172 } 3173 if (months) { 3174 setMonth(mom, get(mom, 'Month') + months * isAdding); 3175 } 3176 if (updateOffset) { 3177 hooks.updateOffset(mom, days || months); 3178 } 3179} 3180 3181var add = createAdder(1, 'add'); 3182var subtract = createAdder(-1, 'subtract'); 3183 3184function getCalendarFormat(myMoment, now) { 3185 var diff = myMoment.diff(now, 'days', true); 3186 return diff < -6 ? 'sameElse' : 3187 diff < -1 ? 'lastWeek' : 3188 diff < 0 ? 'lastDay' : 3189 diff < 1 ? 'sameDay' : 3190 diff < 2 ? 'nextDay' : 3191 diff < 7 ? 'nextWeek' : 'sameElse'; 3192} 3193 3194function calendar$1 (time, formats) { 3195 // We want to compare the start of today, vs this. 3196 // Getting start-of-today depends on whether we're local/utc/offset or not. 3197 var now = time || createLocal(), 3198 sod = cloneWithOffset(now, this).startOf('day'), 3199 format = hooks.calendarFormat(this, sod) || 'sameElse'; 3200 3201 var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]); 3202 3203 return this.format(output || this.localeData().calendar(format, this, createLocal(now))); 3204} 3205 3206function clone () { 3207 return new Moment(this); 3208} 3209 3210function isAfter (input, units) { 3211 var localInput = isMoment(input) ? input : createLocal(input); 3212 if (!(this.isValid() && localInput.isValid())) { 3213 return false; 3214 } 3215 units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); 3216 if (units === 'millisecond') { 3217 return this.valueOf() > localInput.valueOf(); 3218 } else { 3219 return localInput.valueOf() < this.clone().startOf(units).valueOf(); 3220 } 3221} 3222 3223function isBefore (input, units) { 3224 var localInput = isMoment(input) ? input : createLocal(input); 3225 if (!(this.isValid() && localInput.isValid())) { 3226 return false; 3227 } 3228 units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); 3229 if (units === 'millisecond') { 3230 return this.valueOf() < localInput.valueOf(); 3231 } else { 3232 return this.clone().endOf(units).valueOf() < localInput.valueOf(); 3233 } 3234} 3235 3236function isBetween (from, to, units, inclusivity) { 3237 inclusivity = inclusivity || '()'; 3238 return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) && 3239 (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units)); 3240} 3241 3242function isSame (input, units) { 3243 var localInput = isMoment(input) ? input : createLocal(input), 3244 inputMs; 3245 if (!(this.isValid() && localInput.isValid())) { 3246 return false; 3247 } 3248 units = normalizeUnits(units || 'millisecond'); 3249 if (units === 'millisecond') { 3250 return this.valueOf() === localInput.valueOf(); 3251 } else { 3252 inputMs = localInput.valueOf(); 3253 return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf(); 3254 } 3255} 3256 3257function isSameOrAfter (input, units) { 3258 return this.isSame(input, units) || this.isAfter(input,units); 3259} 3260 3261function isSameOrBefore (input, units) { 3262 return this.isSame(input, units) || this.isBefore(input,units); 3263} 3264 3265function diff (input, units, asFloat) { 3266 var that, 3267 zoneDelta, 3268 delta, output; 3269 3270 if (!this.isValid()) { 3271 return NaN; 3272 } 3273 3274 that = cloneWithOffset(input, this); 3275 3276 if (!that.isValid()) { 3277 return NaN; 3278 } 3279 3280 zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; 3281 3282 units = normalizeUnits(units); 3283 3284 if (units === 'year' || units === 'month' || units === 'quarter') { 3285 output = monthDiff(this, that); 3286 if (units === 'quarter') { 3287 output = output / 3; 3288 } else if (units === 'year') { 3289 output = output / 12; 3290 } 3291 } else { 3292 delta = this - that; 3293 output = units === 'second' ? delta / 1e3 : // 1000 3294 units === 'minute' ? delta / 6e4 : // 1000 * 60 3295 units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 3296 units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst 3297 units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst 3298 delta; 3299 } 3300 return asFloat ? output : absFloor(output); 3301} 3302 3303function monthDiff (a, b) { 3304 // difference in months 3305 var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()), 3306 // b is in (anchor - 1 month, anchor + 1 month) 3307 anchor = a.clone().add(wholeMonthDiff, 'months'), 3308 anchor2, adjust; 3309 3310 if (b - anchor < 0) { 3311 anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); 3312 // linear across the month 3313 adjust = (b - anchor) / (anchor - anchor2); 3314 } else { 3315 anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); 3316 // linear across the month 3317 adjust = (b - anchor) / (anchor2 - anchor); 3318 } 3319 3320 //check for negative zero, return zero if negative zero 3321 return -(wholeMonthDiff + adjust) || 0; 3322} 3323 3324hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; 3325hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; 3326 3327function toString () { 3328 return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); 3329} 3330 3331function toISOString() { 3332 if (!this.isValid()) { 3333 return null; 3334 } 3335 var m = this.clone().utc(); 3336 if (m.year() < 0 || m.year() > 9999) { 3337 return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); 3338 } 3339 if (isFunction(Date.prototype.toISOString)) { 3340 // native implementation is ~50x faster, use it when we can 3341 return this.toDate().toISOString(); 3342 } 3343 return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); 3344} 3345 3346/** 3347 * Return a human readable representation of a moment that can 3348 * also be evaluated to get a new moment which is the same 3349 * 3350 * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects 3351 */ 3352function inspect () { 3353 if (!this.isValid()) {
vendor: 4,700 bytes, lines 3354-3538
3354 return 'moment.invalid(/* ' + this._i + ' */)'; 3355 } 3356 var func = 'moment'; 3357 var zone = ''; 3358 if (!this.isLocal()) { 3359 func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone'; 3360 zone = 'Z'; 3361 } 3362 var prefix = '[' + func + '("]'; 3363 var year = (0 <= this.year() && this.year() <= 9999) ? 'YYYY' : 'YYYYYY'; 3364 var datetime = '-MM-DD[T]HH:mm:ss.SSS'; 3365 var suffix = zone + '[")]'; 3366 3367 return this.format(prefix + year + datetime + suffix); 3368} 3369 3370function format (inputString) { 3371 if (!inputString) { 3372 inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat; 3373 } 3374 var output = formatMoment(this, inputString); 3375 return this.localeData().postformat(output); 3376} 3377 3378function from (time, withoutSuffix) { 3379 if (this.isValid() && 3380 ((isMoment(time) && time.isValid()) || 3381 createLocal(time).isValid())) { 3382 return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); 3383 } else { 3384 return this.localeData().invalidDate(); 3385 } 3386} 3387 3388function fromNow (withoutSuffix) { 3389 return this.from(createLocal(), withoutSuffix); 3390} 3391 3392function to (time, withoutSuffix) { 3393 if (this.isValid() && 3394 ((isMoment(time) && time.isValid()) || 3395 createLocal(time).isValid())) { 3396 return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); 3397 } else { 3398 return this.localeData().invalidDate(); 3399 } 3400} 3401 3402function toNow (withoutSuffix) { 3403 return this.to(createLocal(), withoutSuffix); 3404} 3405 3406// If passed a locale key, it will set the locale for this 3407// instance. Otherwise, it will return the locale configuration 3408// variables for this instance. 3409function locale (key) { 3410 var newLocaleData; 3411 3412 if (key === undefined) { 3413 return this._locale._abbr; 3414 } else { 3415 newLocaleData = getLocale(key); 3416 if (newLocaleData != null) { 3417 this._locale = newLocaleData; 3418 } 3419 return this; 3420 } 3421} 3422 3423var lang = deprecate( 3424 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', 3425 function (key) { 3426 if (key === undefined) { 3427 return this.localeData(); 3428 } else { 3429 return this.locale(key); 3430 } 3431 } 3432); 3433 3434function localeData () { 3435 return this._locale; 3436} 3437 3438function startOf (units) { 3439 units = normalizeUnits(units); 3440 // the following switch intentionally omits break keywords 3441 // to utilize falling through the cases. 3442 switch (units) { 3443 case 'year': 3444 this.month(0); 3445 /* falls through */ 3446 case 'quarter': 3447 case 'month': 3448 this.date(1); 3449 /* falls through */ 3450 case 'week': 3451 case 'isoWeek': 3452 case 'day': 3453 case 'date': 3454 this.hours(0); 3455 /* falls through */ 3456 case 'hour': 3457 this.minutes(0); 3458 /* falls through */ 3459 case 'minute': 3460 this.seconds(0); 3461 /* falls through */ 3462 case 'second': 3463 this.milliseconds(0); 3464 } 3465 3466 // weeks are a special case 3467 if (units === 'week') { 3468 this.weekday(0); 3469 } 3470 if (units === 'isoWeek') { 3471 this.isoWeekday(1); 3472 } 3473 3474 // quarters are also special 3475 if (units === 'quarter') { 3476 this.month(Math.floor(this.month() / 3) * 3); 3477 } 3478 3479 return this; 3480} 3481 3482function endOf (units) { 3483 units = normalizeUnits(units); 3484 if (units === undefined || units === 'millisecond') { 3485 return this; 3486 } 3487 3488 // 'date' is an alias for 'day', so it should be considered as such. 3489 if (units === 'date') { 3490 units = 'day'; 3491 } 3492 3493 return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); 3494} 3495 3496function valueOf () { 3497 return this._d.valueOf() - ((this._offset || 0) * 60000); 3498} 3499 3500function unix () { 3501 return Math.floor(this.valueOf() / 1000); 3502} 3503 3504function toDate () { 3505 return new Date(this.valueOf()); 3506} 3507 3508function toArray () { 3509 var m = this; 3510 return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()]; 3511} 3512 3513function toObject () { 3514 var m = this; 3515 return { 3516 years: m.year(), 3517 months: m.month(), 3518 date: m.date(), 3519 hours: m.hours(), 3520 minutes: m.minutes(), 3521 seconds: m.seconds(), 3522 milliseconds: m.milliseconds() 3523 }; 3524} 3525 3526function toJSON () { 3527 // new Date(NaN).toJSON() === null 3528 return this.isValid() ? this.toISOString() : null; 3529} 3530 3531function isValid$2 () { 3532 return isValid(this); 3533} 3534 3535function parsingFlags () { 3536 return extend({}, getParsingFlags(this)); 3537} 3538
vendor: 11,965 bytes, lines 3539-4010
3539function invalidAt () { 3540 return getParsingFlags(this).overflow; 3541} 3542 3543function creationData() { 3544 return { 3545 input: this._i, 3546 format: this._f, 3547 locale: this._locale, 3548 isUTC: this._isUTC, 3549 strict: this._strict 3550 }; 3551} 3552 3553// FORMATTING 3554 3555addFormatToken(0, ['gg', 2], 0, function () { 3556 return this.weekYear() % 100; 3557}); 3558 3559addFormatToken(0, ['GG', 2], 0, function () { 3560 return this.isoWeekYear() % 100; 3561}); 3562 3563function addWeekYearFormatToken (token, getter) { 3564 addFormatToken(0, [token, token.length], 0, getter); 3565} 3566 3567addWeekYearFormatToken('gggg', 'weekYear'); 3568addWeekYearFormatToken('ggggg', 'weekYear'); 3569addWeekYearFormatToken('GGGG', 'isoWeekYear'); 3570addWeekYearFormatToken('GGGGG', 'isoWeekYear'); 3571 3572// ALIASES 3573 3574addUnitAlias('weekYear', 'gg'); 3575addUnitAlias('isoWeekYear', 'GG'); 3576 3577// PRIORITY 3578 3579addUnitPriority('weekYear', 1); 3580addUnitPriority('isoWeekYear', 1); 3581 3582 3583// PARSING 3584 3585addRegexToken('G', matchSigned); 3586addRegexToken('g', matchSigned); 3587addRegexToken('GG', match1to2, match2); 3588addRegexToken('gg', match1to2, match2); 3589addRegexToken('GGGG', match1to4, match4); 3590addRegexToken('gggg', match1to4, match4); 3591addRegexToken('GGGGG', match1to6, match6); 3592addRegexToken('ggggg', match1to6, match6); 3593 3594addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) { 3595 week[token.substr(0, 2)] = toInt(input); 3596}); 3597 3598addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { 3599 week[token] = hooks.parseTwoDigitYear(input); 3600}); 3601 3602// MOMENTS 3603 3604function getSetWeekYear (input) { 3605 return getSetWeekYearHelper.call(this, 3606 input, 3607 this.week(), 3608 this.weekday(), 3609 this.localeData()._week.dow, 3610 this.localeData()._week.doy); 3611} 3612 3613function getSetISOWeekYear (input) { 3614 return getSetWeekYearHelper.call(this, 3615 input, this.isoWeek(), this.isoWeekday(), 1, 4); 3616} 3617 3618function getISOWeeksInYear () { 3619 return weeksInYear(this.year(), 1, 4); 3620} 3621 3622function getWeeksInYear () { 3623 var weekInfo = this.localeData()._week; 3624 return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); 3625} 3626 3627function getSetWeekYearHelper(input, week, weekday, dow, doy) { 3628 var weeksTarget; 3629 if (input == null) { 3630 return weekOfYear(this, dow, doy).year; 3631 } else { 3632 weeksTarget = weeksInYear(input, dow, doy); 3633 if (week > weeksTarget) { 3634 week = weeksTarget; 3635 } 3636 return setWeekAll.call(this, input, week, weekday, dow, doy); 3637 } 3638} 3639 3640function setWeekAll(weekYear, week, weekday, dow, doy) { 3641 var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), 3642 date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); 3643 3644 this.year(date.getUTCFullYear()); 3645 this.month(date.getUTCMonth()); 3646 this.date(date.getUTCDate()); 3647 return this; 3648} 3649 3650// FORMATTING 3651 3652addFormatToken('Q', 0, 'Qo', 'quarter'); 3653 3654// ALIASES 3655 3656addUnitAlias('quarter', 'Q'); 3657 3658// PRIORITY 3659 3660addUnitPriority('quarter', 7); 3661 3662// PARSING 3663 3664addRegexToken('Q', match1); 3665addParseToken('Q', function (input, array) { 3666 array[MONTH] = (toInt(input) - 1) * 3; 3667}); 3668 3669// MOMENTS 3670 3671function getSetQuarter (input) { 3672 return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); 3673} 3674 3675// FORMATTING 3676 3677addFormatToken('D', ['DD', 2], 'Do', 'date'); 3678 3679// ALIASES 3680 3681addUnitAlias('date', 'D'); 3682 3683// PRIOROITY 3684addUnitPriority('date', 9); 3685 3686// PARSING 3687 3688addRegexToken('D', match1to2); 3689addRegexToken('DD', match1to2, match2); 3690addRegexToken('Do', function (isStrict, locale) { 3691 // TODO: Remove "ordinalParse" fallback in next major release. 3692 return isStrict ? 3693 (locale._dayOfMonthOrdinalParse || locale._ordinalParse) : 3694 locale._dayOfMonthOrdinalParseLenient; 3695}); 3696 3697addParseToken(['D', 'DD'], DATE); 3698addParseToken('Do', function (input, array) { 3699 array[DATE] = toInt(input.match(match1to2)[0], 10); 3700}); 3701 3702// MOMENTS 3703 3704var getSetDayOfMonth = makeGetSet('Date', true); 3705 3706// FORMATTING 3707 3708addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); 3709 3710// ALIASES 3711 3712addUnitAlias('dayOfYear', 'DDD'); 3713 3714// PRIORITY 3715addUnitPriority('dayOfYear', 4); 3716 3717// PARSING 3718 3719addRegexToken('DDD', match1to3); 3720addRegexToken('DDDD', match3); 3721addParseToken(['DDD', 'DDDD'], function (input, array, config) { 3722 config._dayOfYear = toInt(input); 3723}); 3724 3725// HELPERS 3726 3727// MOMENTS 3728 3729function getSetDayOfYear (input) { 3730 var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1; 3731 return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); 3732} 3733 3734// FORMATTING 3735 3736addFormatToken('m', ['mm', 2], 0, 'minute'); 3737 3738// ALIASES 3739 3740addUnitAlias('minute', 'm'); 3741 3742// PRIORITY 3743 3744addUnitPriority('minute', 14); 3745 3746// PARSING 3747 3748addRegexToken('m', match1to2); 3749addRegexToken('mm', match1to2, match2); 3750addParseToken(['m', 'mm'], MINUTE); 3751 3752// MOMENTS 3753 3754var getSetMinute = makeGetSet('Minutes', false); 3755 3756// FORMATTING 3757 3758addFormatToken('s', ['ss', 2], 0, 'second'); 3759 3760// ALIASES 3761 3762addUnitAlias('second', 's'); 3763 3764// PRIORITY 3765 3766addUnitPriority('second', 15); 3767 3768// PARSING 3769 3770addRegexToken('s', match1to2); 3771addRegexToken('ss', match1to2, match2); 3772addParseToken(['s', 'ss'], SECOND); 3773 3774// MOMENTS 3775 3776var getSetSecond = makeGetSet('Seconds', false); 3777 3778// FORMATTING 3779 3780addFormatToken('S', 0, 0, function () { 3781 return ~~(this.millisecond() / 100); 3782}); 3783 3784addFormatToken(0, ['SS', 2], 0, function () { 3785 return ~~(this.millisecond() / 10); 3786}); 3787 3788addFormatToken(0, ['SSS', 3], 0, 'millisecond'); 3789addFormatToken(0, ['SSSS', 4], 0, function () { 3790 return this.millisecond() * 10; 3791}); 3792addFormatToken(0, ['SSSSS', 5], 0, function () { 3793 return this.millisecond() * 100; 3794}); 3795addFormatToken(0, ['SSSSSS', 6], 0, function () { 3796 return this.millisecond() * 1000; 3797}); 3798addFormatToken(0, ['SSSSSSS', 7], 0, function () { 3799 return this.millisecond() * 10000; 3800}); 3801addFormatToken(0, ['SSSSSSSS', 8], 0, function () { 3802 return this.millisecond() * 100000; 3803}); 3804addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { 3805 return this.millisecond() * 1000000; 3806}); 3807 3808 3809// ALIASES 3810 3811addUnitAlias('millisecond', 'ms'); 3812 3813// PRIORITY 3814 3815addUnitPriority('millisecond', 16); 3816 3817// PARSING 3818 3819addRegexToken('S', match1to3, match1); 3820addRegexToken('SS', match1to3, match2); 3821addRegexToken('SSS', match1to3, match3); 3822 3823var token; 3824for (token = 'SSSS'; token.length <= 9; token += 'S') { 3825 addRegexToken(token, matchUnsigned); 3826} 3827 3828function parseMs(input, array) { 3829 array[MILLISECOND] = toInt(('0.' + input) * 1000); 3830} 3831 3832for (token = 'S'; token.length <= 9; token += 'S') { 3833 addParseToken(token, parseMs); 3834} 3835// MOMENTS 3836 3837var getSetMillisecond = makeGetSet('Milliseconds', false); 3838 3839// FORMATTING 3840 3841addFormatToken('z', 0, 0, 'zoneAbbr'); 3842addFormatToken('zz', 0, 0, 'zoneName'); 3843 3844// MOMENTS 3845 3846function getZoneAbbr () { 3847 return this._isUTC ? 'UTC' : ''; 3848} 3849 3850function getZoneName () { 3851 return this._isUTC ? 'Coordinated Universal Time' : ''; 3852} 3853 3854var proto = Moment.prototype; 3855 3856proto.add = add; 3857proto.calendar = calendar$1; 3858proto.clone = clone; 3859proto.diff = diff; 3860proto.endOf = endOf; 3861proto.format = format; 3862proto.from = from; 3863proto.fromNow = fromNow; 3864proto.to = to; 3865proto.toNow = toNow; 3866proto.get = stringGet; 3867proto.invalidAt = invalidAt; 3868proto.isAfter = isAfter; 3869proto.isBefore = isBefore; 3870proto.isBetween = isBetween; 3871proto.isSame = isSame; 3872proto.isSameOrAfter = isSameOrAfter; 3873proto.isSameOrBefore = isSameOrBefore; 3874proto.isValid = isValid$2; 3875proto.lang = lang; 3876proto.locale = locale; 3877proto.localeData = localeData; 3878proto.max = prototypeMax; 3879proto.min = prototypeMin; 3880proto.parsingFlags = parsingFlags; 3881proto.set = stringSet; 3882proto.startOf = startOf; 3883proto.subtract = subtract; 3884proto.toArray = toArray; 3885proto.toObject = toObject; 3886proto.toDate = toDate; 3887proto.toISOString = toISOString; 3888proto.inspect = inspect; 3889proto.toJSON = toJSON; 3890proto.toString = toString; 3891proto.unix = unix; 3892proto.valueOf = valueOf; 3893proto.creationData = creationData; 3894 3895// Year 3896proto.year = getSetYear; 3897proto.isLeapYear = getIsLeapYear; 3898 3899// Week Year 3900proto.weekYear = getSetWeekYear; 3901proto.isoWeekYear = getSetISOWeekYear; 3902 3903// Quarter 3904proto.quarter = proto.quarters = getSetQuarter; 3905 3906// Month 3907proto.month = getSetMonth; 3908proto.daysInMonth = getDaysInMonth; 3909 3910// Week 3911proto.week = proto.weeks = getSetWeek; 3912proto.isoWeek = proto.isoWeeks = getSetISOWeek; 3913proto.weeksInYear = getWeeksInYear; 3914proto.isoWeeksInYear = getISOWeeksInYear; 3915 3916// Day 3917proto.date = getSetDayOfMonth; 3918proto.day = proto.days = getSetDayOfWeek; 3919proto.weekday = getSetLocaleDayOfWeek; 3920proto.isoWeekday = getSetISODayOfWeek; 3921proto.dayOfYear = getSetDayOfYear; 3922 3923// Hour 3924proto.hour = proto.hours = getSetHour; 3925 3926// Minute 3927proto.minute = proto.minutes = getSetMinute; 3928 3929// Second 3930proto.second = proto.seconds = getSetSecond; 3931 3932// Millisecond 3933proto.millisecond = proto.milliseconds = getSetMillisecond; 3934 3935// Offset 3936proto.utcOffset = getSetOffset; 3937proto.utc = setOffsetToUTC; 3938proto.local = setOffsetToLocal; 3939proto.parseZone = setOffsetToParsedOffset; 3940proto.hasAlignedHourOffset = hasAlignedHourOffset; 3941proto.isDST = isDaylightSavingTime; 3942proto.isLocal = isLocal; 3943proto.isUtcOffset = isUtcOffset; 3944proto.isUtc = isUtc; 3945proto.isUTC = isUtc; 3946 3947// Timezone 3948proto.zoneAbbr = getZoneAbbr; 3949proto.zoneName = getZoneName; 3950 3951// Deprecations 3952proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth); 3953proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth); 3954proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear); 3955proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone); 3956proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted); 3957 3958function createUnix (input) { 3959 return createLocal(input * 1000); 3960} 3961 3962function createInZone () { 3963 return createLocal.apply(null, arguments).parseZone(); 3964} 3965 3966function preParsePostFormat (string) { 3967 return string; 3968} 3969 3970var proto$1 = Locale.prototype; 3971 3972proto$1.calendar = calendar; 3973proto$1.longDateFormat = longDateFormat; 3974proto$1.invalidDate = invalidDate; 3975proto$1.ordinal = ordinal; 3976proto$1.preparse = preParsePostFormat; 3977proto$1.postformat = preParsePostFormat; 3978proto$1.relativeTime = relativeTime; 3979proto$1.pastFuture = pastFuture; 3980proto$1.set = set; 3981 3982// Month 3983proto$1.months = localeMonths; 3984proto$1.monthsShort = localeMonthsShort; 3985proto$1.monthsParse = localeMonthsParse; 3986proto$1.monthsRegex = monthsRegex; 3987proto$1.monthsShortRegex = monthsShortRegex; 3988 3989// Week 3990proto$1.week = localeWeek; 3991proto$1.firstDayOfYear = localeFirstDayOfYear; 3992proto$1.firstDayOfWeek = localeFirstDayOfWeek; 3993 3994// Day of Week 3995proto$1.weekdays = localeWeekdays; 3996proto$1.weekdaysMin = localeWeekdaysMin; 3997proto$1.weekdaysShort = localeWeekdaysShort; 3998proto$1.weekdaysParse = localeWeekdaysParse; 3999 4000proto$1.weekdaysRegex = weekdaysRegex; 4001proto$1.weekdaysShortRegex = weekdaysShortRegex; 4002proto$1.weekdaysMinRegex = weekdaysMinRegex; 4003 4004// Hours 4005proto$1.isPM = localeIsPM; 4006proto$1.meridiem = localeMeridiem; 4007 4008function get$1 (format, index, field, setter) { 4009 var locale = getLocale(); 4010 var utc = createUTC().set(setter, index);
vendor: 7,873 bytes, lines 4011-4299
4011 return locale[field](utc, format); 4012} 4013 4014function listMonthsImpl (format, index, field) { 4015 if (isNumber(format)) { 4016 index = format; 4017 format = undefined; 4018 } 4019 4020 format = format || ''; 4021 4022 if (index != null) { 4023 return get$1(format, index, field, 'month'); 4024 } 4025 4026 var i; 4027 var out = []; 4028 for (i = 0; i < 12; i++) { 4029 out[i] = get$1(format, i, field, 'month'); 4030 } 4031 return out; 4032} 4033 4034// () 4035// (5) 4036// (fmt, 5) 4037// (fmt) 4038// (true) 4039// (true, 5) 4040// (true, fmt, 5) 4041// (true, fmt) 4042function listWeekdaysImpl (localeSorted, format, index, field) { 4043 if (typeof localeSorted === 'boolean') { 4044 if (isNumber(format)) { 4045 index = format; 4046 format = undefined; 4047 } 4048 4049 format = format || ''; 4050 } else { 4051 format = localeSorted; 4052 index = format; 4053 localeSorted = false; 4054 4055 if (isNumber(format)) { 4056 index = format; 4057 format = undefined; 4058 } 4059 4060 format = format || ''; 4061 } 4062 4063 var locale = getLocale(), 4064 shift = localeSorted ? locale._week.dow : 0; 4065 4066 if (index != null) { 4067 return get$1(format, (index + shift) % 7, field, 'day'); 4068 } 4069 4070 var i; 4071 var out = []; 4072 for (i = 0; i < 7; i++) { 4073 out[i] = get$1(format, (i + shift) % 7, field, 'day'); 4074 } 4075 return out; 4076} 4077 4078function listMonths (format, index) { 4079 return listMonthsImpl(format, index, 'months'); 4080} 4081 4082function listMonthsShort (format, index) { 4083 return listMonthsImpl(format, index, 'monthsShort'); 4084} 4085 4086function listWeekdays (localeSorted, format, index) { 4087 return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); 4088} 4089 4090function listWeekdaysShort (localeSorted, format, index) { 4091 return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); 4092} 4093 4094function listWeekdaysMin (localeSorted, format, index) { 4095 return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); 4096} 4097 4098getSetGlobalLocale('en', { 4099 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, 4100 ordinal : function (number) { 4101 var b = number % 10, 4102 output = (toInt(number % 100 / 10) === 1) ? 'th' : 4103 (b === 1) ? 'st' : 4104 (b === 2) ? 'nd' : 4105 (b === 3) ? 'rd' : 'th'; 4106 return number + output; 4107 } 4108}); 4109 4110// Side effect imports 4111hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale); 4112hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale); 4113 4114var mathAbs = Math.abs; 4115 4116function abs () { 4117 var data = this._data; 4118 4119 this._milliseconds = mathAbs(this._milliseconds); 4120 this._days = mathAbs(this._days); 4121 this._months = mathAbs(this._months); 4122 4123 data.milliseconds = mathAbs(data.milliseconds); 4124 data.seconds = mathAbs(data.seconds); 4125 data.minutes = mathAbs(data.minutes); 4126 data.hours = mathAbs(data.hours); 4127 data.months = mathAbs(data.months); 4128 data.years = mathAbs(data.years); 4129 4130 return this; 4131} 4132 4133function addSubtract$1 (duration, input, value, direction) { 4134 var other = createDuration(input, value); 4135 4136 duration._milliseconds += direction * other._milliseconds; 4137 duration._days += direction * other._days; 4138 duration._months += direction * other._months; 4139 4140 return duration._bubble(); 4141} 4142 4143// supports only 2.0-style add(1, 's') or add(duration) 4144function add$1 (input, value) { 4145 return addSubtract$1(this, input, value, 1); 4146} 4147 4148// supports only 2.0-style subtract(1, 's') or subtract(duration) 4149function subtract$1 (input, value) { 4150 return addSubtract$1(this, input, value, -1); 4151} 4152 4153function absCeil (number) { 4154 if (number < 0) { 4155 return Math.floor(number); 4156 } else { 4157 return Math.ceil(number); 4158 } 4159} 4160 4161function bubble () { 4162 var milliseconds = this._milliseconds; 4163 var days = this._days; 4164 var months = this._months; 4165 var data = this._data; 4166 var seconds, minutes, hours, years, monthsFromDays; 4167 4168 // if we have a mix of positive and negative values, bubble down first 4169 // check: https://github.com/moment/moment/issues/2166 4170 if (!((milliseconds >= 0 && days >= 0 && months >= 0) || 4171 (milliseconds <= 0 && days <= 0 && months <= 0))) { 4172 milliseconds += absCeil(monthsToDays(months) + days) * 864e5; 4173 days = 0; 4174 months = 0; 4175 } 4176 4177 // The following code bubbles up values, see the tests for 4178 // examples of what that means. 4179 data.milliseconds = milliseconds % 1000; 4180 4181 seconds = absFloor(milliseconds / 1000); 4182 data.seconds = seconds % 60; 4183 4184 minutes = absFloor(seconds / 60); 4185 data.minutes = minutes % 60; 4186 4187 hours = absFloor(minutes / 60); 4188 data.hours = hours % 24; 4189 4190 days += absFloor(hours / 24); 4191 4192 // convert days to months 4193 monthsFromDays = absFloor(daysToMonths(days)); 4194 months += monthsFromDays; 4195 days -= absCeil(monthsToDays(monthsFromDays)); 4196 4197 // 12 months -> 1 year 4198 years = absFloor(months / 12); 4199 months %= 12; 4200 4201 data.days = days; 4202 data.months = months; 4203 data.years = years; 4204 4205 return this; 4206} 4207 4208function daysToMonths (days) { 4209 // 400 years have 146097 days (taking into account leap year rules) 4210 // 400 years have 12 months === 4800 4211 return days * 4800 / 146097; 4212} 4213 4214function monthsToDays (months) { 4215 // the reverse of daysToMonths 4216 return months * 146097 / 4800; 4217} 4218 4219function as (units) { 4220 if (!this.isValid()) { 4221 return NaN; 4222 } 4223 var days; 4224 var months; 4225 var milliseconds = this._milliseconds; 4226 4227 units = normalizeUnits(units); 4228 4229 if (units === 'month' || units === 'year') { 4230 days = this._days + milliseconds / 864e5; 4231 months = this._months + daysToMonths(days); 4232 return units === 'month' ? months : months / 12; 4233 } else { 4234 // handle milliseconds separately because of floating point math errors (issue #1867) 4235 days = this._days + Math.round(monthsToDays(this._months)); 4236 switch (units) { 4237 case 'week' : return days / 7 + milliseconds / 6048e5; 4238 case 'day' : return days + milliseconds / 864e5; 4239 case 'hour' : return days * 24 + milliseconds / 36e5; 4240 case 'minute' : return days * 1440 + milliseconds / 6e4; 4241 case 'second' : return days * 86400 + milliseconds / 1000; 4242 // Math.floor prevents floating point math errors here 4243 case 'millisecond': return Math.floor(days * 864e5) + milliseconds; 4244 default: throw new Error('Unknown unit ' + units); 4245 } 4246 } 4247} 4248 4249// TODO: Use this.as('ms')? 4250function valueOf$1 () { 4251 if (!this.isValid()) { 4252 return NaN; 4253 } 4254 return ( 4255 this._milliseconds + 4256 this._days * 864e5 + 4257 (this._months % 12) * 2592e6 + 4258 toInt(this._months / 12) * 31536e6 4259 ); 4260} 4261 4262function makeAs (alias) { 4263 return function () { 4264 return this.as(alias); 4265 }; 4266} 4267 4268var asMilliseconds = makeAs('ms'); 4269var asSeconds = makeAs('s'); 4270var asMinutes = makeAs('m'); 4271var asHours = makeAs('h'); 4272var asDays = makeAs('d'); 4273var asWeeks = makeAs('w'); 4274var asMonths = makeAs('M'); 4275var asYears = makeAs('y'); 4276 4277function get$2 (units) { 4278 units = normalizeUnits(units); 4279 return this.isValid() ? this[units + 's']() : NaN; 4280} 4281 4282function makeGetter(name) { 4283 return function () { 4284 return this.isValid() ? this._data[name] : NaN; 4285 }; 4286} 4287 4288var milliseconds = makeGetter('milliseconds'); 4289var seconds = makeGetter('seconds'); 4290var minutes = makeGetter('minutes'); 4291var hours = makeGetter('hours'); 4292var days = makeGetter('days'); 4293var months = makeGetter('months'); 4294var years = makeGetter('years'); 4295 4296function weeks () { 4297 return absFloor(this.days() / 7); 4298} 4299
vendor: 5,863 bytes, lines 4300-4487
4300var round = Math.round; 4301var thresholds = { 4302 ss: 44, // a few seconds to seconds 4303 s : 45, // seconds to minute 4304 m : 45, // minutes to hour 4305 h : 22, // hours to day 4306 d : 26, // days to month 4307 M : 11 // months to year 4308}; 4309 4310// helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize 4311function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { 4312 return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); 4313} 4314 4315function relativeTime$1 (posNegDuration, withoutSuffix, locale) { 4316 var duration = createDuration(posNegDuration).abs(); 4317 var seconds = round(duration.as('s')); 4318 var minutes = round(duration.as('m')); 4319 var hours = round(duration.as('h')); 4320 var days = round(duration.as('d')); 4321 var months = round(duration.as('M')); 4322 var years = round(duration.as('y')); 4323 4324 var a = seconds <= thresholds.ss && ['s', seconds] || 4325 seconds < thresholds.s && ['ss', seconds] || 4326 minutes <= 1 && ['m'] || 4327 minutes < thresholds.m && ['mm', minutes] || 4328 hours <= 1 && ['h'] || 4329 hours < thresholds.h && ['hh', hours] || 4330 days <= 1 && ['d'] || 4331 days < thresholds.d && ['dd', days] || 4332 months <= 1 && ['M'] || 4333 months < thresholds.M && ['MM', months] || 4334 years <= 1 && ['y'] || ['yy', years]; 4335 4336 a[2] = withoutSuffix; 4337 a[3] = +posNegDuration > 0; 4338 a[4] = locale; 4339 return substituteTimeAgo.apply(null, a); 4340} 4341 4342// This function allows you to set the rounding function for relative time strings 4343function getSetRelativeTimeRounding (roundingFunction) { 4344 if (roundingFunction === undefined) { 4345 return round; 4346 } 4347 if (typeof(roundingFunction) === 'function') { 4348 round = roundingFunction; 4349 return true; 4350 } 4351 return false; 4352} 4353 4354// This function allows you to set a threshold for relative time strings 4355function getSetRelativeTimeThreshold (threshold, limit) { 4356 if (thresholds[threshold] === undefined) { 4357 return false; 4358 } 4359 if (limit === undefined) { 4360 return thresholds[threshold]; 4361 } 4362 thresholds[threshold] = limit; 4363 if (threshold === 's') { 4364 thresholds.ss = limit - 1; 4365 } 4366 return true; 4367} 4368 4369function humanize (withSuffix) { 4370 if (!this.isValid()) { 4371 return this.localeData().invalidDate(); 4372 } 4373 4374 var locale = this.localeData(); 4375 var output = relativeTime$1(this, !withSuffix, locale); 4376 4377 if (withSuffix) { 4378 output = locale.pastFuture(+this, output); 4379 } 4380 4381 return locale.postformat(output); 4382} 4383 4384var abs$1 = Math.abs; 4385 4386function toISOString$1() { 4387 // for ISO strings we do not use the normal bubbling rules: 4388 // * milliseconds bubble up until they become hours 4389 // * days do not bubble at all 4390 // * months bubble up until they become years 4391 // This is because there is no context-free conversion between hours and days 4392 // (think of clock changes) 4393 // and also not between days and months (28-31 days per month) 4394 if (!this.isValid()) { 4395 return this.localeData().invalidDate(); 4396 } 4397 4398 var seconds = abs$1(this._milliseconds) / 1000; 4399 var days = abs$1(this._days); 4400 var months = abs$1(this._months); 4401 var minutes, hours, years; 4402 4403 // 3600 seconds -> 60 minutes -> 1 hour 4404 minutes = absFloor(seconds / 60); 4405 hours = absFloor(minutes / 60); 4406 seconds %= 60; 4407 minutes %= 60; 4408 4409 // 12 months -> 1 year 4410 years = absFloor(months / 12); 4411 months %= 12; 4412 4413 4414 // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js 4415 var Y = years; 4416 var M = months; 4417 var D = days; 4418 var h = hours; 4419 var m = minutes; 4420 var s = seconds; 4421 var total = this.asSeconds(); 4422 4423 if (!total) { 4424 // this is the same as C#'s (Noda) and python (isodate)... 4425 // but not other JS (goog.date) 4426 return 'P0D'; 4427 } 4428 4429 return (total < 0 ? '-' : '') + 4430 'P' + 4431 (Y ? Y + 'Y' : '') + 4432 (M ? M + 'M' : '') + 4433 (D ? D + 'D' : '') + 4434 ((h || m || s) ? 'T' : '') + 4435 (h ? h + 'H' : '') + 4436 (m ? m + 'M' : '') + 4437 (s ? s + 'S' : ''); 4438} 4439 4440var proto$2 = Duration.prototype; 4441 4442proto$2.isValid = isValid$1; 4443proto$2.abs = abs; 4444proto$2.add = add$1; 4445proto$2.subtract = subtract$1; 4446proto$2.as = as; 4447proto$2.asMilliseconds = asMilliseconds; 4448proto$2.asSeconds = asSeconds; 4449proto$2.asMinutes = asMinutes; 4450proto$2.asHours = asHours; 4451proto$2.asDays = asDays; 4452proto$2.asWeeks = asWeeks; 4453proto$2.asMonths = asMonths; 4454proto$2.asYears = asYears; 4455proto$2.valueOf = valueOf$1; 4456proto$2._bubble = bubble; 4457proto$2.get = get$2; 4458proto$2.milliseconds = milliseconds; 4459proto$2.seconds = seconds; 4460proto$2.minutes = minutes; 4461proto$2.hours = hours; 4462proto$2.days = days; 4463proto$2.weeks = weeks; 4464proto$2.months = months; 4465proto$2.years = years; 4466proto$2.humanize = humanize; 4467proto$2.toISOString = toISOString$1; 4468proto$2.toString = toISOString$1; 4469proto$2.toJSON = toISOString$1; 4470proto$2.locale = locale; 4471proto$2.localeData = localeData; 4472 4473// Deprecations 4474proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1); 4475proto$2.lang = lang; 4476 4477// Side effect imports 4478 4479// FORMATTING 4480 4481addFormatToken('X', 0, 0, 'unix'); 4482addFormatToken('x', 0, 0, 'valueOf'); 4483 4484// PARSING 4485 4486addRegexToken('x', matchSigned); 4487addRegexToken('X', matchTimestamp);
4488addParseToken('X', function (input, array, config) { 4489 config._d = new Date(parseFloat(input, 10) * 1000); 4490}); 4491addParseToken('x', function (input, array, config) { 4492 config._d = new Date(toInt(input)); 4493}); 4494 4495// Side effect imports 4496 4497 4498hooks.version = '2.18.1'; 4499 4500setHookCallback(createLocal); 4501 4502hooks.fn = proto; 4503hooks.min = min; 4504hooks.max = max; 4505hooks.now = now; 4506hooks.utc = createUTC; 4507hooks.unix = createUnix; 4508hooks.months = listMonths; 4509hooks.isDate = isDate; 4510hooks.locale = getSetGlobalLocale; 4511hooks.invalid = createInvalid; 4512hooks.duration = createDuration; 4513hooks.isMoment = isMoment; 4514hooks.weekdays = listWeekdays; 4515hooks.parseZone = createInZone; 4516hooks.localeData = getLocale; 4517hooks.isDuration = isDuration; 4518hooks.monthsShort = listMonthsShort; 4519hooks.weekdaysMin = listWeekdaysMin; 4520hooks.defineLocale = defineLocale; 4521hooks.updateLocale = updateLocale; 4522hooks.locales = listLocales; 4523hooks.weekdaysShort = listWeekdaysShort; 4524hooks.normalizeUnits = normalizeUnits; 4525hooks.relativeTimeRounding = getSetRelativeTimeRounding; 4526hooks.relativeTimeThreshold = getSetRelativeTimeThreshold; 4527hooks.calendarFormat = getCalendarFormat; 4528hooks.prototype = proto; 4529 4530return hooks; 4531 4532}))); 4533 4534/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(202)(module))) 4535 4536/***/ }), 4537/* 1 */ 4538/***/ (function(module, exports, __webpack_require__) { 4539 4540module.exports = (__webpack_require__(6))(434); 4541 4542/***/ }), 4543/* 2 */ 4544/***/ (function(module, exports) { 4545 4546/* 4547 MIT License http://www.opensource.org/licenses/mit-license.php 4548 Author Tobias Koppers @sokra 4549*/ 4550// css base code, injected by the css-loader 4551module.exports = function(useSourceMap) { 4552 var list = []; 4553 4554 // return the list of modules as css string 4555 list.toString = function toString() { 4556 return this.map(function (item) { 4557 var content = cssWithMappingToString(item, useSourceMap); 4558 if(item[2]) { 4559 return "@media " + item[2] + "{" + content + "}"; 4560 } else { 4561 return content; 4562 } 4563 }).join(""); 4564 }; 4565 4566 // import a list of modules into the list 4567 list.i = function(modules, mediaQuery) { 4568 if(typeof modules === "string") 4569 modules = [[null, modules, ""]]; 4570 var alreadyImportedModules = {}; 4571 for(var i = 0; i < this.length; i++) { 4572 var id = this[i][0]; 4573 if(typeof id === "number") 4574 alreadyImportedModules[id] = true; 4575 } 4576 for(i = 0; i < modules.length; i++) { 4577 var item = modules[i]; 4578 // skip already imported module 4579 // this implementation is not 100% perfect for weird media query combinations 4580 // when a module is imported multiple times with different media queries. 4581 // I hope this will never occur (Hey this way we have smaller bundles) 4582 if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) { 4583 if(mediaQuery && !item[2]) { 4584 item[2] = mediaQuery; 4585 } else if(mediaQuery) { 4586 item[2] = "(" + item[2] + ") and (" + mediaQuery + ")"; 4587 } 4588 list.push(item); 4589 } 4590 } 4591 }; 4592 return list; 4593}; 4594 4595function cssWithMappingToString(item, useSourceMap) { 4596 var content = item[1] || ''; 4597 var cssMapping = item[3]; 4598 if (!cssMapping) { 4599 return content; 4600 } 4601 4602 if (useSourceMap && typeof btoa === 'function') { 4603 var sourceMapping = toComment(cssMapping); 4604 var sourceURLs = cssMapping.sources.map(function (source) { 4605 return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */' 4606 }); 4607 4608 return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); 4609 } 4610 4611 return [content].join('\n'); 4612} 4613 4614// Adapted from convert-source-map (MIT) 4615function toComment(sourceMap) { 4616 // eslint-disable-next-line no-undef 4617 var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); 4618 var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; 4619 4620 return '/*# ' + data + ' */'; 4621} 4622 4623 4624/***/ }), 4625/* 3 */ 4626/***/ (function(module, exports, __webpack_require__) { 4627 4628/* 4629 MIT License http://www.opensource.org/licenses/mit-license.php 4630 Author Tobias Koppers @sokra 4631*/ 4632 4633var stylesInDom = {}; 4634 4635var memoize = function (fn) { 4636 var memo; 4637 4638 return function () { 4639 if (typeof memo === "undefined") memo = fn.apply(this, arguments); 4640 return memo; 4641 }; 4642}; 4643 4644var isOldIE = memoize(function () { 4645 // Test for IE <= 9 as proposed by Browserhacks 4646 // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 4647 // Tests for existence of standard globals is to allow style-loader 4648 // to operate correctly into non-standard environments 4649 // @see https://github.com/webpack-contrib/style-loader/issues/177 4650 return window && document && document.all && !window.atob; 4651}); 4652 4653var getElement = (function (fn) { 4654 var memo = {}; 4655 4656 return function(selector) { 4657 if (typeof memo[selector] === "undefined") {
vendor: 8,533 bytes, lines 4658-5009
4658 memo[selector] = fn.call(this, selector); 4659 } 4660 4661 return memo[selector] 4662 }; 4663})(function (target) { 4664 return document.querySelector(target) 4665}); 4666 4667var singleton = null; 4668var singletonCounter = 0; 4669var stylesInsertedAtTop = []; 4670 4671var fixUrls = __webpack_require__(51); 4672 4673module.exports = function(list, options) { 4674 if (typeof DEBUG !== "undefined" && DEBUG) { 4675 if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); 4676 } 4677 4678 options = options || {}; 4679 4680 options.attrs = typeof options.attrs === "object" ? options.attrs : {}; 4681 4682 // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> 4683 // tags it will allow on a page 4684 if (!options.singleton) options.singleton = isOldIE(); 4685 4686 // By default, add <style> tags to the <head> element 4687 if (!options.insertInto) options.insertInto = "head"; 4688 4689 // By default, add <style> tags to the bottom of the target 4690 if (!options.insertAt) options.insertAt = "bottom"; 4691 4692 var styles = listToStyles(list, options); 4693 4694 addStylesToDom(styles, options); 4695 4696 return function update (newList) { 4697 var mayRemove = []; 4698 4699 for (var i = 0; i < styles.length; i++) { 4700 var item = styles[i]; 4701 var domStyle = stylesInDom[item.id]; 4702 4703 domStyle.refs--; 4704 mayRemove.push(domStyle); 4705 } 4706 4707 if(newList) { 4708 var newStyles = listToStyles(newList, options); 4709 addStylesToDom(newStyles, options); 4710 } 4711 4712 for (var i = 0; i < mayRemove.length; i++) { 4713 var domStyle = mayRemove[i]; 4714 4715 if(domStyle.refs === 0) { 4716 for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j](); 4717 4718 delete stylesInDom[domStyle.id]; 4719 } 4720 } 4721 }; 4722}; 4723 4724function addStylesToDom (styles, options) { 4725 for (var i = 0; i < styles.length; i++) { 4726 var item = styles[i]; 4727 var domStyle = stylesInDom[item.id]; 4728 4729 if(domStyle) { 4730 domStyle.refs++; 4731 4732 for(var j = 0; j < domStyle.parts.length; j++) { 4733 domStyle.parts[j](item.parts[j]); 4734 } 4735 4736 for(; j < item.parts.length; j++) { 4737 domStyle.parts.push(addStyle(item.parts[j], options)); 4738 } 4739 } else { 4740 var parts = []; 4741 4742 for(var j = 0; j < item.parts.length; j++) { 4743 parts.push(addStyle(item.parts[j], options)); 4744 } 4745 4746 stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts}; 4747 } 4748 } 4749} 4750 4751function listToStyles (list, options) { 4752 var styles = []; 4753 var newStyles = {}; 4754 4755 for (var i = 0; i < list.length; i++) { 4756 var item = list[i]; 4757 var id = options.base ? item[0] + options.base : item[0]; 4758 var css = item[1]; 4759 var media = item[2]; 4760 var sourceMap = item[3]; 4761 var part = {css: css, media: media, sourceMap: sourceMap}; 4762 4763 if(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]}); 4764 else newStyles[id].parts.push(part); 4765 } 4766 4767 return styles; 4768} 4769 4770function insertStyleElement (options, style) { 4771 var target = getElement(options.insertInto) 4772 4773 if (!target) { 4774 throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid."); 4775 } 4776 4777 var lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1]; 4778 4779 if (options.insertAt === "top") { 4780 if (!lastStyleElementInsertedAtTop) { 4781 target.insertBefore(style, target.firstChild); 4782 } else if (lastStyleElementInsertedAtTop.nextSibling) { 4783 target.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling); 4784 } else { 4785 target.appendChild(style); 4786 } 4787 stylesInsertedAtTop.push(style); 4788 } else if (options.insertAt === "bottom") { 4789 target.appendChild(style); 4790 } else { 4791 throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); 4792 } 4793} 4794 4795function removeStyleElement (style) { 4796 if (style.parentNode === null) return false; 4797 style.parentNode.removeChild(style); 4798 4799 var idx = stylesInsertedAtTop.indexOf(style); 4800 if(idx >= 0) { 4801 stylesInsertedAtTop.splice(idx, 1); 4802 } 4803} 4804 4805function createStyleElement (options) { 4806 var style = document.createElement("style"); 4807 4808 options.attrs.type = "text/css"; 4809 4810 addAttrs(style, options.attrs); 4811 insertStyleElement(options, style); 4812 4813 return style; 4814} 4815 4816function createLinkElement (options) { 4817 var link = document.createElement("link"); 4818 4819 options.attrs.type = "text/css"; 4820 options.attrs.rel = "stylesheet"; 4821 4822 addAttrs(link, options.attrs); 4823 insertStyleElement(options, link); 4824 4825 return link; 4826} 4827 4828function addAttrs (el, attrs) { 4829 Object.keys(attrs).forEach(function (key) { 4830 el.setAttribute(key, attrs[key]); 4831 }); 4832} 4833 4834function addStyle (obj, options) { 4835 var style, update, remove, result; 4836 4837 // If a transform function was defined, run it on the css 4838 if (options.transform && obj.css) { 4839 result = options.transform(obj.css); 4840 4841 if (result) { 4842 // If transform returns a value, use that instead of the original css. 4843 // This allows running runtime transformations on the css. 4844 obj.css = result; 4845 } else { 4846 // If the transform function returns a falsy value, don't add this css. 4847 // This allows conditional loading of css 4848 return function() { 4849 // noop 4850 }; 4851 } 4852 } 4853 4854 if (options.singleton) { 4855 var styleIndex = singletonCounter++; 4856 4857 style = singleton || (singleton = createStyleElement(options)); 4858 4859 update = applyToSingletonTag.bind(null, style, styleIndex, false); 4860 remove = applyToSingletonTag.bind(null, style, styleIndex, true); 4861 4862 } else if ( 4863 obj.sourceMap && 4864 typeof URL === "function" && 4865 typeof URL.createObjectURL === "function" && 4866 typeof URL.revokeObjectURL === "function" && 4867 typeof Blob === "function" && 4868 typeof btoa === "function" 4869 ) { 4870 style = createLinkElement(options); 4871 update = updateLink.bind(null, style, options); 4872 remove = function () { 4873 removeStyleElement(style); 4874 4875 if(style.href) URL.revokeObjectURL(style.href); 4876 }; 4877 } else { 4878 style = createStyleElement(options); 4879 update = applyToTag.bind(null, style); 4880 remove = function () { 4881 removeStyleElement(style); 4882 }; 4883 } 4884 4885 update(obj); 4886 4887 return function updateStyle (newObj) { 4888 if (newObj) { 4889 if ( 4890 newObj.css === obj.css && 4891 newObj.media === obj.media && 4892 newObj.sourceMap === obj.sourceMap 4893 ) { 4894 return; 4895 } 4896 4897 update(obj = newObj); 4898 } else { 4899 remove(); 4900 } 4901 }; 4902} 4903 4904var replaceText = (function () { 4905 var textStore = []; 4906 4907 return function (index, replacement) { 4908 textStore[index] = replacement; 4909 4910 return textStore.filter(Boolean).join('\n'); 4911 }; 4912})(); 4913 4914function applyToSingletonTag (style, index, remove, obj) { 4915 var css = remove ? "" : obj.css; 4916 4917 if (style.styleSheet) { 4918 style.styleSheet.cssText = replaceText(index, css); 4919 } else { 4920 var cssNode = document.createTextNode(css); 4921 var childNodes = style.childNodes; 4922 4923 if (childNodes[index]) style.removeChild(childNodes[index]); 4924 4925 if (childNodes.length) { 4926 style.insertBefore(cssNode, childNodes[index]); 4927 } else { 4928 style.appendChild(cssNode); 4929 } 4930 } 4931} 4932 4933function applyToTag (style, obj) { 4934 var css = obj.css; 4935 var media = obj.media; 4936 4937 if(media) { 4938 style.setAttribute("media", media) 4939 } 4940 4941 if(style.styleSheet) { 4942 style.styleSheet.cssText = css; 4943 } else { 4944 while(style.firstChild) { 4945 style.removeChild(style.firstChild); 4946 } 4947 4948 style.appendChild(document.createTextNode(css)); 4949 } 4950} 4951 4952function updateLink (link, options, obj) { 4953 var css = obj.css; 4954 var sourceMap = obj.sourceMap; 4955 4956 /* 4957 If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled 4958 and there is no publicPath defined then lets turn convertToAbsoluteUrls 4959 on by default. Otherwise default to the convertToAbsoluteUrls option 4960 directly 4961 */ 4962 var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap; 4963 4964 if (options.convertToAbsoluteUrls || autoFixUrls) { 4965 css = fixUrls(css); 4966 } 4967 4968 if (sourceMap) { 4969 // http://stackoverflow.com/a/26603875 4970 css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"; 4971 } 4972 4973 var blob = new Blob([css], { type: "text/css" }); 4974 4975 var oldSrc = link.href; 4976 4977 link.href = URL.createObjectURL(blob); 4978 4979 if(oldSrc) URL.revokeObjectURL(oldSrc); 4980} 4981 4982 4983/***/ }), 4984/* 4 */ 4985/***/ (function(module, exports) { 4986 4987var core = module.exports = { version: '2.6.12' }; 4988if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef 4989 4990 4991/***/ }), 4992/* 5 */ 4993/***/ (function(module, exports, __webpack_require__) { 4994 4995var store = __webpack_require__(44)('wks'); 4996var uid = __webpack_require__(28); 4997var Symbol = __webpack_require__(7).Symbol; 4998var USE_SYMBOL = typeof Symbol == 'function'; 4999 5000var $exports = module.exports = function (name) { 5001 return store[name] || (store[name] = 5002 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); 5003}; 5004 5005$exports.store = store; 5006 5007 5008/***/ }), 5009/* 6 */
vendor: 5,674 bytes, lines 5010-5193
5010/***/ (function(module, exports) { 5011 5012module.exports = vendor_aa0bb54e7e791c5951ff; 5013 5014/***/ }), 5015/* 7 */ 5016/***/ (function(module, exports) { 5017 5018// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 5019var global = module.exports = typeof window != 'undefined' && window.Math == Math 5020 ? window : typeof self != 'undefined' && self.Math == Math ? self 5021 // eslint-disable-next-line no-new-func 5022 : Function('return this')(); 5023if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef 5024 5025 5026/***/ }), 5027/* 8 */ 5028/***/ (function(module, exports, __webpack_require__) { 5029 5030// Thank's IE8 for his funny defineProperty 5031module.exports = !__webpack_require__(18)(function () { 5032 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; 5033}); 5034 5035 5036/***/ }), 5037/* 9 */ 5038/***/ (function(module, exports, __webpack_require__) { 5039 5040var global = __webpack_require__(7); 5041var core = __webpack_require__(4); 5042var ctx = __webpack_require__(17); 5043var hide = __webpack_require__(15); 5044var has = __webpack_require__(16); 5045var PROTOTYPE = 'prototype'; 5046 5047var $export = function (type, name, source) { 5048 var IS_FORCED = type & $export.F; 5049 var IS_GLOBAL = type & $export.G; 5050 var IS_STATIC = type & $export.S; 5051 var IS_PROTO = type & $export.P; 5052 var IS_BIND = type & $export.B; 5053 var IS_WRAP = type & $export.W; 5054 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); 5055 var expProto = exports[PROTOTYPE]; 5056 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]; 5057 var key, own, out; 5058 if (IS_GLOBAL) source = name; 5059 for (key in source) { 5060 // contains in native 5061 own = !IS_FORCED && target && target[key] !== undefined; 5062 if (own && has(exports, key)) continue; 5063 // export native or passed 5064 out = own ? target[key] : source[key]; 5065 // prevent global pollution for namespaces 5066 exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] 5067 // bind timers to global for call from export context 5068 : IS_BIND && own ? ctx(out, global) 5069 // wrap global constructors for prevent change them in library 5070 : IS_WRAP && target[key] == out ? (function (C) { 5071 var F = function (a, b, c) { 5072 if (this instanceof C) { 5073 switch (arguments.length) { 5074 case 0: return new C(); 5075 case 1: return new C(a); 5076 case 2: return new C(a, b); 5077 } return new C(a, b, c); 5078 } return C.apply(this, arguments); 5079 }; 5080 F[PROTOTYPE] = C[PROTOTYPE]; 5081 return F; 5082 // make static versions for prototype methods 5083 })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; 5084 // export proto methods to core.%CONSTRUCTOR%.methods.%NAME% 5085 if (IS_PROTO) { 5086 (exports.virtual || (exports.virtual = {}))[key] = out; 5087 // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME% 5088 if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out); 5089 } 5090 } 5091}; 5092// type bitmap 5093$export.F = 1; // forced 5094$export.G = 2; // global 5095$export.S = 4; // static 5096$export.P = 8; // proto 5097$export.B = 16; // bind 5098$export.W = 32; // wrap 5099$export.U = 64; // safe 5100$export.R = 128; // real proto method for `library` 5101module.exports = $export; 5102 5103 5104/***/ }), 5105/* 10 */ 5106/***/ (function(module, exports) { 5107 5108module.exports = function (it) { 5109 return typeof it === 'object' ? it !== null : typeof it === 'function'; 5110}; 5111 5112 5113/***/ }), 5114/* 11 */ 5115/***/ (function(module, exports, __webpack_require__) { 5116 5117var anObject = __webpack_require__(14); 5118var IE8_DOM_DEFINE = __webpack_require__(183); 5119var toPrimitive = __webpack_require__(40); 5120var dP = Object.defineProperty; 5121 5122exports.f = __webpack_require__(8) ? Object.defineProperty : function defineProperty(O, P, Attributes) { 5123 anObject(O); 5124 P = toPrimitive(P, true); 5125 anObject(Attributes); 5126 if (IE8_DOM_DEFINE) try { 5127 return dP(O, P, Attributes); 5128 } catch (e) { /* empty */ } 5129 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); 5130 if ('value' in Attributes) O[P] = Attributes.value; 5131 return O; 5132}; 5133 5134 5135/***/ }), 5136/* 12 */ 5137/***/ (function(module, exports, __webpack_require__) { 5138 5139module.exports = (__webpack_require__(6))(452); 5140 5141/***/ }), 5142/* 13 */ 5143/***/ (function(module, exports, __webpack_require__) { 5144 5145/* WEBPACK VAR INJECTION */(function(process) {/** 5146 * Copyright (c) 2013-present, Facebook, Inc. 5147 * 5148 * This source code is licensed under the MIT license found in the 5149 * LICENSE file in the root directory of this source tree. 5150 */ 5151 5152if (process.env.NODE_ENV !== 'production') { 5153 var ReactIs = __webpack_require__(198); 5154 5155 // By explicitly using `prop-types` you are opting into new development behavior. 5156 // http://fb.me/prop-types-in-prod 5157 var throwOnDirectAccess = true; 5158 module.exports = __webpack_require__(199)(ReactIs.isElement, throwOnDirectAccess); 5159} else { 5160 // By explicitly using `prop-types` you are opting into new production behavior. 5161 // http://fb.me/prop-types-in-prod 5162 module.exports = __webpack_require__(200)(); 5163} 5164 5165/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20))) 5166 5167/***/ }), 5168/* 14 */ 5169/***/ (function(module, exports, __webpack_require__) { 5170 5171var isObject = __webpack_require__(10); 5172module.exports = function (it) { 5173 if (!isObject(it)) throw TypeError(it + ' is not an object!'); 5174 return it; 5175}; 5176 5177 5178/***/ }), 5179/* 15 */ 5180/***/ (function(module, exports, __webpack_require__) { 5181 5182var dP = __webpack_require__(11); 5183var createDesc = __webpack_require__(25); 5184module.exports = __webpack_require__(8) ? function (object, key, value) { 5185 return dP.f(object, key, createDesc(1, value)); 5186} : function (object, key, value) { 5187 object[key] = value; 5188 return object; 5189}; 5190 5191 5192/***/ }), 5193/* 16 */
vendor: 5,213 bytes, lines 5194-5392
5194/***/ (function(module, exports) { 5195 5196var hasOwnProperty = {}.hasOwnProperty; 5197module.exports = function (it, key) { 5198 return hasOwnProperty.call(it, key); 5199}; 5200 5201 5202/***/ }), 5203/* 17 */ 5204/***/ (function(module, exports, __webpack_require__) { 5205 5206// optional / simple context binding 5207var aFunction = __webpack_require__(168); 5208module.exports = function (fn, that, length) { 5209 aFunction(fn); 5210 if (that === undefined) return fn; 5211 switch (length) { 5212 case 1: return function (a) { 5213 return fn.call(that, a); 5214 }; 5215 case 2: return function (a, b) { 5216 return fn.call(that, a, b); 5217 }; 5218 case 3: return function (a, b, c) { 5219 return fn.call(that, a, b, c); 5220 }; 5221 } 5222 return function (/* ...args */) { 5223 return fn.apply(that, arguments); 5224 }; 5225}; 5226 5227 5228/***/ }), 5229/* 18 */ 5230/***/ (function(module, exports) { 5231 5232module.exports = function (exec) { 5233 try { 5234 return !!exec(); 5235 } catch (e) { 5236 return true; 5237 } 5238}; 5239 5240 5241/***/ }), 5242/* 19 */ 5243/***/ (function(module, exports, __webpack_require__) { 5244 5245// to indexed object, toObject with fallback for non-array-like ES3 strings 5246var IObject = __webpack_require__(41); 5247var defined = __webpack_require__(38); 5248module.exports = function (it) { 5249 return IObject(defined(it)); 5250}; 5251 5252 5253/***/ }), 5254/* 20 */ 5255/***/ (function(module, exports, __webpack_require__) { 5256 5257module.exports = (__webpack_require__(6))(91); 5258 5259/***/ }), 5260/* 21 */ 5261/***/ (function(module, exports) { 5262 5263module.exports = {}; 5264 5265 5266/***/ }), 5267/* 22 */ 5268/***/ (function(module, exports) { 5269 5270module.exports = true; 5271 5272 5273/***/ }), 5274/* 23 */ 5275/***/ (function(module, exports, __webpack_require__) { 5276 5277var def = __webpack_require__(11).f; 5278var has = __webpack_require__(16); 5279var TAG = __webpack_require__(5)('toStringTag'); 5280 5281module.exports = function (it, tag, stat) { 5282 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); 5283}; 5284 5285 5286/***/ }), 5287/* 24 */ 5288/***/ (function(module, exports, __webpack_require__) { 5289 5290var ctx = __webpack_require__(17); 5291var call = __webpack_require__(238); 5292var isArrayIter = __webpack_require__(239); 5293var anObject = __webpack_require__(14); 5294var toLength = __webpack_require__(42); 5295var getIterFn = __webpack_require__(187); 5296var BREAK = {}; 5297var RETURN = {}; 5298var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { 5299 var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); 5300 var f = ctx(fn, that, entries ? 2 : 1); 5301 var index = 0; 5302 var length, step, iterator, result; 5303 if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); 5304 // fast case for arrays with default iterator 5305 if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { 5306 result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); 5307 if (result === BREAK || result === RETURN) return result; 5308 } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { 5309 result = call(iterator, f, step.value, entries); 5310 if (result === BREAK || result === RETURN) return result; 5311 } 5312}; 5313exports.BREAK = BREAK; 5314exports.RETURN = RETURN; 5315 5316 5317/***/ }), 5318/* 25 */ 5319/***/ (function(module, exports) { 5320 5321module.exports = function (bitmap, value) { 5322 return { 5323 enumerable: !(bitmap & 1), 5324 configurable: !(bitmap & 2), 5325 writable: !(bitmap & 4), 5326 value: value 5327 }; 5328}; 5329 5330 5331/***/ }), 5332/* 26 */ 5333/***/ (function(module, exports, __webpack_require__) { 5334 5335// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 5336var anObject = __webpack_require__(14); 5337var dPs = __webpack_require__(232); 5338var enumBugKeys = __webpack_require__(45); 5339var IE_PROTO = __webpack_require__(43)('IE_PROTO'); 5340var Empty = function () { /* empty */ }; 5341var PROTOTYPE = 'prototype'; 5342 5343// Create object with fake `null` prototype: use iframe Object with cleared prototype 5344var createDict = function () { 5345 // Thrash, waste and sodomy: IE GC bug 5346 var iframe = __webpack_require__(172)('iframe'); 5347 var i = enumBugKeys.length; 5348 var lt = '<'; 5349 var gt = '>'; 5350 var iframeDocument; 5351 iframe.style.display = 'none'; 5352 __webpack_require__(205).appendChild(iframe); 5353 iframe.src = 'javascript:'; // eslint-disable-line no-script-url 5354 // createDict = iframe.contentWindow.Object; 5355 // html.removeChild(iframe); 5356 iframeDocument = iframe.contentWindow.document; 5357 iframeDocument.open(); 5358 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); 5359 iframeDocument.close(); 5360 createDict = iframeDocument.F; 5361 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; 5362 return createDict(); 5363}; 5364 5365module.exports = Object.create || function create(O, Properties) { 5366 var result; 5367 if (O !== null) { 5368 Empty[PROTOTYPE] = anObject(O); 5369 result = new Empty(); 5370 Empty[PROTOTYPE] = null; 5371 // add "__proto__" for Object.getPrototypeOf polyfill 5372 result[IE_PROTO] = O; 5373 } else result = createDict(); 5374 return Properties === undefined ? result : dPs(result, Properties); 5375}; 5376 5377 5378/***/ }), 5379/* 27 */ 5380/***/ (function(module, exports, __webpack_require__) { 5381 5382// 19.1.2.14 / 15.2.3.14 Object.keys(O) 5383var $keys = __webpack_require__(185); 5384var enumBugKeys = __webpack_require__(45); 5385 5386module.exports = Object.keys || function keys(O) { 5387 return $keys(O, enumBugKeys); 5388}; 5389 5390 5391/***/ }), 5392/* 28 */
vendor: 8,567 bytes, lines 5393-5678
5393/***/ (function(module, exports) { 5394 5395var id = 0; 5396var px = Math.random(); 5397module.exports = function (key) { 5398 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); 5399}; 5400 5401 5402/***/ }), 5403/* 29 */ 5404/***/ (function(module, exports, __webpack_require__) { 5405 5406// 7.1.13 ToObject(argument) 5407var defined = __webpack_require__(38); 5408module.exports = function (it) { 5409 return Object(defined(it)); 5410}; 5411 5412 5413/***/ }), 5414/* 30 */ 5415/***/ (function(module, exports) { 5416 5417exports.f = {}.propertyIsEnumerable; 5418 5419 5420/***/ }), 5421/* 31 */ 5422/***/ (function(module, exports, __webpack_require__) { 5423 5424"use strict"; 5425 5426 5427exports.__esModule = true; 5428 5429exports.default = function (instance, Constructor) { 5430 if (!(instance instanceof Constructor)) { 5431 throw new TypeError("Cannot call a class as a function"); 5432 } 5433}; 5434 5435/***/ }), 5436/* 32 */ 5437/***/ (function(module, exports) { 5438 5439var toString = {}.toString; 5440 5441module.exports = function (it) { 5442 return toString.call(it).slice(8, -1); 5443}; 5444 5445 5446/***/ }), 5447/* 33 */ 5448/***/ (function(module, exports, __webpack_require__) { 5449 5450"use strict"; 5451 5452 5453exports.__esModule = true; 5454 5455var _typeof2 = __webpack_require__(188); 5456 5457var _typeof3 = _interopRequireDefault(_typeof2); 5458 5459function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 5460 5461exports.default = function (self, call) { 5462 if (!self) { 5463 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 5464 } 5465 5466 return call && ((typeof call === "undefined" ? "undefined" : (0, _typeof3.default)(call)) === "object" || typeof call === "function") ? call : self; 5467}; 5468 5469/***/ }), 5470/* 34 */ 5471/***/ (function(module, exports, __webpack_require__) { 5472 5473"use strict"; 5474 5475 5476exports.__esModule = true; 5477 5478var _setPrototypeOf = __webpack_require__(249); 5479 5480var _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf); 5481 5482var _create = __webpack_require__(253); 5483 5484var _create2 = _interopRequireDefault(_create); 5485 5486var _typeof2 = __webpack_require__(188); 5487 5488var _typeof3 = _interopRequireDefault(_typeof2); 5489 5490function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 5491 5492exports.default = function (subClass, superClass) { 5493 if (typeof superClass !== "function" && superClass !== null) { 5494 throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : (0, _typeof3.default)(superClass))); 5495 } 5496 5497 subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, { 5498 constructor: { 5499 value: subClass, 5500 enumerable: false, 5501 writable: true, 5502 configurable: true 5503 } 5504 }); 5505 if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass; 5506}; 5507 5508/***/ }), 5509/* 35 */ 5510/***/ (function(module, exports, __webpack_require__) { 5511 5512"use strict"; 5513 5514var $at = __webpack_require__(230)(true); 5515 5516// 21.1.3.27 String.prototype[@@iterator]() 5517__webpack_require__(39)(String, 'String', function (iterated) { 5518 this._t = String(iterated); // target 5519 this._i = 0; // next index 5520// 21.1.5.2.1 %StringIteratorPrototype%.next() 5521}, function () { 5522 var O = this._t; 5523 var index = this._i; 5524 var point; 5525 if (index >= O.length) return { value: undefined, done: true }; 5526 point = $at(O, index); 5527 this._i += point.length; 5528 return { value: point, done: false }; 5529}); 5530 5531 5532/***/ }), 5533/* 36 */ 5534/***/ (function(module, exports, __webpack_require__) { 5535 5536__webpack_require__(236); 5537var global = __webpack_require__(7); 5538var hide = __webpack_require__(15); 5539var Iterators = __webpack_require__(21); 5540var TO_STRING_TAG = __webpack_require__(5)('toStringTag'); 5541 5542var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' + 5543 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' + 5544 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' + 5545 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' + 5546 'TextTrackList,TouchList').split(','); 5547 5548for (var i = 0; i < DOMIterables.length; i++) { 5549 var NAME = DOMIterables[i]; 5550 var Collection = global[NAME]; 5551 var proto = Collection && Collection.prototype; 5552 if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); 5553 Iterators[NAME] = Iterators.Array; 5554} 5555 5556 5557/***/ }), 5558/* 37 */ 5559/***/ (function(module, exports) { 5560 5561// 7.1.4 ToInteger 5562var ceil = Math.ceil; 5563var floor = Math.floor; 5564module.exports = function (it) { 5565 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); 5566}; 5567 5568 5569/***/ }), 5570/* 38 */ 5571/***/ (function(module, exports) { 5572 5573// 7.2.1 RequireObjectCoercible(argument) 5574module.exports = function (it) { 5575 if (it == undefined) throw TypeError("Can't call method on " + it); 5576 return it; 5577}; 5578 5579 5580/***/ }), 5581/* 39 */ 5582/***/ (function(module, exports, __webpack_require__) { 5583 5584"use strict"; 5585 5586var LIBRARY = __webpack_require__(22); 5587var $export = __webpack_require__(9); 5588var redefine = __webpack_require__(184); 5589var hide = __webpack_require__(15); 5590var Iterators = __webpack_require__(21); 5591var $iterCreate = __webpack_require__(231); 5592var setToStringTag = __webpack_require__(23); 5593var getPrototypeOf = __webpack_require__(235); 5594var ITERATOR = __webpack_require__(5)('iterator'); 5595var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` 5596var FF_ITERATOR = '@@iterator'; 5597var KEYS = 'keys'; 5598var VALUES = 'values'; 5599 5600var returnThis = function () { return this; }; 5601 5602module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { 5603 $iterCreate(Constructor, NAME, next); 5604 var getMethod = function (kind) { 5605 if (!BUGGY && kind in proto) return proto[kind]; 5606 switch (kind) { 5607 case KEYS: return function keys() { return new Constructor(this, kind); }; 5608 case VALUES: return function values() { return new Constructor(this, kind); }; 5609 } return function entries() { return new Constructor(this, kind); }; 5610 }; 5611 var TAG = NAME + ' Iterator'; 5612 var DEF_VALUES = DEFAULT == VALUES; 5613 var VALUES_BUG = false; 5614 var proto = Base.prototype; 5615 var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; 5616 var $default = $native || getMethod(DEFAULT); 5617 var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; 5618 var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; 5619 var methods, key, IteratorPrototype; 5620 // Fix native 5621 if ($anyNative) { 5622 IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); 5623 if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { 5624 // Set @@toStringTag to native iterators 5625 setToStringTag(IteratorPrototype, TAG, true); 5626 // fix for some old engines 5627 if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); 5628 } 5629 } 5630 // fix Array#{values, @@iterator}.name in V8 / FF 5631 if (DEF_VALUES && $native && $native.name !== VALUES) { 5632 VALUES_BUG = true; 5633 $default = function values() { return $native.call(this); }; 5634 } 5635 // Define iterator 5636 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { 5637 hide(proto, ITERATOR, $default); 5638 } 5639 // Plug for library 5640 Iterators[NAME] = $default; 5641 Iterators[TAG] = returnThis; 5642 if (DEFAULT) { 5643 methods = { 5644 values: DEF_VALUES ? $default : getMethod(VALUES), 5645 keys: IS_SET ? $default : getMethod(KEYS), 5646 entries: $entries 5647 }; 5648 if (FORCED) for (key in methods) { 5649 if (!(key in proto)) redefine(proto, key, methods[key]); 5650 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); 5651 } 5652 return methods; 5653}; 5654 5655 5656/***/ }), 5657/* 40 */ 5658/***/ (function(module, exports, __webpack_require__) { 5659 5660// 7.1.1 ToPrimitive(input [, PreferredType]) 5661var isObject = __webpack_require__(10); 5662// instead of the ES6 spec version, we didn't implement @@toPrimitive case 5663// and the second argument - flag - preferred type is a string 5664module.exports = function (it, S) { 5665 if (!isObject(it)) return it; 5666 var fn, val; 5667 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 5668 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; 5669 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; 5670 throw TypeError("Can't convert object to primitive value"); 5671}; 5672 5673 5674/***/ }), 5675/* 41 */ 5676/***/ (function(module, exports, __webpack_require__) { 5677 5678// fallback for non-array-like ES3 and non-enumerable old V8 strings
vendor: 4,498 bytes, lines 5679-5855
5679var cof = __webpack_require__(32); 5680// eslint-disable-next-line no-prototype-builtins 5681module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { 5682 return cof(it) == 'String' ? it.split('') : Object(it); 5683}; 5684 5685 5686/***/ }), 5687/* 42 */ 5688/***/ (function(module, exports, __webpack_require__) { 5689 5690// 7.1.15 ToLength 5691var toInteger = __webpack_require__(37); 5692var min = Math.min; 5693module.exports = function (it) { 5694 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 5695}; 5696 5697 5698/***/ }), 5699/* 43 */ 5700/***/ (function(module, exports, __webpack_require__) { 5701 5702var shared = __webpack_require__(44)('keys'); 5703var uid = __webpack_require__(28); 5704module.exports = function (key) { 5705 return shared[key] || (shared[key] = uid(key)); 5706}; 5707 5708 5709/***/ }), 5710/* 44 */ 5711/***/ (function(module, exports, __webpack_require__) { 5712 5713var core = __webpack_require__(4); 5714var global = __webpack_require__(7); 5715var SHARED = '__core-js_shared__'; 5716var store = global[SHARED] || (global[SHARED] = {}); 5717 5718(module.exports = function (key, value) { 5719 return store[key] || (store[key] = value !== undefined ? value : {}); 5720})('versions', []).push({ 5721 version: core.version, 5722 mode: __webpack_require__(22) ? 'pure' : 'global', 5723 copyright: '© 2020 Denis Pushkarev (zloirock.ru)' 5724}); 5725 5726 5727/***/ }), 5728/* 45 */ 5729/***/ (function(module, exports) { 5730 5731// IE 8- don't enum bug keys 5732module.exports = ( 5733 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' 5734).split(','); 5735 5736 5737/***/ }), 5738/* 46 */ 5739/***/ (function(module, exports, __webpack_require__) { 5740 5741exports.f = __webpack_require__(5); 5742 5743 5744/***/ }), 5745/* 47 */ 5746/***/ (function(module, exports, __webpack_require__) { 5747 5748var META = __webpack_require__(28)('meta'); 5749var isObject = __webpack_require__(10); 5750var has = __webpack_require__(16); 5751var setDesc = __webpack_require__(11).f; 5752var id = 0; 5753var isExtensible = Object.isExtensible || function () { 5754 return true; 5755}; 5756var FREEZE = !__webpack_require__(18)(function () { 5757 return isExtensible(Object.preventExtensions({})); 5758}); 5759var setMeta = function (it) { 5760 setDesc(it, META, { value: { 5761 i: 'O' + ++id, // object ID 5762 w: {} // weak collections IDs 5763 } }); 5764}; 5765var fastKey = function (it, create) { 5766 // return primitive with prefix 5767 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; 5768 if (!has(it, META)) { 5769 // can't set metadata to uncaught frozen object 5770 if (!isExtensible(it)) return 'F'; 5771 // not necessary to add metadata 5772 if (!create) return 'E'; 5773 // add missing metadata 5774 setMeta(it); 5775 // return object ID 5776 } return it[META].i; 5777}; 5778var getWeak = function (it, create) { 5779 if (!has(it, META)) { 5780 // can't set metadata to uncaught frozen object 5781 if (!isExtensible(it)) return true; 5782 // not necessary to add metadata 5783 if (!create) return false; 5784 // add missing metadata 5785 setMeta(it); 5786 // return hash weak collections IDs 5787 } return it[META].w; 5788}; 5789// add metadata on freeze-family methods calling 5790var onFreeze = function (it) { 5791 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); 5792 return it; 5793}; 5794var meta = module.exports = { 5795 KEY: META, 5796 NEED: false, 5797 fastKey: fastKey, 5798 getWeak: getWeak, 5799 onFreeze: onFreeze 5800}; 5801 5802 5803/***/ }), 5804/* 48 */ 5805/***/ (function(module, exports, __webpack_require__) { 5806 5807var global = __webpack_require__(7); 5808var core = __webpack_require__(4); 5809var LIBRARY = __webpack_require__(22); 5810var wksExt = __webpack_require__(46); 5811var defineProperty = __webpack_require__(11).f; 5812module.exports = function (name) { 5813 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); 5814 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); 5815}; 5816 5817 5818/***/ }), 5819/* 49 */ 5820/***/ (function(module, exports) { 5821 5822exports.f = Object.getOwnPropertySymbols; 5823 5824 5825/***/ }), 5826/* 50 */ 5827/***/ (function(module, exports, __webpack_require__) { 5828 5829"use strict"; 5830 5831 5832exports.__esModule = true; 5833 5834var _assign = __webpack_require__(256); 5835 5836var _assign2 = _interopRequireDefault(_assign); 5837 5838function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 5839 5840exports.default = _assign2.default || function (target) { 5841 for (var i = 1; i < arguments.length; i++) { 5842 var source = arguments[i]; 5843 5844 for (var key in source) { 5845 if (Object.prototype.hasOwnProperty.call(source, key)) { 5846 target[key] = source[key]; 5847 } 5848 } 5849 } 5850 5851 return target; 5852}; 5853 5854/***/ }), 5855/* 51 */
5856/***/ (function(module, exports) { 5857 5858 5859/** 5860 * When source maps are enabled, `style-loader` uses a link element with a data-uri to 5861 * embed the css on the page. This breaks all relative urls because now they are relative to a 5862 * bundle instead of the current page. 5863 * 5864 * One solution is to only use full urls, but that may be impossible. 5865 * 5866 * Instead, this function "fixes" the relative urls to be absolute according to the current page location. 5867 * 5868 * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command. 5869 * 5870 */ 5871 5872module.exports = function (css) { 5873 // get current location 5874 var location = typeof window !== "undefined" && window.location; 5875 5876 if (!location) { 5877 throw new Error("fixUrls requires window.location"); 5878 } 5879 5880 // blank or null? 5881 if (!css || typeof css !== "string") { 5882 return css; 5883 } 5884 5885 var baseUrl = location.protocol + "//" + location.host; 5886 var currentDir = baseUrl + location.pathname.replace(/\/[^\/]*$/, "/"); 5887 5888 // convert each url(...) 5889 /* 5890 This regular expression is just a way to recursively match brackets within 5891 a string. 5892 5893 /url\s*\( = Match on the word "url" with any whitespace after it and then a parens 5894 ( = Start a capturing group 5895 (?: = Start a non-capturing group 5896 [^)(] = Match anything that isn't a parentheses 5897 | = OR 5898 \( = Match a start parentheses 5899 (?: = Start another non-capturing groups 5900 [^)(]+ = Match anything that isn't a parentheses 5901 | = OR 5902 \( = Match a start parentheses 5903 [^)(]* = Match anything that isn't a parentheses 5904 \) = Match a end parentheses 5905 ) = End Group 5906 *\) = Match anything and then a close parens 5907 ) = Close non-capturing group 5908 * = Match anything 5909 ) = Close capturing group 5910 \) = Match a close parens 5911 5912 /gi = Get all matches, not the first. Be case insensitive. 5913 */ 5914 var fixedCss = css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(fullMatch, origUrl) { 5915 // strip quotes (if they exist) 5916 var unquotedOrigUrl = origUrl 5917 .trim() 5918 .replace(/^"(.*)"$/, function(o, $1){ return $1; }) 5919 .replace(/^'(.*)'$/, function(o, $1){ return $1; }); 5920 5921 // already a full url? no change 5922 if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(unquotedOrigUrl)) { 5923 return fullMatch; 5924 } 5925 5926 // convert the url to a full url 5927 var newUrl; 5928 5929 if (unquotedOrigUrl.indexOf("//") === 0) { 5930 //TODO: should we add protocol? 5931 newUrl = unquotedOrigUrl; 5932 } else if (unquotedOrigUrl.indexOf("/") === 0) { 5933 // path should be relative to the base url 5934 newUrl = baseUrl + unquotedOrigUrl; // already starts with '/' 5935 } else { 5936 // path should be relative to current directory 5937 newUrl = currentDir + unquotedOrigUrl.replace(/^\.\//, ""); // Strip leading './' 5938 } 5939 5940 // send back the fixed url(...) 5941 return "url(" + JSON.stringify(newUrl) + ")"; 5942 }); 5943 5944 // send back the fixed css 5945 return fixedCss; 5946}; 5947 5948 5949/***/ }), 5950/* 52 */ 5951/***/ (function(module, exports, __webpack_require__) { 5952 5953//! moment.js locale configuration 5954//! locale : Afrikaans [af] 5955//! author : Werner Mollentze : https://github.com/wernerm 5956 5957;(function (global, factory) { 5958 true ? factory(__webpack_require__(0)) : 5959 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 5960 factory(global.moment) 5961}(this, (function (moment) { 'use strict'; 5962 5963 5964var af = moment.defineLocale('af', { 5965 months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), 5966 monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), 5967 weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), 5968 weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), 5969 weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), 5970 meridiemParse: /vm|nm/i, 5971 isPM : function (input) { 5972 return /^nm$/i.test(input); 5973 }, 5974 meridiem : function (hours, minutes, isLower) { 5975 if (hours < 12) { 5976 return isLower ? 'vm' : 'VM'; 5977 } else { 5978 return isLower ? 'nm' : 'NM'; 5979 } 5980 }, 5981 longDateFormat : { 5982 LT : 'HH:mm', 5983 LTS : 'HH:mm:ss', 5984 L : 'DD/MM/YYYY', 5985 LL : 'D MMMM YYYY', 5986 LLL : 'D MMMM YYYY HH:mm', 5987 LLLL : 'dddd, D MMMM YYYY HH:mm' 5988 }, 5989 calendar : { 5990 sameDay : '[Vandag om] LT', 5991 nextDay : '[Môre om] LT', 5992 nextWeek : 'dddd [om] LT', 5993 lastDay : '[Gister om] LT', 5994 lastWeek : '[Laas] dddd [om] LT', 5995 sameElse : 'L' 5996 }, 5997 relativeTime : {
vendor: 52,856 bytes, lines 5998-7633
5998 future : 'oor %s', 5999 past : '%s gelede', 6000 s : '\'n paar sekondes', 6001 m : '\'n minuut', 6002 mm : '%d minute', 6003 h : '\'n uur', 6004 hh : '%d ure', 6005 d : '\'n dag', 6006 dd : '%d dae', 6007 M : '\'n maand', 6008 MM : '%d maande', 6009 y : '\'n jaar', 6010 yy : '%d jaar' 6011 }, 6012 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 6013 ordinal : function (number) { 6014 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter 6015 }, 6016 week : { 6017 dow : 1, // Maandag is die eerste dag van die week. 6018 doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. 6019 } 6020}); 6021 6022return af; 6023 6024}))); 6025 6026 6027/***/ }), 6028/* 53 */ 6029/***/ (function(module, exports, __webpack_require__) { 6030 6031//! moment.js locale configuration 6032//! locale : Arabic [ar] 6033//! author : Abdel Said: https://github.com/abdelsaid 6034//! author : Ahmed Elkhatib 6035//! author : forabi https://github.com/forabi 6036 6037;(function (global, factory) { 6038 true ? factory(__webpack_require__(0)) : 6039 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6040 factory(global.moment) 6041}(this, (function (moment) { 'use strict'; 6042 6043 6044var symbolMap = { 6045 '1': 'Ù¡', 6046 '2': 'Ù¢', 6047 '3': 'Ù£', 6048 '4': 'Ù¤', 6049 '5': 'Ù¥', 6050 '6': 'Ù¦', 6051 '7': 'Ù§', 6052 '8': 'Ù¨', 6053 '9': 'Ù©', 6054 '0': 'Ù ' 6055}; 6056var numberMap = { 6057 'Ù¡': '1', 6058 'Ù¢': '2', 6059 'Ù£': '3', 6060 'Ù¤': '4', 6061 'Ù¥': '5', 6062 'Ù¦': '6', 6063 'Ù§': '7', 6064 'Ù¨': '8', 6065 'Ù©': '9', 6066 'Ù ': '0' 6067}; 6068var pluralForm = function (n) { 6069 return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; 6070}; 6071var plurals = { 6072 s : ['Ø£Ù٠٠٠ثاÙÙØ©', 'ثاÙÙØ© ÙØ§ØØ¯Ø©', ['ثاÙÙØªØ§Ù', 'ثاÙÙØªÙÙ'], '%d Ø«ÙØ§Ù', '%d ثاÙÙØ©', '%d ثاÙÙØ©'], 6073 m : ['Ø£Ù٠٠٠دÙÙÙØ©', 'دÙÙÙØ© ÙØ§ØØ¯Ø©', ['دÙÙÙØªØ§Ù', 'دÙÙÙØªÙÙ'], '%d Ø¯ÙØ§Ø¦Ù', '%d دÙÙÙØ©', '%d دÙÙÙØ©'], 6074 h : ['Ø£Ù٠٠٠ساعة', 'ساعة ÙØ§ØØ¯Ø©', ['ساعتاÙ', 'ساعتÙÙ'], '%d ساعات', '%d ساعة', '%d ساعة'], 6075 d : ['Ø£ÙÙ Ù Ù ÙÙÙ ', 'ÙÙÙ ÙØ§ØØ¯', ['ÙÙ٠اÙ', 'ÙÙÙ ÙÙ'], '%d Ø£ÙØ§Ù ', '%d ÙÙÙ ÙØ§', '%d ÙÙÙ '], 6076 M : ['Ø£ÙÙ Ù Ù Ø´ÙØ±', 'Ø´ÙØ± ÙØ§ØØ¯', ['Ø´ÙØ±Ø§Ù', 'Ø´ÙØ±ÙÙ'], '%d Ø£Ø´ÙØ±', '%d Ø´ÙØ±Ø§', '%d Ø´ÙØ±'], 6077 y : ['Ø£Ù٠٠٠عا٠', 'Ø¹Ø§Ù ÙØ§ØØ¯', ['عا٠اÙ', 'عا٠ÙÙ'], '%d Ø£Ø¹ÙØ§Ù ', '%d Ø¹Ø§Ù ÙØ§', '%d عا٠'] 6078}; 6079var pluralize = function (u) { 6080 return function (number, withoutSuffix, string, isFuture) { 6081 var f = pluralForm(number), 6082 str = plurals[u][pluralForm(number)]; 6083 if (f === 2) { 6084 str = str[withoutSuffix ? 0 : 1]; 6085 } 6086 return str.replace(/%d/i, number); 6087 }; 6088}; 6089var months = [ 6090 'ÙØ§ÙÙÙ Ø§ÙØ«Ø§ÙÙ ÙÙØ§Ùر', 6091 'شباط ÙØ¨Ø±Ø§Ùر', 6092 'آذار ٠ارس', 6093 'ÙÙØ³Ø§Ù أبرÙÙ', 6094 'Ø£ÙØ§Ø± ٠اÙÙ', 6095 'ØØ²Ùرا٠ÙÙÙÙÙ', 6096 'ØªÙ ÙØ² ÙÙÙÙÙ', 6097 'آب أغسطس', 6098 'Ø£ÙÙÙ٠سبت٠بر', 6099 'تشرÙÙ Ø§ÙØ£ÙÙ Ø£ÙØªÙبر', 6100 'تشرÙÙ Ø§ÙØ«Ø§ÙÙ ÙÙÙ٠بر', 6101 'ÙØ§ÙÙÙ Ø§ÙØ£ÙÙ Ø¯ÙØ³Ù بر' 6102]; 6103 6104var ar = moment.defineLocale('ar', { 6105 months : months, 6106 monthsShort : months, 6107 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6108 weekdaysShort : 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6109 weekdaysMin : 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6110 weekdaysParseExact : true, 6111 longDateFormat : { 6112 LT : 'HH:mm', 6113 LTS : 'HH:mm:ss', 6114 L : 'D/\u200FM/\u200FYYYY', 6115 LL : 'D MMMM YYYY', 6116 LLL : 'D MMMM YYYY HH:mm', 6117 LLLL : 'dddd D MMMM YYYY HH:mm' 6118 }, 6119 meridiemParse: /ص|Ù /, 6120 isPM : function (input) { 6121 return 'Ù ' === input; 6122 }, 6123 meridiem : function (hour, minute, isLower) { 6124 if (hour < 12) { 6125 return 'ص'; 6126 } else { 6127 return 'Ù '; 6128 } 6129 }, 6130 calendar : { 6131 sameDay: '[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6132 nextDay: '[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6133 nextWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6134 lastDay: '[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6135 lastWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6136 sameElse: 'L' 6137 }, 6138 relativeTime : { 6139 future : 'بعد %s', 6140 past : 'Ù ÙØ° %s', 6141 s : pluralize('s'), 6142 m : pluralize('m'), 6143 mm : pluralize('m'), 6144 h : pluralize('h'), 6145 hh : pluralize('h'), 6146 d : pluralize('d'), 6147 dd : pluralize('d'), 6148 M : pluralize('M'), 6149 MM : pluralize('M'), 6150 y : pluralize('y'), 6151 yy : pluralize('y') 6152 }, 6153 preparse: function (string) { 6154 return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 6155 return numberMap[match]; 6156 }).replace(/Ø/g, ','); 6157 }, 6158 postformat: function (string) { 6159 return string.replace(/\d/g, function (match) { 6160 return symbolMap[match]; 6161 }).replace(/,/g, 'Ø'); 6162 }, 6163 week : { 6164 dow : 6, // Saturday is the first day of the week. 6165 doy : 12 // The week that contains Jan 1st is the first week of the year. 6166 } 6167}); 6168 6169return ar; 6170 6171}))); 6172 6173 6174/***/ }), 6175/* 54 */ 6176/***/ (function(module, exports, __webpack_require__) { 6177 6178//! moment.js locale configuration 6179//! locale : Arabic (Algeria) [ar-dz] 6180//! author : Noureddine LOUAHEDJ : https://github.com/noureddineme 6181 6182;(function (global, factory) { 6183 true ? factory(__webpack_require__(0)) : 6184 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6185 factory(global.moment) 6186}(this, (function (moment) { 'use strict'; 6187 6188 6189var arDz = moment.defineLocale('ar-dz', { 6190 months : 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6191 monthsShort : 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6192 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6193 weekdaysShort : 'Ø§ØØ¯_اثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6194 weekdaysMin : 'Ø£Ø_إث_Ø«ÙØ§_أر_خ٠_ج٠_سب'.split('_'), 6195 weekdaysParseExact : true, 6196 longDateFormat : { 6197 LT : 'HH:mm', 6198 LTS : 'HH:mm:ss', 6199 L : 'DD/MM/YYYY', 6200 LL : 'D MMMM YYYY', 6201 LLL : 'D MMMM YYYY HH:mm', 6202 LLLL : 'dddd D MMMM YYYY HH:mm' 6203 }, 6204 calendar : { 6205 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6206 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6207 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6208 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6209 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6210 sameElse: 'L' 6211 }, 6212 relativeTime : { 6213 future : 'ÙÙ %s', 6214 past : 'Ù ÙØ° %s', 6215 s : 'Ø«ÙØ§Ù', 6216 m : 'دÙÙÙØ©', 6217 mm : '%d Ø¯ÙØ§Ø¦Ù', 6218 h : 'ساعة', 6219 hh : '%d ساعات', 6220 d : 'ÙÙÙ ', 6221 dd : '%d Ø£ÙØ§Ù ', 6222 M : 'Ø´ÙØ±', 6223 MM : '%d Ø£Ø´ÙØ±', 6224 y : 'Ø³ÙØ©', 6225 yy : '%d سÙÙØ§Øª' 6226 }, 6227 week : { 6228 dow : 0, // Sunday is the first day of the week. 6229 doy : 4 // The week that contains Jan 1st is the first week of the year. 6230 } 6231}); 6232 6233return arDz; 6234 6235}))); 6236 6237 6238/***/ }), 6239/* 55 */ 6240/***/ (function(module, exports, __webpack_require__) { 6241 6242//! moment.js locale configuration 6243//! locale : Arabic (Kuwait) [ar-kw] 6244//! author : Nusret Parlak: https://github.com/nusretparlak 6245 6246;(function (global, factory) { 6247 true ? factory(__webpack_require__(0)) : 6248 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6249 factory(global.moment) 6250}(this, (function (moment) { 'use strict'; 6251 6252 6253var arKw = moment.defineLocale('ar-kw', { 6254 months : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split('_'), 6255 monthsShort : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split('_'), 6256 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6257 weekdaysShort : 'Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6258 weekdaysMin : 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6259 weekdaysParseExact : true, 6260 longDateFormat : { 6261 LT : 'HH:mm', 6262 LTS : 'HH:mm:ss', 6263 L : 'DD/MM/YYYY', 6264 LL : 'D MMMM YYYY', 6265 LLL : 'D MMMM YYYY HH:mm', 6266 LLLL : 'dddd D MMMM YYYY HH:mm' 6267 }, 6268 calendar : { 6269 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6270 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6271 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6272 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6273 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6274 sameElse: 'L' 6275 }, 6276 relativeTime : { 6277 future : 'ÙÙ %s', 6278 past : 'Ù ÙØ° %s', 6279 s : 'Ø«ÙØ§Ù', 6280 m : 'دÙÙÙØ©', 6281 mm : '%d Ø¯ÙØ§Ø¦Ù', 6282 h : 'ساعة', 6283 hh : '%d ساعات', 6284 d : 'ÙÙÙ ', 6285 dd : '%d Ø£ÙØ§Ù ', 6286 M : 'Ø´ÙØ±', 6287 MM : '%d Ø£Ø´ÙØ±', 6288 y : 'Ø³ÙØ©', 6289 yy : '%d سÙÙØ§Øª' 6290 }, 6291 week : { 6292 dow : 0, // Sunday is the first day of the week. 6293 doy : 12 // The week that contains Jan 1st is the first week of the year. 6294 } 6295}); 6296 6297return arKw; 6298 6299}))); 6300 6301 6302/***/ }), 6303/* 56 */ 6304/***/ (function(module, exports, __webpack_require__) { 6305 6306//! moment.js locale configuration 6307//! locale : Arabic (Lybia) [ar-ly] 6308//! author : Ali Hmer: https://github.com/kikoanis 6309 6310;(function (global, factory) { 6311 true ? factory(__webpack_require__(0)) : 6312 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6313 factory(global.moment) 6314}(this, (function (moment) { 'use strict'; 6315 6316 6317var symbolMap = { 6318 '1': '1', 6319 '2': '2', 6320 '3': '3', 6321 '4': '4', 6322 '5': '5', 6323 '6': '6', 6324 '7': '7', 6325 '8': '8', 6326 '9': '9', 6327 '0': '0' 6328}; 6329var pluralForm = function (n) { 6330 return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; 6331}; 6332var plurals = { 6333 s : ['Ø£Ù٠٠٠ثاÙÙØ©', 'ثاÙÙØ© ÙØ§ØØ¯Ø©', ['ثاÙÙØªØ§Ù', 'ثاÙÙØªÙÙ'], '%d Ø«ÙØ§Ù', '%d ثاÙÙØ©', '%d ثاÙÙØ©'], 6334 m : ['Ø£Ù٠٠٠دÙÙÙØ©', 'دÙÙÙØ© ÙØ§ØØ¯Ø©', ['دÙÙÙØªØ§Ù', 'دÙÙÙØªÙÙ'], '%d Ø¯ÙØ§Ø¦Ù', '%d دÙÙÙØ©', '%d دÙÙÙØ©'], 6335 h : ['Ø£Ù٠٠٠ساعة', 'ساعة ÙØ§ØØ¯Ø©', ['ساعتاÙ', 'ساعتÙÙ'], '%d ساعات', '%d ساعة', '%d ساعة'], 6336 d : ['Ø£ÙÙ Ù Ù ÙÙÙ ', 'ÙÙÙ ÙØ§ØØ¯', ['ÙÙ٠اÙ', 'ÙÙÙ ÙÙ'], '%d Ø£ÙØ§Ù ', '%d ÙÙÙ ÙØ§', '%d ÙÙÙ '], 6337 M : ['Ø£ÙÙ Ù Ù Ø´ÙØ±', 'Ø´ÙØ± ÙØ§ØØ¯', ['Ø´ÙØ±Ø§Ù', 'Ø´ÙØ±ÙÙ'], '%d Ø£Ø´ÙØ±', '%d Ø´ÙØ±Ø§', '%d Ø´ÙØ±'], 6338 y : ['Ø£Ù٠٠٠عا٠', 'Ø¹Ø§Ù ÙØ§ØØ¯', ['عا٠اÙ', 'عا٠ÙÙ'], '%d Ø£Ø¹ÙØ§Ù ', '%d Ø¹Ø§Ù ÙØ§', '%d عا٠'] 6339}; 6340var pluralize = function (u) { 6341 return function (number, withoutSuffix, string, isFuture) { 6342 var f = pluralForm(number), 6343 str = plurals[u][pluralForm(number)]; 6344 if (f === 2) { 6345 str = str[withoutSuffix ? 0 : 1]; 6346 } 6347 return str.replace(/%d/i, number); 6348 }; 6349}; 6350var months = [ 6351 'ÙÙØ§Ùر', 6352 'ÙØ¨Ø±Ø§Ùر', 6353 '٠ارس', 6354 'أبرÙÙ', 6355 '٠اÙÙ', 6356 'ÙÙÙÙÙ', 6357 'ÙÙÙÙÙ', 6358 'أغسطس', 6359 'سبت٠بر', 6360 'Ø£ÙØªÙبر', 6361 'ÙÙÙ٠بر', 6362 'Ø¯ÙØ³Ù بر' 6363]; 6364 6365var arLy = moment.defineLocale('ar-ly', { 6366 months : months, 6367 monthsShort : months, 6368 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6369 weekdaysShort : 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6370 weekdaysMin : 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6371 weekdaysParseExact : true, 6372 longDateFormat : { 6373 LT : 'HH:mm', 6374 LTS : 'HH:mm:ss', 6375 L : 'D/\u200FM/\u200FYYYY', 6376 LL : 'D MMMM YYYY', 6377 LLL : 'D MMMM YYYY HH:mm', 6378 LLLL : 'dddd D MMMM YYYY HH:mm' 6379 }, 6380 meridiemParse: /ص|Ù /, 6381 isPM : function (input) { 6382 return 'Ù ' === input; 6383 }, 6384 meridiem : function (hour, minute, isLower) { 6385 if (hour < 12) { 6386 return 'ص'; 6387 } else { 6388 return 'Ù '; 6389 } 6390 }, 6391 calendar : { 6392 sameDay: '[اÙÙÙÙ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6393 nextDay: '[ØºØ¯ÙØ§ Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6394 nextWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6395 lastDay: '[أ٠س Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6396 lastWeek: 'dddd [Ø¹ÙØ¯ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6397 sameElse: 'L' 6398 }, 6399 relativeTime : { 6400 future : 'بعد %s', 6401 past : 'Ù ÙØ° %s', 6402 s : pluralize('s'), 6403 m : pluralize('m'), 6404 mm : pluralize('m'), 6405 h : pluralize('h'), 6406 hh : pluralize('h'), 6407 d : pluralize('d'), 6408 dd : pluralize('d'), 6409 M : pluralize('M'), 6410 MM : pluralize('M'), 6411 y : pluralize('y'), 6412 yy : pluralize('y') 6413 }, 6414 preparse: function (string) { 6415 return string.replace(/\u200f/g, '').replace(/Ø/g, ','); 6416 }, 6417 postformat: function (string) { 6418 return string.replace(/\d/g, function (match) { 6419 return symbolMap[match]; 6420 }).replace(/,/g, 'Ø'); 6421 }, 6422 week : { 6423 dow : 6, // Saturday is the first day of the week. 6424 doy : 12 // The week that contains Jan 1st is the first week of the year. 6425 } 6426}); 6427 6428return arLy; 6429 6430}))); 6431 6432 6433/***/ }), 6434/* 57 */ 6435/***/ (function(module, exports, __webpack_require__) { 6436 6437//! moment.js locale configuration 6438//! locale : Arabic (Morocco) [ar-ma] 6439//! author : ElFadili Yassine : https://github.com/ElFadiliY 6440//! author : Abdel Said : https://github.com/abdelsaid 6441 6442;(function (global, factory) { 6443 true ? factory(__webpack_require__(0)) : 6444 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6445 factory(global.moment) 6446}(this, (function (moment) { 'use strict'; 6447 6448 6449var arMa = moment.defineLocale('ar-ma', { 6450 months : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split('_'), 6451 monthsShort : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙ_ÙÙÙÙÙ_ÙÙÙÙÙØ²_غشت_Ø´ØªÙØ¨Ø±_Ø£ÙØªÙبر_ÙÙÙØ¨Ø±_Ø¯Ø¬ÙØ¨Ø±'.split('_'), 6452 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥ØªÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6453 weekdaysShort : 'Ø§ØØ¯_اتÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_اربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6454 weekdaysMin : 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6455 weekdaysParseExact : true, 6456 longDateFormat : { 6457 LT : 'HH:mm', 6458 LTS : 'HH:mm:ss', 6459 L : 'DD/MM/YYYY', 6460 LL : 'D MMMM YYYY', 6461 LLL : 'D MMMM YYYY HH:mm', 6462 LLLL : 'dddd D MMMM YYYY HH:mm' 6463 }, 6464 calendar : { 6465 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6466 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6467 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6468 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6469 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6470 sameElse: 'L' 6471 }, 6472 relativeTime : { 6473 future : 'ÙÙ %s', 6474 past : 'Ù ÙØ° %s', 6475 s : 'Ø«ÙØ§Ù', 6476 m : 'دÙÙÙØ©', 6477 mm : '%d Ø¯ÙØ§Ø¦Ù', 6478 h : 'ساعة', 6479 hh : '%d ساعات', 6480 d : 'ÙÙÙ ', 6481 dd : '%d Ø£ÙØ§Ù ', 6482 M : 'Ø´ÙØ±', 6483 MM : '%d Ø£Ø´ÙØ±', 6484 y : 'Ø³ÙØ©', 6485 yy : '%d سÙÙØ§Øª' 6486 }, 6487 week : { 6488 dow : 6, // Saturday is the first day of the week. 6489 doy : 12 // The week that contains Jan 1st is the first week of the year. 6490 } 6491}); 6492 6493return arMa; 6494 6495}))); 6496 6497 6498/***/ }), 6499/* 58 */ 6500/***/ (function(module, exports, __webpack_require__) { 6501 6502//! moment.js locale configuration 6503//! locale : Arabic (Saudi Arabia) [ar-sa] 6504//! author : Suhail Alkowaileet : https://github.com/xsoh 6505 6506;(function (global, factory) { 6507 true ? factory(__webpack_require__(0)) : 6508 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6509 factory(global.moment) 6510}(this, (function (moment) { 'use strict'; 6511 6512 6513var symbolMap = { 6514 '1': 'Ù¡', 6515 '2': 'Ù¢', 6516 '3': 'Ù£', 6517 '4': 'Ù¤', 6518 '5': 'Ù¥', 6519 '6': 'Ù¦', 6520 '7': 'Ù§', 6521 '8': 'Ù¨', 6522 '9': 'Ù©', 6523 '0': 'Ù ' 6524}; 6525var numberMap = { 6526 'Ù¡': '1', 6527 'Ù¢': '2', 6528 'Ù£': '3', 6529 'Ù¤': '4', 6530 'Ù¥': '5', 6531 'Ù¦': '6', 6532 'Ù§': '7', 6533 'Ù¨': '8', 6534 'Ù©': '9', 6535 'Ù ': '0' 6536}; 6537 6538var arSa = moment.defineLocale('ar-sa', { 6539 months : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6540 monthsShort : 'ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_٠ارس_أبرÙÙ_٠اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6541 weekdays : 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6542 weekdaysShort : 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6543 weekdaysMin : 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6544 weekdaysParseExact : true, 6545 longDateFormat : { 6546 LT : 'HH:mm', 6547 LTS : 'HH:mm:ss', 6548 L : 'DD/MM/YYYY', 6549 LL : 'D MMMM YYYY', 6550 LLL : 'D MMMM YYYY HH:mm', 6551 LLLL : 'dddd D MMMM YYYY HH:mm' 6552 }, 6553 meridiemParse: /ص|Ù /, 6554 isPM : function (input) { 6555 return 'Ù ' === input; 6556 }, 6557 meridiem : function (hour, minute, isLower) { 6558 if (hour < 12) { 6559 return 'ص'; 6560 } else { 6561 return 'Ù '; 6562 } 6563 }, 6564 calendar : { 6565 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6566 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6567 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6568 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6569 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6570 sameElse: 'L' 6571 }, 6572 relativeTime : { 6573 future : 'ÙÙ %s', 6574 past : 'Ù ÙØ° %s', 6575 s : 'Ø«ÙØ§Ù', 6576 m : 'دÙÙÙØ©', 6577 mm : '%d Ø¯ÙØ§Ø¦Ù', 6578 h : 'ساعة', 6579 hh : '%d ساعات', 6580 d : 'ÙÙÙ ', 6581 dd : '%d Ø£ÙØ§Ù ', 6582 M : 'Ø´ÙØ±', 6583 MM : '%d Ø£Ø´ÙØ±', 6584 y : 'Ø³ÙØ©', 6585 yy : '%d سÙÙØ§Øª' 6586 }, 6587 preparse: function (string) { 6588 return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 6589 return numberMap[match]; 6590 }).replace(/Ø/g, ','); 6591 }, 6592 postformat: function (string) { 6593 return string.replace(/\d/g, function (match) { 6594 return symbolMap[match]; 6595 }).replace(/,/g, 'Ø'); 6596 }, 6597 week : { 6598 dow : 0, // Sunday is the first day of the week. 6599 doy : 6 // The week that contains Jan 1st is the first week of the year. 6600 } 6601}); 6602 6603return arSa; 6604 6605}))); 6606 6607 6608/***/ }), 6609/* 59 */ 6610/***/ (function(module, exports, __webpack_require__) { 6611 6612//! moment.js locale configuration 6613//! locale : Arabic (Tunisia) [ar-tn] 6614//! author : Nader Toukabri : https://github.com/naderio 6615 6616;(function (global, factory) { 6617 true ? factory(__webpack_require__(0)) : 6618 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6619 factory(global.moment) 6620}(this, (function (moment) { 'use strict'; 6621 6622 6623var arTn = moment.defineLocale('ar-tn', { 6624 months: 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6625 monthsShort: 'جاÙÙÙ_ÙÙÙØ±Ù_٠ارس_Ø£ÙØ±ÙÙ_٠اÙ_Ø¬ÙØ§Ù_جÙÙÙÙØ©_Ø£ÙØª_سبت٠بر_Ø£ÙØªÙبر_ÙÙÙ٠بر_Ø¯ÙØ³Ù بر'.split('_'), 6626 weekdays: 'Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù ÙØ³_Ø§ÙØ¬Ù عة_Ø§ÙØ³Ø¨Øª'.split('_'), 6627 weekdaysShort: 'Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù ÙØ³_ج٠عة_سبت'.split('_'), 6628 weekdaysMin: 'Ø_Ù_Ø«_ر_Ø®_ج_س'.split('_'), 6629 weekdaysParseExact : true, 6630 longDateFormat: { 6631 LT: 'HH:mm', 6632 LTS: 'HH:mm:ss', 6633 L: 'DD/MM/YYYY', 6634 LL: 'D MMMM YYYY', 6635 LLL: 'D MMMM YYYY HH:mm', 6636 LLLL: 'dddd D MMMM YYYY HH:mm' 6637 }, 6638 calendar: { 6639 sameDay: '[اÙÙÙ٠عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6640 nextDay: '[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6641 nextWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6642 lastDay: '[أ٠س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6643 lastWeek: 'dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT', 6644 sameElse: 'L' 6645 }, 6646 relativeTime: { 6647 future: 'ÙÙ %s', 6648 past: 'Ù ÙØ° %s', 6649 s: 'Ø«ÙØ§Ù', 6650 m: 'دÙÙÙØ©', 6651 mm: '%d Ø¯ÙØ§Ø¦Ù', 6652 h: 'ساعة', 6653 hh: '%d ساعات', 6654 d: 'ÙÙÙ ', 6655 dd: '%d Ø£ÙØ§Ù ', 6656 M: 'Ø´ÙØ±', 6657 MM: '%d Ø£Ø´ÙØ±', 6658 y: 'Ø³ÙØ©', 6659 yy: '%d سÙÙØ§Øª' 6660 }, 6661 week: { 6662 dow: 1, // Monday is the first day of the week. 6663 doy: 4 // The week that contains Jan 4th is the first week of the year. 6664 } 6665}); 6666 6667return arTn; 6668 6669}))); 6670 6671 6672/***/ }), 6673/* 60 */ 6674/***/ (function(module, exports, __webpack_require__) { 6675 6676//! moment.js locale configuration 6677//! locale : Azerbaijani [az] 6678//! author : topchiyev : https://github.com/topchiyev 6679 6680;(function (global, factory) { 6681 true ? factory(__webpack_require__(0)) : 6682 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6683 factory(global.moment) 6684}(this, (function (moment) { 'use strict'; 6685 6686 6687var suffixes = { 6688 1: '-inci', 6689 5: '-inci', 6690 8: '-inci', 6691 70: '-inci', 6692 80: '-inci', 6693 2: '-nci', 6694 7: '-nci', 6695 20: '-nci', 6696 50: '-nci', 6697 3: '-üncü', 6698 4: '-üncü', 6699 100: '-üncü', 6700 6: '-ncı', 6701 9: '-uncu', 6702 10: '-uncu', 6703 30: '-uncu', 6704 60: '-ıncı', 6705 90: '-ıncı' 6706}; 6707 6708var az = moment.defineLocale('az', { 6709 months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), 6710 monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), 6711 weekdays : 'Bazar_Bazar ertÉsi_ÃÉrÅÉnbÉ axÅamı_ÃÉrÅÉnbÉ_CümÉ axÅamı_CümÉ_ÅÉnbÉ'.split('_'), 6712 weekdaysShort : 'Baz_BzE_ÃAx_ÃÉr_CAx_Cüm_ÅÉn'.split('_'), 6713 weekdaysMin : 'Bz_BE_ÃA_ÃÉ_CA_Cü_ÅÉ'.split('_'), 6714 weekdaysParseExact : true, 6715 longDateFormat : { 6716 LT : 'HH:mm', 6717 LTS : 'HH:mm:ss', 6718 L : 'DD.MM.YYYY', 6719 LL : 'D MMMM YYYY', 6720 LLL : 'D MMMM YYYY HH:mm', 6721 LLLL : 'dddd, D MMMM YYYY HH:mm' 6722 }, 6723 calendar : { 6724 sameDay : '[bugün saat] LT', 6725 nextDay : '[sabah saat] LT', 6726 nextWeek : '[gÉlÉn hÉftÉ] dddd [saat] LT', 6727 lastDay : '[dünÉn] LT', 6728 lastWeek : '[keçÉn hÉftÉ] dddd [saat] LT', 6729 sameElse : 'L' 6730 }, 6731 relativeTime : { 6732 future : '%s sonra', 6733 past : '%s ÉvvÉl', 6734 s : 'birneÃ§É saniyyÉ', 6735 m : 'bir dÉqiqÉ', 6736 mm : '%d dÉqiqÉ', 6737 h : 'bir saat', 6738 hh : '%d saat', 6739 d : 'bir gün', 6740 dd : '%d gün', 6741 M : 'bir ay', 6742 MM : '%d ay', 6743 y : 'bir il', 6744 yy : '%d il' 6745 }, 6746 meridiemParse: /gecÉ|sÉhÉr|gündüz|axÅam/, 6747 isPM : function (input) { 6748 return /^(gündüz|axÅam)$/.test(input); 6749 }, 6750 meridiem : function (hour, minute, isLower) { 6751 if (hour < 4) { 6752 return 'gecÉ'; 6753 } else if (hour < 12) { 6754 return 'sÉhÉr'; 6755 } else if (hour < 17) { 6756 return 'gündüz'; 6757 } else { 6758 return 'axÅam'; 6759 } 6760 }, 6761 dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, 6762 ordinal : function (number) { 6763 if (number === 0) { // special case for zero 6764 return number + '-ıncı'; 6765 } 6766 var a = number % 10, 6767 b = number % 100 - a, 6768 c = number >= 100 ? 100 : null; 6769 return number + (suffixes[a] || suffixes[b] || suffixes[c]); 6770 }, 6771 week : { 6772 dow : 1, // Monday is the first day of the week. 6773 doy : 7 // The week that contains Jan 1st is the first week of the year. 6774 } 6775}); 6776 6777return az; 6778 6779}))); 6780 6781 6782/***/ }), 6783/* 61 */ 6784/***/ (function(module, exports, __webpack_require__) { 6785 6786//! moment.js locale configuration 6787//! locale : Belarusian [be] 6788//! author : Dmitry Demidov : https://github.com/demidov91 6789//! author: Praleska: http://praleska.pro/ 6790//! Author : Menelion Elensúle : https://github.com/Oire 6791 6792;(function (global, factory) { 6793 true ? factory(__webpack_require__(0)) : 6794 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6795 factory(global.moment) 6796}(this, (function (moment) { 'use strict'; 6797 6798 6799function plural(word, num) { 6800 var forms = word.split('_'); 6801 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); 6802} 6803function relativeTimeWithPlural(number, withoutSuffix, key) { 6804 var format = { 6805 'mm': withoutSuffix ? 'Ñ Ð²ÑлÑна_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн' : 'Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑнÑ_Ñ Ð²ÑлÑн', 6806 'hh': withoutSuffix ? 'гадзÑна_гадзÑнÑ_гадзÑн' : 'гадзÑнÑ_гадзÑнÑ_гадзÑн', 6807 'dd': 'дзенÑ_днÑ_дзÑн', 6808 'MM': 'меÑÑÑ_меÑÑÑÑ_меÑÑÑаÑ', 6809 'yy': 'год_гадÑ_гадоÑ' 6810 }; 6811 if (key === 'm') { 6812 return withoutSuffix ? 'Ñ Ð²ÑлÑна' : 'Ñ Ð²ÑлÑнÑ'; 6813 } 6814 else if (key === 'h') { 6815 return withoutSuffix ? 'гадзÑна' : 'гадзÑнÑ'; 6816 } 6817 else { 6818 return number + ' ' + plural(format[key], +number); 6819 } 6820} 6821 6822var be = moment.defineLocale('be', { 6823 months : { 6824 format: 'ÑÑÑдзенÑ_лÑÑага_ÑакавÑка_кÑаÑавÑка_ÑÑаÑнÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑÑнÑ_веÑаÑнÑ_каÑÑÑÑÑнÑка_лÑÑÑапада_ÑнежнÑ'.split('_'), 6825 standalone: 'ÑÑÑдзенÑ_лÑÑÑ_ÑакавÑк_кÑаÑавÑк_ÑÑавенÑ_ÑÑÑвенÑ_лÑпенÑ_жнÑвенÑ_веÑаÑенÑ_каÑÑÑÑÑнÑк_лÑÑÑапад_ÑнежанÑ'.split('_') 6826 }, 6827 monthsShort : 'ÑÑÑд_лÑÑ_Ñак_кÑаÑ_ÑÑав_ÑÑÑв_лÑп_жнÑв_веÑ_каÑÑ_лÑÑÑ_Ñнеж'.split('_'), 6828 weekdays : { 6829 format: 'нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑадÑ_ÑаÑвеÑ_пÑÑнÑÑÑ_ÑÑбоÑÑ'.split('_'), 6830 standalone: 'нÑдзелÑ_панÑдзелак_аÑÑоÑак_ÑеÑада_ÑаÑвеÑ_пÑÑнÑÑа_ÑÑбоÑа'.split('_'), 6831 isFormat: /\[ ?[Ðв] ?(?:мÑнÑлÑÑ|наÑÑÑпнÑÑ)? ?\] ?dddd/ 6832 }, 6833 weekdaysShort : 'нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 6834 weekdaysMin : 'нд_пн_аÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 6835 longDateFormat : { 6836 LT : 'HH:mm', 6837 LTS : 'HH:mm:ss', 6838 L : 'DD.MM.YYYY', 6839 LL : 'D MMMM YYYY г.', 6840 LLL : 'D MMMM YYYY г., HH:mm', 6841 LLLL : 'dddd, D MMMM YYYY г., HH:mm' 6842 }, 6843 calendar : { 6844 sameDay: '[СÑÐ½Ð½Ñ Ñ] LT', 6845 nextDay: '[ÐаÑÑÑа Ñ] LT', 6846 lastDay: '[УÑоÑа Ñ] LT', 6847 nextWeek: function () { 6848 return '[У] dddd [Ñ] LT'; 6849 }, 6850 lastWeek: function () { 6851 switch (this.day()) { 6852 case 0: 6853 case 3: 6854 case 5: 6855 case 6: 6856 return '[У мÑнÑлÑÑ] dddd [Ñ] LT'; 6857 case 1: 6858 case 2: 6859 case 4: 6860 return '[У мÑнÑлÑ] dddd [Ñ] LT'; 6861 } 6862 }, 6863 sameElse: 'L' 6864 }, 6865 relativeTime : { 6866 future : 'пÑаз %s', 6867 past : '%s ÑамÑ', 6868 s : 'некалÑÐºÑ ÑекÑнд', 6869 m : relativeTimeWithPlural, 6870 mm : relativeTimeWithPlural, 6871 h : relativeTimeWithPlural, 6872 hh : relativeTimeWithPlural, 6873 d : 'дзенÑ', 6874 dd : relativeTimeWithPlural, 6875 M : 'меÑÑÑ', 6876 MM : relativeTimeWithPlural, 6877 y : 'год', 6878 yy : relativeTimeWithPlural 6879 }, 6880 meridiemParse: /ноÑÑ|ÑанÑÑÑ|днÑ|веÑаÑа/, 6881 isPM : function (input) { 6882 return /^(днÑ|веÑаÑа)$/.test(input); 6883 }, 6884 meridiem : function (hour, minute, isLower) { 6885 if (hour < 4) { 6886 return 'ноÑÑ'; 6887 } else if (hour < 12) { 6888 return 'ÑанÑÑÑ'; 6889 } else if (hour < 17) { 6890 return 'днÑ'; 6891 } else { 6892 return 'веÑаÑа'; 6893 } 6894 }, 6895 dayOfMonthOrdinalParse: /\d{1,2}-(Ñ|Ñ|га)/, 6896 ordinal: function (number, period) { 6897 switch (period) { 6898 case 'M': 6899 case 'd': 6900 case 'DDD': 6901 case 'w': 6902 case 'W': 6903 return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-Ñ' : number + '-Ñ'; 6904 case 'D': 6905 return number + '-га'; 6906 default: 6907 return number; 6908 } 6909 }, 6910 week : { 6911 dow : 1, // Monday is the first day of the week. 6912 doy : 7 // The week that contains Jan 1st is the first week of the year. 6913 } 6914}); 6915 6916return be; 6917 6918}))); 6919 6920 6921/***/ }), 6922/* 62 */ 6923/***/ (function(module, exports, __webpack_require__) { 6924 6925//! moment.js locale configuration 6926//! locale : Bulgarian [bg] 6927//! author : Krasen Borisov : https://github.com/kraz 6928 6929;(function (global, factory) { 6930 true ? factory(__webpack_require__(0)) : 6931 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 6932 factory(global.moment) 6933}(this, (function (moment) { 'use strict'; 6934 6935 6936var bg = moment.defineLocale('bg', { 6937 months : 'ÑнÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_май_Ñни_Ñли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи'.split('_'), 6938 monthsShort : 'ÑнÑ_Ñев_маÑ_апÑ_май_Ñни_Ñли_авг_Ñеп_окÑ_ное_дек'.split('_'), 6939 weekdays : 'неделÑ_понеделник_вÑоÑник_ÑÑÑда_ÑеÑвÑÑÑÑк_пеÑÑк_ÑÑбоÑа'.split('_'), 6940 weekdaysShort : 'нед_пон_вÑо_ÑÑÑ_ÑеÑ_пеÑ_ÑÑб'.split('_'), 6941 weekdaysMin : 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 6942 longDateFormat : { 6943 LT : 'H:mm', 6944 LTS : 'H:mm:ss', 6945 L : 'D.MM.YYYY', 6946 LL : 'D MMMM YYYY', 6947 LLL : 'D MMMM YYYY H:mm', 6948 LLLL : 'dddd, D MMMM YYYY H:mm' 6949 }, 6950 calendar : { 6951 sameDay : '[ÐÐ½ÐµÑ Ð²] LT', 6952 nextDay : '[УÑÑе в] LT', 6953 nextWeek : 'dddd [в] LT', 6954 lastDay : '[ÐÑеÑа в] LT', 6955 lastWeek : function () { 6956 switch (this.day()) { 6957 case 0: 6958 case 3: 6959 case 6: 6960 return '[РизминалаÑа] dddd [в] LT'; 6961 case 1: 6962 case 2: 6963 case 4: 6964 case 5: 6965 return '[РизминалиÑ] dddd [в] LT'; 6966 } 6967 }, 6968 sameElse : 'L' 6969 }, 6970 relativeTime : { 6971 future : 'Ñлед %s', 6972 past : 'пÑеди %s', 6973 s : 'нÑколко ÑекÑнди', 6974 m : 'минÑÑа', 6975 mm : '%d минÑÑи', 6976 h : 'ÑаÑ', 6977 hh : '%d ÑаÑа', 6978 d : 'ден', 6979 dd : '%d дни', 6980 M : 'меÑеÑ', 6981 MM : '%d меÑеÑа', 6982 y : 'година', 6983 yy : '%d години' 6984 }, 6985 dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/, 6986 ordinal : function (number) { 6987 var lastDigit = number % 10, 6988 last2Digits = number % 100; 6989 if (number === 0) { 6990 return number + '-ев'; 6991 } else if (last2Digits === 0) { 6992 return number + '-ен'; 6993 } else if (last2Digits > 10 && last2Digits < 20) { 6994 return number + '-Ñи'; 6995 } else if (lastDigit === 1) { 6996 return number + '-ви'; 6997 } else if (lastDigit === 2) { 6998 return number + '-Ñи'; 6999 } else if (lastDigit === 7 || lastDigit === 8) { 7000 return number + '-ми'; 7001 } else { 7002 return number + '-Ñи'; 7003 } 7004 }, 7005 week : { 7006 dow : 1, // Monday is the first day of the week. 7007 doy : 7 // The week that contains Jan 1st is the first week of the year. 7008 } 7009}); 7010 7011return bg; 7012 7013}))); 7014 7015 7016/***/ }), 7017/* 63 */ 7018/***/ (function(module, exports, __webpack_require__) { 7019 7020//! moment.js locale configuration 7021//! locale : Bengali [bn] 7022//! author : Kaushik Gandhi : https://github.com/kaushikgandhi 7023 7024;(function (global, factory) { 7025 true ? factory(__webpack_require__(0)) : 7026 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7027 factory(global.moment) 7028}(this, (function (moment) { 'use strict'; 7029 7030 7031var symbolMap = { 7032 '1': 'à§§', 7033 '2': '২', 7034 '3': 'à§©', 7035 '4': '৪', 7036 '5': 'à§«', 7037 '6': '৬', 7038 '7': 'à§', 7039 '8': 'à§®', 7040 '9': '৯', 7041 '0': '০' 7042}; 7043var numberMap = { 7044 'à§§': '1', 7045 '২': '2', 7046 'à§©': '3', 7047 '৪': '4', 7048 'à§«': '5', 7049 '৬': '6', 7050 'à§': '7', 7051 'à§®': '8', 7052 '৯': '9', 7053 '০': '0' 7054}; 7055 7056var bn = moment.defineLocale('bn', { 7057 months : 'à¦à¦¾à¦¨à§à§à¦¾à¦°à§_ফà§à¦¬à§à¦°à§à§à¦¾à¦°à¦¿_মারà§à¦_à¦à¦ªà§à¦°à¦¿à¦²_মà§_à¦à§à¦¨_à¦à§à¦²à¦¾à¦_à¦à¦à¦¸à§à¦_সà§à¦ªà§à¦à§à¦®à§à¦¬à¦°_ঠà¦à§à¦à§à¦¬à¦°_নà¦à§à¦®à§à¦¬à¦°_ডিসà§à¦®à§à¦¬à¦°'.split('_'), 7058 monthsShort : 'à¦à¦¾à¦¨à§_ফà§à¦¬_মারà§à¦_à¦à¦ªà§à¦°_মà§_à¦à§à¦¨_à¦à§à¦²_à¦à¦_সà§à¦ªà§à¦_ঠà¦à§à¦à§_নà¦à§_ডিসà§'.split('_'), 7059 weekdays : 'রবিবার_সà§à¦®à¦¬à¦¾à¦°_মà¦à§à¦à¦²à¦¬à¦¾à¦°_বà§à¦§à¦¬à¦¾à¦°_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿à¦¬à¦¾à¦°_শà§à¦à§à¦°à¦¬à¦¾à¦°_শনিবার'.split('_'), 7060 weekdaysShort : 'রবি_সà§à¦®_মà¦à§à¦à¦²_বà§à¦§_বà§à¦¹à¦¸à§à¦ªà¦¤à¦¿_শà§à¦à§à¦°_শনি'.split('_'), 7061 weekdaysMin : 'রবি_সà§à¦®_মà¦à§à¦_বà§à¦§_বà§à¦¹à¦_শà§à¦à§à¦°_শনি'.split('_'), 7062 longDateFormat : { 7063 LT : 'A h:mm সমà§', 7064 LTS : 'A h:mm:ss সমà§', 7065 L : 'DD/MM/YYYY', 7066 LL : 'D MMMM YYYY', 7067 LLL : 'D MMMM YYYY, A h:mm সমà§', 7068 LLLL : 'dddd, D MMMM YYYY, A h:mm সমà§' 7069 }, 7070 calendar : { 7071 sameDay : '[à¦à¦] LT', 7072 nextDay : '[à¦à¦à¦¾à¦®à§à¦à¦¾à¦²] LT', 7073 nextWeek : 'dddd, LT', 7074 lastDay : '[à¦à¦¤à¦à¦¾à¦²] LT', 7075 lastWeek : '[à¦à¦¤] dddd, LT', 7076 sameElse : 'L' 7077 }, 7078 relativeTime : { 7079 future : '%s পরà§', 7080 past : '%s à¦à¦à§', 7081 s : 'à¦à§à§à¦ সà§à¦à§à¦¨à§à¦¡', 7082 m : 'à¦à¦ মিনিà¦', 7083 mm : '%d মিনিà¦', 7084 h : 'à¦à¦ à¦à¦¨à§à¦à¦¾', 7085 hh : '%d à¦à¦¨à§à¦à¦¾', 7086 d : 'à¦à¦ দিন', 7087 dd : '%d দিন', 7088 M : 'à¦à¦ মাস', 7089 MM : '%d মাস', 7090 y : 'à¦à¦ বà¦à¦°', 7091 yy : '%d বà¦à¦°' 7092 }, 7093 preparse: function (string) { 7094 return string.replace(/[১২৩৪৫৬à§à§®à§¯à§¦]/g, function (match) { 7095 return numberMap[match]; 7096 }); 7097 }, 7098 postformat: function (string) { 7099 return string.replace(/\d/g, function (match) { 7100 return symbolMap[match]; 7101 }); 7102 }, 7103 meridiemParse: /রাত|সà¦à¦¾à¦²|দà§à¦ªà§à¦°|বিà¦à¦¾à¦²|রাত/, 7104 meridiemHour : function (hour, meridiem) { 7105 if (hour === 12) { 7106 hour = 0; 7107 } 7108 if ((meridiem === 'রাত' && hour >= 4) || 7109 (meridiem === 'দà§à¦ªà§à¦°' && hour < 5) || 7110 meridiem === 'বিà¦à¦¾à¦²') { 7111 return hour + 12; 7112 } else { 7113 return hour; 7114 } 7115 }, 7116 meridiem : function (hour, minute, isLower) { 7117 if (hour < 4) { 7118 return 'রাত'; 7119 } else if (hour < 10) { 7120 return 'সà¦à¦¾à¦²'; 7121 } else if (hour < 17) { 7122 return 'দà§à¦ªà§à¦°'; 7123 } else if (hour < 20) { 7124 return 'বিà¦à¦¾à¦²'; 7125 } else { 7126 return 'রাত'; 7127 } 7128 }, 7129 week : { 7130 dow : 0, // Sunday is the first day of the week. 7131 doy : 6 // The week that contains Jan 1st is the first week of the year. 7132 } 7133}); 7134 7135return bn; 7136 7137}))); 7138 7139 7140/***/ }), 7141/* 64 */ 7142/***/ (function(module, exports, __webpack_require__) { 7143 7144//! moment.js locale configuration 7145//! locale : Tibetan [bo] 7146//! author : Thupten N. Chakrishar : https://github.com/vajradog 7147 7148;(function (global, factory) { 7149 true ? factory(__webpack_require__(0)) : 7150 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7151 factory(global.moment) 7152}(this, (function (moment) { 'use strict'; 7153 7154 7155var symbolMap = { 7156 '1': '༡', 7157 '2': '༢', 7158 '3': '༣', 7159 '4': '༤', 7160 '5': '༥', 7161 '6': '༦', 7162 '7': '༧', 7163 '8': '༨', 7164 '9': '༩', 7165 '0': '༠' 7166}; 7167var numberMap = { 7168 '༡': '1', 7169 '༢': '2', 7170 '༣': '3', 7171 '༤': '4', 7172 '༥': '5', 7173 '༦': '6', 7174 '༧': '7', 7175 '༨': '8', 7176 '༩': '9', 7177 '༠': '0' 7178}; 7179 7180var bo = moment.defineLocale('bo', { 7181 months : 'à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½ ིà½à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½à½²à½¦à¼à½'.split('_'), 7182 monthsShort : 'à½à¾³à¼à½à¼à½à½à¼à½à½¼_à½à¾³à¼à½à¼à½à½à½²à½¦à¼à½_à½à¾³à¼à½à¼à½à½¦à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½²à¼à½_à½à¾³à¼à½à¼à½£à¾à¼à½_à½à¾³à¼à½à¼à½à¾²à½´à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à½à¼à½_à½à¾³à¼à½à¼à½à½¢à¾à¾±à½à¼à½_à½à¾³à¼à½à¼à½à½à½´à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½ ིà½à¼à½_à½à¾³à¼à½à¼à½à½ ུà¼à½à½à½²à½¦à¼à½'.split('_'), 7183 weekdays : 'à½à½à½ à¼à½à½²à¼à½à¼_à½à½à½ à¼à½à¾³à¼à½à¼_à½à½à½ à¼à½à½²à½à¼à½à½à½¢à¼_à½à½à½ à¼à½£à¾·à½à¼à½à¼_à½à½à½ à¼à½à½´à½¢à¼à½à½´_à½à½à½ à¼à½à¼à½¦à½à½¦à¼_à½à½à½ à¼à½¦à¾¤à½ºà½à¼à½à¼'.split('_'), 7184 weekdaysShort : 'à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼'.split('_'), 7185 weekdaysMin : 'à½à½²à¼à½à¼_à½à¾³à¼à½à¼_à½à½²à½à¼à½à½à½¢à¼_ལྷà½à¼à½à¼_à½à½´à½¢à¼à½à½´_à½à¼à½¦à½à½¦à¼_སྤེà½à¼à½à¼'.split('_'), 7186 longDateFormat : { 7187 LT : 'A h:mm', 7188 LTS : 'A h:mm:ss', 7189 L : 'DD/MM/YYYY', 7190 LL : 'D MMMM YYYY', 7191 LLL : 'D MMMM YYYY, A h:mm', 7192 LLLL : 'dddd, D MMMM YYYY, A h:mm' 7193 }, 7194 calendar : { 7195 sameDay : '[à½à½²à¼à½¢à½²à½] LT', 7196 nextDay : '[སà½à¼à½à½²à½] LT', 7197 nextWeek : '[à½à½à½´à½à¼à½à¾²à½à¼à½¢à¾à½ºà½¦à¼à½], LT', 7198 lastDay : '[à½à¼à½¦à½] LT', 7199 lastWeek : '[à½à½à½´à½à¼à½à¾²à½à¼à½à½à½ à¼à½] dddd, LT', 7200 sameElse : 'L' 7201 }, 7202 relativeTime : { 7203 future : '%s ལà¼', 7204 past : '%s སà¾à½à¼à½£', 7205 s : 'ལà½à¼à½¦à½', 7206 m : 'སà¾à½¢à¼à½à¼à½à½ ིà½', 7207 mm : '%d སà¾à½¢à¼à½', 7208 h : 'à½à½´à¼à½à½¼à½à¼à½à½ ིà½', 7209 hh : '%d à½à½´à¼à½à½¼à½', 7210 d : 'à½à½²à½à¼à½à½ ིà½', 7211 dd : '%d à½à½²à½à¼', 7212 M : 'à½à¾³à¼à½à¼à½à½ ིà½', 7213 MM : '%d à½à¾³à¼à½', 7214 y : 'ལོà¼à½à½ ིà½', 7215 yy : '%d ལོ' 7216 }, 7217 preparse: function (string) { 7218 return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { 7219 return numberMap[match]; 7220 }); 7221 }, 7222 postformat: function (string) { 7223 return string.replace(/\d/g, function (match) { 7224 return symbolMap[match]; 7225 }); 7226 }, 7227 meridiemParse: /à½à½à½à¼à½à½¼|à½à½¼à½à½¦à¼à½à½¦|à½à½²à½à¼à½à½´à½|à½à½à½¼à½à¼à½à½|à½à½à½à¼à½à½¼/, 7228 meridiemHour : function (hour, meridiem) { 7229 if (hour === 12) { 7230 hour = 0; 7231 } 7232 if ((meridiem === 'à½à½à½à¼à½à½¼' && hour >= 4) || 7233 (meridiem === 'à½à½²à½à¼à½à½´à½' && hour < 5) || 7234 meridiem === 'à½à½à½¼à½à¼à½à½') { 7235 return hour + 12; 7236 } else { 7237 return hour; 7238 } 7239 }, 7240 meridiem : function (hour, minute, isLower) { 7241 if (hour < 4) { 7242 return 'à½à½à½à¼à½à½¼'; 7243 } else if (hour < 10) { 7244 return 'à½à½¼à½à½¦à¼à½à½¦'; 7245 } else if (hour < 17) { 7246 return 'à½à½²à½à¼à½à½´à½'; 7247 } else if (hour < 20) { 7248 return 'à½à½à½¼à½à¼à½à½'; 7249 } else { 7250 return 'à½à½à½à¼à½à½¼'; 7251 } 7252 }, 7253 week : { 7254 dow : 0, // Sunday is the first day of the week. 7255 doy : 6 // The week that contains Jan 1st is the first week of the year. 7256 } 7257}); 7258 7259return bo; 7260 7261}))); 7262 7263 7264/***/ }), 7265/* 65 */ 7266/***/ (function(module, exports, __webpack_require__) { 7267 7268//! moment.js locale configuration 7269//! locale : Breton [br] 7270//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou 7271 7272;(function (global, factory) { 7273 true ? factory(__webpack_require__(0)) : 7274 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7275 factory(global.moment) 7276}(this, (function (moment) { 'use strict'; 7277 7278 7279function relativeTimeWithMutation(number, withoutSuffix, key) { 7280 var format = { 7281 'mm': 'munutenn', 7282 'MM': 'miz', 7283 'dd': 'devezh' 7284 }; 7285 return number + ' ' + mutation(format[key], number); 7286} 7287function specialMutationForYears(number) { 7288 switch (lastNumber(number)) { 7289 case 1: 7290 case 3: 7291 case 4: 7292 case 5: 7293 case 9: 7294 return number + ' bloaz'; 7295 default: 7296 return number + ' vloaz'; 7297 } 7298} 7299function lastNumber(number) { 7300 if (number > 9) { 7301 return lastNumber(number % 10); 7302 } 7303 return number; 7304} 7305function mutation(text, number) { 7306 if (number === 2) { 7307 return softMutation(text); 7308 } 7309 return text; 7310} 7311function softMutation(text) { 7312 var mutationTable = { 7313 'm': 'v', 7314 'b': 'v', 7315 'd': 'z' 7316 }; 7317 if (mutationTable[text.charAt(0)] === undefined) { 7318 return text; 7319 } 7320 return mutationTable[text.charAt(0)] + text.substring(1); 7321} 7322 7323var br = moment.defineLocale('br', { 7324 months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), 7325 monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), 7326 weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'), 7327 weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), 7328 weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), 7329 weekdaysParseExact : true, 7330 longDateFormat : { 7331 LT : 'h[e]mm A', 7332 LTS : 'h[e]mm:ss A', 7333 L : 'DD/MM/YYYY', 7334 LL : 'D [a viz] MMMM YYYY', 7335 LLL : 'D [a viz] MMMM YYYY h[e]mm A', 7336 LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A' 7337 }, 7338 calendar : { 7339 sameDay : '[Hiziv da] LT', 7340 nextDay : '[Warc\'hoazh da] LT', 7341 nextWeek : 'dddd [da] LT', 7342 lastDay : '[Dec\'h da] LT', 7343 lastWeek : 'dddd [paset da] LT', 7344 sameElse : 'L' 7345 }, 7346 relativeTime : { 7347 future : 'a-benn %s', 7348 past : '%s \'zo', 7349 s : 'un nebeud segondennoù', 7350 m : 'ur vunutenn', 7351 mm : relativeTimeWithMutation, 7352 h : 'un eur', 7353 hh : '%d eur', 7354 d : 'un devezh', 7355 dd : relativeTimeWithMutation, 7356 M : 'ur miz', 7357 MM : relativeTimeWithMutation, 7358 y : 'ur bloaz', 7359 yy : specialMutationForYears 7360 }, 7361 dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/, 7362 ordinal : function (number) { 7363 var output = (number === 1) ? 'añ' : 'vet'; 7364 return number + output; 7365 }, 7366 week : { 7367 dow : 1, // Monday is the first day of the week. 7368 doy : 4 // The week that contains Jan 4th is the first week of the year. 7369 } 7370}); 7371 7372return br; 7373 7374}))); 7375 7376 7377/***/ }), 7378/* 66 */ 7379/***/ (function(module, exports, __webpack_require__) { 7380 7381//! moment.js locale configuration 7382//! locale : Bosnian [bs] 7383//! author : Nedim Cholich : https://github.com/frontyard 7384//! based on (hr) translation by Bojan MarkoviÄ 7385 7386;(function (global, factory) { 7387 true ? factory(__webpack_require__(0)) : 7388 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7389 factory(global.moment) 7390}(this, (function (moment) { 'use strict'; 7391 7392 7393function translate(number, withoutSuffix, key) { 7394 var result = number + ' '; 7395 switch (key) { 7396 case 'm': 7397 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 7398 case 'mm': 7399 if (number === 1) { 7400 result += 'minuta'; 7401 } else if (number === 2 || number === 3 || number === 4) { 7402 result += 'minute'; 7403 } else { 7404 result += 'minuta'; 7405 } 7406 return result; 7407 case 'h': 7408 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 7409 case 'hh': 7410 if (number === 1) { 7411 result += 'sat'; 7412 } else if (number === 2 || number === 3 || number === 4) { 7413 result += 'sata'; 7414 } else { 7415 result += 'sati'; 7416 } 7417 return result; 7418 case 'dd': 7419 if (number === 1) { 7420 result += 'dan'; 7421 } else { 7422 result += 'dana'; 7423 } 7424 return result; 7425 case 'MM': 7426 if (number === 1) { 7427 result += 'mjesec'; 7428 } else if (number === 2 || number === 3 || number === 4) { 7429 result += 'mjeseca'; 7430 } else { 7431 result += 'mjeseci'; 7432 } 7433 return result; 7434 case 'yy': 7435 if (number === 1) { 7436 result += 'godina'; 7437 } else if (number === 2 || number === 3 || number === 4) { 7438 result += 'godine'; 7439 } else { 7440 result += 'godina'; 7441 } 7442 return result; 7443 } 7444} 7445 7446var bs = moment.defineLocale('bs', { 7447 months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), 7448 monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), 7449 monthsParseExact: true, 7450 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'), 7451 weekdaysShort : 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 7452 weekdaysMin : 'ne_po_ut_sr_Äe_pe_su'.split('_'), 7453 weekdaysParseExact : true, 7454 longDateFormat : { 7455 LT : 'H:mm', 7456 LTS : 'H:mm:ss', 7457 L : 'DD.MM.YYYY', 7458 LL : 'D. MMMM YYYY', 7459 LLL : 'D. MMMM YYYY H:mm', 7460 LLLL : 'dddd, D. MMMM YYYY H:mm' 7461 }, 7462 calendar : { 7463 sameDay : '[danas u] LT', 7464 nextDay : '[sutra u] LT', 7465 nextWeek : function () { 7466 switch (this.day()) { 7467 case 0: 7468 return '[u] [nedjelju] [u] LT'; 7469 case 3: 7470 return '[u] [srijedu] [u] LT'; 7471 case 6: 7472 return '[u] [subotu] [u] LT'; 7473 case 1: 7474 case 2: 7475 case 4: 7476 case 5: 7477 return '[u] dddd [u] LT'; 7478 } 7479 }, 7480 lastDay : '[juÄer u] LT', 7481 lastWeek : function () { 7482 switch (this.day()) { 7483 case 0: 7484 case 3: 7485 return '[proÅ¡lu] dddd [u] LT'; 7486 case 6: 7487 return '[proÅ¡le] [subote] [u] LT'; 7488 case 1: 7489 case 2: 7490 case 4: 7491 case 5: 7492 return '[proÅ¡li] dddd [u] LT'; 7493 } 7494 }, 7495 sameElse : 'L' 7496 }, 7497 relativeTime : { 7498 future : 'za %s', 7499 past : 'prije %s', 7500 s : 'par sekundi', 7501 m : translate, 7502 mm : translate, 7503 h : translate, 7504 hh : translate, 7505 d : 'dan', 7506 dd : translate, 7507 M : 'mjesec', 7508 MM : translate, 7509 y : 'godinu', 7510 yy : translate 7511 }, 7512 dayOfMonthOrdinalParse: /\d{1,2}\./, 7513 ordinal : '%d.', 7514 week : { 7515 dow : 1, // Monday is the first day of the week. 7516 doy : 7 // The week that contains Jan 1st is the first week of the year. 7517 } 7518}); 7519 7520return bs; 7521 7522}))); 7523 7524 7525/***/ }), 7526/* 67 */ 7527/***/ (function(module, exports, __webpack_require__) { 7528 7529//! moment.js locale configuration 7530//! locale : Catalan [ca] 7531//! author : Juan G. Hurtado : https://github.com/juanghurtado 7532 7533;(function (global, factory) { 7534 true ? factory(__webpack_require__(0)) : 7535 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7536 factory(global.moment) 7537}(this, (function (moment) { 'use strict'; 7538 7539 7540var ca = moment.defineLocale('ca', { 7541 months : { 7542 standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), 7543 format: 'de gener_de febrer_de març_d\'abril_de maig_de juny_de juliol_d\'agost_de setembre_d\'octubre_de novembre_de desembre'.split('_'), 7544 isFormat: /D[oD]?(\s)+MMMM/ 7545 }, 7546 monthsShort : 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'), 7547 monthsParseExact : true, 7548 weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), 7549 weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), 7550 weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), 7551 weekdaysParseExact : true, 7552 longDateFormat : { 7553 LT : 'H:mm', 7554 LTS : 'H:mm:ss', 7555 L : 'DD/MM/YYYY', 7556 LL : '[el] D MMMM [de] YYYY', 7557 ll : 'D MMM YYYY', 7558 LLL : '[el] D MMMM [de] YYYY [a les] H:mm', 7559 lll : 'D MMM YYYY, H:mm', 7560 LLLL : '[el] dddd D MMMM [de] YYYY [a les] H:mm', 7561 llll : 'ddd D MMM YYYY, H:mm' 7562 }, 7563 calendar : { 7564 sameDay : function () { 7565 return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 7566 }, 7567 nextDay : function () { 7568 return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 7569 }, 7570 nextWeek : function () { 7571 return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 7572 }, 7573 lastDay : function () { 7574 return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 7575 }, 7576 lastWeek : function () { 7577 return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 7578 }, 7579 sameElse : 'L' 7580 }, 7581 relativeTime : { 7582 future : 'd\'aquà %s', 7583 past : 'fa %s', 7584 s : 'uns segons', 7585 m : 'un minut', 7586 mm : '%d minuts', 7587 h : 'una hora', 7588 hh : '%d hores', 7589 d : 'un dia', 7590 dd : '%d dies', 7591 M : 'un mes', 7592 MM : '%d mesos', 7593 y : 'un any', 7594 yy : '%d anys' 7595 }, 7596 dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/, 7597 ordinal : function (number, period) { 7598 var output = (number === 1) ? 'r' : 7599 (number === 2) ? 'n' : 7600 (number === 3) ? 'r' : 7601 (number === 4) ? 't' : 'è'; 7602 if (period === 'w' || period === 'W') { 7603 output = 'a'; 7604 } 7605 return number + output; 7606 }, 7607 week : { 7608 dow : 1, // Monday is the first day of the week. 7609 doy : 4 // The week that contains Jan 4th is the first week of the year. 7610 } 7611}); 7612 7613return ca; 7614 7615}))); 7616 7617 7618/***/ }), 7619/* 68 */ 7620/***/ (function(module, exports, __webpack_require__) { 7621 7622//! moment.js locale configuration 7623//! locale : Czech [cs] 7624//! author : petrbela : https://github.com/petrbela 7625 7626;(function (global, factory) { 7627 true ? factory(__webpack_require__(0)) : 7628 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7629 factory(global.moment) 7630}(this, (function (moment) { 'use strict'; 7631 7632 7633var months = 'leden_únor_bÅezen_duben_kvÄten_Äerven_Äervenec_srpen_záÅÃ_ÅÃjen_listopad_prosinec'.
7633split('_'); 7634var monthsShort = 'led_úno_bÅe_dub_kvÄ_Ävn_Ävc_srp_záÅ_ÅÃj_lis_pro'.split('_'); 7635function plural(n) { 7636 return (n > 1) && (n < 5) && (~~(n / 10) !== 1); 7637} 7638function translate(number, withoutSuffix, key, isFuture) { 7639 var result = number + ' '; 7640 switch (key) { 7641 case 's': // a few seconds / in a few seconds / a few seconds ago 7642 return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami'; 7643 case 'm': // a minute / in a minute / a minute ago 7644 return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou'); 7645 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago 7646 if (withoutSuffix || isFuture) { 7647 return result + (plural(number) ? 'minuty' : 'minut'); 7648 } else { 7649 return result + 'minutami'; 7650 } 7651 break; 7652 case 'h': // an hour / in an hour / an hour ago 7653 return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); 7654 case 'hh': // 9 hours / in 9 hours / 9 hours ago 7655 if (withoutSuffix || isFuture) { 7656 return result + (plural(number) ? 'hodiny' : 'hodin'); 7657 } else { 7658 return result + 'hodinami'; 7659 } 7660 break; 7661 case 'd': // a day / in a day / a day ago 7662 return (withoutSuffix || isFuture) ? 'den' : 'dnem'; 7663 case 'dd': // 9 days / in 9 days / 9 days ago 7664 if (withoutSuffix || isFuture) { 7665 return result + (plural(number) ? 'dny' : 'dnÃ'); 7666 } else { 7667 return result + 'dny'; 7668 } 7669 break; 7670 case 'M': // a month / in a month / a month ago 7671 return (withoutSuffix || isFuture) ? 'mÄsÃc' : 'mÄsÃcem'; 7672 case 'MM': // 9 months / in 9 months / 9 months ago 7673 if (withoutSuffix || isFuture) { 7674 return result + (plural(number) ? 'mÄsÃce' : 'mÄsÃců'); 7675 } else { 7676 return result + 'mÄsÃci'; 7677 } 7678 break; 7679 case 'y': // a year / in a year / a year ago 7680 return (withoutSuffix || isFuture) ? 'rok' : 'rokem'; 7681 case 'yy': // 9 years / in 9 years / 9 years ago 7682 if (withoutSuffix || isFuture) { 7683 return result + (plural(number) ? 'roky' : 'let'); 7684 } else { 7685 return result + 'lety'; 7686 } 7687 break; 7688 } 7689} 7690 7691var cs = moment.defineLocale('cs', { 7692 months : months, 7693 monthsShort : monthsShort, 7694 monthsParse : (function (months, monthsShort) { 7695 var i, _monthsParse = []; 7696 for (i = 0; i < 12; i++) { 7697 // use custom parser to solve problem with July (Äervenec) 7698 _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i'); 7699 } 7700 return _monthsParse; 7701 }(months, monthsShort)), 7702 shortMonthsParse : (function (monthsShort) { 7703 var i, _shortMonthsParse = []; 7704 for (i = 0; i < 12; i++) { 7705 _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i'); 7706 } 7707 return _shortMonthsParse; 7708 }(monthsShort)), 7709 longMonthsParse : (function (months) { 7710 var i, _longMonthsParse = []; 7711 for (i = 0; i < 12; i++) { 7712 _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i'); 7713 } 7714 return _longMonthsParse; 7715 }(months)), 7716 weekdays : 'nedÄle_pondÄlÃ_úterý_stÅeda_Ätvrtek_pátek_sobota'.split('_'), 7717 weekdaysShort : 'ne_po_út_st_Ät_pá_so'.split('_'), 7718 weekdaysMin : 'ne_po_út_st_Ät_pá_so'.split('_'), 7719 longDateFormat : { 7720 LT: 'H:mm', 7721 LTS : 'H:mm:ss', 7722 L : 'DD.MM.YYYY', 7723 LL : 'D. MMMM YYYY', 7724 LLL : 'D. MMMM YYYY H:mm', 7725 LLLL : 'dddd D. MMMM YYYY H:mm', 7726 l : 'D. M. YYYY' 7727 }, 7728 calendar : { 7729 sameDay: '[dnes v] LT', 7730 nextDay: '[zÃtra v] LT', 7731 nextWeek: function () { 7732 switch (this.day()) { 7733 case 0: 7734 return '[v nedÄli v] LT'; 7735 case 1: 7736 case 2: 7737 return '[v] dddd [v] LT'; 7738 case 3: 7739 return '[ve stÅedu v] LT'; 7740 case 4: 7741 return '[ve Ätvrtek v] LT'; 7742 case 5: 7743 return '[v pátek v] LT'; 7744 case 6: 7745 return '[v sobotu v] LT'; 7746 } 7747 }, 7748 lastDay: '[vÄera v] LT', 7749 lastWeek: function () { 7750 switch (this.day()) { 7751 case 0: 7752 return '[minulou nedÄli v] LT'; 7753 case 1: 7754 case 2: 7755 return '[minulé] dddd [v] LT'; 7756 case 3: 7757 return '[minulou stÅedu v] LT'; 7758 case 4: 7759 case 5: 7760 return '[minulý] dddd [v] LT'; 7761 case 6: 7762 return '[minulou sobotu v] LT'; 7763 } 7764 }, 7765 sameElse: 'L' 7766 }, 7767 relativeTime : { 7768 future : 'za %s', 7769 past : 'pÅed %s', 7770 s : translate, 7771 m : translate, 7772 mm : translate, 7773 h : translate, 7774 hh : translate, 7775 d : translate, 7776 dd : translate, 7777 M : translate, 7778 MM : translate, 7779 y : translate, 7780 yy : translate 7781 }, 7782 dayOfMonthOrdinalParse : /\d{1,2}\./, 7783 ordinal : '%d.', 7784 week : { 7785 dow : 1, // Monday is the first day of the week. 7786 doy : 4 // The week that contains Jan 4th is the first week of the year. 7787 } 7788}); 7789 7790return cs; 7791 7792}))); 7793 7794 7795/***/ }), 7796/* 69 */ 7797/***/ (function(module, exports, __webpack_require__) { 7798 7799//! moment.js locale configuration 7800//! locale : Chuvash [cv] 7801//! author : Anatoly Mironov : https://github.com/mirontoli 7802 7803;(function (global, factory) { 7804 true ? factory(__webpack_require__(0)) : 7805 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7806 factory(global.moment) 7807}(this, (function (moment) { 'use strict'; 7808 7809 7810var cv = moment.defineLocale('cv', { 7811 months : 'кÓÑлаÑ_наÑÓÑ_пÑÑ_ака_май_Ò«ÓÑÑме_ÑÑÓ_Ò«ÑÑла_авÓн_Ñпа_Ñӳк_ÑаÑÑав'.split('_'), 7812 monthsShort : 'кÓÑ_наÑ_пÑÑ_ака_май_Ò«ÓÑ_ÑÑÓ_Ò«ÑÑ_авн_Ñпа_Ñӳк_ÑаÑ'.split('_'), 7813 weekdays : 'вÑÑÑаÑникÑн_ÑÑнÑикÑн_ÑÑлаÑикÑн_ÑнкÑн_кÓҫнеÑникÑн_ÑÑнекÑн_ÑÓмаÑкÑн'.split('_'), 7814 weekdaysShort : 'вÑÑ_ÑÑн_ÑÑл_Ñн_кÓÒ«_ÑÑн_ÑÓм'.split('_'), 7815 weekdaysMin : 'вÑ_Ñн_ÑÑ_Ñн_кҫ_ÑÑ_Ñм'.split('_'), 7816 longDateFormat : { 7817 LT : 'HH:mm', 7818 LTS : 'HH:mm:ss', 7819 L : 'DD-MM-YYYY', 7820 LL : 'YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ]', 7821 LLL : 'YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm', 7822 LLLL : 'dddd, YYYY [Ò«ÑÐ»Ñ Ð¸] MMMM [ÑйÓÑ Óн] D[-мÓÑÓ], HH:mm' 7823 }, 7824 calendar : { 7825 sameDay: '[ÐаÑн] LT [ÑÐµÑ ÐµÑÑе]', 7826 nextDay: '[ЫÑан] LT [ÑÐµÑ ÐµÑÑе]', 7827 lastDay: '[ÓнеÑ] LT [ÑÐµÑ ÐµÑÑе]', 7828 nextWeek: '[ҪиÑеÑ] dddd LT [ÑÐµÑ ÐµÑÑе]', 7829 lastWeek: '[ÐÑÑнÓ] dddd LT [ÑÐµÑ ÐµÑÑе]', 7830 sameElse: 'L' 7831 }, 7832 relativeTime : { 7833 future : function (output) {
7834 var affix = /ÑÐµÑ ÐµÑ$/i.exec(output) ? 'Ñен' : /Ò«Ñл$/i.exec(output) ? 'Ñан' : 'Ñан'; 7835 return output + affix; 7836 }, 7837 past : '%s каÑлла', 7838 s : 'пÓÑ-ик ҫеккÑнÑ', 7839 m : 'пÓÑ Ð¼Ð¸Ð½ÑÑ', 7840 mm : '%d минÑÑ', 7841 h : 'пÓÑ ÑÐµÑ ÐµÑ', 7842 hh : '%d ÑÐµÑ ÐµÑ', 7843 d : 'пÓÑ ÐºÑн', 7844 dd : '%d кÑн', 7845 M : 'пÓÑ ÑйÓÑ ', 7846 MM : '%d ÑйÓÑ ', 7847 y : 'пÓÑ Ò«Ñл', 7848 yy : '%d Ò«Ñл' 7849 }, 7850 dayOfMonthOrdinalParse: /\d{1,2}-мÓÑ/, 7851 ordinal : '%d-мÓÑ', 7852 week : { 7853 dow : 1, // Monday is the first day of the week. 7854 doy : 7 // The week that contains Jan 1st is the first week of the year. 7855 } 7856}); 7857 7858return cv; 7859 7860}))); 7861 7862 7863/***/ }), 7864/* 70 */ 7865/***/ (function(module, exports, __webpack_require__) { 7866 7867//! moment.js locale configuration 7868//! locale : Welsh [cy] 7869//! author : Robert Allen : https://github.com/robgallen 7870//! author : https://github.com/ryangreaves 7871 7872;(function (global, factory) { 7873 true ? factory(__webpack_require__(0)) : 7874 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7875 factory(global.moment) 7876}(this, (function (moment) { 'use strict'; 7877 7878 7879var cy = moment.defineLocale('cy', { 7880 months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), 7881 monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), 7882 weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), 7883 weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), 7884 weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), 7885 weekdaysParseExact : true, 7886 // time formats are the same as en-gb 7887 longDateFormat: { 7888 LT: 'HH:mm', 7889 LTS : 'HH:mm:ss', 7890 L: 'DD/MM/YYYY', 7891 LL: 'D MMMM YYYY', 7892 LLL: 'D MMMM YYYY HH:mm', 7893 LLLL: 'dddd, D MMMM YYYY HH:mm' 7894 }, 7895 calendar: { 7896 sameDay: '[Heddiw am] LT', 7897 nextDay: '[Yfory am] LT', 7898 nextWeek: 'dddd [am] LT', 7899 lastDay: '[Ddoe am] LT', 7900 lastWeek: 'dddd [diwethaf am] LT', 7901 sameElse: 'L' 7902 }, 7903 relativeTime: { 7904 future: 'mewn %s', 7905 past: '%s yn ôl', 7906 s: 'ychydig eiliadau', 7907 m: 'munud', 7908 mm: '%d munud', 7909 h: 'awr', 7910 hh: '%d awr', 7911 d: 'diwrnod', 7912 dd: '%d diwrnod', 7913 M: 'mis', 7914 MM: '%d mis', 7915 y: 'blwyddyn', 7916 yy: '%d flynedd' 7917 }, 7918 dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, 7919 // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh 7920 ordinal: function (number) { 7921 var b = number, 7922 output = '', 7923 lookup = [
vendor: 17,091 bytes, lines 7924-8455
7924 '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed 7925 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed 7926 ]; 7927 if (b > 20) { 7928 if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { 7929 output = 'fed'; // not 30ain, 70ain or 90ain 7930 } else { 7931 output = 'ain'; 7932 } 7933 } else if (b > 0) { 7934 output = lookup[b]; 7935 } 7936 return number + output; 7937 }, 7938 week : { 7939 dow : 1, // Monday is the first day of the week. 7940 doy : 4 // The week that contains Jan 4th is the first week of the year. 7941 } 7942}); 7943 7944return cy; 7945 7946}))); 7947 7948 7949/***/ }), 7950/* 71 */ 7951/***/ (function(module, exports, __webpack_require__) { 7952 7953//! moment.js locale configuration 7954//! locale : Danish [da] 7955//! author : Ulrik Nielsen : https://github.com/mrbase 7956 7957;(function (global, factory) { 7958 true ? factory(__webpack_require__(0)) : 7959 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 7960 factory(global.moment) 7961}(this, (function (moment) { 'use strict'; 7962 7963 7964var da = moment.defineLocale('da', { 7965 months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), 7966 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), 7967 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), 7968 weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'), 7969 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), 7970 longDateFormat : { 7971 LT : 'HH:mm', 7972 LTS : 'HH:mm:ss', 7973 L : 'DD/MM/YYYY', 7974 LL : 'D. MMMM YYYY', 7975 LLL : 'D. MMMM YYYY HH:mm', 7976 LLLL : 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' 7977 }, 7978 calendar : { 7979 sameDay : '[i dag kl.] LT', 7980 nextDay : '[i morgen kl.] LT', 7981 nextWeek : 'pÃ¥ dddd [kl.] LT', 7982 lastDay : '[i gÃ¥r kl.] LT', 7983 lastWeek : '[i] dddd[s kl.] LT', 7984 sameElse : 'L' 7985 }, 7986 relativeTime : { 7987 future : 'om %s', 7988 past : '%s siden', 7989 s : 'fÃ¥ sekunder', 7990 m : 'et minut', 7991 mm : '%d minutter', 7992 h : 'en time', 7993 hh : '%d timer', 7994 d : 'en dag', 7995 dd : '%d dage', 7996 M : 'en mÃ¥ned', 7997 MM : '%d mÃ¥neder', 7998 y : 'et Ã¥r', 7999 yy : '%d Ã¥r' 8000 }, 8001 dayOfMonthOrdinalParse: /\d{1,2}\./, 8002 ordinal : '%d.', 8003 week : { 8004 dow : 1, // Monday is the first day of the week. 8005 doy : 4 // The week that contains Jan 4th is the first week of the year. 8006 } 8007}); 8008 8009return da; 8010 8011}))); 8012 8013 8014/***/ }), 8015/* 72 */ 8016/***/ (function(module, exports, __webpack_require__) { 8017 8018//! moment.js locale configuration 8019//! locale : German [de] 8020//! author : lluchs : https://github.com/lluchs 8021//! author: Menelion Elensúle: https://github.com/Oire 8022//! author : Mikolaj Dadela : https://github.com/mik01aj 8023 8024;(function (global, factory) { 8025 true ? factory(__webpack_require__(0)) : 8026 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8027 factory(global.moment) 8028}(this, (function (moment) { 'use strict'; 8029 8030 8031function processRelativeTime(number, withoutSuffix, key, isFuture) { 8032 var format = { 8033 'm': ['eine Minute', 'einer Minute'], 8034 'h': ['eine Stunde', 'einer Stunde'], 8035 'd': ['ein Tag', 'einem Tag'], 8036 'dd': [number + ' Tage', number + ' Tagen'], 8037 'M': ['ein Monat', 'einem Monat'], 8038 'MM': [number + ' Monate', number + ' Monaten'], 8039 'y': ['ein Jahr', 'einem Jahr'], 8040 'yy': [number + ' Jahre', number + ' Jahren'] 8041 }; 8042 return withoutSuffix ? format[key][0] : format[key][1]; 8043} 8044 8045var de = moment.defineLocale('de', { 8046 months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 8047 monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 8048 monthsParseExact : true, 8049 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 8050 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 8051 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 8052 weekdaysParseExact : true, 8053 longDateFormat : { 8054 LT: 'HH:mm', 8055 LTS: 'HH:mm:ss', 8056 L : 'DD.MM.YYYY', 8057 LL : 'D. MMMM YYYY', 8058 LLL : 'D. MMMM YYYY HH:mm', 8059 LLLL : 'dddd, D. MMMM YYYY HH:mm' 8060 }, 8061 calendar : { 8062 sameDay: '[heute um] LT [Uhr]', 8063 sameElse: 'L', 8064 nextDay: '[morgen um] LT [Uhr]', 8065 nextWeek: 'dddd [um] LT [Uhr]', 8066 lastDay: '[gestern um] LT [Uhr]', 8067 lastWeek: '[letzten] dddd [um] LT [Uhr]' 8068 }, 8069 relativeTime : { 8070 future : 'in %s', 8071 past : 'vor %s', 8072 s : 'ein paar Sekunden', 8073 m : processRelativeTime, 8074 mm : '%d Minuten', 8075 h : processRelativeTime, 8076 hh : '%d Stunden', 8077 d : processRelativeTime, 8078 dd : processRelativeTime, 8079 M : processRelativeTime, 8080 MM : processRelativeTime, 8081 y : processRelativeTime, 8082 yy : processRelativeTime 8083 }, 8084 dayOfMonthOrdinalParse: /\d{1,2}\./, 8085 ordinal : '%d.', 8086 week : { 8087 dow : 1, // Monday is the first day of the week. 8088 doy : 4 // The week that contains Jan 4th is the first week of the year. 8089 } 8090}); 8091 8092return de; 8093 8094}))); 8095 8096 8097/***/ }), 8098/* 73 */ 8099/***/ (function(module, exports, __webpack_require__) { 8100 8101//! moment.js locale configuration 8102//! locale : German (Austria) [de-at] 8103//! author : lluchs : https://github.com/lluchs 8104//! author: Menelion Elensúle: https://github.com/Oire 8105//! author : Martin Groller : https://github.com/MadMG 8106//! author : Mikolaj Dadela : https://github.com/mik01aj 8107 8108;(function (global, factory) { 8109 true ? factory(__webpack_require__(0)) : 8110 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8111 factory(global.moment) 8112}(this, (function (moment) { 'use strict'; 8113 8114 8115function processRelativeTime(number, withoutSuffix, key, isFuture) { 8116 var format = { 8117 'm': ['eine Minute', 'einer Minute'], 8118 'h': ['eine Stunde', 'einer Stunde'], 8119 'd': ['ein Tag', 'einem Tag'], 8120 'dd': [number + ' Tage', number + ' Tagen'], 8121 'M': ['ein Monat', 'einem Monat'], 8122 'MM': [number + ' Monate', number + ' Monaten'], 8123 'y': ['ein Jahr', 'einem Jahr'], 8124 'yy': [number + ' Jahre', number + ' Jahren'] 8125 }; 8126 return withoutSuffix ? format[key][0] : format[key][1]; 8127} 8128 8129var deAt = moment.defineLocale('de-at', { 8130 months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 8131 monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 8132 monthsParseExact : true, 8133 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 8134 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 8135 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 8136 weekdaysParseExact : true, 8137 longDateFormat : { 8138 LT: 'HH:mm', 8139 LTS: 'HH:mm:ss', 8140 L : 'DD.MM.YYYY', 8141 LL : 'D. MMMM YYYY', 8142 LLL : 'D. MMMM YYYY HH:mm', 8143 LLLL : 'dddd, D. MMMM YYYY HH:mm' 8144 }, 8145 calendar : { 8146 sameDay: '[heute um] LT [Uhr]', 8147 sameElse: 'L', 8148 nextDay: '[morgen um] LT [Uhr]', 8149 nextWeek: 'dddd [um] LT [Uhr]', 8150 lastDay: '[gestern um] LT [Uhr]', 8151 lastWeek: '[letzten] dddd [um] LT [Uhr]' 8152 }, 8153 relativeTime : { 8154 future : 'in %s', 8155 past : 'vor %s', 8156 s : 'ein paar Sekunden', 8157 m : processRelativeTime, 8158 mm : '%d Minuten', 8159 h : processRelativeTime, 8160 hh : '%d Stunden', 8161 d : processRelativeTime, 8162 dd : processRelativeTime, 8163 M : processRelativeTime, 8164 MM : processRelativeTime, 8165 y : processRelativeTime, 8166 yy : processRelativeTime 8167 }, 8168 dayOfMonthOrdinalParse: /\d{1,2}\./, 8169 ordinal : '%d.', 8170 week : { 8171 dow : 1, // Monday is the first day of the week. 8172 doy : 4 // The week that contains Jan 4th is the first week of the year. 8173 } 8174}); 8175 8176return deAt; 8177 8178}))); 8179 8180 8181/***/ }), 8182/* 74 */ 8183/***/ (function(module, exports, __webpack_require__) { 8184 8185//! moment.js locale configuration 8186//! locale : German (Switzerland) [de-ch] 8187//! author : sschueller : https://github.com/sschueller 8188 8189;(function (global, factory) { 8190 true ? factory(__webpack_require__(0)) : 8191 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8192 factory(global.moment) 8193}(this, (function (moment) { 'use strict'; 8194 8195 8196// based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de# 8197 8198function processRelativeTime(number, withoutSuffix, key, isFuture) { 8199 var format = { 8200 'm': ['eine Minute', 'einer Minute'], 8201 'h': ['eine Stunde', 'einer Stunde'], 8202 'd': ['ein Tag', 'einem Tag'], 8203 'dd': [number + ' Tage', number + ' Tagen'], 8204 'M': ['ein Monat', 'einem Monat'], 8205 'MM': [number + ' Monate', number + ' Monaten'], 8206 'y': ['ein Jahr', 'einem Jahr'], 8207 'yy': [number + ' Jahre', number + ' Jahren'] 8208 }; 8209 return withoutSuffix ? format[key][0] : format[key][1]; 8210} 8211 8212var deCh = moment.defineLocale('de-ch', { 8213 months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 8214 monthsShort : 'Jan._Febr._März_April_Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), 8215 monthsParseExact : true, 8216 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 8217 weekdaysShort : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 8218 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 8219 weekdaysParseExact : true, 8220 longDateFormat : { 8221 LT: 'HH.mm', 8222 LTS: 'HH.mm.ss', 8223 L : 'DD.MM.YYYY', 8224 LL : 'D. MMMM YYYY', 8225 LLL : 'D. MMMM YYYY HH.mm', 8226 LLLL : 'dddd, D. MMMM YYYY HH.mm' 8227 }, 8228 calendar : { 8229 sameDay: '[heute um] LT [Uhr]', 8230 sameElse: 'L', 8231 nextDay: '[morgen um] LT [Uhr]', 8232 nextWeek: 'dddd [um] LT [Uhr]', 8233 lastDay: '[gestern um] LT [Uhr]', 8234 lastWeek: '[letzten] dddd [um] LT [Uhr]' 8235 }, 8236 relativeTime : { 8237 future : 'in %s', 8238 past : 'vor %s', 8239 s : 'ein paar Sekunden', 8240 m : processRelativeTime, 8241 mm : '%d Minuten', 8242 h : processRelativeTime, 8243 hh : '%d Stunden', 8244 d : processRelativeTime, 8245 dd : processRelativeTime, 8246 M : processRelativeTime, 8247 MM : processRelativeTime, 8248 y : processRelativeTime, 8249 yy : processRelativeTime 8250 }, 8251 dayOfMonthOrdinalParse: /\d{1,2}\./, 8252 ordinal : '%d.', 8253 week : { 8254 dow : 1, // Monday is the first day of the week. 8255 doy : 4 // The week that contains Jan 4th is the first week of the year. 8256 } 8257}); 8258 8259return deCh; 8260 8261}))); 8262 8263 8264/***/ }), 8265/* 75 */ 8266/***/ (function(module, exports, __webpack_require__) { 8267 8268//! moment.js locale configuration 8269//! locale : Maldivian [dv] 8270//! author : Jawish Hameed : https://github.com/jawish 8271 8272;(function (global, factory) { 8273 true ? factory(__webpack_require__(0)) : 8274 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8275 factory(global.moment) 8276}(this, (function (moment) { 'use strict'; 8277 8278 8279var months = [ 8280 'ÞÞ¬ÞÞªÞÞ¦ÞÞ©', 8281 'ÞÞ¬ÞÞ°ÞÞªÞÞ¦ÞÞ©', 8282 'ÞÞ§ÞÞ¨ÞÞª', 8283 'ÞÞÞÞ°ÞÞ©ÞÞª', 8284 'ÞÞ', 8285 'ÞÞ«ÞÞ°', 8286 'ÞÞªÞÞ¦ÞÞ¨', 8287 'ÞÞ¯ÞÞ¦ÞÞ°ÞÞª', 8288 'ÞÞ¬ÞÞ°ÞÞ¬ÞÞ°ÞÞ¦ÞÞª', 8289 'ÞÞ®ÞÞ°ÞÞ¯ÞÞ¦ÞÞª', 8290 'ÞÞ®ÞÞ¬ÞÞ°ÞÞ¦ÞÞª', 8291 'ÞÞ¨ÞÞ¬ÞÞ°ÞÞ¦ÞÞª' 8292]; 8293var weekdays = [ 8294 'ÞÞ§ÞÞ¨ÞÞ°ÞÞ¦', 8295 'ÞÞ¯ÞÞ¦', 8296 'ÞÞ¦ÞÞ°ÞÞ§ÞÞ¦', 8297 'ÞÞªÞÞ¦', 8298 'ÞÞªÞÞ§ÞÞ°ÞÞ¦ÞÞ¨', 8299 'ÞÞªÞÞªÞÞª', 8300 'ÞÞ®ÞÞ¨ÞÞ¨ÞÞª' 8301]; 8302 8303var dv = moment.defineLocale('dv', { 8304 months : months, 8305 monthsShort : months, 8306 weekdays : weekdays, 8307 weekdaysShort : weekdays, 8308 weekdaysMin : 'ÞÞ§ÞÞ¨_ÞÞ¯ÞÞ¦_ÞÞ¦ÞÞ°_ÞÞªÞÞ¦_ÞÞªÞÞ§_ÞÞªÞÞª_ÞÞ®ÞÞ¨'.split('_'), 8309 longDateFormat : { 8310 8311 LT : 'HH:mm', 8312 LTS : 'HH:mm:ss', 8313 L : 'D/M/YYYY', 8314 LL : 'D MMMM YYYY', 8315 LLL : 'D MMMM YYYY HH:mm', 8316 LLLL : 'dddd D MMMM YYYY HH:mm' 8317 }, 8318 meridiemParse: /ÞÞ|ÞÞ/, 8319 isPM : function (input) { 8320 return 'ÞÞ' === input; 8321 }, 8322 meridiem : function (hour, minute, isLower) { 8323 if (hour < 12) { 8324 return 'ÞÞ'; 8325 } else { 8326 return 'ÞÞ'; 8327 } 8328 }, 8329 calendar : { 8330 sameDay : '[ÞÞ¨ÞÞ¦ÞÞª] LT', 8331 nextDay : '[ÞÞ§ÞÞ¦ÞÞ§] LT', 8332 nextWeek : 'dddd LT', 8333 lastDay : '[ÞÞ¨ÞÞ°ÞÞ¬] LT', 8334 lastWeek : '[ÞÞ§ÞÞ¨ÞÞªÞÞ¨] dddd LT', 8335 sameElse : 'L' 8336 }, 8337 relativeTime : { 8338 future : 'ÞÞ¬ÞÞÞÞ¦ÞÞ¨ %s', 8339 past : 'ÞÞªÞÞ¨ÞÞ° %s', 8340 s : 'ÞÞ¨ÞÞªÞÞ°ÞÞªÞÞ®Þ Þ¬ÞÞ°', 8341 m : 'ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°', 8342 mm : 'ÞÞ¨ÞÞ¨ÞÞª %d', 8343 h : 'ÞÞ¦ÞÞ¨ÞÞ¨ÞÞ¬ÞÞ°', 8344 hh : 'ÞÞ¦ÞÞ¨ÞÞ¨ÞÞª %d', 8345 d : 'ÞÞªÞÞ¦ÞÞ¬ÞÞ°', 8346 dd : 'ÞÞªÞÞ¦ÞÞ° %d', 8347 M : 'ÞÞ¦ÞÞ¬ÞÞ°', 8348 MM : 'ÞÞ¦ÞÞ° %d', 8349 y : 'ÞÞ¦ÞÞ¦ÞÞ¬ÞÞ°', 8350 yy : 'ÞÞ¦ÞÞ¦ÞÞª %d' 8351 }, 8352 preparse: function (string) { 8353 return string.replace(/Ø/g, ','); 8354 }, 8355 postformat: function (string) { 8356 return string.replace(/,/g, 'Ø'); 8357 }, 8358 week : { 8359 dow : 7, // Sunday is the first day of the week. 8360 doy : 12 // The week that contains Jan 1st is the first week of the year. 8361 } 8362}); 8363 8364return dv; 8365 8366}))); 8367 8368 8369/***/ }), 8370/* 76 */ 8371/***/ (function(module, exports, __webpack_require__) { 8372 8373//! moment.js locale configuration 8374//! locale : Greek [el] 8375//! author : Aggelos Karalias : https://github.com/mehiel 8376 8377;(function (global, factory) { 8378 true ? factory(__webpack_require__(0)) : 8379 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8380 factory(global.moment) 8381}(this, (function (moment) { 'use strict'; 8382 8383function isFunction(input) { 8384 return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; 8385} 8386 8387 8388var el = moment.defineLocale('el', { 8389 monthsNominativeEl : 'ÎÎ±Î½Î¿Ï Î¬ÏιοÏ_ΦεβÏÎ¿Ï Î¬ÏιοÏ_ÎάÏÏιοÏ_ÎÏÏίλιοÏ_ÎάιοÏ_ÎοÏνιοÏ_ÎοÏλιοÏ_ÎÏÎ³Î¿Ï ÏÏοÏ_ΣεÏÏÎμβÏιοÏ_ÎκÏÏβÏιοÏ_ÎοÎμβÏιοÏ_ÎεκÎμβÏιοÏ'.split('_'), 8390 monthsGenitiveEl : 'ÎÎ±Î½Î¿Ï Î±ÏÎ¯Î¿Ï _ΦεβÏÎ¿Ï Î±ÏÎ¯Î¿Ï _ÎαÏÏÎ¯Î¿Ï _ÎÏÏÎ¹Î»Î¯Î¿Ï _ÎαÎÎ¿Ï _ÎÎ¿Ï Î½Î¯Î¿Ï _ÎÎ¿Ï Î»Î¯Î¿Ï _ÎÏ Î³Î¿ÏÏÏÎ¿Ï _ΣεÏÏεμβÏÎ¯Î¿Ï _ÎκÏÏβÏÎ¯Î¿Ï _ÎοεμβÏÎ¯Î¿Ï _ÎεκεμβÏÎ¯Î¿Ï '.split('_'), 8391 months : function (momentToFormat, format) { 8392 if (!momentToFormat) { 8393 return this._monthsNominativeEl; 8394 } else if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' 8395 return this._monthsGenitiveEl[momentToFormat.month()]; 8396 } else { 8397 return this._monthsNominativeEl[momentToFormat.month()]; 8398 } 8399 }, 8400 monthsShort : 'Îαν_Φεβ_ÎαÏ_ÎÏÏ_ÎαÏ_ÎÎ¿Ï Î½_ÎÎ¿Ï Î»_ÎÏ Î³_ΣεÏ_ÎκÏ_Îοε_Îεκ'.split('_'), 8401 weekdays : 'ÎÏ Ïιακή_ÎÎµÏ ÏÎÏα_ΤÏίÏη_ΤεÏάÏÏη_Î ÎμÏÏη_ΠαÏαÏÎºÎµÏ Î®_ΣάββαÏο'.split('_'), 8402 weekdaysShort : 'ÎÏ Ï_ÎÎµÏ _ΤÏι_ΤεÏ_Πεμ_ΠαÏ_Σαβ'.split('_'), 8403 weekdaysMin : 'ÎÏ _Îε_ΤÏ_Τε_Πε_Πα_Σα'.split('_'), 8404 meridiem : function (hours, minutes, isLower) { 8405 if (hours > 11) { 8406 return isLower ? 'μμ' : 'ÎÎ'; 8407 } else { 8408 return isLower ? 'Ïμ' : 'Î Î'; 8409 } 8410 }, 8411 isPM : function (input) { 8412 return ((input + '').toLowerCase()[0] === 'μ'); 8413 }, 8414 meridiemParse : /[Î Î]\.?Î?\.?/i, 8415 longDateFormat : { 8416 LT : 'h:mm A', 8417 LTS : 'h:mm:ss A', 8418 L : 'DD/MM/YYYY', 8419 LL : 'D MMMM YYYY', 8420 LLL : 'D MMMM YYYY h:mm A', 8421 LLLL : 'dddd, D MMMM YYYY h:mm A' 8422 }, 8423 calendarEl : { 8424 sameDay : '[ΣήμεÏα {}] LT', 8425 nextDay : '[ÎÏÏιο {}] LT', 8426 nextWeek : 'dddd [{}] LT', 8427 lastDay : '[Î§Î¸ÎµÏ {}] LT', 8428 lastWeek : function () { 8429 switch (this.day()) { 8430 case 6: 8431 return '[Ïο ÏÏοηγοÏμενο] dddd [{}] LT'; 8432 default: 8433 return '[Ïην ÏÏοηγοÏμενη] dddd [{}] LT'; 8434 } 8435 }, 8436 sameElse : 'L' 8437 }, 8438 calendar : function (key, mom) { 8439 var output = this._calendarEl[key], 8440 hours = mom && mom.hours(); 8441 if (isFunction(output)) { 8442 output = output.apply(mom); 8443 } 8444 return output.replace('{}', (hours % 12 === 1 ? 'ÏÏη' : 'ÏÏιÏ')); 8445 }, 8446 relativeTime : { 8447 future : 'Ïε %s', 8448 past : '%s ÏÏιν', 8449 s : 'λίγα Î´ÎµÏ ÏεÏÏλεÏÏα', 8450 m : 'Îνα λεÏÏÏ', 8451 mm : '%d λεÏÏά', 8452 h : 'μία ÏÏα', 8453 hh : '%d ÏÏεÏ', 8454 d : 'μία μÎÏα', 8455 dd : '%d μÎÏεÏ',
8456 M : 'ÎÎ½Î±Ï Î¼Î®Î½Î±Ï', 8457 MM : '%d μήνεÏ', 8458 y : 'ÎÎ½Î±Ï ÏÏÏνοÏ', 8459 yy : '%d ÏÏÏνια' 8460 }, 8461 dayOfMonthOrdinalParse: /\d{1,2}η/, 8462 ordinal: '%dη', 8463 week : { 8464 dow : 1, // Monday is the first day of the week. 8465 doy : 4 // The week that contains Jan 4st is the first week of the year. 8466 } 8467}); 8468 8469return el; 8470 8471}))); 8472 8473 8474/***/ }), 8475/* 77 */ 8476/***/ (function(module, exports, __webpack_require__) { 8477 8478//! moment.js locale configuration 8479//! locale : English (Australia) [en-au] 8480//! author : Jared Morse : https://github.com/jarcoal 8481 8482;(function (global, factory) { 8483 true ? factory(__webpack_require__(0)) : 8484 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8485 factory(global.moment) 8486}(this, (function (moment) { 'use strict'; 8487 8488 8489var enAu = moment.defineLocale('en-au', { 8490 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 8491 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 8492 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 8493 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 8494 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 8495 longDateFormat : { 8496 LT : 'h:mm A', 8497 LTS : 'h:mm:ss A', 8498 L : 'DD/MM/YYYY', 8499 LL : 'D MMMM YYYY', 8500 LLL : 'D MMMM YYYY h:mm A', 8501 LLLL : 'dddd, D MMMM YYYY h:mm A' 8502 }, 8503 calendar : { 8504 sameDay : '[Today at] LT', 8505 nextDay : '[Tomorrow at] LT', 8506 nextWeek : 'dddd [at] LT', 8507 lastDay : '[Yesterday at] LT', 8508 lastWeek : '[Last] dddd [at] LT', 8509 sameElse : 'L' 8510 }, 8511 relativeTime : { 8512 future : 'in %s', 8513 past : '%s ago', 8514 s : 'a few seconds', 8515 m : 'a minute', 8516 mm : '%d minutes', 8517 h : 'an hour', 8518 hh : '%d hours', 8519 d : 'a day', 8520 dd : '%d days', 8521 M : 'a month', 8522 MM : '%d months', 8523 y : 'a year', 8524 yy : '%d years' 8525 }, 8526 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 8527 ordinal : function (number) { 8528 var b = number % 10, 8529 output = (~~(number % 100 / 10) === 1) ? 'th' : 8530 (b === 1) ? 'st' : 8531 (b === 2) ? 'nd' : 8532 (b === 3) ? 'rd' : 'th'; 8533 return number + output; 8534 }, 8535 week : { 8536 dow : 1, // Monday is the first day of the week. 8537 doy : 4 // The week that contains Jan 4th is the first week of the year. 8538 } 8539}); 8540 8541return enAu; 8542 8543}))); 8544 8545 8546/***/ }), 8547/* 78 */ 8548/***/ (function(module, exports, __webpack_require__) { 8549 8550//! moment.js locale configuration 8551//! locale : English (Canada) [en-ca] 8552//! author : Jonathan Abourbih : https://github.com/jonbca 8553 8554;(function (global, factory) { 8555 true ? factory(__webpack_require__(0)) : 8556 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8557 factory(global.moment) 8558}(this, (function (moment) { 'use strict'; 8559 8560 8561var enCa = moment.defineLocale('en-ca', { 8562 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 8563 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 8564 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 8565 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 8566 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 8567 longDateFormat : { 8568 LT : 'h:mm A', 8569 LTS : 'h:mm:ss A', 8570 L : 'YYYY-MM-DD', 8571 LL : 'MMMM D, YYYY', 8572 LLL : 'MMMM D, YYYY h:mm A', 8573 LLLL : 'dddd, MMMM D, YYYY h:mm A' 8574 }, 8575 calendar : { 8576 sameDay : '[Today at] LT', 8577 nextDay : '[Tomorrow at] LT', 8578 nextWeek : 'dddd [at] LT', 8579 lastDay : '[Yesterday at] LT', 8580 lastWeek : '[Last] dddd [at] LT', 8581 sameElse : 'L' 8582 }, 8583 relativeTime : { 8584 future : 'in %s', 8585 past : '%s ago', 8586 s : 'a few seconds', 8587 m : 'a minute', 8588 mm : '%d minutes', 8589 h : 'an hour', 8590 hh : '%d hours', 8591 d : 'a day', 8592 dd : '%d days', 8593 M : 'a month', 8594 MM : '%d months', 8595 y : 'a year', 8596 yy : '%d years' 8597 }, 8598 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 8599 ordinal : function (number) { 8600 var b = number % 10, 8601 output = (~~(number % 100 / 10) === 1) ? 'th' : 8602 (b === 1) ? 'st' : 8603 (b === 2) ? 'nd' : 8604 (b === 3) ? 'rd' : 'th'; 8605 return number + output; 8606 } 8607}); 8608 8609return enCa; 8610 8611}))); 8612 8613 8614/***/ }), 8615/* 79 */ 8616/***/ (function(module, exports, __webpack_require__) { 8617 8618//! moment.js locale configuration 8619//! locale : English (United Kingdom) [en-gb] 8620//! author : Chris Gedrim : https://github.com/chrisgedrim 8621 8622;(function (global, factory) { 8623 true ? factory(__webpack_require__(0)) : 8624 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8625 factory(global.moment) 8626}(this, (function (moment) { 'use strict'; 8627 8628 8629var enGb = moment.defineLocale('en-gb', { 8630 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 8631 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 8632 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 8633 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 8634 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 8635 longDateFormat : { 8636 LT : 'HH:mm', 8637 LTS : 'HH:mm:ss', 8638 L : 'DD/MM/YYYY', 8639 LL : 'D MMMM YYYY', 8640 LLL : 'D MMMM YYYY HH:mm', 8641 LLLL : 'dddd, D MMMM YYYY HH:mm' 8642 }, 8643 calendar : { 8644 sameDay : '[Today at] LT', 8645 nextDay : '[Tomorrow at] LT', 8646 nextWeek : 'dddd [at] LT', 8647 lastDay : '[Yesterday at] LT', 8648 lastWeek : '[Last] dddd [at] LT', 8649 sameElse : 'L' 8650 }, 8651 relativeTime : { 8652 future : 'in %s', 8653 past : '%s ago', 8654 s : 'a few seconds', 8655 m : 'a minute', 8656 mm : '%d minutes', 8657 h : 'an hour', 8658 hh : '%d hours', 8659 d : 'a day', 8660 dd : '%d days', 8661 M : 'a month', 8662 MM : '%d months', 8663 y : 'a year', 8664 yy : '%d years' 8665 }, 8666 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 8667 ordinal : function (number) { 8668 var b = number % 10, 8669 output = (~~(number % 100 / 10) === 1) ? 'th' : 8670 (b === 1) ? 'st' : 8671 (b === 2) ? 'nd' : 8672 (b === 3) ? 'rd' : 'th'; 8673 return number + output; 8674 }, 8675 week : { 8676 dow : 1, // Monday is the first day of the week. 8677 doy : 4 // The week that contains Jan 4th is the first week of the year. 8678 } 8679}); 8680 8681return enGb;
vendor: 24,338 bytes, lines 8682-9460
8682 8683}))); 8684 8685 8686/***/ }), 8687/* 80 */ 8688/***/ (function(module, exports, __webpack_require__) { 8689 8690//! moment.js locale configuration 8691//! locale : English (Ireland) [en-ie] 8692//! author : Chris Cartlidge : https://github.com/chriscartlidge 8693 8694;(function (global, factory) { 8695 true ? factory(__webpack_require__(0)) : 8696 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8697 factory(global.moment) 8698}(this, (function (moment) { 'use strict'; 8699 8700 8701var enIe = moment.defineLocale('en-ie', { 8702 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 8703 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 8704 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 8705 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 8706 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 8707 longDateFormat : { 8708 LT : 'HH:mm', 8709 LTS : 'HH:mm:ss', 8710 L : 'DD-MM-YYYY', 8711 LL : 'D MMMM YYYY', 8712 LLL : 'D MMMM YYYY HH:mm', 8713 LLLL : 'dddd D MMMM YYYY HH:mm' 8714 }, 8715 calendar : { 8716 sameDay : '[Today at] LT', 8717 nextDay : '[Tomorrow at] LT', 8718 nextWeek : 'dddd [at] LT', 8719 lastDay : '[Yesterday at] LT', 8720 lastWeek : '[Last] dddd [at] LT', 8721 sameElse : 'L' 8722 }, 8723 relativeTime : { 8724 future : 'in %s', 8725 past : '%s ago', 8726 s : 'a few seconds', 8727 m : 'a minute', 8728 mm : '%d minutes', 8729 h : 'an hour', 8730 hh : '%d hours', 8731 d : 'a day', 8732 dd : '%d days', 8733 M : 'a month', 8734 MM : '%d months', 8735 y : 'a year', 8736 yy : '%d years' 8737 }, 8738 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 8739 ordinal : function (number) { 8740 var b = number % 10, 8741 output = (~~(number % 100 / 10) === 1) ? 'th' : 8742 (b === 1) ? 'st' : 8743 (b === 2) ? 'nd' : 8744 (b === 3) ? 'rd' : 'th'; 8745 return number + output; 8746 }, 8747 week : { 8748 dow : 1, // Monday is the first day of the week. 8749 doy : 4 // The week that contains Jan 4th is the first week of the year. 8750 } 8751}); 8752 8753return enIe; 8754 8755}))); 8756 8757 8758/***/ }), 8759/* 81 */ 8760/***/ (function(module, exports, __webpack_require__) { 8761 8762//! moment.js locale configuration 8763//! locale : English (New Zealand) [en-nz] 8764//! author : Luke McGregor : https://github.com/lukemcgregor 8765 8766;(function (global, factory) { 8767 true ? factory(__webpack_require__(0)) : 8768 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8769 factory(global.moment) 8770}(this, (function (moment) { 'use strict'; 8771 8772 8773var enNz = moment.defineLocale('en-nz', { 8774 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 8775 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 8776 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 8777 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 8778 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 8779 longDateFormat : { 8780 LT : 'h:mm A', 8781 LTS : 'h:mm:ss A', 8782 L : 'DD/MM/YYYY', 8783 LL : 'D MMMM YYYY', 8784 LLL : 'D MMMM YYYY h:mm A', 8785 LLLL : 'dddd, D MMMM YYYY h:mm A' 8786 }, 8787 calendar : { 8788 sameDay : '[Today at] LT', 8789 nextDay : '[Tomorrow at] LT', 8790 nextWeek : 'dddd [at] LT', 8791 lastDay : '[Yesterday at] LT', 8792 lastWeek : '[Last] dddd [at] LT', 8793 sameElse : 'L' 8794 }, 8795 relativeTime : { 8796 future : 'in %s', 8797 past : '%s ago', 8798 s : 'a few seconds', 8799 m : 'a minute', 8800 mm : '%d minutes', 8801 h : 'an hour', 8802 hh : '%d hours', 8803 d : 'a day', 8804 dd : '%d days', 8805 M : 'a month', 8806 MM : '%d months', 8807 y : 'a year', 8808 yy : '%d years' 8809 }, 8810 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 8811 ordinal : function (number) { 8812 var b = number % 10, 8813 output = (~~(number % 100 / 10) === 1) ? 'th' : 8814 (b === 1) ? 'st' : 8815 (b === 2) ? 'nd' : 8816 (b === 3) ? 'rd' : 'th'; 8817 return number + output; 8818 }, 8819 week : { 8820 dow : 1, // Monday is the first day of the week. 8821 doy : 4 // The week that contains Jan 4th is the first week of the year. 8822 } 8823}); 8824 8825return enNz; 8826 8827}))); 8828 8829 8830/***/ }), 8831/* 82 */ 8832/***/ (function(module, exports, __webpack_require__) { 8833 8834//! moment.js locale configuration 8835//! locale : Esperanto [eo] 8836//! author : Colin Dean : https://github.com/colindean 8837//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia 8838//! comment : miestasmia corrected the translation by colindean 8839 8840;(function (global, factory) { 8841 true ? factory(__webpack_require__(0)) : 8842 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8843 factory(global.moment) 8844}(this, (function (moment) { 'use strict'; 8845 8846 8847var eo = moment.defineLocale('eo', { 8848 months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aÅgusto_septembro_oktobro_novembro_decembro'.split('_'), 8849 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aÅg_sep_okt_nov_dec'.split('_'), 8850 weekdays : 'dimanÄo_lundo_mardo_merkredo_ĵaÅdo_vendredo_sabato'.split('_'), 8851 weekdaysShort : 'dim_lun_mard_merk_ĵaÅ_ven_sab'.split('_'), 8852 weekdaysMin : 'di_lu_ma_me_ĵa_ve_sa'.split('_'), 8853 longDateFormat : { 8854 LT : 'HH:mm', 8855 LTS : 'HH:mm:ss', 8856 L : 'YYYY-MM-DD', 8857 LL : 'D[-a de] MMMM, YYYY', 8858 LLL : 'D[-a de] MMMM, YYYY HH:mm', 8859 LLLL : 'dddd, [la] D[-a de] MMMM, YYYY HH:mm' 8860 }, 8861 meridiemParse: /[ap]\.t\.m/i, 8862 isPM: function (input) { 8863 return input.charAt(0).toLowerCase() === 'p'; 8864 }, 8865 meridiem : function (hours, minutes, isLower) { 8866 if (hours > 11) { 8867 return isLower ? 'p.t.m.' : 'P.T.M.'; 8868 } else { 8869 return isLower ? 'a.t.m.' : 'A.T.M.'; 8870 } 8871 }, 8872 calendar : { 8873 sameDay : '[HodiaÅ je] LT', 8874 nextDay : '[MorgaÅ je] LT', 8875 nextWeek : 'dddd [je] LT', 8876 lastDay : '[HieraÅ je] LT', 8877 lastWeek : '[pasinta] dddd [je] LT', 8878 sameElse : 'L' 8879 }, 8880 relativeTime : { 8881 future : 'post %s', 8882 past : 'antaÅ %s', 8883 s : 'sekundoj', 8884 m : 'minuto', 8885 mm : '%d minutoj', 8886 h : 'horo', 8887 hh : '%d horoj', 8888 d : 'tago',//ne 'diurno', Äar estas uzita por proksimumo 8889 dd : '%d tagoj', 8890 M : 'monato', 8891 MM : '%d monatoj', 8892 y : 'jaro', 8893 yy : '%d jaroj' 8894 }, 8895 dayOfMonthOrdinalParse: /\d{1,2}a/, 8896 ordinal : '%da', 8897 week : { 8898 dow : 1, // Monday is the first day of the week. 8899 doy : 7 // The week that contains Jan 1st is the first week of the year. 8900 } 8901}); 8902 8903return eo; 8904 8905}))); 8906 8907 8908/***/ }), 8909/* 83 */ 8910/***/ (function(module, exports, __webpack_require__) { 8911 8912//! moment.js locale configuration 8913//! locale : Spanish [es] 8914//! author : Julio Napurà : https://github.com/julionc 8915 8916;(function (global, factory) { 8917 true ? factory(__webpack_require__(0)) : 8918 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8919 factory(global.moment) 8920}(this, (function (moment) { 'use strict'; 8921 8922 8923var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); 8924var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); 8925 8926var es = moment.defineLocale('es', { 8927 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), 8928 monthsShort : function (m, format) { 8929 if (!m) { 8930 return monthsShortDot; 8931 } else if (/-MMM-/.test(format)) { 8932 return monthsShort[m.month()]; 8933 } else { 8934 return monthsShortDot[m.month()]; 8935 } 8936 }, 8937 monthsParseExact : true, 8938 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 8939 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 8940 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), 8941 weekdaysParseExact : true, 8942 longDateFormat : { 8943 LT : 'H:mm', 8944 LTS : 'H:mm:ss', 8945 L : 'DD/MM/YYYY', 8946 LL : 'D [de] MMMM [de] YYYY', 8947 LLL : 'D [de] MMMM [de] YYYY H:mm', 8948 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' 8949 }, 8950 calendar : { 8951 sameDay : function () { 8952 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 8953 }, 8954 nextDay : function () { 8955 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 8956 }, 8957 nextWeek : function () { 8958 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 8959 }, 8960 lastDay : function () { 8961 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 8962 }, 8963 lastWeek : function () { 8964 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 8965 }, 8966 sameElse : 'L' 8967 }, 8968 relativeTime : { 8969 future : 'en %s', 8970 past : 'hace %s', 8971 s : 'unos segundos', 8972 m : 'un minuto', 8973 mm : '%d minutos', 8974 h : 'una hora', 8975 hh : '%d horas', 8976 d : 'un dÃa', 8977 dd : '%d dÃas', 8978 M : 'un mes', 8979 MM : '%d meses', 8980 y : 'un año', 8981 yy : '%d años' 8982 }, 8983 dayOfMonthOrdinalParse : /\d{1,2}º/, 8984 ordinal : '%dº', 8985 week : { 8986 dow : 1, // Monday is the first day of the week. 8987 doy : 4 // The week that contains Jan 4th is the first week of the year. 8988 } 8989}); 8990 8991return es; 8992 8993}))); 8994 8995 8996/***/ }), 8997/* 84 */ 8998/***/ (function(module, exports, __webpack_require__) { 8999 9000//! moment.js locale configuration 9001//! locale : Spanish (Dominican Republic) [es-do] 9002 9003;(function (global, factory) { 9004 true ? factory(__webpack_require__(0)) : 9005 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9006 factory(global.moment) 9007}(this, (function (moment) { 'use strict'; 9008 9009 9010var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'); 9011var monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); 9012 9013var esDo = moment.defineLocale('es-do', { 9014 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), 9015 monthsShort : function (m, format) { 9016 if (!m) { 9017 return monthsShortDot; 9018 } else if (/-MMM-/.test(format)) { 9019 return monthsShort[m.month()]; 9020 } else { 9021 return monthsShortDot[m.month()]; 9022 } 9023 }, 9024 monthsParseExact : true, 9025 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 9026 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 9027 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), 9028 weekdaysParseExact : true, 9029 longDateFormat : { 9030 LT : 'h:mm A', 9031 LTS : 'h:mm:ss A', 9032 L : 'DD/MM/YYYY', 9033 LL : 'D [de] MMMM [de] YYYY', 9034 LLL : 'D [de] MMMM [de] YYYY h:mm A', 9035 LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' 9036 }, 9037 calendar : { 9038 sameDay : function () { 9039 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 9040 }, 9041 nextDay : function () { 9042 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 9043 }, 9044 nextWeek : function () { 9045 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 9046 }, 9047 lastDay : function () { 9048 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 9049 }, 9050 lastWeek : function () { 9051 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 9052 }, 9053 sameElse : 'L' 9054 }, 9055 relativeTime : { 9056 future : 'en %s', 9057 past : 'hace %s', 9058 s : 'unos segundos', 9059 m : 'un minuto', 9060 mm : '%d minutos', 9061 h : 'una hora', 9062 hh : '%d horas', 9063 d : 'un dÃa', 9064 dd : '%d dÃas', 9065 M : 'un mes', 9066 MM : '%d meses', 9067 y : 'un año', 9068 yy : '%d años' 9069 }, 9070 dayOfMonthOrdinalParse : /\d{1,2}º/, 9071 ordinal : '%dº', 9072 week : { 9073 dow : 1, // Monday is the first day of the week. 9074 doy : 4 // The week that contains Jan 4th is the first week of the year. 9075 } 9076}); 9077 9078return esDo; 9079 9080}))); 9081 9082 9083/***/ }), 9084/* 85 */ 9085/***/ (function(module, exports, __webpack_require__) { 9086 9087//! moment.js locale configuration 9088//! locale : Estonian [et] 9089//! author : Henry Kehlmann : https://github.com/madhenry 9090//! improvements : Illimar Tambek : https://github.com/ragulka 9091 9092;(function (global, factory) { 9093 true ? factory(__webpack_require__(0)) : 9094 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9095 factory(global.moment) 9096}(this, (function (moment) { 'use strict'; 9097 9098 9099function processRelativeTime(number, withoutSuffix, key, isFuture) { 9100 var format = { 9101 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'], 9102 'm' : ['ühe minuti', 'üks minut'], 9103 'mm': [number + ' minuti', number + ' minutit'], 9104 'h' : ['ühe tunni', 'tund aega', 'üks tund'], 9105 'hh': [number + ' tunni', number + ' tundi'], 9106 'd' : ['ühe päeva', 'üks päev'], 9107 'M' : ['kuu aja', 'kuu aega', 'üks kuu'], 9108 'MM': [number + ' kuu', number + ' kuud'], 9109 'y' : ['ühe aasta', 'aasta', 'üks aasta'], 9110 'yy': [number + ' aasta', number + ' aastat'] 9111 }; 9112 if (withoutSuffix) { 9113 return format[key][2] ? format[key][2] : format[key][1]; 9114 } 9115 return isFuture ? format[key][0] : format[key][1]; 9116} 9117 9118var et = moment.defineLocale('et', { 9119 months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), 9120 monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), 9121 weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), 9122 weekdaysShort : 'P_E_T_K_N_R_L'.split('_'), 9123 weekdaysMin : 'P_E_T_K_N_R_L'.split('_'), 9124 longDateFormat : { 9125 LT : 'H:mm', 9126 LTS : 'H:mm:ss', 9127 L : 'DD.MM.YYYY', 9128 LL : 'D. MMMM YYYY', 9129 LLL : 'D. MMMM YYYY H:mm', 9130 LLLL : 'dddd, D. MMMM YYYY H:mm' 9131 }, 9132 calendar : { 9133 sameDay : '[Täna,] LT', 9134 nextDay : '[Homme,] LT', 9135 nextWeek : '[Järgmine] dddd LT', 9136 lastDay : '[Eile,] LT', 9137 lastWeek : '[Eelmine] dddd LT', 9138 sameElse : 'L' 9139 }, 9140 relativeTime : { 9141 future : '%s pärast', 9142 past : '%s tagasi', 9143 s : processRelativeTime, 9144 m : processRelativeTime, 9145 mm : processRelativeTime, 9146 h : processRelativeTime, 9147 hh : processRelativeTime, 9148 d : processRelativeTime, 9149 dd : '%d päeva', 9150 M : processRelativeTime, 9151 MM : processRelativeTime, 9152 y : processRelativeTime, 9153 yy : processRelativeTime 9154 }, 9155 dayOfMonthOrdinalParse: /\d{1,2}\./, 9156 ordinal : '%d.', 9157 week : { 9158 dow : 1, // Monday is the first day of the week. 9159 doy : 4 // The week that contains Jan 4th is the first week of the year. 9160 } 9161}); 9162 9163return et; 9164 9165}))); 9166 9167 9168/***/ }), 9169/* 86 */ 9170/***/ (function(module, exports, __webpack_require__) { 9171 9172//! moment.js locale configuration 9173//! locale : Basque [eu] 9174//! author : Eneko Illarramendi : https://github.com/eillarra 9175 9176;(function (global, factory) { 9177 true ? factory(__webpack_require__(0)) : 9178 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9179 factory(global.moment) 9180}(this, (function (moment) { 'use strict'; 9181 9182 9183var eu = moment.defineLocale('eu', { 9184 months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), 9185 monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), 9186 monthsParseExact : true, 9187 weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), 9188 weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'), 9189 weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'), 9190 weekdaysParseExact : true, 9191 longDateFormat : { 9192 LT : 'HH:mm', 9193 LTS : 'HH:mm:ss', 9194 L : 'YYYY-MM-DD', 9195 LL : 'YYYY[ko] MMMM[ren] D[a]', 9196 LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm', 9197 LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', 9198 l : 'YYYY-M-D', 9199 ll : 'YYYY[ko] MMM D[a]', 9200 lll : 'YYYY[ko] MMM D[a] HH:mm', 9201 llll : 'ddd, YYYY[ko] MMM D[a] HH:mm' 9202 }, 9203 calendar : { 9204 sameDay : '[gaur] LT[etan]', 9205 nextDay : '[bihar] LT[etan]', 9206 nextWeek : 'dddd LT[etan]', 9207 lastDay : '[atzo] LT[etan]', 9208 lastWeek : '[aurreko] dddd LT[etan]', 9209 sameElse : 'L' 9210 }, 9211 relativeTime : { 9212 future : '%s barru', 9213 past : 'duela %s', 9214 s : 'segundo batzuk', 9215 m : 'minutu bat', 9216 mm : '%d minutu', 9217 h : 'ordu bat', 9218 hh : '%d ordu', 9219 d : 'egun bat', 9220 dd : '%d egun', 9221 M : 'hilabete bat', 9222 MM : '%d hilabete', 9223 y : 'urte bat', 9224 yy : '%d urte' 9225 }, 9226 dayOfMonthOrdinalParse: /\d{1,2}\./, 9227 ordinal : '%d.', 9228 week : { 9229 dow : 1, // Monday is the first day of the week. 9230 doy : 7 // The week that contains Jan 1st is the first week of the year. 9231 } 9232}); 9233 9234return eu; 9235 9236}))); 9237 9238 9239/***/ }), 9240/* 87 */ 9241/***/ (function(module, exports, __webpack_require__) { 9242 9243//! moment.js locale configuration 9244//! locale : Persian [fa] 9245//! author : Ebrahim Byagowi : https://github.com/ebraminio 9246 9247;(function (global, factory) { 9248 true ? factory(__webpack_require__(0)) : 9249 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9250 factory(global.moment) 9251}(this, (function (moment) { 'use strict'; 9252 9253 9254var symbolMap = { 9255 '1': 'Û±', 9256 '2': 'Û²', 9257 '3': 'Û³', 9258 '4': 'Û´', 9259 '5': 'Ûµ', 9260 '6': 'Û¶', 9261 '7': 'Û·', 9262 '8': 'Û¸', 9263 '9': 'Û¹', 9264 '0': 'Û°' 9265}; 9266var numberMap = { 9267 'Û±': '1', 9268 'Û²': '2', 9269 'Û³': '3', 9270 'Û´': '4', 9271 'Ûµ': '5', 9272 'Û¶': '6', 9273 'Û·': '7', 9274 'Û¸': '8', 9275 'Û¹': '9', 9276 'Û°': '0' 9277}; 9278 9279var fa = moment.defineLocale('fa', { 9280 months : 'ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر'.split('_'), 9281 monthsShort : 'ÚØ§ÙÙÛÙ_ÙÙØ±ÛÙ_٠ارس_Ø¢ÙØ±ÛÙ_Ù Ù_ÚÙØ¦Ù_ÚÙØ¦ÛÙ_Ø§ÙØª_سپتا٠بر_اکتبر_ÙÙØ§Ù بر_دسا٠بر'.split('_'), 9282 weekdays : 'ÛÚ©\u200cØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙ\u200cØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬\u200cØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù'.split('_'), 9283 weekdaysShort : 'ÛÚ©\u200cØ´ÙØ¨Ù_Ø¯ÙØ´ÙبÙ_سÙ\u200cØ´ÙØ¨Ù_ÚÙØ§Ø±Ø´ÙبÙ_Ù¾ÙØ¬\u200cØ´ÙØ¨Ù_ج٠عÙ_Ø´ÙØ¨Ù'.split('_'), 9284 weekdaysMin : 'Û_د_س_Ú_Ù¾_ج_Ø´'.split('_'), 9285 weekdaysParseExact : true, 9286 longDateFormat : { 9287 LT : 'HH:mm', 9288 LTS : 'HH:mm:ss', 9289 L : 'DD/MM/YYYY', 9290 LL : 'D MMMM YYYY', 9291 LLL : 'D MMMM YYYY HH:mm', 9292 LLLL : 'dddd, D MMMM YYYY HH:mm' 9293 }, 9294 meridiemParse: /ÙØ¨Ù از Ø¸ÙØ±|بعد از Ø¸ÙØ±/, 9295 isPM: function (input) { 9296 return /بعد از Ø¸ÙØ±/.test(input); 9297 }, 9298 meridiem : function (hour, minute, isLower) { 9299 if (hour < 12) { 9300 return 'ÙØ¨Ù از Ø¸ÙØ±'; 9301 } else { 9302 return 'بعد از Ø¸ÙØ±'; 9303 } 9304 }, 9305 calendar : { 9306 sameDay : '[Ø§Ù Ø±ÙØ² ساعت] LT', 9307 nextDay : '[ÙØ±Ø¯Ø§ ساعت] LT', 9308 nextWeek : 'dddd [ساعت] LT', 9309 lastDay : '[Ø¯ÛØ±Ùز ساعت] LT', 9310 lastWeek : 'dddd [Ù¾ÛØ´] [ساعت] LT', 9311 sameElse : 'L' 9312 }, 9313 relativeTime : { 9314 future : 'در %s', 9315 past : '%s Ù¾ÛØ´', 9316 s : 'ÚÙØ¯ ثاÙÛÙ', 9317 m : 'ÛÚ© دÙÛÙÙ', 9318 mm : '%d دÙÛÙÙ', 9319 h : 'ÛÚ© ساعت', 9320 hh : '%d ساعت', 9321 d : 'ÛÚ© Ø±ÙØ²', 9322 dd : '%d Ø±ÙØ²', 9323 M : 'ÛÚ© ٠اÙ', 9324 MM : '%d ٠اÙ', 9325 y : 'ÛÚ© ساÙ', 9326 yy : '%d ساÙ' 9327 }, 9328 preparse: function (string) { 9329 return string.replace(/[Û°-Û¹]/g, function (match) { 9330 return numberMap[match]; 9331 }).replace(/Ø/g, ','); 9332 }, 9333 postformat: function (string) { 9334 return string.replace(/\d/g, function (match) { 9335 return symbolMap[match]; 9336 }).replace(/,/g, 'Ø'); 9337 }, 9338 dayOfMonthOrdinalParse: /\d{1,2}Ù /, 9339 ordinal : '%dÙ ', 9340 week : { 9341 dow : 6, // Saturday is the first day of the week. 9342 doy : 12 // The week that contains Jan 1st is the first week of the year. 9343 } 9344}); 9345 9346return fa; 9347 9348}))); 9349 9350 9351/***/ }), 9352/* 88 */ 9353/***/ (function(module, exports, __webpack_require__) { 9354 9355//! moment.js locale configuration 9356//! locale : Finnish [fi] 9357//! author : Tarmo Aidantausta : https://github.com/bleadof 9358 9359;(function (global, factory) { 9360 true ? factory(__webpack_require__(0)) : 9361 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9362 factory(global.moment) 9363}(this, (function (moment) { 'use strict'; 9364 9365 9366var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '); 9367var numbersFuture = [ 9368 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', 9369 numbersPast[7], numbersPast[8], numbersPast[9] 9370 ]; 9371function translate(number, withoutSuffix, key, isFuture) { 9372 var result = ''; 9373 switch (key) { 9374 case 's': 9375 return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; 9376 case 'm': 9377 return isFuture ? 'minuutin' : 'minuutti'; 9378 case 'mm': 9379 result = isFuture ? 'minuutin' : 'minuuttia'; 9380 break; 9381 case 'h': 9382 return isFuture ? 'tunnin' : 'tunti'; 9383 case 'hh': 9384 result = isFuture ? 'tunnin' : 'tuntia'; 9385 break; 9386 case 'd': 9387 return isFuture ? 'päivän' : 'päivä'; 9388 case 'dd': 9389 result = isFuture ? 'päivän' : 'päivää'; 9390 break; 9391 case 'M': 9392 return isFuture ? 'kuukauden' : 'kuukausi'; 9393 case 'MM': 9394 result = isFuture ? 'kuukauden' : 'kuukautta'; 9395 break; 9396 case 'y': 9397 return isFuture ? 'vuoden' : 'vuosi'; 9398 case 'yy': 9399 result = isFuture ? 'vuoden' : 'vuotta'; 9400 break; 9401 } 9402 result = verbalNumber(number, isFuture) + ' ' + result; 9403 return result; 9404} 9405function verbalNumber(number, isFuture) { 9406 return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; 9407} 9408 9409var fi = moment.defineLocale('fi', { 9410 months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), 9411 monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), 9412 weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), 9413 weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'), 9414 weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'), 9415 longDateFormat : { 9416 LT : 'HH.mm', 9417 LTS : 'HH.mm.ss', 9418 L : 'DD.MM.YYYY', 9419 LL : 'Do MMMM[ta] YYYY', 9420 LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm', 9421 LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', 9422 l : 'D.M.YYYY', 9423 ll : 'Do MMM YYYY', 9424 lll : 'Do MMM YYYY, [klo] HH.mm', 9425 llll : 'ddd, Do MMM YYYY, [klo] HH.mm' 9426 }, 9427 calendar : { 9428 sameDay : '[tänään] [klo] LT', 9429 nextDay : '[huomenna] [klo] LT', 9430 nextWeek : 'dddd [klo] LT', 9431 lastDay : '[eilen] [klo] LT', 9432 lastWeek : '[viime] dddd[na] [klo] LT', 9433 sameElse : 'L' 9434 }, 9435 relativeTime : { 9436 future : '%s päästä', 9437 past : '%s sitten', 9438 s : translate, 9439 m : translate, 9440 mm : translate, 9441 h : translate, 9442 hh : translate, 9443 d : translate, 9444 dd : translate, 9445 M : translate, 9446 MM : translate, 9447 y : translate, 9448 yy : translate 9449 }, 9450 dayOfMonthOrdinalParse: /\d{1,2}\./, 9451 ordinal : '%d.', 9452 week : { 9453 dow : 1, // Monday is the first day of the week. 9454 doy : 4 // The week that contains Jan 4th is the first week of the year. 9455 } 9456}); 9457 9458return fi; 9459 9460}
9460))); 9461 9462 9463/***/ }), 9464/* 89 */ 9465/***/ (function(module, exports, __webpack_require__) { 9466 9467//! moment.js locale configuration 9468//! locale : Faroese [fo] 9469//! author : Ragnar Johannesen : https://github.com/ragnar123 9470 9471;(function (global, factory) { 9472 true ? factory(__webpack_require__(0)) : 9473 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9474 factory(global.moment) 9475}(this, (function (moment) { 'use strict'; 9476 9477 9478var fo = moment.defineLocale('fo', { 9479 months : 'januar_februar_mars_aprÃl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), 9480 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 9481 weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_frÃggjadagur_leygardagur'.split('_'), 9482 weekdaysShort : 'sun_mán_týs_mik_hós_frÃ_ley'.split('_'), 9483 weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'), 9484 longDateFormat : { 9485 LT : 'HH:mm', 9486 LTS : 'HH:mm:ss', 9487 L : 'DD/MM/YYYY', 9488 LL : 'D MMMM YYYY', 9489 LLL : 'D MMMM YYYY HH:mm', 9490 LLLL : 'dddd D. MMMM, YYYY HH:mm' 9491 }, 9492 calendar : { 9493 sameDay : '[à dag kl.] LT', 9494 nextDay : '[à morgin kl.] LT', 9495 nextWeek : 'dddd [kl.] LT', 9496 lastDay : '[à gjár kl.] LT', 9497 lastWeek : '[sÃðstu] dddd [kl] LT', 9498 sameElse : 'L' 9499 }, 9500 relativeTime : { 9501 future : 'um %s', 9502 past : '%s sÃðani', 9503 s : 'fá sekund', 9504 m : 'ein minutt', 9505 mm : '%d minuttir', 9506 h : 'ein tÃmi', 9507 hh : '%d tÃmar', 9508 d : 'ein dagur', 9509 dd : '%d dagar', 9510 M : 'ein mánaði', 9511 MM : '%d mánaðir', 9512 y : 'eitt ár', 9513 yy : '%d ár' 9514 }, 9515 dayOfMonthOrdinalParse: /\d{1,2}\./, 9516 ordinal : '%d.', 9517 week : { 9518 dow : 1, // Monday is the first day of the week. 9519 doy : 4 // The week that contains Jan 4th is the first week of the year. 9520 } 9521}); 9522 9523return fo; 9524 9525}))); 9526 9527 9528/***/ }), 9529/* 90 */ 9530/***/ (function(module, exports, __webpack_require__) { 9531 9532//! moment.js locale configuration 9533//! locale : French [fr] 9534//! author : John Fischer : https://github.com/jfroffice 9535 9536;(function (global, factory) { 9537 true ? factory(__webpack_require__(0)) : 9538 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9539 factory(global.moment) 9540}(this, (function (moment) { 'use strict'; 9541 9542 9543var fr = moment.defineLocale('fr', { 9544 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 9545 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 9546 monthsParseExact : true, 9547 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 9548 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 9549 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 9550 weekdaysParseExact : true, 9551 longDateFormat : { 9552 LT : 'HH:mm', 9553 LTS : 'HH:mm:ss', 9554 L : 'DD/MM/YYYY', 9555 LL : 'D MMMM YYYY', 9556 LLL : 'D MMMM YYYY HH:mm', 9557 LLLL : 'dddd D MMMM YYYY HH:mm' 9558 }, 9559 calendar : { 9560 sameDay : '[Aujourdâhui à ] LT', 9561 nextDay : '[Demain à ] LT', 9562 nextWeek : 'dddd [à ] LT', 9563 lastDay : '[Hier à ] LT', 9564 lastWeek : 'dddd [dernier à ] LT', 9565 sameElse : 'L' 9566 }, 9567 relativeTime : { 9568 future : 'dans %s', 9569 past : 'il y a %s', 9570 s : 'quelques secondes', 9571 m : 'une minute', 9572 mm : '%d minutes', 9573 h : 'une heure', 9574 hh : '%d heures', 9575 d : 'un jour', 9576 dd : '%d jours', 9577 M : 'un mois', 9578 MM : '%d mois', 9579 y : 'un an', 9580 yy : '%d ans' 9581 }, 9582 dayOfMonthOrdinalParse: /\d{1,2}(er|)/, 9583 ordinal : function (number, period) { 9584 switch (period) { 9585 // TODO: Return 'e' when day of month > 1. Move this case inside 9586 // block for masculine words below. 9587 // See https://github.com/moment/moment/issues/3375 9588 case 'D': 9589 return number + (number === 1 ? 'er' : ''); 9590 9591 // Words with masculine grammatical gender: mois, trimestre, jour 9592 default: 9593 case 'M': 9594 case 'Q': 9595 case 'DDD': 9596 case 'd': 9597 return number + (number === 1 ? 'er' : 'e'); 9598 9599 // Words with feminine grammatical gender: semaine 9600 case 'w': 9601 case 'W': 9602 return number + (number === 1 ? 're' : 'e'); 9603 } 9604 }, 9605 week : { 9606 dow : 1, // Monday is the first day of the week. 9607 doy : 4 // The week that contains Jan 4th is the first week of the year. 9608 } 9609}); 9610 9611return fr;
vendor: 93,419 bytes, lines 9612-12497
9612 9613}))); 9614 9615 9616/***/ }), 9617/* 91 */ 9618/***/ (function(module, exports, __webpack_require__) { 9619 9620//! moment.js locale configuration 9621//! locale : French (Canada) [fr-ca] 9622//! author : Jonathan Abourbih : https://github.com/jonbca 9623 9624;(function (global, factory) { 9625 true ? factory(__webpack_require__(0)) : 9626 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9627 factory(global.moment) 9628}(this, (function (moment) { 'use strict'; 9629 9630 9631var frCa = moment.defineLocale('fr-ca', { 9632 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 9633 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 9634 monthsParseExact : true, 9635 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 9636 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 9637 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 9638 weekdaysParseExact : true, 9639 longDateFormat : { 9640 LT : 'HH:mm', 9641 LTS : 'HH:mm:ss', 9642 L : 'YYYY-MM-DD', 9643 LL : 'D MMMM YYYY', 9644 LLL : 'D MMMM YYYY HH:mm', 9645 LLLL : 'dddd D MMMM YYYY HH:mm' 9646 }, 9647 calendar : { 9648 sameDay : '[Aujourdâhui à ] LT', 9649 nextDay : '[Demain à ] LT', 9650 nextWeek : 'dddd [à ] LT', 9651 lastDay : '[Hier à ] LT', 9652 lastWeek : 'dddd [dernier à ] LT', 9653 sameElse : 'L' 9654 }, 9655 relativeTime : { 9656 future : 'dans %s', 9657 past : 'il y a %s', 9658 s : 'quelques secondes', 9659 m : 'une minute', 9660 mm : '%d minutes', 9661 h : 'une heure', 9662 hh : '%d heures', 9663 d : 'un jour', 9664 dd : '%d jours', 9665 M : 'un mois', 9666 MM : '%d mois', 9667 y : 'un an', 9668 yy : '%d ans' 9669 }, 9670 dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, 9671 ordinal : function (number, period) { 9672 switch (period) { 9673 // Words with masculine grammatical gender: mois, trimestre, jour 9674 default: 9675 case 'M': 9676 case 'Q': 9677 case 'D': 9678 case 'DDD': 9679 case 'd': 9680 return number + (number === 1 ? 'er' : 'e'); 9681 9682 // Words with feminine grammatical gender: semaine 9683 case 'w': 9684 case 'W': 9685 return number + (number === 1 ? 're' : 'e'); 9686 } 9687 } 9688}); 9689 9690return frCa; 9691 9692}))); 9693 9694 9695/***/ }), 9696/* 92 */ 9697/***/ (function(module, exports, __webpack_require__) { 9698 9699//! moment.js locale configuration 9700//! locale : French (Switzerland) [fr-ch] 9701//! author : Gaspard Bucher : https://github.com/gaspard 9702 9703;(function (global, factory) { 9704 true ? factory(__webpack_require__(0)) : 9705 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9706 factory(global.moment) 9707}(this, (function (moment) { 'use strict'; 9708 9709 9710var frCh = moment.defineLocale('fr-ch', { 9711 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 9712 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 9713 monthsParseExact : true, 9714 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 9715 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 9716 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 9717 weekdaysParseExact : true, 9718 longDateFormat : { 9719 LT : 'HH:mm', 9720 LTS : 'HH:mm:ss', 9721 L : 'DD.MM.YYYY', 9722 LL : 'D MMMM YYYY', 9723 LLL : 'D MMMM YYYY HH:mm', 9724 LLLL : 'dddd D MMMM YYYY HH:mm' 9725 }, 9726 calendar : { 9727 sameDay : '[Aujourdâhui à ] LT', 9728 nextDay : '[Demain à ] LT', 9729 nextWeek : 'dddd [à ] LT', 9730 lastDay : '[Hier à ] LT', 9731 lastWeek : 'dddd [dernier à ] LT', 9732 sameElse : 'L' 9733 }, 9734 relativeTime : { 9735 future : 'dans %s', 9736 past : 'il y a %s', 9737 s : 'quelques secondes', 9738 m : 'une minute', 9739 mm : '%d minutes', 9740 h : 'une heure', 9741 hh : '%d heures', 9742 d : 'un jour', 9743 dd : '%d jours', 9744 M : 'un mois', 9745 MM : '%d mois', 9746 y : 'un an', 9747 yy : '%d ans' 9748 }, 9749 dayOfMonthOrdinalParse: /\d{1,2}(er|e)/, 9750 ordinal : function (number, period) { 9751 switch (period) { 9752 // Words with masculine grammatical gender: mois, trimestre, jour 9753 default: 9754 case 'M': 9755 case 'Q': 9756 case 'D': 9757 case 'DDD': 9758 case 'd': 9759 return number + (number === 1 ? 'er' : 'e'); 9760 9761 // Words with feminine grammatical gender: semaine 9762 case 'w': 9763 case 'W': 9764 return number + (number === 1 ? 're' : 'e'); 9765 } 9766 }, 9767 week : { 9768 dow : 1, // Monday is the first day of the week. 9769 doy : 4 // The week that contains Jan 4th is the first week of the year. 9770 } 9771}); 9772 9773return frCh; 9774 9775}))); 9776 9777 9778/***/ }), 9779/* 93 */ 9780/***/ (function(module, exports, __webpack_require__) { 9781 9782//! moment.js locale configuration 9783//! locale : Frisian [fy] 9784//! author : Robin van der Vliet : https://github.com/robin0van0der0v 9785 9786;(function (global, factory) { 9787 true ? factory(__webpack_require__(0)) : 9788 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9789 factory(global.moment) 9790}(this, (function (moment) { 'use strict'; 9791 9792 9793var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'); 9794var monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); 9795 9796var fy = moment.defineLocale('fy', { 9797 months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), 9798 monthsShort : function (m, format) { 9799 if (!m) { 9800 return monthsShortWithDots; 9801 } else if (/-MMM-/.test(format)) { 9802 return monthsShortWithoutDots[m.month()]; 9803 } else { 9804 return monthsShortWithDots[m.month()]; 9805 } 9806 }, 9807 monthsParseExact : true, 9808 weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), 9809 weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), 9810 weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), 9811 weekdaysParseExact : true, 9812 longDateFormat : { 9813 LT : 'HH:mm', 9814 LTS : 'HH:mm:ss', 9815 L : 'DD-MM-YYYY', 9816 LL : 'D MMMM YYYY', 9817 LLL : 'D MMMM YYYY HH:mm', 9818 LLLL : 'dddd D MMMM YYYY HH:mm' 9819 }, 9820 calendar : { 9821 sameDay: '[hjoed om] LT', 9822 nextDay: '[moarn om] LT', 9823 nextWeek: 'dddd [om] LT', 9824 lastDay: '[juster om] LT', 9825 lastWeek: '[ôfrûne] dddd [om] LT', 9826 sameElse: 'L' 9827 }, 9828 relativeTime : { 9829 future : 'oer %s', 9830 past : '%s lyn', 9831 s : 'in pear sekonden', 9832 m : 'ien minút', 9833 mm : '%d minuten', 9834 h : 'ien oere', 9835 hh : '%d oeren', 9836 d : 'ien dei', 9837 dd : '%d dagen', 9838 M : 'ien moanne', 9839 MM : '%d moannen', 9840 y : 'ien jier', 9841 yy : '%d jierren' 9842 }, 9843 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 9844 ordinal : function (number) { 9845 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); 9846 }, 9847 week : { 9848 dow : 1, // Monday is the first day of the week. 9849 doy : 4 // The week that contains Jan 4th is the first week of the year. 9850 } 9851}); 9852 9853return fy; 9854 9855}))); 9856 9857 9858/***/ }), 9859/* 94 */ 9860/***/ (function(module, exports, __webpack_require__) { 9861 9862//! moment.js locale configuration 9863//! locale : Scottish Gaelic [gd] 9864//! author : Jon Ashdown : https://github.com/jonashdown 9865 9866;(function (global, factory) { 9867 true ? factory(__webpack_require__(0)) : 9868 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9869 factory(global.moment) 9870}(this, (function (moment) { 'use strict'; 9871 9872 9873var months = [ 9874 'Am Faoilleach', 'An Gearran', 'Am Mà rt', 'An Giblean', 'An Cèitean', 'An t-Ãgmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dà mhair', 'An t-Samhain', 'An Dùbhlachd' 9875]; 9876 9877var monthsShort = ['Faoi', 'Gear', 'Mà rt', 'Gibl', 'Cèit', 'Ãgmh', 'Iuch', 'Lùn', 'Sult', 'Dà mh', 'Samh', 'Dùbh']; 9878 9879var weekdays = ['Didòmhnaich', 'Diluain', 'Dimà irt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; 9880 9881var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis']; 9882 9883var weekdaysMin = ['Dò', 'Lu', 'Mà ', 'Ci', 'Ar', 'Ha', 'Sa']; 9884 9885var gd = moment.defineLocale('gd', { 9886 months : months, 9887 monthsShort : monthsShort, 9888 monthsParseExact : true, 9889 weekdays : weekdays, 9890 weekdaysShort : weekdaysShort, 9891 weekdaysMin : weekdaysMin, 9892 longDateFormat : { 9893 LT : 'HH:mm', 9894 LTS : 'HH:mm:ss', 9895 L : 'DD/MM/YYYY', 9896 LL : 'D MMMM YYYY', 9897 LLL : 'D MMMM YYYY HH:mm', 9898 LLLL : 'dddd, D MMMM YYYY HH:mm' 9899 }, 9900 calendar : { 9901 sameDay : '[An-diugh aig] LT', 9902 nextDay : '[A-mà ireach aig] LT', 9903 nextWeek : 'dddd [aig] LT', 9904 lastDay : '[An-dè aig] LT', 9905 lastWeek : 'dddd [seo chaidh] [aig] LT', 9906 sameElse : 'L' 9907 }, 9908 relativeTime : { 9909 future : 'ann an %s', 9910 past : 'bho chionn %s', 9911 s : 'beagan diogan', 9912 m : 'mionaid', 9913 mm : '%d mionaidean', 9914 h : 'uair', 9915 hh : '%d uairean', 9916 d : 'latha', 9917 dd : '%d latha', 9918 M : 'mìos', 9919 MM : '%d mìosan', 9920 y : 'bliadhna', 9921 yy : '%d bliadhna' 9922 }, 9923 dayOfMonthOrdinalParse : /\d{1,2}(d|na|mh)/, 9924 ordinal : function (number) { 9925 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; 9926 return number + output; 9927 }, 9928 week : { 9929 dow : 1, // Monday is the first day of the week. 9930 doy : 4 // The week that contains Jan 4th is the first week of the year. 9931 } 9932}); 9933 9934return gd; 9935 9936}))); 9937 9938 9939/***/ }), 9940/* 95 */ 9941/***/ (function(module, exports, __webpack_require__) { 9942 9943//! moment.js locale configuration 9944//! locale : Galician [gl] 9945//! author : Juan G. Hurtado : https://github.com/juanghurtado 9946 9947;(function (global, factory) { 9948 true ? factory(__webpack_require__(0)) : 9949 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9950 factory(global.moment) 9951}(this, (function (moment) { 'use strict'; 9952 9953 9954var gl = moment.defineLocale('gl', { 9955 months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), 9956 monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), 9957 monthsParseExact: true, 9958 weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), 9959 weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), 9960 weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'), 9961 weekdaysParseExact : true, 9962 longDateFormat : { 9963 LT : 'H:mm', 9964 LTS : 'H:mm:ss', 9965 L : 'DD/MM/YYYY', 9966 LL : 'D [de] MMMM [de] YYYY', 9967 LLL : 'D [de] MMMM [de] YYYY H:mm', 9968 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' 9969 }, 9970 calendar : { 9971 sameDay : function () { 9972 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; 9973 }, 9974 nextDay : function () { 9975 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; 9976 }, 9977 nextWeek : function () { 9978 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; 9979 }, 9980 lastDay : function () { 9981 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT'; 9982 }, 9983 lastWeek : function () { 9984 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; 9985 }, 9986 sameElse : 'L' 9987 }, 9988 relativeTime : { 9989 future : function (str) { 9990 if (str.indexOf('un') === 0) { 9991 return 'n' + str; 9992 } 9993 return 'en ' + str; 9994 }, 9995 past : 'hai %s', 9996 s : 'uns segundos', 9997 m : 'un minuto', 9998 mm : '%d minutos', 9999 h : 'unha hora', 10000 hh : '%d horas', 10001 d : 'un dÃa', 10002 dd : '%d dÃas', 10003 M : 'un mes', 10004 MM : '%d meses', 10005 y : 'un ano', 10006 yy : '%d anos' 10007 }, 10008 dayOfMonthOrdinalParse : /\d{1,2}º/, 10009 ordinal : '%dº', 10010 week : { 10011 dow : 1, // Monday is the first day of the week. 10012 doy : 4 // The week that contains Jan 4th is the first week of the year. 10013 } 10014}); 10015 10016return gl; 10017 10018}))); 10019 10020 10021/***/ }), 10022/* 96 */ 10023/***/ (function(module, exports, __webpack_require__) { 10024 10025//! moment.js locale configuration 10026//! locale : Konkani Latin script [gom-latn] 10027//! author : The Discoverer : https://github.com/WikiDiscoverer 10028 10029;(function (global, factory) { 10030 true ? factory(__webpack_require__(0)) : 10031 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10032 factory(global.moment) 10033}(this, (function (moment) { 'use strict'; 10034 10035 10036function processRelativeTime(number, withoutSuffix, key, isFuture) { 10037 var format = { 10038 's': ['thodde secondanim', 'thodde second'], 10039 'm': ['eka mintan', 'ek minute'], 10040 'mm': [number + ' mintanim', number + ' mintam'], 10041 'h': ['eka horan', 'ek hor'], 10042 'hh': [number + ' horanim', number + ' hor'], 10043 'd': ['eka disan', 'ek dis'], 10044 'dd': [number + ' disanim', number + ' dis'], 10045 'M': ['eka mhoinean', 'ek mhoino'], 10046 'MM': [number + ' mhoineanim', number + ' mhoine'], 10047 'y': ['eka vorsan', 'ek voros'], 10048 'yy': [number + ' vorsanim', number + ' vorsam'] 10049 }; 10050 return withoutSuffix ? format[key][0] : format[key][1]; 10051} 10052 10053var gomLatn = moment.defineLocale('gom-latn', { 10054 months : 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), 10055 monthsShort : 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), 10056 monthsParseExact : true, 10057 weekdays : 'Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son\'var'.split('_'), 10058 weekdaysShort : 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), 10059 weekdaysMin : 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), 10060 weekdaysParseExact : true, 10061 longDateFormat : { 10062 LT : 'A h:mm [vazta]', 10063 LTS : 'A h:mm:ss [vazta]', 10064 L : 'DD-MM-YYYY', 10065 LL : 'D MMMM YYYY', 10066 LLL : 'D MMMM YYYY A h:mm [vazta]', 10067 LLLL : 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', 10068 llll: 'ddd, D MMM YYYY, A h:mm [vazta]' 10069 }, 10070 calendar : { 10071 sameDay: '[Aiz] LT', 10072 nextDay: '[Faleam] LT', 10073 nextWeek: '[Ieta to] dddd[,] LT', 10074 lastDay: '[Kal] LT', 10075 lastWeek: '[Fatlo] dddd[,] LT', 10076 sameElse: 'L' 10077 }, 10078 relativeTime : { 10079 future : '%s', 10080 past : '%s adim', 10081 s : processRelativeTime, 10082 m : processRelativeTime, 10083 mm : processRelativeTime, 10084 h : processRelativeTime, 10085 hh : processRelativeTime, 10086 d : processRelativeTime, 10087 dd : processRelativeTime, 10088 M : processRelativeTime, 10089 MM : processRelativeTime, 10090 y : processRelativeTime, 10091 yy : processRelativeTime 10092 }, 10093 dayOfMonthOrdinalParse : /\d{1,2}(er)/, 10094 ordinal : function (number, period) { 10095 switch (period) { 10096 // the ordinal 'er' only applies to day of the month 10097 case 'D': 10098 return number + 'er'; 10099 default: 10100 case 'M': 10101 case 'Q': 10102 case 'DDD': 10103 case 'd': 10104 case 'w': 10105 case 'W': 10106 return number; 10107 } 10108 }, 10109 week : { 10110 dow : 1, // Monday is the first day of the week. 10111 doy : 4 // The week that contains Jan 4th is the first week of the year. 10112 }, 10113 meridiemParse: /rati|sokalli|donparam|sanje/, 10114 meridiemHour : function (hour, meridiem) { 10115 if (hour === 12) { 10116 hour = 0; 10117 } 10118 if (meridiem === 'rati') { 10119 return hour < 4 ? hour : hour + 12; 10120 } else if (meridiem === 'sokalli') { 10121 return hour; 10122 } else if (meridiem === 'donparam') { 10123 return hour > 12 ? hour : hour + 12; 10124 } else if (meridiem === 'sanje') { 10125 return hour + 12; 10126 } 10127 }, 10128 meridiem : function (hour, minute, isLower) { 10129 if (hour < 4) { 10130 return 'rati'; 10131 } else if (hour < 12) { 10132 return 'sokalli'; 10133 } else if (hour < 16) { 10134 return 'donparam'; 10135 } else if (hour < 20) { 10136 return 'sanje'; 10137 } else { 10138 return 'rati'; 10139 } 10140 } 10141}); 10142 10143return gomLatn; 10144 10145}))); 10146 10147 10148/***/ }), 10149/* 97 */ 10150/***/ (function(module, exports, __webpack_require__) { 10151 10152//! moment.js locale configuration 10153//! locale : Hebrew [he] 10154//! author : Tomer Cohen : https://github.com/tomer 10155//! author : Moshe Simantov : https://github.com/DevelopmentIL 10156//! author : Tal Ater : https://github.com/TalAter 10157 10158;(function (global, factory) { 10159 true ? factory(__webpack_require__(0)) : 10160 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10161 factory(global.moment) 10162}(this, (function (moment) { 'use strict'; 10163 10164 10165var he = moment.defineLocale('he', { 10166 months : '×× ××ר_פ×ר××ר_×רץ_×פר××_×××_××× ×_××××_××××ס×_ספ×××ר_×××§×××ר_× ××××ר_×צ××ר'.split('_'), 10167 monthsShort : '×× ×׳_פ×ר׳_×רץ_×פר׳_×××_××× ×_××××_×××׳_ספ×׳_××ק׳_× ××׳_×צ×׳'.split('_'), 10168 weekdays : 'ר×ש××_×©× ×_ש××ש×_ר×××¢×_×××ש×_ש×ש×_ש×ת'.split('_'), 10169 weekdaysShort : '×׳_×׳_×׳_×׳_×׳_×׳_ש׳'.split('_'), 10170 weekdaysMin : '×_×_×_×_×_×_ש'.split('_'), 10171 longDateFormat : { 10172 LT : 'HH:mm', 10173 LTS : 'HH:mm:ss', 10174 L : 'DD/MM/YYYY', 10175 LL : 'D [×]MMMM YYYY', 10176 LLL : 'D [×]MMMM YYYY HH:mm', 10177 LLLL : 'dddd, D [×]MMMM YYYY HH:mm', 10178 l : 'D/M/YYYY', 10179 ll : 'D MMM YYYY', 10180 lll : 'D MMM YYYY HH:mm', 10181 llll : 'ddd, D MMM YYYY HH:mm' 10182 }, 10183 calendar : { 10184 sameDay : '[×××× ×Ö¾]LT', 10185 nextDay : '[××ר ×Ö¾]LT', 10186 nextWeek : 'dddd [×שע×] LT', 10187 lastDay : '[×ת××× ×Ö¾]LT', 10188 lastWeek : '[××××] dddd [×××ר×× ×שע×] LT', 10189 sameElse : 'L' 10190 }, 10191 relativeTime : { 10192 future : '××¢×× %s', 10193 past : '××¤× × %s', 10194 s : '×ספר ×©× ××ת', 10195 m : '××§×', 10196 mm : '%d ××§×ת', 10197 h : 'שע×', 10198 hh : function (number) { 10199 if (number === 2) { 10200 return 'שעת×××'; 10201 } 10202 return number + ' שע×ת'; 10203 }, 10204 d : '×××', 10205 dd : function (number) { 10206 if (number === 2) { 10207 return '××××××'; 10208 } 10209 return number + ' ××××'; 10210 }, 10211 M : '×××ש', 10212 MM : function (number) { 10213 if (number === 2) { 10214 return '×××ש×××'; 10215 } 10216 return number + ' ×××ש××'; 10217 }, 10218 y : '×©× ×', 10219 yy : function (number) { 10220 if (number === 2) { 10221 return '×©× ×ª×××'; 10222 } else if (number % 10 === 0 && number !== 10) { 10223 return number + ' ×©× ×'; 10224 } 10225 return number + ' ×©× ××'; 10226 } 10227 }, 10228 meridiemParse: /×××"צ|××¤× ×"צ|×××¨× ×צ×ר×××|××¤× × ×צ×ר×××|××¤× ×ת ××קר|×××קר|×ער×/i, 10229 isPM : function (input) { 10230 return /^(×××"צ|×××¨× ×צ×ר×××|×ער×)$/.test(input); 10231 }, 10232 meridiem : function (hour, minute, isLower) { 10233 if (hour < 5) { 10234 return '××¤× ×ת ××קר'; 10235 } else if (hour < 10) { 10236 return '×××קר'; 10237 } else if (hour < 12) { 10238 return isLower ? '××¤× ×"צ' : '××¤× × ×צ×ר×××'; 10239 } else if (hour < 18) { 10240 return isLower ? '×××"צ' : '×××¨× ×צ×ר×××'; 10241 } else { 10242 return '×ער×'; 10243 } 10244 } 10245}); 10246 10247return he; 10248 10249}))); 10250 10251 10252/***/ }), 10253/* 98 */ 10254/***/ (function(module, exports, __webpack_require__) { 10255 10256//! moment.js locale configuration 10257//! locale : Hindi [hi] 10258//! author : Mayank Singhal : https://github.com/mayanksinghal 10259 10260;(function (global, factory) { 10261 true ? factory(__webpack_require__(0)) : 10262 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10263 factory(global.moment) 10264}(this, (function (moment) { 'use strict'; 10265 10266 10267var symbolMap = { 10268 '1': '१', 10269 '2': '२', 10270 '3': '३', 10271 '4': '४', 10272 '5': '५', 10273 '6': '६', 10274 '7': 'à¥', 10275 '8': '८', 10276 '9': '९', 10277 '0': '०' 10278}; 10279var numberMap = { 10280 '१': '1', 10281 '२': '2', 10282 '३': '3', 10283 '४': '4', 10284 '५': '5', 10285 '६': '6', 10286 'à¥': '7', 10287 '८': '8', 10288 '९': '9', 10289 '०': '0' 10290}; 10291 10292var hi = moment.defineLocale('hi', { 10293 months : 'à¤à¤¨à¤µà¤°à¥_फ़रवरà¥_मारà¥à¤_ठपà¥à¤°à¥à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤¸à¥à¤¤_सितमà¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नवमà¥à¤¬à¤°_दिसमà¥à¤¬à¤°'.split('_'), 10294 monthsShort : 'à¤à¤¨._फ़र._मारà¥à¤_ठपà¥à¤°à¥._मà¤_à¤à¥à¤¨_à¤à¥à¤²._ठà¤._सित._ठà¤à¥à¤à¥._नव._दिस.'.split('_'), 10295 monthsParseExact: true, 10296 weekdays : 'रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤²à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'), 10297 weekdaysShort : 'रवि_सà¥à¤®_मà¤à¤à¤²_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि'.split('_'), 10298 weekdaysMin : 'र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श'.split('_'), 10299 longDateFormat : { 10300 LT : 'A h:mm बà¤à¥', 10301 LTS : 'A h:mm:ss बà¤à¥', 10302 L : 'DD/MM/YYYY', 10303 LL : 'D MMMM YYYY', 10304 LLL : 'D MMMM YYYY, A h:mm बà¤à¥', 10305 LLLL : 'dddd, D MMMM YYYY, A h:mm बà¤à¥' 10306 }, 10307 calendar : { 10308 sameDay : '[à¤à¤] LT', 10309 nextDay : '[à¤à¤²] LT', 10310 nextWeek : 'dddd, LT', 10311 lastDay : '[à¤à¤²] LT', 10312 lastWeek : '[पिà¤à¤²à¥] dddd, LT', 10313 sameElse : 'L' 10314 }, 10315 relativeTime : { 10316 future : '%s मà¥à¤', 10317 past : '%s पहलà¥', 10318 s : 'à¤à¥à¤ हॠà¤à¥à¤·à¤£', 10319 m : 'à¤à¤ मिनà¤', 10320 mm : '%d मिनà¤', 10321 h : 'à¤à¤ à¤à¤à¤à¤¾', 10322 hh : '%d à¤à¤à¤à¥', 10323 d : 'à¤à¤ दिन', 10324 dd : '%d दिन', 10325 M : 'à¤à¤ महà¥à¤¨à¥', 10326 MM : '%d महà¥à¤¨à¥', 10327 y : 'à¤à¤ वरà¥à¤·', 10328 yy : '%d वरà¥à¤·' 10329 }, 10330 preparse: function (string) { 10331 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 10332 return numberMap[match]; 10333 }); 10334 }, 10335 postformat: function (string) { 10336 return string.replace(/\d/g, function (match) { 10337 return symbolMap[match]; 10338 }); 10339 }, 10340 // Hindi notation for meridiems are quite fuzzy in practice. While there exists 10341 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. 10342 meridiemParse: /रात|सà¥à¤¬à¤¹|दà¥à¤ªà¤¹à¤°|शाम/, 10343 meridiemHour : function (hour, meridiem) { 10344 if (hour === 12) { 10345 hour = 0; 10346 } 10347 if (meridiem === 'रात') { 10348 return hour < 4 ? hour : hour + 12; 10349 } else if (meridiem === 'सà¥à¤¬à¤¹') { 10350 return hour; 10351 } else if (meridiem === 'दà¥à¤ªà¤¹à¤°') { 10352 return hour >= 10 ? hour : hour + 12; 10353 } else if (meridiem === 'शाम') { 10354 return hour + 12; 10355 } 10356 }, 10357 meridiem : function (hour, minute, isLower) { 10358 if (hour < 4) { 10359 return 'रात'; 10360 } else if (hour < 10) { 10361 return 'सà¥à¤¬à¤¹'; 10362 } else if (hour < 17) { 10363 return 'दà¥à¤ªà¤¹à¤°'; 10364 } else if (hour < 20) { 10365 return 'शाम'; 10366 } else { 10367 return 'रात'; 10368 } 10369 }, 10370 week : { 10371 dow : 0, // Sunday is the first day of the week. 10372 doy : 6 // The week that contains Jan 1st is the first week of the year. 10373 } 10374}); 10375 10376return hi; 10377 10378}))); 10379 10380 10381/***/ }), 10382/* 99 */ 10383/***/ (function(module, exports, __webpack_require__) { 10384 10385//! moment.js locale configuration 10386//! locale : Croatian [hr] 10387//! author : Bojan MarkoviÄ : https://github.com/bmarkovic 10388 10389;(function (global, factory) { 10390 true ? factory(__webpack_require__(0)) : 10391 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10392 factory(global.moment) 10393}(this, (function (moment) { 'use strict'; 10394 10395 10396function translate(number, withoutSuffix, key) { 10397 var result = number + ' '; 10398 switch (key) { 10399 case 'm': 10400 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 10401 case 'mm': 10402 if (number === 1) { 10403 result += 'minuta'; 10404 } else if (number === 2 || number === 3 || number === 4) { 10405 result += 'minute'; 10406 } else { 10407 result += 'minuta'; 10408 } 10409 return result; 10410 case 'h': 10411 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 10412 case 'hh': 10413 if (number === 1) { 10414 result += 'sat'; 10415 } else if (number === 2 || number === 3 || number === 4) { 10416 result += 'sata'; 10417 } else { 10418 result += 'sati'; 10419 } 10420 return result; 10421 case 'dd': 10422 if (number === 1) { 10423 result += 'dan'; 10424 } else { 10425 result += 'dana'; 10426 } 10427 return result; 10428 case 'MM': 10429 if (number === 1) { 10430 result += 'mjesec'; 10431 } else if (number === 2 || number === 3 || number === 4) { 10432 result += 'mjeseca'; 10433 } else { 10434 result += 'mjeseci'; 10435 } 10436 return result; 10437 case 'yy': 10438 if (number === 1) { 10439 result += 'godina'; 10440 } else if (number === 2 || number === 3 || number === 4) { 10441 result += 'godine'; 10442 } else { 10443 result += 'godina'; 10444 } 10445 return result; 10446 } 10447} 10448 10449var hr = moment.defineLocale('hr', { 10450 months : { 10451 format: 'sijeÄnja_veljaÄe_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'), 10452 standalone: 'sijeÄanj_veljaÄa_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_') 10453 }, 10454 monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), 10455 monthsParseExact: true, 10456 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'), 10457 weekdaysShort : 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 10458 weekdaysMin : 'ne_po_ut_sr_Äe_pe_su'.split('_'), 10459 weekdaysParseExact : true, 10460 longDateFormat : { 10461 LT : 'H:mm', 10462 LTS : 'H:mm:ss', 10463 L : 'DD.MM.YYYY', 10464 LL : 'D. MMMM YYYY', 10465 LLL : 'D. MMMM YYYY H:mm', 10466 LLLL : 'dddd, D. MMMM YYYY H:mm' 10467 }, 10468 calendar : { 10469 sameDay : '[danas u] LT', 10470 nextDay : '[sutra u] LT', 10471 nextWeek : function () { 10472 switch (this.day()) { 10473 case 0: 10474 return '[u] [nedjelju] [u] LT'; 10475 case 3: 10476 return '[u] [srijedu] [u] LT'; 10477 case 6: 10478 return '[u] [subotu] [u] LT'; 10479 case 1: 10480 case 2: 10481 case 4: 10482 case 5: 10483 return '[u] dddd [u] LT'; 10484 } 10485 }, 10486 lastDay : '[juÄer u] LT', 10487 lastWeek : function () { 10488 switch (this.day()) { 10489 case 0: 10490 case 3: 10491 return '[proÅ¡lu] dddd [u] LT'; 10492 case 6: 10493 return '[proÅ¡le] [subote] [u] LT'; 10494 case 1: 10495 case 2: 10496 case 4: 10497 case 5: 10498 return '[proÅ¡li] dddd [u] LT'; 10499 } 10500 }, 10501 sameElse : 'L' 10502 }, 10503 relativeTime : { 10504 future : 'za %s', 10505 past : 'prije %s', 10506 s : 'par sekundi', 10507 m : translate, 10508 mm : translate, 10509 h : translate, 10510 hh : translate, 10511 d : 'dan', 10512 dd : translate, 10513 M : 'mjesec', 10514 MM : translate, 10515 y : 'godinu', 10516 yy : translate 10517 }, 10518 dayOfMonthOrdinalParse: /\d{1,2}\./, 10519 ordinal : '%d.', 10520 week : { 10521 dow : 1, // Monday is the first day of the week. 10522 doy : 7 // The week that contains Jan 1st is the first week of the year. 10523 } 10524}); 10525 10526return hr; 10527 10528}))); 10529 10530 10531/***/ }), 10532/* 100 */ 10533/***/ (function(module, exports, __webpack_require__) { 10534 10535//! moment.js locale configuration 10536//! locale : Hungarian [hu] 10537//! author : Adam Brunner : https://github.com/adambrunner 10538 10539;(function (global, factory) { 10540 true ? factory(__webpack_require__(0)) : 10541 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10542 factory(global.moment) 10543}(this, (function (moment) { 'use strict'; 10544 10545 10546var weekEndings = 'vasárnap hétfÅn kedden szerdán csütörtökön pénteken szombaton'.split(' '); 10547function translate(number, withoutSuffix, key, isFuture) { 10548 var num = number, 10549 suffix; 10550 switch (key) { 10551 case 's': 10552 return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; 10553 case 'm': 10554 return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); 10555 case 'mm': 10556 return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); 10557 case 'h': 10558 return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); 10559 case 'hh': 10560 return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); 10561 case 'd': 10562 return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); 10563 case 'dd': 10564 return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); 10565 case 'M': 10566 return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 10567 case 'MM': 10568 return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 10569 case 'y': 10570 return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); 10571 case 'yy': 10572 return num + (isFuture || withoutSuffix ? ' év' : ' éve'); 10573 } 10574 return ''; 10575} 10576function week(isFuture) { 10577 return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; 10578} 10579 10580var hu = moment.defineLocale('hu', { 10581 months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), 10582 monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), 10583 weekdays : 'vasárnap_hétfÅ_kedd_szerda_csütörtök_péntek_szombat'.split('_'), 10584 weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), 10585 weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'), 10586 longDateFormat : { 10587 LT : 'H:mm', 10588 LTS : 'H:mm:ss', 10589 L : 'YYYY.MM.DD.', 10590 LL : 'YYYY. MMMM D.', 10591 LLL : 'YYYY. MMMM D. H:mm', 10592 LLLL : 'YYYY. MMMM D., dddd H:mm' 10593 }, 10594 meridiemParse: /de|du/i, 10595 isPM: function (input) { 10596 return input.charAt(1).toLowerCase() === 'u'; 10597 }, 10598 meridiem : function (hours, minutes, isLower) { 10599 if (hours < 12) { 10600 return isLower === true ? 'de' : 'DE'; 10601 } else { 10602 return isLower === true ? 'du' : 'DU'; 10603 } 10604 }, 10605 calendar : { 10606 sameDay : '[ma] LT[-kor]', 10607 nextDay : '[holnap] LT[-kor]', 10608 nextWeek : function () { 10609 return week.call(this, true); 10610 }, 10611 lastDay : '[tegnap] LT[-kor]', 10612 lastWeek : function () { 10613 return week.call(this, false); 10614 }, 10615 sameElse : 'L' 10616 }, 10617 relativeTime : { 10618 future : '%s múlva', 10619 past : '%s', 10620 s : translate, 10621 m : translate, 10622 mm : translate, 10623 h : translate, 10624 hh : translate, 10625 d : translate, 10626 dd : translate, 10627 M : translate, 10628 MM : translate, 10629 y : translate, 10630 yy : translate 10631 }, 10632 dayOfMonthOrdinalParse: /\d{1,2}\./, 10633 ordinal : '%d.', 10634 week : { 10635 dow : 1, // Monday is the first day of the week. 10636 doy : 4 // The week that contains Jan 4th is the first week of the year. 10637 } 10638}); 10639 10640return hu; 10641 10642}))); 10643 10644 10645/***/ }), 10646/* 101 */ 10647/***/ (function(module, exports, __webpack_require__) { 10648 10649//! moment.js locale configuration 10650//! locale : Armenian [hy-am] 10651//! author : Armendarabyan : https://github.com/armendarabyan 10652 10653;(function (global, factory) { 10654 true ? factory(__webpack_require__(0)) : 10655 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10656 factory(global.moment) 10657}(this, (function (moment) { 'use strict'; 10658 10659 10660var hyAm = moment.defineLocale('hy-am', { 10661 months : { 10662 format: 'Õ°Õ¸ÖÕ¶Õ¾Õ¡ÖÕ«_ÖÕ¥Õ¿ÖÕ¾Õ¡ÖÕ«_Õ´Õ¡ÖÕ¿Õ«_Õ¡ÕºÖÕ«Õ¬Õ«_Õ´Õ¡ÕµÕ«Õ½Õ«_Õ°Õ¸ÖÕ¶Õ«Õ½Õ«_Õ°Õ¸ÖÕ¬Õ«Õ½Õ«_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½Õ«_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥ÖÕ«_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥ÖÕ«'.split('_'), 10663 standalone: 'Õ°Õ¸ÖÕ¶Õ¾Õ¡Ö_ÖÕ¥Õ¿ÖÕ¾Õ¡Ö_Õ´Õ¡ÖÕ¿_Õ¡ÕºÖÕ«Õ¬_Õ´Õ¡ÕµÕ«Õ½_Õ°Õ¸ÖÕ¶Õ«Õ½_Õ°Õ¸ÖÕ¬Õ«Õ½_Ö Õ£Õ¸Õ½Õ¿Õ¸Õ½_Õ½Õ¥ÕºÕ¿Õ¥Õ´Õ¢Õ¥Ö_Õ°Õ¸Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö_Õ¶Õ¸ÕµÕ¥Õ´Õ¢Õ¥Ö_Õ¤Õ¥Õ¯Õ¿Õ¥Õ´Õ¢Õ¥Ö'.split('_') 10664 }, 10665 monthsShort : 'Õ°Õ¶Õ¾_ÖÕ¿Ö_Õ´ÖÕ¿_Õ¡ÕºÖ_Õ´ÕµÕ½_Õ°Õ¶Õ½_Õ°Õ¬Õ½_Ö Õ£Õ½_Õ½ÕºÕ¿_Õ°Õ¯Õ¿_Õ¶Õ´Õ¢_Õ¤Õ¯Õ¿'.split('_'), 10666 weekdays : 'Õ¯Õ«ÖÕ¡Õ¯Õ«_Õ¥ÖÕ¯Õ¸ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¥ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ¹Õ¸ÖÕ¥ÖÕ·Õ¡Õ¢Õ©Õ«_Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«_Õ¸ÖÖÕ¢Õ¡Õ©_Õ·Õ¡Õ¢Õ¡Õ©'.split('_'), 10667 weekdaysShort : 'Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©'.split('_'), 10668 weekdaysMin : 'Õ¯ÖÕ¯_Õ¥ÖÕ¯_Õ¥ÖÖ_Õ¹ÖÖ_Õ°Õ¶Õ£_Õ¸ÖÖÕ¢_Õ·Õ¢Õ©'.split('_'), 10669 longDateFormat : { 10670 LT : 'HH:mm', 10671 LTS : 'HH:mm:ss', 10672 L : 'DD.MM.YYYY', 10673 LL : 'D MMMM YYYY Õ©.', 10674 LLL : 'D MMMM YYYY Õ©., HH:mm', 10675 LLLL : 'dddd, D MMMM YYYY Õ©., HH:mm' 10676 }, 10677 calendar : { 10678 sameDay: '[Õ¡ÕµÕ½Ö Ö] LT', 10679 nextDay: '[Õ¾Õ¡Õ²Õ¨] LT', 10680 lastDay: '[Õ¥ÖÕ¥Õ¯] LT', 10681 nextWeek: function () { 10682 return 'dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT'; 10683 }, 10684 lastWeek: function () { 10685 return '[Õ¡Õ¶ÖÕ¡Õ®] dddd [Ö ÖÕ¨ ÕªÕ¡Õ´Õ¨] LT'; 10686 }, 10687 sameElse: 'L' 10688 }, 10689 relativeTime : { 10690 future : '%s Õ°Õ¥Õ¿Õ¸', 10691 past : '%s Õ¡Õ¼Õ¡Õ»', 10692 s : 'Õ´Õ« ÖÕ¡Õ¶Õ« Õ¾Õ¡ÕµÖÕ¯ÕµÕ¡Õ¶', 10693 m : 'ÖÕ¸ÕºÕ¥', 10694 mm : '%d ÖÕ¸ÕºÕ¥', 10695 h : 'ÕªÕ¡Õ´', 10696 hh : '%d ÕªÕ¡Õ´', 10697 d : 'Ö Ö', 10698 dd : '%d Ö Ö', 10699 M : 'Õ¡Õ´Õ«Õ½', 10700 MM : '%d Õ¡Õ´Õ«Õ½', 10701 y : 'Õ¿Õ¡ÖÕ«', 10702 yy : '%d Õ¿Õ¡ÖÕ«' 10703 }, 10704 meridiemParse: /Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡|Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡|ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶/, 10705 isPM: function (input) { 10706 return /^(ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡|Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶)$/.test(input); 10707 }, 10708 meridiem : function (hour) { 10709 if (hour < 4) { 10710 return 'Õ£Õ«Õ·Õ¥ÖÕ¾Õ¡'; 10711 } else if (hour < 12) { 10712 return 'Õ¡Õ¼Õ¡Õ¾Õ¸Õ¿Õ¾Õ¡'; 10713 } else if (hour < 17) { 10714 return 'ÖÕ¥ÖÕ¥Õ¯Õ¾Õ¡'; 10715 } else { 10716 return 'Õ¥ÖÕ¥Õ¯Õ¸ÕµÕ¡Õ¶'; 10717 } 10718 }, 10719 dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(Õ«Õ¶|ÖÕ¤)/, 10720 ordinal: function (number, period) { 10721 switch (period) { 10722 case 'DDD': 10723 case 'w': 10724 case 'W': 10725 case 'DDDo': 10726 if (number === 1) { 10727 return number + '-Õ«Õ¶'; 10728 } 10729 return number + '-ÖÕ¤'; 10730 default: 10731 return number; 10732 } 10733 }, 10734 week : { 10735 dow : 1, // Monday is the first day of the week. 10736 doy : 7 // The week that contains Jan 1st is the first week of the year. 10737 } 10738}); 10739 10740return hyAm; 10741 10742}))); 10743 10744 10745/***/ }), 10746/* 102 */ 10747/***/ (function(module, exports, __webpack_require__) { 10748 10749//! moment.js locale configuration 10750//! locale : Indonesian [id] 10751//! author : Mohammad Satrio Utomo : https://github.com/tyok 10752//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan 10753 10754;(function (global, factory) { 10755 true ? factory(__webpack_require__(0)) : 10756 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10757 factory(global.moment) 10758}(this, (function (moment) { 'use strict'; 10759 10760 10761var id = moment.defineLocale('id', { 10762 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), 10763 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), 10764 weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), 10765 weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), 10766 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), 10767 longDateFormat : { 10768 LT : 'HH.mm', 10769 LTS : 'HH.mm.ss', 10770 L : 'DD/MM/YYYY', 10771 LL : 'D MMMM YYYY', 10772 LLL : 'D MMMM YYYY [pukul] HH.mm', 10773 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 10774 }, 10775 meridiemParse: /pagi|siang|sore|malam/, 10776 meridiemHour : function (hour, meridiem) { 10777 if (hour === 12) { 10778 hour = 0; 10779 } 10780 if (meridiem === 'pagi') { 10781 return hour; 10782 } else if (meridiem === 'siang') { 10783 return hour >= 11 ? hour : hour + 12; 10784 } else if (meridiem === 'sore' || meridiem === 'malam') { 10785 return hour + 12; 10786 } 10787 }, 10788 meridiem : function (hours, minutes, isLower) { 10789 if (hours < 11) { 10790 return 'pagi'; 10791 } else if (hours < 15) { 10792 return 'siang'; 10793 } else if (hours < 19) { 10794 return 'sore'; 10795 } else { 10796 return 'malam'; 10797 } 10798 }, 10799 calendar : { 10800 sameDay : '[Hari ini pukul] LT', 10801 nextDay : '[Besok pukul] LT', 10802 nextWeek : 'dddd [pukul] LT', 10803 lastDay : '[Kemarin pukul] LT', 10804 lastWeek : 'dddd [lalu pukul] LT', 10805 sameElse : 'L' 10806 }, 10807 relativeTime : { 10808 future : 'dalam %s', 10809 past : '%s yang lalu', 10810 s : 'beberapa detik', 10811 m : 'semenit', 10812 mm : '%d menit', 10813 h : 'sejam', 10814 hh : '%d jam', 10815 d : 'sehari', 10816 dd : '%d hari', 10817 M : 'sebulan', 10818 MM : '%d bulan', 10819 y : 'setahun', 10820 yy : '%d tahun' 10821 }, 10822 week : { 10823 dow : 1, // Monday is the first day of the week. 10824 doy : 7 // The week that contains Jan 1st is the first week of the year. 10825 } 10826}); 10827 10828return id; 10829 10830}))); 10831 10832 10833/***/ }), 10834/* 103 */ 10835/***/ (function(module, exports, __webpack_require__) { 10836 10837//! moment.js locale configuration 10838//! locale : Icelandic [is] 10839//! author : Hinrik Ãrn Sigurðsson : https://github.com/hinrik 10840 10841;(function (global, factory) { 10842 true ? factory(__webpack_require__(0)) : 10843 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10844 factory(global.moment) 10845}(this, (function (moment) { 'use strict'; 10846 10847 10848function plural(n) { 10849 if (n % 100 === 11) { 10850 return true; 10851 } else if (n % 10 === 1) { 10852 return false; 10853 } 10854 return true; 10855} 10856function translate(number, withoutSuffix, key, isFuture) { 10857 var result = number + ' '; 10858 switch (key) { 10859 case 's': 10860 return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; 10861 case 'm': 10862 return withoutSuffix ? 'mÃnúta' : 'mÃnútu'; 10863 case 'mm': 10864 if (plural(number)) { 10865 return result + (withoutSuffix || isFuture ? 'mÃnútur' : 'mÃnútum'); 10866 } else if (withoutSuffix) { 10867 return result + 'mÃnúta'; 10868 } 10869 return result + 'mÃnútu'; 10870 case 'hh': 10871 if (plural(number)) { 10872 return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); 10873 } 10874 return result + 'klukkustund'; 10875 case 'd': 10876 if (withoutSuffix) { 10877 return 'dagur'; 10878 } 10879 return isFuture ? 'dag' : 'degi'; 10880 case 'dd': 10881 if (plural(number)) { 10882 if (withoutSuffix) { 10883 return result + 'dagar'; 10884 } 10885 return result + (isFuture ? 'daga' : 'dögum'); 10886 } else if (withoutSuffix) { 10887 return result + 'dagur'; 10888 } 10889 return result + (isFuture ? 'dag' : 'degi'); 10890 case 'M': 10891 if (withoutSuffix) { 10892 return 'mánuður'; 10893 } 10894 return isFuture ? 'mánuð' : 'mánuði'; 10895 case 'MM': 10896 if (plural(number)) { 10897 if (withoutSuffix) { 10898 return result + 'mánuðir'; 10899 } 10900 return result + (isFuture ? 'mánuði' : 'mánuðum'); 10901 } else if (withoutSuffix) { 10902 return result + 'mánuður'; 10903 } 10904 return result + (isFuture ? 'mánuð' : 'mánuði'); 10905 case 'y': 10906 return withoutSuffix || isFuture ? 'ár' : 'ári'; 10907 case 'yy': 10908 if (plural(number)) { 10909 return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); 10910 } 10911 return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); 10912 } 10913} 10914 10915var is = moment.defineLocale('is', { 10916 months : 'janúar_febrúar_mars_aprÃl_maÃ_júnÃ_júlÃ_ágúst_september_október_nóvember_desember'.split('_'), 10917 monthsShort : 'jan_feb_mar_apr_maÃ_jún_júl_ágú_sep_okt_nóv_des'.split('_'), 10918 weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), 10919 weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), 10920 weekdaysMin : 'Su_Má_Ãr_Mi_Fi_Fö_La'.split('_'), 10921 longDateFormat : { 10922 LT : 'H:mm', 10923 LTS : 'H:mm:ss', 10924 L : 'DD.MM.YYYY', 10925 LL : 'D. MMMM YYYY', 10926 LLL : 'D. MMMM YYYY [kl.] H:mm', 10927 LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' 10928 }, 10929 calendar : { 10930 sameDay : '[à dag kl.] LT', 10931 nextDay : '[á morgun kl.] LT', 10932 nextWeek : 'dddd [kl.] LT', 10933 lastDay : '[à gær kl.] LT', 10934 lastWeek : '[sÃðasta] dddd [kl.] LT', 10935 sameElse : 'L' 10936 }, 10937 relativeTime : { 10938 future : 'eftir %s', 10939 past : 'fyrir %s sÃðan', 10940 s : translate, 10941 m : translate, 10942 mm : translate, 10943 h : 'klukkustund', 10944 hh : translate, 10945 d : translate, 10946 dd : translate, 10947 M : translate, 10948 MM : translate, 10949 y : translate, 10950 yy : translate 10951 }, 10952 dayOfMonthOrdinalParse: /\d{1,2}\./, 10953 ordinal : '%d.', 10954 week : { 10955 dow : 1, // Monday is the first day of the week. 10956 doy : 4 // The week that contains Jan 4th is the first week of the year. 10957 } 10958}); 10959 10960return is; 10961 10962}))); 10963 10964 10965/***/ }), 10966/* 104 */ 10967/***/ (function(module, exports, __webpack_require__) { 10968 10969//! moment.js locale configuration 10970//! locale : Italian [it] 10971//! author : Lorenzo : https://github.com/aliem 10972//! author: Mattia Larentis: https://github.com/nostalgiaz 10973 10974;(function (global, factory) { 10975 true ? factory(__webpack_require__(0)) : 10976 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10977 factory(global.moment) 10978}(this, (function (moment) { 'use strict'; 10979 10980 10981var it = moment.defineLocale('it', { 10982 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), 10983 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), 10984 weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), 10985 weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'), 10986 weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.split('_'), 10987 longDateFormat : { 10988 LT : 'HH:mm', 10989 LTS : 'HH:mm:ss', 10990 L : 'DD/MM/YYYY', 10991 LL : 'D MMMM YYYY', 10992 LLL : 'D MMMM YYYY HH:mm', 10993 LLLL : 'dddd, D MMMM YYYY HH:mm' 10994 }, 10995 calendar : { 10996 sameDay: '[Oggi alle] LT', 10997 nextDay: '[Domani alle] LT', 10998 nextWeek: 'dddd [alle] LT', 10999 lastDay: '[Ieri alle] LT', 11000 lastWeek: function () { 11001 switch (this.day()) { 11002 case 0: 11003 return '[la scorsa] dddd [alle] LT'; 11004 default: 11005 return '[lo scorso] dddd [alle] LT'; 11006 } 11007 }, 11008 sameElse: 'L' 11009 }, 11010 relativeTime : { 11011 future : function (s) { 11012 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; 11013 }, 11014 past : '%s fa', 11015 s : 'alcuni secondi', 11016 m : 'un minuto', 11017 mm : '%d minuti', 11018 h : 'un\'ora', 11019 hh : '%d ore', 11020 d : 'un giorno', 11021 dd : '%d giorni', 11022 M : 'un mese', 11023 MM : '%d mesi', 11024 y : 'un anno', 11025 yy : '%d anni' 11026 }, 11027 dayOfMonthOrdinalParse : /\d{1,2}º/, 11028 ordinal: '%dº', 11029 week : { 11030 dow : 1, // Monday is the first day of the week. 11031 doy : 4 // The week that contains Jan 4th is the first week of the year. 11032 } 11033}); 11034 11035return it; 11036 11037}))); 11038 11039 11040/***/ }), 11041/* 105 */ 11042/***/ (function(module, exports, __webpack_require__) { 11043 11044//! moment.js locale configuration 11045//! locale : Japanese [ja] 11046//! author : LI Long : https://github.com/baryon 11047 11048;(function (global, factory) { 11049 true ? factory(__webpack_require__(0)) : 11050 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11051 factory(global.moment) 11052}(this, (function (moment) { 'use strict'; 11053 11054 11055var ja = moment.defineLocale('ja', { 11056 months : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 11057 monthsShort : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 11058 weekdays : 'æ¥ææ¥_æææ¥_ç«ææ¥_æ°´ææ¥_æ¨ææ¥_éææ¥_åææ¥'.split('_'), 11059 weekdaysShort : 'æ¥_æ_ç«_æ°´_æ¨_é_å'.split('_'), 11060 weekdaysMin : 'æ¥_æ_ç«_æ°´_æ¨_é_å'.split('_'), 11061 longDateFormat : { 11062 LT : 'HH:mm', 11063 LTS : 'HH:mm:ss', 11064 L : 'YYYY/MM/DD', 11065 LL : 'YYYYå¹´MæDæ¥', 11066 LLL : 'YYYYå¹´MæDæ¥ HH:mm', 11067 LLLL : 'YYYYå¹´MæDæ¥ HH:mm dddd', 11068 l : 'YYYY/MM/DD', 11069 ll : 'YYYYå¹´MæDæ¥', 11070 lll : 'YYYYå¹´MæDæ¥ HH:mm', 11071 llll : 'YYYYå¹´MæDæ¥ HH:mm dddd' 11072 }, 11073 meridiemParse: /åå|åå¾/i, 11074 isPM : function (input) { 11075 return input === 'åå¾'; 11076 }, 11077 meridiem : function (hour, minute, isLower) { 11078 if (hour < 12) { 11079 return 'åå'; 11080 } else { 11081 return 'åå¾'; 11082 } 11083 }, 11084 calendar : { 11085 sameDay : '[仿¥] LT', 11086 nextDay : '[ææ¥] LT', 11087 nextWeek : '[æ¥é±]dddd LT', 11088 lastDay : '[æ¨æ¥] LT', 11089 lastWeek : '[åé±]dddd LT', 11090 sameElse : 'L' 11091 }, 11092 dayOfMonthOrdinalParse : /\d{1,2}æ¥/, 11093 ordinal : function (number, period) { 11094 switch (period) { 11095 case 'd': 11096 case 'D': 11097 case 'DDD': 11098 return number + 'æ¥'; 11099 default: 11100 return number; 11101 } 11102 }, 11103 relativeTime : { 11104 future : '%så¾', 11105 past : '%så', 11106 s : 'æ°ç§', 11107 m : '1å', 11108 mm : '%då', 11109 h : '1æé', 11110 hh : '%dæé', 11111 d : '1æ¥', 11112 dd : '%dæ¥', 11113 M : '1ã¶æ', 11114 MM : '%dã¶æ', 11115 y : '1å¹´', 11116 yy : '%då¹´' 11117 } 11118}); 11119 11120return ja; 11121 11122}))); 11123 11124 11125/***/ }), 11126/* 106 */ 11127/***/ (function(module, exports, __webpack_require__) { 11128 11129//! moment.js locale configuration 11130//! locale : Javanese [jv] 11131//! author : Rony Lantip : https://github.com/lantip 11132//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa 11133 11134;(function (global, factory) { 11135 true ? factory(__webpack_require__(0)) : 11136 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11137 factory(global.moment) 11138}(this, (function (moment) { 'use strict'; 11139 11140 11141var jv = moment.defineLocale('jv', { 11142 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), 11143 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), 11144 weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), 11145 weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), 11146 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), 11147 longDateFormat : { 11148 LT : 'HH.mm', 11149 LTS : 'HH.mm.ss', 11150 L : 'DD/MM/YYYY', 11151 LL : 'D MMMM YYYY', 11152 LLL : 'D MMMM YYYY [pukul] HH.mm', 11153 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 11154 }, 11155 meridiemParse: /enjing|siyang|sonten|ndalu/, 11156 meridiemHour : function (hour, meridiem) { 11157 if (hour === 12) { 11158 hour = 0; 11159 } 11160 if (meridiem === 'enjing') { 11161 return hour; 11162 } else if (meridiem === 'siyang') { 11163 return hour >= 11 ? hour : hour + 12; 11164 } else if (meridiem === 'sonten' || meridiem === 'ndalu') { 11165 return hour + 12; 11166 } 11167 }, 11168 meridiem : function (hours, minutes, isLower) { 11169 if (hours < 11) { 11170 return 'enjing'; 11171 } else if (hours < 15) { 11172 return 'siyang'; 11173 } else if (hours < 19) { 11174 return 'sonten'; 11175 } else { 11176 return 'ndalu'; 11177 } 11178 }, 11179 calendar : { 11180 sameDay : '[Dinten puniko pukul] LT', 11181 nextDay : '[Mbenjang pukul] LT', 11182 nextWeek : 'dddd [pukul] LT', 11183 lastDay : '[Kala wingi pukul] LT', 11184 lastWeek : 'dddd [kepengker pukul] LT', 11185 sameElse : 'L' 11186 }, 11187 relativeTime : { 11188 future : 'wonten ing %s', 11189 past : '%s ingkang kepengker', 11190 s : 'sawetawis detik', 11191 m : 'setunggal menit', 11192 mm : '%d menit', 11193 h : 'setunggal jam', 11194 hh : '%d jam', 11195 d : 'sedinten', 11196 dd : '%d dinten', 11197 M : 'sewulan', 11198 MM : '%d wulan', 11199 y : 'setaun', 11200 yy : '%d taun' 11201 }, 11202 week : { 11203 dow : 1, // Monday is the first day of the week. 11204 doy : 7 // The week that contains Jan 1st is the first week of the year. 11205 } 11206}); 11207 11208return jv; 11209 11210}))); 11211 11212 11213/***/ }), 11214/* 107 */ 11215/***/ (function(module, exports, __webpack_require__) { 11216 11217//! moment.js locale configuration 11218//! locale : Georgian [ka] 11219//! author : Irakli Janiashvili : https://github.com/irakli-janiashvili 11220 11221;(function (global, factory) { 11222 true ? factory(__webpack_require__(0)) : 11223 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11224 factory(global.moment) 11225}(this, (function (moment) { 'use strict'; 11226 11227 11228var ka = moment.defineLocale('ka', { 11229 months : { 11230 standalone: 'áááááá á_ááááá áááá_ááá á¢á_ááá ááá_áááá¡á_ááááá¡á_ááááá¡á_ááááá¡á¢á_á¡áá¥á¢ááááá á_áá¥á¢ááááá á_ááááááá á_áááááááá á'.split('_'), 11231 format: 'áááááá á¡_ááááá áááá¡_ááá á¢á¡_ááá áááá¡_áááá¡á¡_ááááá¡á¡_ááááá¡á¡_ááááá¡á¢á¡_á¡áá¥á¢ááááá á¡_áá¥á¢ááááá á¡_ááááááá á¡_áááááááá á¡'.split('_') 11232 }, 11233 monthsShort : 'ááá_ááá_ááá _ááá _ááá_ááá_ááá_ááá_á¡áá¥_áá¥á¢_ááá_ááá'.split('_'), 11234 weekdays : { 11235 standalone: 'áááá á_áá á¨ááááá_á¡ááá¨ááááá_ááá®á¨ááááá_á®á£áá¨ááááá_ááá áá¡áááá_á¨ááááá'.split('_'), 11236 format: 'áááá áá¡_áá á¨ááááá¡_á¡ááá¨ááááá¡_ááá®á¨ááááá¡_á®á£áá¨ááááá¡_ááá áá¡áááá¡_á¨ááááá¡'.split('_'), 11237 isFormat: /(á¬ááá|á¨ááááá)/ 11238 }, 11239 weekdaysShort : 'ááá_áá á¨_á¡áá_ááá®_á®á£á_ááá _á¨áá'.split('_'), 11240 weekdaysMin : 'áá_áá _á¡á_áá_á®á£_áá_á¨á'.split('_'), 11241 longDateFormat : { 11242 LT : 'h:mm A', 11243 LTS : 'h:mm:ss A', 11244 L : 'DD/MM/YYYY', 11245 LL : 'D MMMM YYYY', 11246 LLL : 'D MMMM YYYY h:mm A', 11247 LLLL : 'dddd, D MMMM YYYY h:mm A' 11248 }, 11249 calendar : { 11250 sameDay : '[áá¦áá¡] LT[-áá]', 11251 nextDay : '[á®ááá] LT[-áá]', 11252 lastDay : '[áá£á¨áá] LT[-áá]', 11253 nextWeek : '[á¨ááááá] dddd LT[-áá]', 11254 lastWeek : '[á¬ááá] dddd LT-áá', 11255 sameElse : 'L' 11256 }, 11257 relativeTime : { 11258 future : function (s) { 11259 return (/(á¬ááá|á¬á£áá|á¡áááá|á¬ááá)/).test(s) ? 11260 s.replace(/á$/, 'á¨á') : 11261 s + 'á¨á'; 11262 }, 11263 past : function (s) { 11264 if ((/(á¬ááá|á¬á£áá|á¡áááá|áá¦á|ááá)/).test(s)) { 11265 return s.replace(/(á|á)$/, 'áá¡ á£ááá'); 11266 } 11267 if ((/á¬ááá/).test(s)) { 11268 return s.replace(/á¬ááá$/, 'á¬ááá¡ á£ááá'); 11269 } 11270 }, 11271 s : 'á áááááááá á¬ááá', 11272 m : 'á¬á£áá', 11273 mm : '%d á¬á£áá', 11274 h : 'á¡áááá', 11275 hh : '%d á¡áááá', 11276 d : 'áá¦á', 11277 dd : '%d áá¦á', 11278 M : 'ááá', 11279 MM : '%d ááá', 11280 y : 'á¬ááá', 11281 yy : '%d á¬ááá' 11282 }, 11283 dayOfMonthOrdinalParse: /0|1-áá|áá-\d{1,2}|\d{1,2}-á/, 11284 ordinal : function (number) { 11285 if (number === 0) { 11286 return number; 11287 } 11288 if (number === 1) { 11289 return number + '-áá'; 11290 } 11291 if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { 11292 return 'áá-' + number; 11293 } 11294 return number + '-á'; 11295 }, 11296 week : { 11297 dow : 1, 11298 doy : 7 11299 } 11300}); 11301 11302return ka; 11303 11304}))); 11305 11306 11307/***/ }), 11308/* 108 */ 11309/***/ (function(module, exports, __webpack_require__) { 11310 11311//! moment.js locale configuration 11312//! locale : Kazakh [kk] 11313//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan 11314 11315;(function (global, factory) { 11316 true ? factory(__webpack_require__(0)) : 11317 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11318 factory(global.moment) 11319}(this, (function (moment) { 'use strict'; 11320 11321 11322var suffixes = { 11323 0: '-ÑÑ', 11324 1: '-ÑÑ', 11325 2: '-ÑÑ', 11326 3: '-ÑÑ', 11327 4: '-ÑÑ', 11328 5: '-ÑÑ', 11329 6: '-ÑÑ', 11330 7: '-ÑÑ', 11331 8: '-ÑÑ', 11332 9: '-ÑÑ', 11333 10: '-ÑÑ', 11334 20: '-ÑÑ', 11335 30: '-ÑÑ', 11336 40: '-ÑÑ', 11337 50: '-ÑÑ', 11338 60: '-ÑÑ', 11339 70: '-ÑÑ', 11340 80: '-ÑÑ', 11341 90: '-ÑÑ', 11342 100: '-ÑÑ' 11343}; 11344 11345var kk = moment.defineLocale('kk', { 11346 months : 'ÒаңÑаÑ_аÒпан_наÑÑÑз_ÑÓÑÑÑ_мамÑÑ_маÑÑÑм_ÑÑлде_ÑамÑз_ÒÑÑкүйек_Òазан_ÒаÑаÑа_желÑоÒÑан'.split('_'), 11347 monthsShort : 'Òаң_аÒп_наÑ_ÑÓÑ_мам_маÑ_ÑÑл_Ñам_ÒÑÑ_Òаз_ÒаÑ_жел'.split('_'), 11348 weekdays : 'жекÑенбÑ_дүйÑенбÑ_ÑейÑенбÑ_ÑÓÑÑенбÑ_бейÑенбÑ_жұма_ÑенбÑ'.split('_'), 11349 weekdaysShort : 'жек_дүй_Ñей_ÑÓÑ_бей_жұм_Ñен'.split('_'), 11350 weekdaysMin : 'жк_дй_Ñй_ÑÑ_бй_жм_Ñн'.split('_'), 11351 longDateFormat : { 11352 LT : 'HH:mm', 11353 LTS : 'HH:mm:ss', 11354 L : 'DD.MM.YYYY', 11355 LL : 'D MMMM YYYY', 11356 LLL : 'D MMMM YYYY HH:mm', 11357 LLLL : 'dddd, D MMMM YYYY HH:mm' 11358 }, 11359 calendar : { 11360 sameDay : '[ÐүгÑн ÑаÒаÑ] LT', 11361 nextDay : '[ÐÑÑең ÑаÒаÑ] LT', 11362 nextWeek : 'dddd [ÑаÒаÑ] LT', 11363 lastDay : '[ÐеÑе ÑаÒаÑ] LT', 11364 lastWeek : '[Ó¨Ñкен апÑанÑÒ£] dddd [ÑаÒаÑ] LT', 11365 sameElse : 'L' 11366 }, 11367 relativeTime : { 11368 future : '%s ÑÑÑнде', 11369 past : '%s бұÑÑн', 11370 s : 'бÑÑнеÑе ÑекÑнд', 11371 m : 'бÑÑ Ð¼Ð¸Ð½ÑÑ', 11372 mm : '%d минÑÑ', 11373 h : 'бÑÑ ÑаÒаÑ', 11374 hh : '%d ÑаÒаÑ', 11375 d : 'бÑÑ ÐºÒ¯Ð½', 11376 dd : '%d күн', 11377 M : 'бÑÑ Ð°Ð¹', 11378 MM : '%d ай', 11379 y : 'бÑÑ Ð¶Ñл', 11380 yy : '%d жÑл' 11381 }, 11382 dayOfMonthOrdinalParse: /\d{1,2}-(ÑÑ|ÑÑ)/, 11383 ordinal : function (number) { 11384 var a = number % 10, 11385 b = number >= 100 ? 100 : null; 11386 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 11387 }, 11388 week : { 11389 dow : 1, // Monday is the first day of the week. 11390 doy : 7 // The week that contains Jan 1st is the first week of the year. 11391 } 11392}); 11393 11394return kk; 11395 11396}))); 11397 11398 11399/***/ }), 11400/* 109 */ 11401/***/ (function(module, exports, __webpack_require__) { 11402 11403//! moment.js locale configuration 11404//! locale : Cambodian [km] 11405//! author : Kruy Vanna : https://github.com/kruyvanna 11406 11407;(function (global, factory) { 11408 true ? factory(__webpack_require__(0)) : 11409 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11410 factory(global.moment) 11411}(this, (function (moment) { 'use strict'; 11412 11413 11414var km = moment.defineLocale('km', { 11415 months: 'áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼'.split('_'), 11416 monthsShort: 'áááá¶_áá»áááá_áá¸áá¶_áááá¶_á§ááá¶_áá·áá»áá¶_áááááá¶_áá¸á á¶_ááááá¶_áá»áá¶_áá·á ááá·áá¶_áááá¼'.split('_'), 11417 weekdays: 'á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá'.split('_'), 11418 weekdaysShort: 'á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá'.split('_'), 11419 weekdaysMin: 'á¢á¶áá·ááá_á áááá_á¢áááá¶á_áá»á_áááá ááááá·á_áá»ááá_áá áá'.split('_'), 11420 longDateFormat: { 11421 LT: 'HH:mm', 11422 LTS : 'HH:mm:ss', 11423 L: 'DD/MM/YYYY', 11424 LL: 'D MMMM YYYY', 11425 LLL: 'D MMMM YYYY HH:mm', 11426 LLLL: 'dddd, D MMMM YYYY HH:mm' 11427 }, 11428 calendar: { 11429 sameDay: '[ááááááá áááá] LT', 11430 nextDay: '[ááá¢áá áááá] LT', 11431 nextWeek: 'dddd [áááá] LT', 11432 lastDay: '[áááá·ááá·á áááá] LT', 11433 lastWeek: 'dddd [ááááá¶á ááá»á] [áááá] LT', 11434 sameElse: 'L' 11435 }, 11436 relativeTime: { 11437 future: '%sááá', 11438 past: '%sáá»á', 11439 s: 'ááá»áááá¶ááá·áá¶áá¸', 11440 m: 'áá½ááá¶áá¸', 11441 mm: '%d áá¶áá¸', 11442 h: 'áá½ááááá', 11443 hh: '%d áááá', 11444 d: 'áá½ááááá', 11445 dd: '%d áááá', 11446 M: 'áá½ááá', 11447 MM: '%d áá', 11448 y: 'áá½ááááá¶á', 11449 yy: '%d áááá¶á' 11450 }, 11451 week: { 11452 dow: 1, // Monday is the first day of the week. 11453 doy: 4 // The week that contains Jan 4th is the first week of the year. 11454 } 11455}); 11456 11457return km; 11458 11459}))); 11460 11461 11462/***/ }), 11463/* 110 */ 11464/***/ (function(module, exports, __webpack_require__) { 11465 11466//! moment.js locale configuration 11467//! locale : Kannada [kn] 11468//! author : Rajeev Naik : https://github.com/rajeevnaikte 11469 11470;(function (global, factory) { 11471 true ? factory(__webpack_require__(0)) : 11472 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11473 factory(global.moment) 11474}(this, (function (moment) { 'use strict'; 11475 11476 11477var symbolMap = { 11478 '1': 'à³§', 11479 '2': '೨', 11480 '3': '೩', 11481 '4': '೪', 11482 '5': '೫', 11483 '6': '೬', 11484 '7': 'à³', 11485 '8': 'à³®', 11486 '9': '೯', 11487 '0': '೦' 11488}; 11489var numberMap = { 11490 'à³§': '1', 11491 '೨': '2', 11492 '೩': '3', 11493 '೪': '4', 11494 '೫': '5', 11495 '೬': '6', 11496 'à³': '7', 11497 'à³®': '8', 11498 '೯': '9', 11499 '೦': '0' 11500}; 11501 11502var kn = moment.defineLocale('kn', { 11503 months : 'à²à²¨à²µà²°à²¿_ಫà³à²¬à³à²°à²µà²°à²¿_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬à²°à³_ಠà²à³à²à³à³à³à²¬à²°à³_ನವà³à²à²¬à²°à³_ಡಿಸà³à²à²¬à²°à³'.split('_'), 11504 monthsShort : 'à²à²¨_ಫà³à²¬à³à²°_ಮಾರà³à²à³_à²à²ªà³à²°à²¿à²²à³_ಮà³à³_à²à³à²¨à³_à²à³à²²à³à³_à²à²à²¸à³à²à³_ಸà³à²ªà³à²à³à²à²¬_ಠà²à³à²à³à³à³à²¬_ನವà³à²à²¬_ಡಿಸà³à²à²¬'.split('_'), 11505 monthsParseExact: true, 11506 weekdays : 'à²à²¾à²¨à³à²µà²¾à²°_ಸà³à³à³à²®à²µà²¾à²°_ಮà²à²à²³à²µà²¾à²°_ಬà³à²§à²µà²¾à²°_à²à³à²°à³à²µà²¾à²°_ಶà³à²à³à²°à²µà²¾à²°_ಶನಿವಾರ'.split('_'), 11507 weekdaysShort : 'à²à²¾à²¨à³_ಸà³à³à³à²®_ಮà²à²à²³_ಬà³à²§_à²à³à²°à³_ಶà³à²à³à²°_ಶನಿ'.split('_'), 11508 weekdaysMin : 'à²à²¾_ಸà³à³à³_ಮà²_ಬà³_à²à³_ಶà³_ಶ'.split('_'), 11509 longDateFormat : { 11510 LT : 'A h:mm', 11511 LTS : 'A h:mm:ss', 11512 L : 'DD/MM/YYYY', 11513 LL : 'D MMMM YYYY', 11514 LLL : 'D MMMM YYYY, A h:mm', 11515 LLLL : 'dddd, D MMMM YYYY, A h:mm' 11516 }, 11517 calendar : { 11518 sameDay : '[à²à²à²¦à³] LT', 11519 nextDay : '[ನಾಳà³] LT', 11520 nextWeek : 'dddd, LT', 11521 lastDay : '[ನಿನà³à²¨à³] LT', 11522 lastWeek : '[à²à³à³à²¨à³à²¯] dddd, LT', 11523 sameElse : 'L' 11524 }, 11525 relativeTime : { 11526 future : '%s ನà²à²¤à²°', 11527 past : '%s ಹಿà²à²¦à³', 11528 s : 'à²à³à²²à²µà³ à²à³à²·à²£à²à²³à³', 11529 m : 'à²à²à²¦à³ ನಿಮಿಷ', 11530 mm : '%d ನಿಮಿಷ', 11531 h : 'à²à²à²¦à³ à²à²à²à³', 11532 hh : '%d à²à²à²à³', 11533 d : 'à²à²à²¦à³ ದಿನ', 11534 dd : '%d ದಿನ', 11535 M : 'à²à²à²¦à³ ತಿà²à²à²³à³', 11536 MM : '%d ತಿà²à²à²³à³', 11537 y : 'à²à²à²¦à³ ವರà³à²·', 11538 yy : '%d ವರà³à²·' 11539 }, 11540 preparse: function (string) { 11541 return string.replace(/[೧೨೩೪೫೬à³à³®à³¯à³¦]/g, function (match) { 11542 return numberMap[match]; 11543 }); 11544 }, 11545 postformat: function (string) { 11546 return string.replace(/\d/g, function (match) { 11547 return symbolMap[match]; 11548 }); 11549 }, 11550 meridiemParse: /ರಾತà³à²°à²¿|ಬà³à²³à²¿à²à³à²à³|ಮಧà³à²¯à²¾à²¹à³à²¨|ಸà²à²à³/, 11551 meridiemHour : function (hour, meridiem) { 11552 if (hour === 12) { 11553 hour = 0; 11554 } 11555 if (meridiem === 'ರಾತà³à²°à²¿') { 11556 return hour < 4 ? hour : hour + 12; 11557 } else if (meridiem === 'ಬà³à²³à²¿à²à³à²à³') { 11558 return hour; 11559 } else if (meridiem === 'ಮಧà³à²¯à²¾à²¹à³à²¨') { 11560 return hour >= 10 ? hour : hour + 12; 11561 } else if (meridiem === 'ಸà²à²à³') { 11562 return hour + 12; 11563 } 11564 }, 11565 meridiem : function (hour, minute, isLower) { 11566 if (hour < 4) { 11567 return 'ರಾತà³à²°à²¿'; 11568 } else if (hour < 10) { 11569 return 'ಬà³à²³à²¿à²à³à²à³'; 11570 } else if (hour < 17) { 11571 return 'ಮಧà³à²¯à²¾à²¹à³à²¨'; 11572 } else if (hour < 20) { 11573 return 'ಸà²à²à³'; 11574 } else { 11575 return 'ರಾತà³à²°à²¿'; 11576 } 11577 }, 11578 dayOfMonthOrdinalParse: /\d{1,2}(ನà³à³)/, 11579 ordinal : function (number) { 11580 return number + 'ನà³à³'; 11581 }, 11582 week : { 11583 dow : 0, // Sunday is the first day of the week. 11584 doy : 6 // The week that contains Jan 1st is the first week of the year. 11585 } 11586}); 11587 11588return kn; 11589 11590}))); 11591 11592 11593/***/ }), 11594/* 111 */ 11595/***/ (function(module, exports, __webpack_require__) { 11596 11597//! moment.js locale configuration 11598//! locale : Korean [ko] 11599//! author : Kyungwook, Park : https://github.com/kyungw00k 11600//! author : Jeeeyul Lee <[email protected]> 11601 11602;(function (global, factory) { 11603 true ? factory(__webpack_require__(0)) : 11604 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11605 factory(global.moment) 11606}(this, (function (moment) { 'use strict'; 11607 11608 11609var ko = moment.defineLocale('ko', { 11610 months : '1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì'.split('_'), 11611 monthsShort : '1ì_2ì_3ì_4ì_5ì_6ì_7ì_8ì_9ì_10ì_11ì_12ì'.split('_'), 11612 weekdays : 'ì¼ìì¼_ììì¼_íìì¼_ììì¼_목ìì¼_ê¸ìì¼_í ìì¼'.split('_'), 11613 weekdaysShort : 'ì¼_ì_í_ì_목_ê¸_í '.split('_'), 11614 weekdaysMin : 'ì¼_ì_í_ì_목_ê¸_í '.split('_'), 11615 longDateFormat : { 11616 LT : 'A h:mm', 11617 LTS : 'A h:mm:ss', 11618 L : 'YYYY.MM.DD', 11619 LL : 'YYYYë MMMM Dì¼', 11620 LLL : 'YYYYë MMMM Dì¼ A h:mm', 11621 LLLL : 'YYYYë MMMM Dì¼ dddd A h:mm', 11622 l : 'YYYY.MM.DD', 11623 ll : 'YYYYë MMMM Dì¼', 11624 lll : 'YYYYë MMMM Dì¼ A h:mm', 11625 llll : 'YYYYë MMMM Dì¼ dddd A h:mm' 11626 }, 11627 calendar : { 11628 sameDay : 'ì¤ë LT', 11629 nextDay : 'ë´ì¼ LT', 11630 nextWeek : 'dddd LT', 11631 lastDay : 'ì´ì LT', 11632 lastWeek : 'ì§ë주 dddd LT', 11633 sameElse : 'L' 11634 }, 11635 relativeTime : { 11636 future : '%s í', 11637 past : '%s ì ', 11638 s : 'ëª ì´', 11639 ss : '%dì´', 11640 m : '1ë¶', 11641 mm : '%dë¶', 11642 h : 'í ìê°', 11643 hh : '%dìê°', 11644 d : 'í루', 11645 dd : '%dì¼', 11646 M : 'í ë¬', 11647 MM : '%dë¬', 11648 y : 'ì¼ ë ', 11649 yy : '%dë ' 11650 }, 11651 dayOfMonthOrdinalParse : /\d{1,2}ì¼/, 11652 ordinal : '%dì¼', 11653 meridiemParse : /ì¤ì |ì¤í/, 11654 isPM : function (token) { 11655 return token === 'ì¤í'; 11656 }, 11657 meridiem : function (hour, minute, isUpper) { 11658 return hour < 12 ? 'ì¤ì ' : 'ì¤í'; 11659 } 11660}); 11661 11662return ko; 11663 11664}))); 11665 11666 11667/***/ }), 11668/* 112 */ 11669/***/ (function(module, exports, __webpack_require__) { 11670 11671//! moment.js locale configuration 11672//! locale : Kyrgyz [ky] 11673//! author : Chyngyz Arystan uulu : https://github.com/chyngyz 11674 11675;(function (global, factory) { 11676 true ? factory(__webpack_require__(0)) : 11677 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11678 factory(global.moment) 11679}(this, (function (moment) { 'use strict'; 11680 11681 11682 11683var suffixes = { 11684 0: '-ÑÒ¯', 11685 1: '-Ñи', 11686 2: '-Ñи', 11687 3: '-ÑÒ¯', 11688 4: '-ÑÒ¯', 11689 5: '-Ñи', 11690 6: '-ÑÑ', 11691 7: '-Ñи', 11692 8: '-Ñи', 11693 9: '-ÑÑ', 11694 10: '-ÑÑ', 11695 20: '-ÑÑ', 11696 30: '-ÑÑ', 11697 40: '-ÑÑ', 11698 50: '-ÑÒ¯', 11699 60: '-ÑÑ', 11700 70: '-Ñи', 11701 80: '-Ñи', 11702 90: '-ÑÑ', 11703 100: '-ÑÒ¯' 11704}; 11705 11706var ky = moment.defineLocale('ky', { 11707 months : 'ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split('_'), 11708 monthsShort : 'Ñнв_Ñев_маÑÑ_апÑ_май_иÑнÑ_иÑлÑ_авг_Ñен_окÑ_ноÑ_дек'.split('_'), 11709 weekdays : 'ÐекÑемби_ÐүйÑөмбү_ШейÑемби_ШаÑÑемби_ÐейÑемби_ÐÑма_ÐÑемби'.split('_'), 11710 weekdaysShort : 'Ðек_Ðүй_Шей_ШаÑ_Ðей_ÐÑм_ÐÑе'.split('_'), 11711 weekdaysMin : 'Ðк_Ðй_Шй_ШÑ_Ðй_Ðм_ÐÑ'.split('_'), 11712 longDateFormat : { 11713 LT : 'HH:mm', 11714 LTS : 'HH:mm:ss', 11715 L : 'DD.MM.YYYY', 11716 LL : 'D MMMM YYYY', 11717 LLL : 'D MMMM YYYY HH:mm', 11718 LLLL : 'dddd, D MMMM YYYY HH:mm' 11719 }, 11720 calendar : { 11721 sameDay : '[Ðүгүн ÑааÑ] LT', 11722 nextDay : '[ÐÑÑең ÑааÑ] LT', 11723 nextWeek : 'dddd [ÑааÑ] LT', 11724 lastDay : '[ÐеÑе ÑааÑ] LT', 11725 lastWeek : '[Ó¨Ñкен апÑанÑн] dddd [күнү] [ÑааÑ] LT', 11726 sameElse : 'L' 11727 }, 11728 relativeTime : { 11729 future : '%s иÑинде', 11730 past : '%s мÑÑÑн', 11731 s : 'биÑнеÑе ÑекÑнд', 11732 m : 'Ð±Ð¸Ñ Ð¼Ò¯Ð½Ó©Ñ', 11733 mm : '%d мүнөÑ', 11734 h : 'Ð±Ð¸Ñ ÑааÑ', 11735 hh : '%d ÑааÑ', 11736 d : 'Ð±Ð¸Ñ ÐºÒ¯Ð½', 11737 dd : '%d күн', 11738 M : 'Ð±Ð¸Ñ Ð°Ð¹', 11739 MM : '%d ай', 11740 y : 'Ð±Ð¸Ñ Ð¶Ñл', 11741 yy : '%d жÑл' 11742 }, 11743 dayOfMonthOrdinalParse: /\d{1,2}-(Ñи|ÑÑ|ÑÒ¯|ÑÑ)/, 11744 ordinal : function (number) { 11745 var a = number % 10, 11746 b = number >= 100 ? 100 : null; 11747 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 11748 }, 11749 week : { 11750 dow : 1, // Monday is the first day of the week. 11751 doy : 7 // The week that contains Jan 1st is the first week of the year. 11752 } 11753}); 11754 11755return ky; 11756 11757}))); 11758 11759 11760/***/ }), 11761/* 113 */ 11762/***/ (function(module, exports, __webpack_require__) { 11763 11764//! moment.js locale configuration 11765//! locale : Luxembourgish [lb] 11766//! author : mweimerskirch : https://github.com/mweimerskirch 11767//! author : David Raison : https://github.com/kwisatz 11768 11769;(function (global, factory) { 11770 true ? factory(__webpack_require__(0)) : 11771 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11772 factory(global.moment) 11773}(this, (function (moment) { 'use strict'; 11774 11775 11776function processRelativeTime(number, withoutSuffix, key, isFuture) { 11777 var format = { 11778 'm': ['eng Minutt', 'enger Minutt'], 11779 'h': ['eng Stonn', 'enger Stonn'], 11780 'd': ['een Dag', 'engem Dag'], 11781 'M': ['ee Mount', 'engem Mount'], 11782 'y': ['ee Joer', 'engem Joer'] 11783 }; 11784 return withoutSuffix ? format[key][0] : format[key][1]; 11785} 11786function processFutureTime(string) { 11787 var number = string.substr(0, string.indexOf(' ')); 11788 if (eifelerRegelAppliesToNumber(number)) { 11789 return 'a ' + string; 11790 } 11791 return 'an ' + string; 11792} 11793function processPastTime(string) { 11794 var number = string.substr(0, string.indexOf(' ')); 11795 if (eifelerRegelAppliesToNumber(number)) { 11796 return 'viru ' + string; 11797 } 11798 return 'virun ' + string; 11799} 11800/** 11801 * Returns true if the word before the given number loses the '-n' ending. 11802 * e.g. 'an 10 Deeg' but 'a 5 Deeg' 11803 * 11804 * @param number {integer} 11805 * @returns {boolean} 11806 */ 11807function eifelerRegelAppliesToNumber(number) { 11808 number = parseInt(number, 10); 11809 if (isNaN(number)) { 11810 return false; 11811 } 11812 if (number < 0) { 11813 // Negative Number --> always true 11814 return true; 11815 } else if (number < 10) { 11816 // Only 1 digit 11817 if (4 <= number && number <= 7) { 11818 return true; 11819 } 11820 return false; 11821 } else if (number < 100) { 11822 // 2 digits 11823 var lastDigit = number % 10, firstDigit = number / 10; 11824 if (lastDigit === 0) { 11825 return eifelerRegelAppliesToNumber(firstDigit); 11826 } 11827 return eifelerRegelAppliesToNumber(lastDigit); 11828 } else if (number < 10000) { 11829 // 3 or 4 digits --> recursively check first digit 11830 while (number >= 10) { 11831 number = number / 10; 11832 } 11833 return eifelerRegelAppliesToNumber(number); 11834 } else { 11835 // Anything larger than 4 digits: recursively check first n-3 digits 11836 number = number / 1000; 11837 return eifelerRegelAppliesToNumber(number); 11838 } 11839} 11840 11841var lb = moment.defineLocale('lb', { 11842 months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 11843 monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 11844 monthsParseExact : true, 11845 weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), 11846 weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), 11847 weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), 11848 weekdaysParseExact : true, 11849 longDateFormat: { 11850 LT: 'H:mm [Auer]', 11851 LTS: 'H:mm:ss [Auer]', 11852 L: 'DD.MM.YYYY', 11853 LL: 'D. MMMM YYYY', 11854 LLL: 'D. MMMM YYYY H:mm [Auer]', 11855 LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' 11856 }, 11857 calendar: { 11858 sameDay: '[Haut um] LT', 11859 sameElse: 'L', 11860 nextDay: '[Muer um] LT', 11861 nextWeek: 'dddd [um] LT', 11862 lastDay: '[Gëschter um] LT', 11863 lastWeek: function () { 11864 // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule 11865 switch (this.day()) { 11866 case 2: 11867 case 4: 11868 return '[Leschten] dddd [um] LT'; 11869 default: 11870 return '[Leschte] dddd [um] LT'; 11871 } 11872 } 11873 }, 11874 relativeTime : { 11875 future : processFutureTime, 11876 past : processPastTime, 11877 s : 'e puer Sekonnen', 11878 m : processRelativeTime, 11879 mm : '%d Minutten', 11880 h : processRelativeTime, 11881 hh : '%d Stonnen', 11882 d : processRelativeTime, 11883 dd : '%d Deeg', 11884 M : processRelativeTime, 11885 MM : '%d Méint', 11886 y : processRelativeTime, 11887 yy : '%d Joer' 11888 }, 11889 dayOfMonthOrdinalParse: /\d{1,2}\./, 11890 ordinal: '%d.', 11891 week: { 11892 dow: 1, // Monday is the first day of the week. 11893 doy: 4 // The week that contains Jan 4th is the first week of the year. 11894 } 11895}); 11896 11897return lb; 11898 11899}))); 11900 11901 11902/***/ }), 11903/* 114 */ 11904/***/ (function(module, exports, __webpack_require__) { 11905 11906//! moment.js locale configuration 11907//! locale : Lao [lo] 11908//! author : Ryan Hart : https://github.com/ryanhart2 11909 11910;(function (global, factory) { 11911 true ? factory(__webpack_require__(0)) : 11912 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11913 factory(global.moment) 11914}(this, (function (moment) { 'use strict'; 11915 11916 11917var lo = moment.defineLocale('lo', { 11918 months : 'ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²'.split('_'), 11919 monthsShort : 'ມັàºàºàºàº_àºàº¸àº¡àºàº²_ມີàºàº²_à»àº¡àºªàº²_àºàº¶àºàºªàº°àºàº²_ມິàºàº¸àºàº²_àºà»àº¥àº°àºàº»àº_ສິàºàº«àº²_àºàº±àºàºàº²_àºàº¸àº¥àº²_àºàº°àºàº´àº_àºàº±àºàº§àº²'.split('_'), 11920 weekdays : 'àºàº²àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²'.split('_'), 11921 weekdaysShort : 'àºàº´àº_àºàº±àº_àºàº±àºàºàº²àº_àºàº¸àº_àºàº°àº«àº±àº_ສຸàº_à»àºªàº»àº²'.split('_'), 11922 weekdaysMin : 'àº_àº_àºàº_àº_àºàº«_ສàº_ສ'.split('_'), 11923 weekdaysParseExact : true, 11924 longDateFormat : { 11925 LT : 'HH:mm', 11926 LTS : 'HH:mm:ss', 11927 L : 'DD/MM/YYYY', 11928 LL : 'D MMMM YYYY', 11929 LLL : 'D MMMM YYYY HH:mm', 11930 LLLL : 'ວັàºdddd D MMMM YYYY HH:mm' 11931 }, 11932 meridiemParse: /àºàºàºà»àºàº»à»àº²|àºàºàºà»àº¥àº/, 11933 isPM: function (input) { 11934 return input === 'àºàºàºà»àº¥àº'; 11935 }, 11936 meridiem : function (hour, minute, isLower) { 11937 if (hour < 12) { 11938 return 'àºàºàºà»àºàº»à»àº²'; 11939 } else { 11940 return 'àºàºàºà»àº¥àº'; 11941 } 11942 }, 11943 calendar : { 11944 sameDay : '[ມືà»àºàºµà»à»àº§àº¥àº²] LT', 11945 nextDay : '[ມືà»àºàº·à»àºà»àº§àº¥àº²] LT', 11946 nextWeek : '[ວັàº]dddd[à»à»àº²à»àº§àº¥àº²] LT', 11947 lastDay : '[ມືà»àº§àº²àºàºàºµà»à»àº§àº¥àº²] LT', 11948 lastWeek : '[ວັàº]dddd[à»àº¥à»àº§àºàºµà»à»àº§àº¥àº²] LT', 11949 sameElse : 'L' 11950 }, 11951 relativeTime : { 11952 future : 'àºàºµàº %s', 11953 past : '%sàºà»àº²àºàº¡àº²', 11954 s : 'àºà»à»à»àºàº»à»àº²à»àºàº§àº´àºàº²àºàºµ', 11955 m : '1 àºàº²àºàºµ', 11956 mm : '%d àºàº²àºàºµ', 11957 h : '1 àºàº»à»àº§à»àº¡àº', 11958 hh : '%d àºàº»à»àº§à»àº¡àº', 11959 d : '1 ມືà»', 11960 dd : '%d ມືà»', 11961 M : '1 à»àºàº·àºàº', 11962 MM : '%d à»àºàº·àºàº', 11963 y : '1 àºàºµ', 11964 yy : '%d àºàºµ' 11965 }, 11966 dayOfMonthOrdinalParse: /(àºàºµà»)\d{1,2}/, 11967 ordinal : function (number) { 11968 return 'àºàºµà»' + number; 11969 } 11970}); 11971 11972return lo; 11973 11974}))); 11975 11976 11977/***/ }), 11978/* 115 */ 11979/***/ (function(module, exports, __webpack_require__) { 11980 11981//! moment.js locale configuration 11982//! locale : Lithuanian [lt] 11983//! author : Mindaugas MozÅ«ras : https://github.com/mmozuras 11984 11985;(function (global, factory) { 11986 true ? factory(__webpack_require__(0)) : 11987 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11988 factory(global.moment) 11989}(this, (function (moment) { 'use strict'; 11990 11991 11992var units = { 11993 'm' : 'minutÄ_minutÄs_minutÄ', 11994 'mm': 'minutÄs_minuÄių_minutes', 11995 'h' : 'valanda_valandos_valandÄ ', 11996 'hh': 'valandos_valandų_valandas', 11997 'd' : 'diena_dienos_dienÄ ', 11998 'dd': 'dienos_dienų_dienas', 11999 'M' : 'mÄnuo_mÄnesio_mÄnesį', 12000 'MM': 'mÄnesiai_mÄnesių_mÄnesius', 12001 'y' : 'metai_metų_metus', 12002 'yy': 'metai_metų_metus' 12003}; 12004function translateSeconds(number, withoutSuffix, key, isFuture) { 12005 if (withoutSuffix) { 12006 return 'kelios sekundÄs'; 12007 } else { 12008 return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; 12009 } 12010} 12011function translateSingular(number, withoutSuffix, key, isFuture) { 12012 return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); 12013} 12014function special(number) { 12015 return number % 10 === 0 || (number > 10 && number < 20); 12016} 12017function forms(key) { 12018 return units[key].split('_'); 12019} 12020function translate(number, withoutSuffix, key, isFuture) { 12021 var result = number + ' '; 12022 if (number === 1) { 12023 return result + translateSingular(number, withoutSuffix, key[0], isFuture); 12024 } else if (withoutSuffix) { 12025 return result + (special(number) ? forms(key)[1] : forms(key)[0]); 12026 } else { 12027 if (isFuture) { 12028 return result + forms(key)[1]; 12029 } else { 12030 return result + (special(number) ? forms(key)[1] : forms(key)[2]); 12031 } 12032 } 12033} 12034var lt = moment.defineLocale('lt', { 12035 months : { 12036 format: 'sausio_vasario_kovo_balandžio_gegužÄs_birželio_liepos_rugpjÅ«Äio_rugsÄjo_spalio_lapkriÄio_gruodžio'.split('_'), 12037 standalone: 'sausis_vasaris_kovas_balandis_gegužÄ_birželis_liepa_rugpjÅ«tis_rugsÄjis_spalis_lapkritis_gruodis'.split('_'), 12038 isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/ 12039 }, 12040 monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), 12041 weekdays : { 12042 format: 'sekmadienį_pirmadienį_antradienį_treÄiadienį_ketvirtadienį_penktadienį_Å¡eÅ¡tadienį'.split('_'), 12043 standalone: 'sekmadienis_pirmadienis_antradienis_treÄiadienis_ketvirtadienis_penktadienis_Å¡eÅ¡tadienis'.split('_'), 12044 isFormat: /dddd HH:mm/ 12045 }, 12046 weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Å eÅ¡'.split('_'), 12047 weekdaysMin : 'S_P_A_T_K_Pn_Å '.split('_'), 12048 weekdaysParseExact : true, 12049 longDateFormat : { 12050 LT : 'HH:mm', 12051 LTS : 'HH:mm:ss', 12052 L : 'YYYY-MM-DD', 12053 LL : 'YYYY [m.] MMMM D [d.]', 12054 LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 12055 LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', 12056 l : 'YYYY-MM-DD', 12057 ll : 'YYYY [m.] MMMM D [d.]', 12058 lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 12059 llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' 12060 }, 12061 calendar : { 12062 sameDay : '[Å iandien] LT', 12063 nextDay : '[Rytoj] LT', 12064 nextWeek : 'dddd LT', 12065 lastDay : '[Vakar] LT', 12066 lastWeek : '[PraÄjusį] dddd LT', 12067 sameElse : 'L' 12068 }, 12069 relativeTime : { 12070 future : 'po %s', 12071 past : 'prieÅ¡ %s', 12072 s : translateSeconds, 12073 m : translateSingular, 12074 mm : translate, 12075 h : translateSingular, 12076 hh : translate, 12077 d : translateSingular, 12078 dd : translate, 12079 M : translateSingular, 12080 MM : translate, 12081 y : translateSingular, 12082 yy : translate 12083 }, 12084 dayOfMonthOrdinalParse: /\d{1,2}-oji/, 12085 ordinal : function (number) { 12086 return number + '-oji'; 12087 }, 12088 week : { 12089 dow : 1, // Monday is the first day of the week. 12090 doy : 4 // The week that contains Jan 4th is the first week of the year. 12091 } 12092}); 12093 12094return lt; 12095 12096}))); 12097 12098 12099/***/ }), 12100/* 116 */ 12101/***/ (function(module, exports, __webpack_require__) { 12102 12103//! moment.js locale configuration 12104//! locale : Latvian [lv] 12105//! author : Kristaps Karlsons : https://github.com/skakri 12106//! author : JÄnis Elmeris : https://github.com/JanisE 12107 12108;(function (global, factory) { 12109 true ? factory(__webpack_require__(0)) : 12110 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12111 factory(global.moment) 12112}(this, (function (moment) { 'use strict'; 12113 12114 12115var units = { 12116 'm': 'minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes'.split('_'), 12117 'mm': 'minÅ«tes_minÅ«tÄm_minÅ«te_minÅ«tes'.split('_'), 12118 'h': 'stundas_stundÄm_stunda_stundas'.split('_'), 12119 'hh': 'stundas_stundÄm_stunda_stundas'.split('_'), 12120 'd': 'dienas_dienÄm_diena_dienas'.split('_'), 12121 'dd': 'dienas_dienÄm_diena_dienas'.split('_'), 12122 'M': 'mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i'.split('_'), 12123 'MM': 'mÄneÅ¡a_mÄneÅ¡iem_mÄnesis_mÄneÅ¡i'.split('_'), 12124 'y': 'gada_gadiem_gads_gadi'.split('_'), 12125 'yy': 'gada_gadiem_gads_gadi'.split('_') 12126}; 12127/** 12128 * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. 12129 */ 12130function format(forms, number, withoutSuffix) { 12131 if (withoutSuffix) { 12132 // E.g. "21 minÅ«te", "3 minÅ«tes". 12133 return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; 12134 } else { 12135 // E.g. "21 minÅ«tes" as in "pÄc 21 minÅ«tes". 12136 // E.g. "3 minÅ«tÄm" as in "pÄc 3 minÅ«tÄm". 12137 return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; 12138 } 12139} 12140function relativeTimeWithPlural(number, withoutSuffix, key) { 12141 return number + ' ' + format(units[key], number, withoutSuffix); 12142} 12143function relativeTimeWithSingular(number, withoutSuffix, key) { 12144 return format(units[key], number, withoutSuffix); 12145} 12146function relativeSeconds(number, withoutSuffix) { 12147 return withoutSuffix ? 'dažas sekundes' : 'dažÄm sekundÄm'; 12148} 12149 12150var lv = moment.defineLocale('lv', { 12151 months : 'janvÄris_februÄris_marts_aprÄ«lis_maijs_jÅ«nijs_jÅ«lijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), 12152 monthsShort : 'jan_feb_mar_apr_mai_jÅ«n_jÅ«l_aug_sep_okt_nov_dec'.split('_'), 12153 weekdays : 'svÄtdiena_pirmdiena_otrdiena_treÅ¡diena_ceturtdiena_piektdiena_sestdiena'.split('_'), 12154 weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'), 12155 weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'), 12156 weekdaysParseExact : true, 12157 longDateFormat : { 12158 LT : 'HH:mm', 12159 LTS : 'HH:mm:ss', 12160 L : 'DD.MM.YYYY.', 12161 LL : 'YYYY. [gada] D. MMMM', 12162 LLL : 'YYYY. [gada] D. MMMM, HH:mm', 12163 LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm' 12164 }, 12165 calendar : { 12166 sameDay : '[Å odien pulksten] LT', 12167 nextDay : '[RÄ«t pulksten] LT', 12168 nextWeek : 'dddd [pulksten] LT', 12169 lastDay : '[Vakar pulksten] LT', 12170 lastWeek : '[PagÄjuÅ¡Ä] dddd [pulksten] LT', 12171 sameElse : 'L' 12172 }, 12173 relativeTime : { 12174 future : 'pÄc %s', 12175 past : 'pirms %s', 12176 s : relativeSeconds, 12177 m : relativeTimeWithSingular, 12178 mm : relativeTimeWithPlural, 12179 h : relativeTimeWithSingular, 12180 hh : relativeTimeWithPlural, 12181 d : relativeTimeWithSingular, 12182 dd : relativeTimeWithPlural, 12183 M : relativeTimeWithSingular, 12184 MM : relativeTimeWithPlural, 12185 y : relativeTimeWithSingular, 12186 yy : relativeTimeWithPlural 12187 }, 12188 dayOfMonthOrdinalParse: /\d{1,2}\./, 12189 ordinal : '%d.', 12190 week : { 12191 dow : 1, // Monday is the first day of the week. 12192 doy : 4 // The week that contains Jan 4th is the first week of the year. 12193 } 12194}); 12195 12196return lv; 12197 12198}))); 12199 12200 12201/***/ }), 12202/* 117 */ 12203/***/ (function(module, exports, __webpack_require__) { 12204 12205//! moment.js locale configuration 12206//! locale : Montenegrin [me] 12207//! author : Miodrag NikaÄ <[email protected]> : https://github.com/miodragnikac 12208 12209;(function (global, factory) { 12210 true ? factory(__webpack_require__(0)) : 12211 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12212 factory(global.moment) 12213}(this, (function (moment) { 'use strict'; 12214 12215 12216var translator = { 12217 words: { //Different grammatical cases 12218 m: ['jedan minut', 'jednog minuta'], 12219 mm: ['minut', 'minuta', 'minuta'], 12220 h: ['jedan sat', 'jednog sata'], 12221 hh: ['sat', 'sata', 'sati'], 12222 dd: ['dan', 'dana', 'dana'], 12223 MM: ['mjesec', 'mjeseca', 'mjeseci'], 12224 yy: ['godina', 'godine', 'godina'] 12225 }, 12226 correctGrammaticalCase: function (number, wordKey) { 12227 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); 12228 }, 12229 translate: function (number, withoutSuffix, key) { 12230 var wordKey = translator.words[key]; 12231 if (key.length === 1) { 12232 return withoutSuffix ? wordKey[0] : wordKey[1]; 12233 } else { 12234 return number + ' ' + translator.correctGrammaticalCase(number, wordKey); 12235 } 12236 } 12237}; 12238 12239var me = moment.defineLocale('me', { 12240 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), 12241 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), 12242 monthsParseExact : true, 12243 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_Äetvrtak_petak_subota'.split('_'), 12244 weekdaysShort: 'ned._pon._uto._sri._Äet._pet._sub.'.split('_'), 12245 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 12246 weekdaysParseExact : true, 12247 longDateFormat: { 12248 LT: 'H:mm', 12249 LTS : 'H:mm:ss', 12250 L: 'DD.MM.YYYY', 12251 LL: 'D. MMMM YYYY', 12252 LLL: 'D. MMMM YYYY H:mm', 12253 LLLL: 'dddd, D. MMMM YYYY H:mm' 12254 }, 12255 calendar: { 12256 sameDay: '[danas u] LT', 12257 nextDay: '[sjutra u] LT', 12258 12259 nextWeek: function () { 12260 switch (this.day()) { 12261 case 0: 12262 return '[u] [nedjelju] [u] LT'; 12263 case 3: 12264 return '[u] [srijedu] [u] LT'; 12265 case 6: 12266 return '[u] [subotu] [u] LT'; 12267 case 1: 12268 case 2: 12269 case 4: 12270 case 5: 12271 return '[u] dddd [u] LT'; 12272 } 12273 }, 12274 lastDay : '[juÄe u] LT', 12275 lastWeek : function () { 12276 var lastWeekDays = [ 12277 '[proÅ¡le] [nedjelje] [u] LT', 12278 '[proÅ¡log] [ponedjeljka] [u] LT', 12279 '[proÅ¡log] [utorka] [u] LT', 12280 '[proÅ¡le] [srijede] [u] LT', 12281 '[proÅ¡log] [Äetvrtka] [u] LT', 12282 '[proÅ¡log] [petka] [u] LT', 12283 '[proÅ¡le] [subote] [u] LT' 12284 ]; 12285 return lastWeekDays[this.day()]; 12286 }, 12287 sameElse : 'L' 12288 }, 12289 relativeTime : { 12290 future : 'za %s', 12291 past : 'prije %s', 12292 s : 'nekoliko sekundi', 12293 m : translator.translate, 12294 mm : translator.translate, 12295 h : translator.translate, 12296 hh : translator.translate, 12297 d : 'dan', 12298 dd : translator.translate, 12299 M : 'mjesec', 12300 MM : translator.translate, 12301 y : 'godinu', 12302 yy : translator.translate 12303 }, 12304 dayOfMonthOrdinalParse: /\d{1,2}\./, 12305 ordinal : '%d.', 12306 week : { 12307 dow : 1, // Monday is the first day of the week. 12308 doy : 7 // The week that contains Jan 1st is the first week of the year. 12309 } 12310}); 12311 12312return me; 12313 12314}))); 12315 12316 12317/***/ }), 12318/* 118 */ 12319/***/ (function(module, exports, __webpack_require__) { 12320 12321//! moment.js locale configuration 12322//! locale : Maori [mi] 12323//! author : John Corrigan <[email protected]> : https://github.com/johnideal 12324 12325;(function (global, factory) { 12326 true ? factory(__webpack_require__(0)) : 12327 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12328 factory(global.moment) 12329}(this, (function (moment) { 'use strict'; 12330 12331 12332var mi = moment.defineLocale('mi', { 12333 months: 'Kohi-tÄte_Hui-tanguru_PoutÅ«-te-rangi_Paenga-whÄwhÄ_Haratua_Pipiri_HÅngoingoi_Here-turi-kÅkÄ_Mahuru_Whiringa-Ä-nuku_Whiringa-Ä-rangi_Hakihea'.split('_'), 12334 monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_HÅngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), 12335 monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 12336 monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 12337 monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 12338 monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, 12339 weekdays: 'RÄtapu_Mane_TÅ«rei_Wenerei_TÄite_Paraire_HÄtarei'.split('_'), 12340 weekdaysShort: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'), 12341 weekdaysMin: 'Ta_Ma_TÅ«_We_TÄi_Pa_HÄ'.split('_'), 12342 longDateFormat: { 12343 LT: 'HH:mm', 12344 LTS: 'HH:mm:ss', 12345 L: 'DD/MM/YYYY', 12346 LL: 'D MMMM YYYY', 12347 LLL: 'D MMMM YYYY [i] HH:mm', 12348 LLLL: 'dddd, D MMMM YYYY [i] HH:mm' 12349 }, 12350 calendar: { 12351 sameDay: '[i teie mahana, i] LT', 12352 nextDay: '[apopo i] LT', 12353 nextWeek: 'dddd [i] LT', 12354 lastDay: '[inanahi i] LT', 12355 lastWeek: 'dddd [whakamutunga i] LT', 12356 sameElse: 'L' 12357 }, 12358 relativeTime: { 12359 future: 'i roto i %s', 12360 past: '%s i mua', 12361 s: 'te hÄkona ruarua', 12362 m: 'he meneti', 12363 mm: '%d meneti', 12364 h: 'te haora', 12365 hh: '%d haora', 12366 d: 'he ra', 12367 dd: '%d ra', 12368 M: 'he marama', 12369 MM: '%d marama', 12370 y: 'he tau', 12371 yy: '%d tau' 12372 }, 12373 dayOfMonthOrdinalParse: /\d{1,2}º/, 12374 ordinal: '%dº', 12375 week : { 12376 dow : 1, // Monday is the first day of the week. 12377 doy : 4 // The week that contains Jan 4th is the first week of the year. 12378 } 12379}); 12380 12381return mi; 12382 12383}))); 12384 12385 12386/***/ }), 12387/* 119 */ 12388/***/ (function(module, exports, __webpack_require__) { 12389 12390//! moment.js locale configuration 12391//! locale : Macedonian [mk] 12392//! author : Borislav Mickov : https://github.com/B0k0 12393 12394;(function (global, factory) { 12395 true ? factory(__webpack_require__(0)) : 12396 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12397 factory(global.moment) 12398}(this, (function (moment) { 'use strict'; 12399 12400 12401var mk = moment.defineLocale('mk', { 12402 months : 'ÑанÑаÑи_ÑевÑÑаÑи_маÑÑ_апÑил_маÑ_ÑÑни_ÑÑли_авгÑÑÑ_ÑепÑемвÑи_окÑомвÑи_ноемвÑи_декемвÑи'.split('_'), 12403 monthsShort : 'Ñан_Ñев_маÑ_апÑ_маÑ_ÑÑн_ÑÑл_авг_Ñеп_окÑ_ное_дек'.split('_'), 12404 weekdays : 'недела_понеделник_вÑоÑник_ÑÑеда_ÑеÑвÑÑок_пеÑок_ÑабоÑа'.split('_'), 12405 weekdaysShort : 'нед_пон_вÑо_ÑÑе_ÑеÑ_пеÑ_Ñаб'.split('_'), 12406 weekdaysMin : 'нe_пo_вÑ_ÑÑ_Ñе_пе_Ña'.split('_'), 12407 longDateFormat : { 12408 LT : 'H:mm', 12409 LTS : 'H:mm:ss', 12410 L : 'D.MM.YYYY', 12411 LL : 'D MMMM YYYY', 12412 LLL : 'D MMMM YYYY H:mm', 12413 LLLL : 'dddd, D MMMM YYYY H:mm' 12414 }, 12415 calendar : { 12416 sameDay : '[ÐÐµÐ½ÐµÑ Ð²Ð¾] LT', 12417 nextDay : '[УÑÑе во] LT', 12418 nextWeek : '[Ðо] dddd [во] LT', 12419 lastDay : '[ÐÑеÑа во] LT', 12420 lastWeek : function () { 12421 switch (this.day()) { 12422 case 0: 12423 case 3: 12424 case 6: 12425 return '[ÐзминаÑаÑа] dddd [во] LT'; 12426 case 1: 12427 case 2: 12428 case 4: 12429 case 5: 12430 return '[ÐзминаÑиоÑ] dddd [во] LT'; 12431 } 12432 }, 12433 sameElse : 'L' 12434 }, 12435 relativeTime : { 12436 future : 'поÑле %s', 12437 past : 'пÑед %s', 12438 s : 'Ð½ÐµÐºÐ¾Ð»ÐºÑ ÑекÑнди', 12439 m : 'минÑÑа', 12440 mm : '%d минÑÑи', 12441 h : 'ÑаÑ', 12442 hh : '%d ÑаÑа', 12443 d : 'ден', 12444 dd : '%d дена', 12445 M : 'меÑеÑ', 12446 MM : '%d меÑеÑи', 12447 y : 'година', 12448 yy : '%d години' 12449 }, 12450 dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|Ñи|ви|Ñи|ми)/, 12451 ordinal : function (number) { 12452 var lastDigit = number % 10, 12453 last2Digits = number % 100; 12454 if (number === 0) { 12455 return number + '-ев'; 12456 } else if (last2Digits === 0) { 12457 return number + '-ен'; 12458 } else if (last2Digits > 10 && last2Digits < 20) { 12459 return number + '-Ñи'; 12460 } else if (lastDigit === 1) { 12461 return number + '-ви'; 12462 } else if (lastDigit === 2) { 12463 return number + '-Ñи'; 12464 } else if (lastDigit === 7 || lastDigit === 8) { 12465 return number + '-ми'; 12466 } else { 12467 return number + '-Ñи'; 12468 } 12469 }, 12470 week : { 12471 dow : 1, // Monday is the first day of the week. 12472 doy : 7 // The week that contains Jan 1st is the first week of the year. 12473 } 12474}); 12475 12476return mk; 12477 12478}))); 12479 12480 12481/***/ }), 12482/* 120 */ 12483/***/ (function(module, exports, __webpack_require__) { 12484 12485//! moment.js locale configuration 12486//! locale : Malayalam [ml] 12487//! author : Floyd Pink : https://github.com/floydpink 12488 12489;(function (global, factory) { 12490 true ? factory(__webpack_require__(0)) : 12491 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12492 factory(global.moment) 12493}(this, (function (moment) { 'use strict'; 12494 12495 12496var ml = moment.defineLocale('ml', { 12497 months : 'à´à´¨àµà´µà´°à´¿_à´«àµà´¬àµà´°àµà´µà´°à´¿_മാർà´àµà´à
12497µ_à´à´ªàµà´°à´¿àµ½_à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ_à´à´à´¸àµà´±àµà´±àµ_à´¸àµà´ªàµà´±àµà´±à´à´¬àµ¼_à´à´àµà´àµà´¬àµ¼_നവà´à´¬àµ¼_à´¡à´¿à´¸à´à´¬àµ¼'.split('_'), 12498 monthsShort : 'à´à´¨àµ._à´«àµà´¬àµà´°àµ._മാർ._à´à´ªàµà´°à´¿._à´®àµà´¯àµ_à´àµàµº_à´àµà´²àµ._à´à´._à´¸àµà´ªàµà´±àµà´±._à´à´àµà´àµ._നവà´._à´¡à´¿à´¸à´.'.split('_'), 12499 monthsParseExact : true, 12500 weekdays : 'à´à´¾à´¯à´±à´¾à´´àµà´_തിà´àµà´à´³à´¾à´´àµà´_à´àµà´µàµà´µà´¾à´´àµà´_à´¬àµà´§à´¨à´¾à´´àµà´_à´µàµà´¯à´¾à´´à´¾à´´àµà´_à´µàµà´³àµà´³à´¿à´¯à´¾à´´àµà´_ശനിയാഴàµà´'.split('_'), 12501 weekdaysShort : 'à´à´¾à´¯àµ¼_തിà´àµà´àµ¾_à´àµà´µàµà´µ_à´¬àµà´§àµ»_à´µàµà´¯à´¾à´´à´_à´µàµà´³àµà´³à´¿_ശനി'.split('_'), 12502 weekdaysMin : 'à´à´¾_തി_à´àµ_à´¬àµ_à´µàµà´¯à´¾_à´µàµ_à´¶'.split('_'), 12503 longDateFormat : { 12504 LT : 'A h:mm -à´¨àµ', 12505 LTS : 'A h:mm:ss -à´¨àµ', 12506 L : 'DD/MM/YYYY', 12507 LL : 'D MMMM YYYY', 12508 LLL : 'D MMMM YYYY, A h:mm -à´¨àµ', 12509 LLLL : 'dddd, D MMMM YYYY, A h:mm -à´¨àµ' 12510 }, 12511 calendar : { 12512 sameDay : '[à´à´¨àµà´¨àµ] LT', 12513 nextDay : '[നാളàµ] LT', 12514 nextWeek : 'dddd, LT', 12515 lastDay : '[à´à´¨àµà´¨à´²àµ] LT', 12516 lastWeek : '[à´à´´à´¿à´àµà´] dddd, LT', 12517 sameElse : 'L' 12518 }, 12519 relativeTime : { 12520 future : '%s à´à´´à´¿à´àµà´àµ', 12521 past : '%s à´®àµàµ»à´ªàµ', 12522 s : 'ഠൽപ നിമിഷà´àµà´àµ¾', 12523 m : 'à´à´°àµ മിനിറàµà´±àµ', 12524 mm : '%d മിനിറàµà´±àµ', 12525 h : 'à´à´°àµ മണിà´àµà´àµàµ¼', 12526 hh : '%d മണിà´àµà´àµàµ¼', 12527 d : 'à´à´°àµ ദിവസà´', 12528 dd : '%d ദിവസà´', 12529 M : 'à´à´°àµ മാസà´', 12530 MM : '%d മാസà´', 12531 y : 'à´à´°àµ വർഷà´', 12532 yy : '%d വർഷà´' 12533 }, 12534 meridiemParse: /രാതàµà´°à´¿|രാവിലàµ|à´à´àµà´ à´à´´à´¿à´àµà´àµ|à´µàµà´àµà´¨àµà´¨àµà´°à´|രാതàµà´°à´¿/i, 12535 meridiemHour : function (hour, meridiem) { 12536 if (hour === 12) { 12537 hour = 0; 12538 } 12539 if ((meridiem === 'രാതàµà´°à´¿' && hour >= 4) || 12540 meridiem === 'à´à´àµà´ à´à´´à´¿à´àµà´àµ' || 12541 meridiem === 'à´µàµà´àµà´¨àµà´¨àµà´°à´') { 12542 return hour + 12; 12543 } else { 12544 return hour; 12545 } 12546 }, 12547 meridiem : function (hour, minute, isLower) { 12548 if (hour < 4) { 12549 return 'രാതàµà´°à´¿'; 12550 } else if (hour < 12) { 12551 return 'രാവിലàµ'; 12552 } else if (hour < 17) { 12553 return 'à´à´àµà´ à´à´´à´¿à´àµà´àµ'; 12554 } else if (hour < 20) { 12555 return 'à´µàµà´àµà´¨àµà´¨àµà´°à´'; 12556 } else { 12557 return 'രാതàµà´°à´¿'; 12558 } 12559 } 12560}); 12561 12562return ml; 12563 12564}))); 12565 12566 12567/***/ }), 12568/* 121 */ 12569/***/ (function(module, exports, __webpack_require__) { 12570 12571//! moment.js locale configuration 12572//! locale : Marathi [mr] 12573//! author : Harshad Kale : https://github.com/kalehv 12574//! author : Vivek Athalye : https://github.com/vnathalye 12575 12576;(function (global, factory) { 12577 true ? factory(__webpack_require__(0)) : 12578 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12579 factory(global.moment) 12580}(this, (function (moment) { 'use strict'; 12581 12582 12583var symbolMap = { 12584 '1': '१', 12585 '2': '२', 12586 '3': '३', 12587 '4': '४', 12588 '5': '५', 12589 '6': '६', 12590 '7': 'à¥', 12591 '8': '८', 12592 '9': '९', 12593 '0': '०' 12594}; 12595var numberMap = { 12596 '१': '1', 12597 '२': '2', 12598 '३': '3', 12599 '४': '4', 12600 '५': '5', 12601 '६': '6', 12602 'à¥': '7', 12603 '८': '8', 12604 '९': '9', 12605 '०': '0' 12606}; 12607 12608function relativeTimeMr(number, withoutSuffix, string, isFuture) 12609{ 12610 var output = ''; 12611 if (withoutSuffix) { 12612 switch (string) { 12613 case 's': output = 'à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦'; break; 12614 case 'm': output = 'à¤à¤ मिनिà¤'; break; 12615 case 'mm': output = '%d मिनिà¤à¥'; break; 12616 case 'h': output = 'à¤à¤ तास'; break; 12617 case 'hh': output = '%d तास'; break; 12618 case 'd': output = 'à¤à¤ दिवस'; break; 12619 case 'dd': output = '%d दिवस'; break; 12620 case 'M': output = 'à¤à¤ महिना'; break; 12621 case 'MM': output = '%d महिनà¥'; break; 12622 case 'y': output = 'à¤à¤ वरà¥à¤·'; break; 12623 case 'yy': output = '%d वरà¥à¤·à¥'; break; 12624 } 12625 } 12626 else { 12627 switch (string) { 12628 case 's': output = 'à¤à¤¾à¤¹à¥ सà¥à¤à¤à¤¦à¤¾à
vendor: 11,614 bytes, lines 12628-12973
12628¤'; break; 12629 case 'm': output = 'à¤à¤à¤¾ मिनिà¤à¤¾'; break; 12630 case 'mm': output = '%d मिनिà¤à¤¾à¤'; break; 12631 case 'h': output = 'à¤à¤à¤¾ तासा'; break; 12632 case 'hh': output = '%d तासाà¤'; break; 12633 case 'd': output = 'à¤à¤à¤¾ दिवसा'; break; 12634 case 'dd': output = '%d दिवसाà¤'; break; 12635 case 'M': output = 'à¤à¤à¤¾ महिनà¥à¤¯à¤¾'; break; 12636 case 'MM': output = '%d महिनà¥à¤¯à¤¾à¤'; break; 12637 case 'y': output = 'à¤à¤à¤¾ वरà¥à¤·à¤¾'; break; 12638 case 'yy': output = '%d वरà¥à¤·à¤¾à¤'; break; 12639 } 12640 } 12641 return output.replace(/%d/i, number); 12642} 12643 12644var mr = moment.defineLocale('mr', { 12645 months : 'à¤à¤¾à¤¨à¥à¤µà¤¾à¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤¾à¤°à¥_मारà¥à¤_à¤à¤ªà¥à¤°à¤¿à¤²_मà¥_à¤à¥à¤¨_à¤à¥à¤²à¥_à¤à¤à¤¸à¥à¤_सपà¥à¤à¥à¤à¤¬à¤°_à¤à¤à¥à¤à¥à¤¬à¤°_नà¥à¤µà¥à¤¹à¥à¤à¤¬à¤°_डिसà¥à¤à¤¬à¤°'.split('_'), 12646 monthsShort: 'à¤à¤¾à¤¨à¥._फà¥à¤¬à¥à¤°à¥._मारà¥à¤._à¤à¤ªà¥à¤°à¤¿._मà¥._à¤à¥à¤¨._à¤à¥à¤²à¥._à¤à¤._सपà¥à¤à¥à¤._à¤à¤à¥à¤à¥._नà¥à¤µà¥à¤¹à¥à¤._डिसà¥à¤.'.split('_'), 12647 monthsParseExact : true, 12648 weekdays : 'रविवार_सà¥à¤®à¤µà¤¾à¤°_मà¤à¤à¤³à¤µà¤¾à¤°_बà¥à¤§à¤µà¤¾à¤°_à¤à¥à¤°à¥à¤µà¤¾à¤°_शà¥à¤à¥à¤°à¤µà¤¾à¤°_शनिवार'.split('_'), 12649 weekdaysShort : 'रवि_सà¥à¤®_मà¤à¤à¤³_बà¥à¤§_à¤à¥à¤°à¥_शà¥à¤à¥à¤°_शनि'.split('_'), 12650 weekdaysMin : 'र_सà¥_मà¤_बà¥_à¤à¥_शà¥_श'.split('_'), 12651 longDateFormat : { 12652 LT : 'A h:mm वाà¤à¤¤à¤¾', 12653 LTS : 'A h:mm:ss वाà¤à¤¤à¤¾', 12654 L : 'DD/MM/YYYY', 12655 LL : 'D MMMM YYYY', 12656 LLL : 'D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾', 12657 LLLL : 'dddd, D MMMM YYYY, A h:mm वाà¤à¤¤à¤¾' 12658 }, 12659 calendar : { 12660 sameDay : '[à¤à¤] LT', 12661 nextDay : '[à¤à¤¦à¥à¤¯à¤¾] LT', 12662 nextWeek : 'dddd, LT', 12663 lastDay : '[à¤à¤¾à¤²] LT', 12664 lastWeek: '[माà¤à¥à¤²] dddd, LT', 12665 sameElse : 'L' 12666 }, 12667 relativeTime : { 12668 future: '%sमधà¥à¤¯à¥', 12669 past: '%sपà¥à¤°à¥à¤µà¥', 12670 s: relativeTimeMr, 12671 m: relativeTimeMr, 12672 mm: relativeTimeMr, 12673 h: relativeTimeMr, 12674 hh: relativeTimeMr, 12675 d: relativeTimeMr, 12676 dd: relativeTimeMr, 12677 M: relativeTimeMr, 12678 MM: relativeTimeMr, 12679 y: relativeTimeMr, 12680 yy: relativeTimeMr 12681 }, 12682 preparse: function (string) { 12683 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 12684 return numberMap[match]; 12685 }); 12686 }, 12687 postformat: function (string) { 12688 return string.replace(/\d/g, function (match) { 12689 return symbolMap[match]; 12690 }); 12691 }, 12692 meridiemParse: /रातà¥à¤°à¥|सà¤à¤¾à¤³à¥|दà¥à¤ªà¤¾à¤°à¥|सायà¤à¤à¤¾à¤³à¥/, 12693 meridiemHour : function (hour, meridiem) { 12694 if (hour === 12) { 12695 hour = 0; 12696 } 12697 if (meridiem === 'रातà¥à¤°à¥') { 12698 return hour < 4 ? hour : hour + 12; 12699 } else if (meridiem === 'सà¤à¤¾à¤³à¥') { 12700 return hour; 12701 } else if (meridiem === 'दà¥à¤ªà¤¾à¤°à¥') { 12702 return hour >= 10 ? hour : hour + 12; 12703 } else if (meridiem === 'सायà¤à¤à¤¾à¤³à¥') { 12704 return hour + 12; 12705 } 12706 }, 12707 meridiem: function (hour, minute, isLower) { 12708 if (hour < 4) { 12709 return 'रातà¥à¤°à¥'; 12710 } else if (hour < 10) { 12711 return 'सà¤à¤¾à¤³à¥'; 12712 } else if (hour < 17) { 12713 return 'दà¥à¤ªà¤¾à¤°à¥'; 12714 } else if (hour < 20) { 12715 return 'सायà¤à¤à¤¾à¤³à¥'; 12716 } else { 12717 return 'रातà¥à¤°à¥'; 12718 } 12719 }, 12720 week : { 12721 dow : 0, // Sunday is the first day of the week. 12722 doy : 6 // The week that contains Jan 1st is the first week of the year. 12723 } 12724}); 12725 12726return mr; 12727 12728}))); 12729 12730 12731/***/ }), 12732/* 122 */ 12733/***/ (function(module, exports, __webpack_require__) { 12734 12735//! moment.js locale configuration 12736//! locale : Malay [ms] 12737//! author : Weldan Jamili : https://github.com/weldan 12738 12739;(function (global, factory) { 12740 true ? factory(__webpack_require__(0)) : 12741 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12742 factory(global.moment) 12743}(this, (function (moment) { 'use strict'; 12744 12745 12746var ms = moment.defineLocale('ms', { 12747 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), 12748 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), 12749 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), 12750 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), 12751 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), 12752 longDateFormat : { 12753 LT : 'HH.mm', 12754 LTS : 'HH.mm.ss', 12755 L : 'DD/MM/YYYY', 12756 LL : 'D MMMM YYYY', 12757 LLL : 'D MMMM YYYY [pukul] HH.mm', 12758 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 12759 }, 12760 meridiemParse: /pagi|tengahari|petang|malam/, 12761 meridiemHour: function (hour, meridiem) { 12762 if (hour === 12) { 12763 hour = 0; 12764 } 12765 if (meridiem === 'pagi') { 12766 return hour; 12767 } else if (meridiem === 'tengahari') { 12768 return hour >= 11 ? hour : hour + 12; 12769 } else if (meridiem === 'petang' || meridiem === 'malam') { 12770 return hour + 12; 12771 } 12772 }, 12773 meridiem : function (hours, minutes, isLower) { 12774 if (hours < 11) { 12775 return 'pagi'; 12776 } else if (hours < 15) { 12777 return 'tengahari'; 12778 } else if (hours < 19) { 12779 return 'petang'; 12780 } else { 12781 return 'malam'; 12782 } 12783 }, 12784 calendar : { 12785 sameDay : '[Hari ini pukul] LT', 12786 nextDay : '[Esok pukul] LT', 12787 nextWeek : 'dddd [pukul] LT', 12788 lastDay : '[Kelmarin pukul] LT', 12789 lastWeek : 'dddd [lepas pukul] LT', 12790 sameElse : 'L' 12791 }, 12792 relativeTime : { 12793 future : 'dalam %s', 12794 past : '%s yang lepas', 12795 s : 'beberapa saat', 12796 m : 'seminit', 12797 mm : '%d minit', 12798 h : 'sejam', 12799 hh : '%d jam', 12800 d : 'sehari', 12801 dd : '%d hari', 12802 M : 'sebulan', 12803 MM : '%d bulan', 12804 y : 'setahun', 12805 yy : '%d tahun' 12806 }, 12807 week : { 12808 dow : 1, // Monday is the first day of the week. 12809 doy : 7 // The week that contains Jan 1st is the first week of the year. 12810 } 12811}); 12812 12813return ms; 12814 12815}))); 12816 12817 12818/***/ }), 12819/* 123 */ 12820/***/ (function(module, exports, __webpack_require__) { 12821 12822//! moment.js locale configuration 12823//! locale : Malay [ms-my] 12824//! note : DEPRECATED, the correct one is [ms] 12825//! author : Weldan Jamili : https://github.com/weldan 12826 12827;(function (global, factory) { 12828 true ? factory(__webpack_require__(0)) : 12829 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12830 factory(global.moment) 12831}(this, (function (moment) { 'use strict'; 12832 12833 12834var msMy = moment.defineLocale('ms-my', { 12835 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), 12836 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), 12837 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), 12838 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), 12839 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), 12840 longDateFormat : { 12841 LT : 'HH.mm', 12842 LTS : 'HH.mm.ss', 12843 L : 'DD/MM/YYYY', 12844 LL : 'D MMMM YYYY', 12845 LLL : 'D MMMM YYYY [pukul] HH.mm', 12846 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 12847 }, 12848 meridiemParse: /pagi|tengahari|petang|malam/, 12849 meridiemHour: function (hour, meridiem) { 12850 if (hour === 12) { 12851 hour = 0; 12852 } 12853 if (meridiem === 'pagi') { 12854 return hour; 12855 } else if (meridiem === 'tengahari') { 12856 return hour >= 11 ? hour : hour + 12; 12857 } else if (meridiem === 'petang' || meridiem === 'malam') { 12858 return hour + 12; 12859 } 12860 }, 12861 meridiem : function (hours, minutes, isLower) { 12862 if (hours < 11) { 12863 return 'pagi'; 12864 } else if (hours < 15) { 12865 return 'tengahari'; 12866 } else if (hours < 19) { 12867 return 'petang'; 12868 } else { 12869 return 'malam'; 12870 } 12871 }, 12872 calendar : { 12873 sameDay : '[Hari ini pukul] LT', 12874 nextDay : '[Esok pukul] LT', 12875 nextWeek : 'dddd [pukul] LT', 12876 lastDay : '[Kelmarin pukul] LT', 12877 lastWeek : 'dddd [lepas pukul] LT', 12878 sameElse : 'L' 12879 }, 12880 relativeTime : { 12881 future : 'dalam %s', 12882 past : '%s yang lepas', 12883 s : 'beberapa saat', 12884 m : 'seminit', 12885 mm : '%d minit', 12886 h : 'sejam', 12887 hh : '%d jam', 12888 d : 'sehari', 12889 dd : '%d hari', 12890 M : 'sebulan', 12891 MM : '%d bulan', 12892 y : 'setahun', 12893 yy : '%d tahun' 12894 }, 12895 week : { 12896 dow : 1, // Monday is the first day of the week. 12897 doy : 7 // The week that contains Jan 1st is the first week of the year. 12898 } 12899}); 12900 12901return msMy; 12902 12903}))); 12904 12905 12906/***/ }), 12907/* 124 */ 12908/***/ (function(module, exports, __webpack_require__) { 12909 12910//! moment.js locale configuration 12911//! locale : Burmese [my] 12912//! author : Squar team, mysquar.com 12913//! author : David Rossellat : https://github.com/gholadr 12914//! author : Tin Aung Lin : https://github.com/thanyawzinmin 12915 12916;(function (global, factory) { 12917 true ? factory(__webpack_require__(0)) : 12918 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12919 factory(global.moment) 12920}(this, (function (moment) { 'use strict'; 12921 12922 12923var symbolMap = { 12924 '1': 'á', 12925 '2': 'á', 12926 '3': 'á', 12927 '4': 'á', 12928 '5': 'á ', 12929 '6': 'á', 12930 '7': 'á', 12931 '8': 'á', 12932 '9': 'á', 12933 '0': 'á' 12934}; 12935var numberMap = { 12936 'á': '1', 12937 'á': '2', 12938 'á': '3', 12939 'á': '4', 12940 'á ': '5', 12941 'á': '6', 12942 'á': '7', 12943 'á': '8', 12944 'á': '9', 12945 'á': '0' 12946}; 12947 12948var my = moment.defineLocale('my', { 12949 months: 'áááºááá«áá®_áá±áá±á¬áºáá«áá®_áááº_á§áá¼á®_áá±_áá½ááº_áá°ááá¯ááº_áá¼áá¯ááº_á ááºáááºáá¬_á¡á±á¬ááºááá¯áá¬_ááá¯áááºáá¬_áá®áááºáá¬'.split('_'), 12950 monthsShort: 'áááº_áá±_áááº_áá¼á®_áá±_áá½ááº_ááá¯ááº_áá¼_á ááº_á¡á±á¬ááº_ááá¯_áá®'.split('_'), 12951 weekdays: 'ááááºá¹ááá½á±_ááááºá¹áá¬_á¡ááºá¹áá«_áá¯áá¹ááá°á¸_áá¼á¬áááá±á¸_áá±á¬áá¼á¬_á áá±'.split('_'), 12952 weekdaysShort: 'áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±'.split('_'), 12953 weekdaysMin: 'áá½á±_áá¬_áá«_áá°á¸_áá¼á¬_áá±á¬_áá±'.split('_'), 12954 12955 longDateFormat: { 12956 LT: 'HH:mm', 12957 LTS: 'HH:mm:ss', 12958 L: 'DD/MM/YYYY', 12959 LL: 'D MMMM YYYY', 12960 LLL: 'D MMMM YYYY HH:mm', 12961 LLLL: 'dddd D MMMM YYYY HH:mm' 12962 }, 12963 calendar: { 12964 sameDay: '[ááá±.] LT [áá¾á¬]', 12965 nextDay: '[ááááºáá¼ááº] LT [áá¾á¬]', 12966 nextWeek: 'dddd LT [áá¾á¬]', 12967 lastDay: '[ááá±.á] LT [áá¾á¬]', 12968 lastWeek: '[áá¼á®á¸áá²á·áá±á¬] dddd LT [áá¾á¬]', 12969 sameElse: 'L' 12970 }, 12971 relativeTime: { 12972 future: 'áá¬áááºá· %s áá¾á¬', 12973 past: 'áá½ááºáá²á·áá±á¬ %s á',
12974 s: 'á áá¹áááº.á¡áááºá¸áááº', 12975 m: 'áá áºáááá áº', 12976 mm: '%d áááá áº', 12977 h: 'áá áºáá¬áá®', 12978 hh: '%d áá¬áá®', 12979 d: 'áá áºáááº', 12980 dd: '%d áááº', 12981 M: 'áá áºá', 12982 MM: '%d á', 12983 y: 'áá áºáá¾á áº', 12984 yy: '%d áá¾á áº' 12985 }, 12986 preparse: function (string) { 12987 return string.replace(/[ááááá ááááá]/g, function (match) { 12988 return numberMap[match]; 12989 }); 12990 }, 12991 postformat: function (string) { 12992 return string.replace(/\d/g, function (match) { 12993 return symbolMap[match]; 12994 }); 12995 }, 12996 week: { 12997 dow: 1, // Monday is the first day of the week. 12998 doy: 4 // The week that contains Jan 1st is the first week of the year. 12999 } 13000}); 13001 13002return my; 13003 13004}))); 13005 13006 13007/***/ }), 13008/* 125 */ 13009/***/ (function(module, exports, __webpack_require__) { 13010 13011//! moment.js locale configuration 13012//! locale : Norwegian BokmÃ¥l [nb] 13013//! authors : Espen Hovlandsdal : https://github.com/rexxars 13014//! Sigurd Gartmann : https://github.com/sigurdga 13015 13016;(function (global, factory) { 13017 true ? factory(__webpack_require__(0)) : 13018 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13019 factory(global.moment) 13020}(this, (function (moment) { 'use strict'; 13021 13022 13023var nb = moment.defineLocale('nb', { 13024 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), 13025 monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), 13026 monthsParseExact : true, 13027 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), 13028 weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'), 13029 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), 13030 weekdaysParseExact : true, 13031 longDateFormat : { 13032 LT : 'HH:mm', 13033 LTS : 'HH:mm:ss', 13034 L : 'DD.MM.YYYY', 13035 LL : 'D. MMMM YYYY', 13036 LLL : 'D. MMMM YYYY [kl.] HH:mm', 13037 LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' 13038 }, 13039 calendar : { 13040 sameDay: '[i dag kl.] LT', 13041 nextDay: '[i morgen kl.] LT', 13042 nextWeek: 'dddd [kl.] LT', 13043 lastDay: '[i gÃ¥r kl.] LT', 13044 lastWeek: '[forrige] dddd [kl.] LT', 13045 sameElse: 'L' 13046 }, 13047 relativeTime : { 13048 future : 'om %s', 13049 past : '%s siden', 13050 s : 'noen sekunder', 13051 m : 'ett minutt', 13052 mm : '%d minutter', 13053 h : 'en time', 13054 hh : '%d timer', 13055 d : 'en dag', 13056 dd : '%d dager', 13057 M : 'en mÃ¥ned', 13058 MM : '%d mÃ¥neder', 13059 y : 'ett Ã¥r', 13060 yy : '%d Ã¥r' 13061 }, 13062 dayOfMonthOrdinalParse: /\d{1,2}\./, 13063 ordinal : '%d.', 13064 week : { 13065 dow : 1, // Monday is the first day of the week. 13066 doy : 4 // The week that contains Jan 4th is the first week of the year. 13067 } 13068}); 13069 13070return nb; 13071 13072}))); 13073 13074 13075/***/ }), 13076/* 126 */ 13077/***/ (function(module, exports, __webpack_require__) { 13078 13079//! moment.js locale configuration 13080//! locale : Nepalese [ne] 13081//! author : suvash : https://github.com/suvash 13082 13083;(function (global, factory) { 13084 true ? factory(__webpack_require__(0)) : 13085 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13086 factory(global.moment) 13087}(this, (function (moment) { 'use strict'; 13088 13089 13090var symbolMap = { 13091 '1': '१', 13092 '2': '२', 13093 '3': '३', 13094 '4': '४', 13095 '5': '५', 13096 '6': '६', 13097 '7': 'à¥', 13098 '8': '८', 13099 '9': '९', 13100 '0': '०' 13101}; 13102var numberMap = { 13103 '१': '1', 13104 '२': '2', 13105 '३': '3', 13106 '४': '4', 13107 '५': '5', 13108 '६': '6', 13109 'à¥': '7', 13110 '८': '8', 13111 '९': '9', 13112 '०': '0' 13113}; 13114 13115var ne = moment.defineLocale('ne', { 13116 months : 'à¤à¤¨à¤µà¤°à¥_फà¥à¤¬à¥à¤°à¥à¤µà¤°à¥_मारà¥à¤_ठपà¥à¤°à¤¿à¤²_मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤_ठà¤à¤·à¥à¤_सà¥à¤ªà¥à¤à¥à¤®à¥à¤¬à¤°_ठà¤à¥à¤à¥à¤¬à¤°_नà¥à¤à¥à¤®à¥à¤¬à¤°_डिसà¥à¤®à¥à¤¬à¤°'.split('_'), 13117 monthsShort : 'à¤à¤¨._फà¥à¤¬à¥à¤°à¥._मारà¥à¤_ठपà¥à¤°à¤¿._मà¤_à¤à¥à¤¨_à¤à¥à¤²à¤¾à¤._ठà¤._सà¥à¤ªà¥à¤._ठà¤à¥à¤à¥._नà¥à¤à¥._डिसà¥.'.split('_'), 13118 monthsParseExact : true, 13119 weekdays : 'à¤à¤à¤¤à¤¬à¤¾à¤°_सà¥à¤®à¤¬à¤¾à¤°_मà¤à¥à¤à¤²à¤¬à¤¾à¤°_बà¥à¤§à¤¬à¤¾à¤°_बिहिबार_शà¥à¤à¥à¤°à¤¬à¤¾à¤°_शनिबार'.split('_'), 13120 weekdaysShort : 'à¤à¤à¤¤._सà¥à¤®._मà¤à¥à¤à¤²._बà¥à¤§._बिहि._शà¥à¤à¥à¤°._शनि.'.split('_'), 13121 weekdaysMin : 'à¤._सà¥._मà¤._बà¥._बि._शà¥._श.'.split('_'), 13122 weekdaysParseExact : true, 13123 longDateFormat : { 13124 LT : 'Aà¤à¥ h:mm बà¤à¥', 13125 LTS : 'Aà¤à¥ h:mm:ss बà¤à¥', 13126 L : 'DD/MM/YYYY', 13127 LL : 'D MMMM YYYY', 13128 LLL : 'D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥', 13129 LLLL : 'dddd, D MMMM YYYY, Aà¤à¥ h:mm बà¤à¥' 13130 }, 13131 preparse: function (string) { 13132 return string.replace(/[१२३४५६à¥à¥®à¥¯à¥¦]/g, function (match) { 13133 return numberMap[match]; 13134 }); 13135 }, 13136 postformat: function (string) { 13137 return string.replace(/\d/g, function (match) { 13138 return symbolMap[match]; 13139 }); 13140 },
vendor: 65,032 bytes, lines 13141-15069
13141 meridiemParse: /राति|बिहान|दिà¤à¤à¤¸à¥|साà¤à¤/, 13142 meridiemHour : function (hour, meridiem) { 13143 if (hour === 12) { 13144 hour = 0; 13145 } 13146 if (meridiem === 'राति') { 13147 return hour < 4 ? hour : hour + 12; 13148 } else if (meridiem === 'बिहान') { 13149 return hour; 13150 } else if (meridiem === 'दिà¤à¤à¤¸à¥') { 13151 return hour >= 10 ? hour : hour + 12; 13152 } else if (meridiem === 'साà¤à¤') { 13153 return hour + 12; 13154 } 13155 }, 13156 meridiem : function (hour, minute, isLower) { 13157 if (hour < 3) { 13158 return 'राति'; 13159 } else if (hour < 12) { 13160 return 'बिहान'; 13161 } else if (hour < 16) { 13162 return 'दिà¤à¤à¤¸à¥'; 13163 } else if (hour < 20) { 13164 return 'साà¤à¤'; 13165 } else { 13166 return 'राति'; 13167 } 13168 }, 13169 calendar : { 13170 sameDay : '[à¤à¤] LT', 13171 nextDay : '[à¤à¥à¤²à¤¿] LT', 13172 nextWeek : '[à¤à¤à¤à¤¦à¥] dddd[,] LT', 13173 lastDay : '[हिà¤à¥] LT', 13174 lastWeek : '[à¤à¤à¤à¥] dddd[,] LT', 13175 sameElse : 'L' 13176 }, 13177 relativeTime : { 13178 future : '%sमा', 13179 past : '%s ठà¤à¤¾à¤¡à¤¿', 13180 s : 'à¤à¥à¤¹à¥ à¤à¥à¤·à¤£', 13181 m : 'à¤à¤ मिनà¥à¤', 13182 mm : '%d मिनà¥à¤', 13183 h : 'à¤à¤ à¤à¤£à¥à¤à¤¾', 13184 hh : '%d à¤à¤£à¥à¤à¤¾', 13185 d : 'à¤à¤ दिन', 13186 dd : '%d दिन', 13187 M : 'à¤à¤ महिना', 13188 MM : '%d महिना', 13189 y : 'à¤à¤ बरà¥à¤·', 13190 yy : '%d बरà¥à¤·' 13191 }, 13192 week : { 13193 dow : 0, // Sunday is the first day of the week. 13194 doy : 6 // The week that contains Jan 1st is the first week of the year. 13195 } 13196}); 13197 13198return ne; 13199 13200}))); 13201 13202 13203/***/ }), 13204/* 127 */ 13205/***/ (function(module, exports, __webpack_require__) { 13206 13207//! moment.js locale configuration 13208//! locale : Dutch [nl] 13209//! author : Joris Röling : https://github.com/jorisroling 13210//! author : Jacob Middag : https://github.com/middagj 13211 13212;(function (global, factory) { 13213 true ? factory(__webpack_require__(0)) : 13214 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13215 factory(global.moment) 13216}(this, (function (moment) { 'use strict'; 13217 13218 13219var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); 13220var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); 13221 13222var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; 13223var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; 13224 13225var nl = moment.defineLocale('nl', { 13226 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), 13227 monthsShort : function (m, format) { 13228 if (!m) { 13229 return monthsShortWithDots; 13230 } else if (/-MMM-/.test(format)) { 13231 return monthsShortWithoutDots[m.month()]; 13232 } else { 13233 return monthsShortWithDots[m.month()]; 13234 } 13235 }, 13236 13237 monthsRegex: monthsRegex, 13238 monthsShortRegex: monthsRegex, 13239 monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, 13240 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, 13241 13242 monthsParse : monthsParse, 13243 longMonthsParse : monthsParse, 13244 shortMonthsParse : monthsParse, 13245 13246 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), 13247 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), 13248 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), 13249 weekdaysParseExact : true, 13250 longDateFormat : { 13251 LT : 'HH:mm', 13252 LTS : 'HH:mm:ss', 13253 L : 'DD-MM-YYYY', 13254 LL : 'D MMMM YYYY', 13255 LLL : 'D MMMM YYYY HH:mm', 13256 LLLL : 'dddd D MMMM YYYY HH:mm' 13257 }, 13258 calendar : { 13259 sameDay: '[vandaag om] LT', 13260 nextDay: '[morgen om] LT', 13261 nextWeek: 'dddd [om] LT', 13262 lastDay: '[gisteren om] LT', 13263 lastWeek: '[afgelopen] dddd [om] LT', 13264 sameElse: 'L' 13265 }, 13266 relativeTime : { 13267 future : 'over %s', 13268 past : '%s geleden', 13269 s : 'een paar seconden', 13270 m : 'één minuut', 13271 mm : '%d minuten', 13272 h : 'één uur', 13273 hh : '%d uur', 13274 d : 'één dag', 13275 dd : '%d dagen', 13276 M : 'één maand', 13277 MM : '%d maanden', 13278 y : 'één jaar', 13279 yy : '%d jaar' 13280 }, 13281 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 13282 ordinal : function (number) { 13283 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); 13284 }, 13285 week : { 13286 dow : 1, // Monday is the first day of the week. 13287 doy : 4 // The week that contains Jan 4th is the first week of the year. 13288 } 13289}); 13290 13291return nl; 13292 13293}))); 13294 13295 13296/***/ }), 13297/* 128 */ 13298/***/ (function(module, exports, __webpack_require__) { 13299 13300//! moment.js locale configuration 13301//! locale : Dutch (Belgium) [nl-be] 13302//! author : Joris Röling : https://github.com/jorisroling 13303//! author : Jacob Middag : https://github.com/middagj 13304 13305;(function (global, factory) { 13306 true ? factory(__webpack_require__(0)) : 13307 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13308 factory(global.moment) 13309}(this, (function (moment) { 'use strict'; 13310 13311 13312var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'); 13313var monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); 13314 13315var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; 13316var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; 13317 13318var nlBe = moment.defineLocale('nl-be', { 13319 months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), 13320 monthsShort : function (m, format) { 13321 if (!m) { 13322 return monthsShortWithDots; 13323 } else if (/-MMM-/.test(format)) { 13324 return monthsShortWithoutDots[m.month()]; 13325 } else { 13326 return monthsShortWithDots[m.month()]; 13327 } 13328 }, 13329 13330 monthsRegex: monthsRegex, 13331 monthsShortRegex: monthsRegex, 13332 monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, 13333 monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, 13334 13335 monthsParse : monthsParse, 13336 longMonthsParse : monthsParse, 13337 shortMonthsParse : monthsParse, 13338 13339 weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), 13340 weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), 13341 weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), 13342 weekdaysParseExact : true, 13343 longDateFormat : { 13344 LT : 'HH:mm', 13345 LTS : 'HH:mm:ss', 13346 L : 'DD/MM/YYYY', 13347 LL : 'D MMMM YYYY', 13348 LLL : 'D MMMM YYYY HH:mm', 13349 LLLL : 'dddd D MMMM YYYY HH:mm' 13350 }, 13351 calendar : { 13352 sameDay: '[vandaag om] LT', 13353 nextDay: '[morgen om] LT', 13354 nextWeek: 'dddd [om] LT', 13355 lastDay: '[gisteren om] LT', 13356 lastWeek: '[afgelopen] dddd [om] LT', 13357 sameElse: 'L' 13358 }, 13359 relativeTime : { 13360 future : 'over %s', 13361 past : '%s geleden', 13362 s : 'een paar seconden', 13363 m : 'één minuut', 13364 mm : '%d minuten', 13365 h : 'één uur', 13366 hh : '%d uur', 13367 d : 'één dag', 13368 dd : '%d dagen', 13369 M : 'één maand', 13370 MM : '%d maanden', 13371 y : 'één jaar', 13372 yy : '%d jaar' 13373 }, 13374 dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/, 13375 ordinal : function (number) { 13376 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); 13377 }, 13378 week : { 13379 dow : 1, // Monday is the first day of the week. 13380 doy : 4 // The week that contains Jan 4th is the first week of the year. 13381 } 13382}); 13383 13384return nlBe; 13385 13386}))); 13387 13388 13389/***/ }), 13390/* 129 */ 13391/***/ (function(module, exports, __webpack_require__) { 13392 13393//! moment.js locale configuration 13394//! locale : Nynorsk [nn] 13395//! author : https://github.com/mechuwind 13396 13397;(function (global, factory) { 13398 true ? factory(__webpack_require__(0)) : 13399 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13400 factory(global.moment) 13401}(this, (function (moment) { 'use strict'; 13402 13403 13404var nn = moment.defineLocale('nn', { 13405 months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), 13406 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 13407 weekdays : 'sundag_mÃ¥ndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), 13408 weekdaysShort : 'sun_mÃ¥n_tys_ons_tor_fre_lau'.split('_'), 13409 weekdaysMin : 'su_mÃ¥_ty_on_to_fr_lø'.split('_'), 13410 longDateFormat : { 13411 LT : 'HH:mm', 13412 LTS : 'HH:mm:ss', 13413 L : 'DD.MM.YYYY', 13414 LL : 'D. MMMM YYYY', 13415 LLL : 'D. MMMM YYYY [kl.] H:mm', 13416 LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' 13417 }, 13418 calendar : { 13419 sameDay: '[I dag klokka] LT', 13420 nextDay: '[I morgon klokka] LT', 13421 nextWeek: 'dddd [klokka] LT', 13422 lastDay: '[I gÃ¥r klokka] LT', 13423 lastWeek: '[FøregÃ¥ande] dddd [klokka] LT', 13424 sameElse: 'L' 13425 }, 13426 relativeTime : { 13427 future : 'om %s', 13428 past : '%s sidan', 13429 s : 'nokre sekund', 13430 m : 'eit minutt', 13431 mm : '%d minutt', 13432 h : 'ein time', 13433 hh : '%d timar', 13434 d : 'ein dag', 13435 dd : '%d dagar', 13436 M : 'ein mÃ¥nad', 13437 MM : '%d mÃ¥nader', 13438 y : 'eit Ã¥r', 13439 yy : '%d Ã¥r' 13440 }, 13441 dayOfMonthOrdinalParse: /\d{1,2}\./, 13442 ordinal : '%d.', 13443 week : { 13444 dow : 1, // Monday is the first day of the week. 13445 doy : 4 // The week that contains Jan 4th is the first week of the year. 13446 } 13447}); 13448 13449return nn; 13450 13451}))); 13452 13453 13454/***/ }), 13455/* 130 */ 13456/***/ (function(module, exports, __webpack_require__) { 13457 13458//! moment.js locale configuration 13459//! locale : Punjabi (India) [pa-in] 13460//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit 13461 13462;(function (global, factory) { 13463 true ? factory(__webpack_require__(0)) : 13464 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13465 factory(global.moment) 13466}(this, (function (moment) { 'use strict'; 13467 13468 13469var symbolMap = { 13470 '1': 'à©§', 13471 '2': '੨', 13472 '3': 'à©©', 13473 '4': '੪', 13474 '5': 'à©«', 13475 '6': '੬', 13476 '7': 'à©', 13477 '8': 'à©®', 13478 '9': '੯', 13479 '0': '੦' 13480}; 13481var numberMap = { 13482 'à©§': '1', 13483 '੨': '2', 13484 'à©©': '3', 13485 '੪': '4', 13486 'à©«': '5', 13487 '੬': '6', 13488 'à©': '7', 13489 'à©®': '8', 13490 '੯': '9', 13491 '੦': '0' 13492}; 13493 13494var paIn = moment.defineLocale('pa-in', { 13495 // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. 13496 months : 'à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), 13497 monthsShort : 'à¨à¨¨à¨µà¨°à©_ਫ਼ਰਵਰà©_ਮਾਰà¨_ਠਪà©à¨°à©à¨²_ਮà¨_à¨à©à¨¨_à¨à©à¨²à¨¾à¨_ਠà¨à¨¸à¨¤_ਸਤੰਬਰ_ਠà¨à¨¤à©à¨¬à¨°_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), 13498 weekdays : 'à¨à¨¤à¨µà¨¾à¨°_ਸà©à¨®à¨µà¨¾à¨°_ਮੰà¨à¨²à¨µà¨¾à¨°_ਬà©à¨§à¨µà¨¾à¨°_ਵà©à¨°à¨µà¨¾à¨°_ਸ਼à©à©±à¨à¨°à¨µà¨¾à¨°_ਸ਼ਨà©à¨à¨°à¨µà¨¾à¨°'.split('_'), 13499 weekdaysShort : 'à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©'.split('_'), 13500 weekdaysMin : 'à¨à¨¤_ਸà©à¨®_ਮੰà¨à¨²_ਬà©à¨§_ਵà©à¨°_ਸ਼à©à¨à¨°_ਸ਼ਨà©'.split('_'), 13501 longDateFormat : { 13502 LT : 'A h:mm ਵà¨à©', 13503 LTS : 'A h:mm:ss ਵà¨à©', 13504 L : 'DD/MM/YYYY', 13505 LL : 'D MMMM YYYY', 13506 LLL : 'D MMMM YYYY, A h:mm ਵà¨à©', 13507 LLLL : 'dddd, D MMMM YYYY, A h:mm ਵà¨à©' 13508 }, 13509 calendar : { 13510 sameDay : '[ਠà¨] LT', 13511 nextDay : '[à¨à¨²] LT', 13512 nextWeek : 'dddd, LT', 13513 lastDay : '[à¨à¨²] LT', 13514 lastWeek : '[ਪਿà¨à¨²à©] dddd, LT', 13515 sameElse : 'L' 13516 }, 13517 relativeTime : { 13518 future : '%s ਵਿੱà¨', 13519 past : '%s ਪਿà¨à¨²à©', 13520 s : 'à¨à©à¨ ਸà¨à¨¿à©°à¨', 13521 m : 'à¨à¨ ਮਿੰà¨', 13522 mm : '%d ਮਿੰà¨', 13523 h : 'à¨à©±à¨ à¨à©°à¨à¨¾', 13524 hh : '%d à¨à©°à¨à©', 13525 d : 'à¨à©±à¨ ਦਿਨ', 13526 dd : '%d ਦਿਨ', 13527 M : 'à¨à©±à¨ ਮਹà©à¨¨à¨¾', 13528 MM : '%d ਮਹà©à¨¨à©', 13529 y : 'à¨à©±à¨ ਸਾਲ', 13530 yy : '%d ਸਾਲ' 13531 }, 13532 preparse: function (string) { 13533 return string.replace(/[੧੨੩੪੫੬à©à©®à©¯à©¦]/g, function (match) { 13534 return numberMap[match]; 13535 }); 13536 }, 13537 postformat: function (string) { 13538 return string.replace(/\d/g, function (match) { 13539 return symbolMap[match]; 13540 }); 13541 }, 13542 // Punjabi notation for meridiems are quite fuzzy in practice. While there exists 13543 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. 13544 meridiemParse: /ਰਾਤ|ਸਵà©à¨°|ਦà©à¨ªà¨¹à¨¿à¨°|ਸ਼ਾਮ/, 13545 meridiemHour : function (hour, meridiem) { 13546 if (hour === 12) { 13547 hour = 0; 13548 } 13549 if (meridiem === 'ਰਾਤ') { 13550 return hour < 4 ? hour : hour + 12; 13551 } else if (meridiem === 'ਸਵà©à¨°') { 13552 return hour; 13553 } else if (meridiem === 'ਦà©à¨ªà¨¹à¨¿à¨°') { 13554 return hour >= 10 ? hour : hour + 12; 13555 } else if (meridiem === 'ਸ਼ਾਮ') { 13556 return hour + 12; 13557 } 13558 }, 13559 meridiem : function (hour, minute, isLower) { 13560 if (hour < 4) { 13561 return 'ਰਾਤ'; 13562 } else if (hour < 10) { 13563 return 'ਸਵà©à¨°'; 13564 } else if (hour < 17) { 13565 return 'ਦà©à¨ªà¨¹à¨¿à¨°'; 13566 } else if (hour < 20) { 13567 return 'ਸ਼ਾਮ'; 13568 } else { 13569 return 'ਰਾਤ'; 13570 } 13571 }, 13572 week : { 13573 dow : 0, // Sunday is the first day of the week. 13574 doy : 6 // The week that contains Jan 1st is the first week of the year. 13575 } 13576}); 13577 13578return paIn; 13579 13580}))); 13581 13582 13583/***/ }), 13584/* 131 */ 13585/***/ (function(module, exports, __webpack_require__) { 13586 13587//! moment.js locale configuration 13588//! locale : Polish [pl] 13589//! author : Rafal Hirsz : https://github.com/evoL 13590 13591;(function (global, factory) { 13592 true ? factory(__webpack_require__(0)) : 13593 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13594 factory(global.moment) 13595}(this, (function (moment) { 'use strict'; 13596 13597 13598var monthsNominative = 'styczeÅ_luty_marzec_kwiecieÅ_maj_czerwiec_lipiec_sierpieÅ_wrzesieÅ_październik_listopad_grudzieÅ'.split('_'); 13599var monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrzeÅnia_października_listopada_grudnia'.split('_'); 13600function plural(n) { 13601 return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1); 13602} 13603function translate(number, withoutSuffix, key) { 13604 var result = number + ' '; 13605 switch (key) { 13606 case 'm': 13607 return withoutSuffix ? 'minuta' : 'minutÄ'; 13608 case 'mm': 13609 return result + (plural(number) ? 'minuty' : 'minut'); 13610 case 'h': 13611 return withoutSuffix ? 'godzina' : 'godzinÄ'; 13612 case 'hh': 13613 return result + (plural(number) ? 'godziny' : 'godzin'); 13614 case 'MM': 13615 return result + (plural(number) ? 'miesiÄ ce' : 'miesiÄcy'); 13616 case 'yy': 13617 return result + (plural(number) ? 'lata' : 'lat'); 13618 } 13619} 13620 13621var pl = moment.defineLocale('pl', { 13622 months : function (momentToFormat, format) { 13623 if (!momentToFormat) { 13624 return monthsNominative; 13625 } else if (format === '') { 13626 // Hack: if format empty we know this is used to generate 13627 // RegExp by moment. Give then back both valid forms of months 13628 // in RegExp ready format. 13629 return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')'; 13630 } else if (/D MMMM/.test(format)) { 13631 return monthsSubjective[momentToFormat.month()]; 13632 } else { 13633 return monthsNominative[momentToFormat.month()]; 13634 } 13635 }, 13636 monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), 13637 weekdays : 'niedziela_poniedziaÅek_wtorek_Åroda_czwartek_piÄ tek_sobota'.split('_'), 13638 weekdaysShort : 'ndz_pon_wt_År_czw_pt_sob'.split('_'), 13639 weekdaysMin : 'Nd_Pn_Wt_År_Cz_Pt_So'.split('_'), 13640 longDateFormat : { 13641 LT : 'HH:mm', 13642 LTS : 'HH:mm:ss', 13643 L : 'DD.MM.YYYY', 13644 LL : 'D MMMM YYYY', 13645 LLL : 'D MMMM YYYY HH:mm', 13646 LLLL : 'dddd, D MMMM YYYY HH:mm' 13647 }, 13648 calendar : { 13649 sameDay: '[DziÅ o] LT', 13650 nextDay: '[Jutro o] LT', 13651 nextWeek: '[W] dddd [o] LT', 13652 lastDay: '[Wczoraj o] LT', 13653 lastWeek: function () { 13654 switch (this.day()) { 13655 case 0: 13656 return '[W zeszÅÄ niedzielÄ o] LT'; 13657 case 3: 13658 return '[W zeszÅÄ ÅrodÄ o] LT'; 13659 case 6: 13660 return '[W zeszÅÄ sobotÄ o] LT'; 13661 default: 13662 return '[W zeszÅy] dddd [o] LT'; 13663 } 13664 }, 13665 sameElse: 'L' 13666 }, 13667 relativeTime : { 13668 future : 'za %s', 13669 past : '%s temu', 13670 s : 'kilka sekund', 13671 m : translate, 13672 mm : translate, 13673 h : translate, 13674 hh : translate, 13675 d : '1 dzieÅ', 13676 dd : '%d dni', 13677 M : 'miesiÄ c', 13678 MM : translate, 13679 y : 'rok', 13680 yy : translate 13681 }, 13682 dayOfMonthOrdinalParse: /\d{1,2}\./, 13683 ordinal : '%d.', 13684 week : { 13685 dow : 1, // Monday is the first day of the week. 13686 doy : 4 // The week that contains Jan 4th is the first week of the year. 13687 } 13688}); 13689 13690return pl; 13691 13692}))); 13693 13694 13695/***/ }), 13696/* 132 */ 13697/***/ (function(module, exports, __webpack_require__) { 13698 13699//! moment.js locale configuration 13700//! locale : Portuguese [pt] 13701//! author : Jefferson : https://github.com/jalex79 13702 13703;(function (global, factory) { 13704 true ? factory(__webpack_require__(0)) : 13705 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13706 factory(global.moment) 13707}(this, (function (moment) { 'use strict'; 13708 13709 13710var pt = moment.defineLocale('pt', { 13711 months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), 13712 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), 13713 weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), 13714 weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), 13715 weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), 13716 weekdaysParseExact : true, 13717 longDateFormat : { 13718 LT : 'HH:mm', 13719 LTS : 'HH:mm:ss', 13720 L : 'DD/MM/YYYY', 13721 LL : 'D [de] MMMM [de] YYYY', 13722 LLL : 'D [de] MMMM [de] YYYY HH:mm', 13723 LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm' 13724 }, 13725 calendar : { 13726 sameDay: '[Hoje à s] LT', 13727 nextDay: '[Amanhã à s] LT', 13728 nextWeek: 'dddd [à s] LT', 13729 lastDay: '[Ontem à s] LT', 13730 lastWeek: function () { 13731 return (this.day() === 0 || this.day() === 6) ? 13732 '[Ãltimo] dddd [à s] LT' : // Saturday + Sunday 13733 '[Ãltima] dddd [à s] LT'; // Monday - Friday 13734 }, 13735 sameElse: 'L' 13736 }, 13737 relativeTime : { 13738 future : 'em %s', 13739 past : 'há %s', 13740 s : 'segundos', 13741 m : 'um minuto', 13742 mm : '%d minutos', 13743 h : 'uma hora', 13744 hh : '%d horas', 13745 d : 'um dia', 13746 dd : '%d dias', 13747 M : 'um mês', 13748 MM : '%d meses', 13749 y : 'um ano', 13750 yy : '%d anos' 13751 }, 13752 dayOfMonthOrdinalParse: /\d{1,2}º/, 13753 ordinal : '%dº', 13754 week : { 13755 dow : 1, // Monday is the first day of the week. 13756 doy : 4 // The week that contains Jan 4th is the first week of the year. 13757 } 13758}); 13759 13760return pt; 13761 13762}))); 13763 13764 13765/***/ }), 13766/* 133 */ 13767/***/ (function(module, exports, __webpack_require__) { 13768 13769//! moment.js locale configuration 13770//! locale : Portuguese (Brazil) [pt-br] 13771//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira 13772 13773;(function (global, factory) { 13774 true ? factory(__webpack_require__(0)) : 13775 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13776 factory(global.moment) 13777}(this, (function (moment) { 'use strict'; 13778 13779 13780var ptBr = moment.defineLocale('pt-br', { 13781 months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), 13782 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), 13783 weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), 13784 weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), 13785 weekdaysMin : 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), 13786 weekdaysParseExact : true, 13787 longDateFormat : { 13788 LT : 'HH:mm', 13789 LTS : 'HH:mm:ss', 13790 L : 'DD/MM/YYYY', 13791 LL : 'D [de] MMMM [de] YYYY', 13792 LLL : 'D [de] MMMM [de] YYYY [à s] HH:mm', 13793 LLLL : 'dddd, D [de] MMMM [de] YYYY [à s] HH:mm' 13794 }, 13795 calendar : { 13796 sameDay: '[Hoje à s] LT', 13797 nextDay: '[Amanhã à s] LT', 13798 nextWeek: 'dddd [à s] LT', 13799 lastDay: '[Ontem à s] LT', 13800 lastWeek: function () { 13801 return (this.day() === 0 || this.day() === 6) ? 13802 '[Ãltimo] dddd [à s] LT' : // Saturday + Sunday 13803 '[Ãltima] dddd [à s] LT'; // Monday - Friday 13804 }, 13805 sameElse: 'L' 13806 }, 13807 relativeTime : { 13808 future : 'em %s', 13809 past : '%s atrás', 13810 s : 'poucos segundos', 13811 m : 'um minuto', 13812 mm : '%d minutos', 13813 h : 'uma hora', 13814 hh : '%d horas', 13815 d : 'um dia', 13816 dd : '%d dias', 13817 M : 'um mês', 13818 MM : '%d meses', 13819 y : 'um ano', 13820 yy : '%d anos' 13821 }, 13822 dayOfMonthOrdinalParse: /\d{1,2}º/, 13823 ordinal : '%dº' 13824}); 13825 13826return ptBr; 13827 13828}))); 13829 13830 13831/***/ }), 13832/* 134 */ 13833/***/ (function(module, exports, __webpack_require__) { 13834 13835//! moment.js locale configuration 13836//! locale : Romanian [ro] 13837//! author : Vlad Gurdiga : https://github.com/gurdiga 13838//! author : Valentin Agachi : https://github.com/avaly 13839 13840;(function (global, factory) { 13841 true ? factory(__webpack_require__(0)) : 13842 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13843 factory(global.moment) 13844}(this, (function (moment) { 'use strict'; 13845 13846 13847function relativeTimeWithPlural(number, withoutSuffix, key) { 13848 var format = { 13849 'mm': 'minute', 13850 'hh': 'ore', 13851 'dd': 'zile', 13852 'MM': 'luni', 13853 'yy': 'ani' 13854 }, 13855 separator = ' '; 13856 if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { 13857 separator = ' de '; 13858 } 13859 return number + separator + format[key]; 13860} 13861 13862var ro = moment.defineLocale('ro', { 13863 months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), 13864 monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), 13865 monthsParseExact: true, 13866 weekdays : 'duminicÄ_luni_marÈi_miercuri_joi_vineri_sâmbÄtÄ'.split('_'), 13867 weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), 13868 weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), 13869 longDateFormat : { 13870 LT : 'H:mm', 13871 LTS : 'H:mm:ss', 13872 L : 'DD.MM.YYYY', 13873 LL : 'D MMMM YYYY', 13874 LLL : 'D MMMM YYYY H:mm', 13875 LLLL : 'dddd, D MMMM YYYY H:mm' 13876 }, 13877 calendar : { 13878 sameDay: '[azi la] LT', 13879 nextDay: '[mâine la] LT', 13880 nextWeek: 'dddd [la] LT', 13881 lastDay: '[ieri la] LT', 13882 lastWeek: '[fosta] dddd [la] LT', 13883 sameElse: 'L' 13884 }, 13885 relativeTime : { 13886 future : 'peste %s', 13887 past : '%s în urmÄ', 13888 s : 'câteva secunde', 13889 m : 'un minut', 13890 mm : relativeTimeWithPlural, 13891 h : 'o orÄ', 13892 hh : relativeTimeWithPlural, 13893 d : 'o zi', 13894 dd : relativeTimeWithPlural, 13895 M : 'o lunÄ', 13896 MM : relativeTimeWithPlural, 13897 y : 'un an', 13898 yy : relativeTimeWithPlural 13899 }, 13900 week : { 13901 dow : 1, // Monday is the first day of the week. 13902 doy : 7 // The week that contains Jan 1st is the first week of the year. 13903 } 13904}); 13905 13906return ro; 13907 13908}))); 13909 13910 13911/***/ }), 13912/* 135 */ 13913/***/ (function(module, exports, __webpack_require__) { 13914 13915//! moment.js locale configuration 13916//! locale : Russian [ru] 13917//! author : Viktorminator : https://github.com/Viktorminator 13918//! Author : Menelion Elensúle : https://github.com/Oire 13919//! author : ÐоÑенбеÑг ÐаÑк : https://github.com/socketpair 13920 13921;(function (global, factory) { 13922 true ? factory(__webpack_require__(0)) : 13923 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 13924 factory(global.moment) 13925}(this, (function (moment) { 'use strict'; 13926 13927 13928function plural(word, num) { 13929 var forms = word.split('_'); 13930 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); 13931} 13932function relativeTimeWithPlural(number, withoutSuffix, key) { 13933 var format = { 13934 'mm': withoutSuffix ? 'минÑÑа_минÑÑÑ_минÑÑ' : 'минÑÑÑ_минÑÑÑ_минÑÑ', 13935 'hh': 'ÑаÑ_ÑаÑа_ÑаÑов', 13936 'dd': 'денÑ_днÑ_дней', 13937 'MM': 'меÑÑÑ_меÑÑÑа_меÑÑÑев', 13938 'yy': 'год_года_леÑ' 13939 }; 13940 if (key === 'm') { 13941 return withoutSuffix ? 'минÑÑа' : 'минÑÑÑ'; 13942 } 13943 else { 13944 return number + ' ' + plural(format[key], +number); 13945 } 13946} 13947var monthsParse = [/^Ñнв/i, /^Ñев/i, /^маÑ/i, /^апÑ/i, /^ма[йÑ]/i, /^иÑн/i, /^иÑл/i, /^авг/i, /^Ñен/i, /^окÑ/i, /^ноÑ/i, /^дек/i]; 13948 13949// http://new.gramota.ru/spravka/rules/139-prop : § 103 13950// СокÑаÑÐµÐ½Ð¸Ñ Ð¼ÐµÑÑÑев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 13951// CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 13952var ru = moment.defineLocale('ru', { 13953 months : { 13954 format: 'ÑнваÑÑ_ÑевÑалÑ_маÑÑа_апÑелÑ_маÑ_иÑнÑ_иÑлÑ_авгÑÑÑа_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split('_'), 13955 standalone: 'ÑнваÑÑ_ÑевÑалÑ_маÑÑ_апÑелÑ_май_иÑнÑ_иÑлÑ_авгÑÑÑ_ÑенÑÑбÑÑ_окÑÑбÑÑ_ноÑбÑÑ_декабÑÑ'.split('_') 13956 }, 13957 monthsShort : { 13958 // по CLDR именно "иÑл." и "иÑн.", но какой ÑмÑÑл менÑÑÑ Ð±ÑÐºÐ²Ñ Ð½Ð° ÑоÑÐºÑ ? 13959 format: 'Ñнв._ÑевÑ._маÑ._апÑ._маÑ_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.'.split('_'), 13960 standalone: 'Ñнв._ÑевÑ._маÑÑ_апÑ._май_иÑнÑ_иÑлÑ_авг._ÑенÑ._окÑ._ноÑб._дек.'.split('_') 13961 }, 13962 weekdays : { 13963 standalone: 'воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑеда_ÑеÑвеÑг_пÑÑниÑа_ÑÑббоÑа'.split('_'), 13964 format: 'воÑкÑеÑенÑе_понеделÑник_вÑоÑник_ÑÑедÑ_ÑеÑвеÑг_пÑÑниÑÑ_ÑÑббоÑÑ'.split('_'), 13965 isFormat: /\[ ?[Ðв] ?(?:пÑоÑлÑÑ|ÑледÑÑÑÑÑ|ÑÑÑ)? ?\] ?dddd/ 13966 }, 13967 weekdaysShort : 'вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 13968 weekdaysMin : 'вÑ_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 13969 monthsParse : monthsParse, 13970 longMonthsParse : monthsParse, 13971 shortMonthsParse : monthsParse, 13972 13973 // полнÑе Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸, по ÑÑи бÑквÑ, Ð´Ð»Ñ Ð½ÐµÐºÐ¾ÑоÑÑÑ , по 4 бÑквÑ, ÑокÑаÑÐµÐ½Ð¸Ñ Ñ ÑоÑкой и без ÑоÑки 13974 monthsRegex: /^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i, 13975 13976 // ÐºÐ¾Ð¿Ð¸Ñ Ð¿ÑедÑдÑÑего 13977 monthsShortRegex: /^(ÑнваÑ[ÑÑ]|Ñнв\.?|ÑевÑал[ÑÑ]|ÑевÑ?\.?|маÑÑа?|маÑ\.?|апÑел[ÑÑ]|апÑ\.?|ма[йÑ]|иÑн[ÑÑ]|иÑн\.?|иÑл[ÑÑ]|иÑл\.?|авгÑÑÑа?|авг\.?|ÑенÑÑбÑ[ÑÑ]|ÑенÑ?\.?|окÑÑбÑ[ÑÑ]|окÑ\.?|ноÑбÑ[ÑÑ]|ноÑб?\.?|декабÑ[ÑÑ]|дек\.?)/i, 13978 13979 // полнÑе Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ñ Ñ Ð¿Ð°Ð´ÐµÐ¶Ð°Ð¼Ð¸ 13980 monthsStrictRegex: /^(ÑнваÑ[ÑÑ]|ÑевÑал[ÑÑ]|маÑÑа?|апÑел[ÑÑ]|ма[Ñй]|иÑн[ÑÑ]|иÑл[ÑÑ]|авгÑÑÑа?|ÑенÑÑбÑ[ÑÑ]|окÑÑбÑ[ÑÑ]|ноÑбÑ[ÑÑ]|декабÑ[ÑÑ])/i, 13981 13982 // ÐÑÑажение, коÑоÑое ÑооÑвеÑÑвÑÐµÑ ÑолÑко ÑокÑаÑÑннÑм ÑоÑмам 13983 monthsShortStrictRegex: /^(Ñнв\.|ÑевÑ?\.|маÑ[Ñ.]|апÑ\.|ма[Ñй]|иÑн[ÑÑ.]|иÑл[ÑÑ.]|авг\.|ÑенÑ?\.|окÑ\.|ноÑб?\.|дек\.)/i, 13984 longDateFormat : { 13985 LT : 'HH:mm', 13986 LTS : 'HH:mm:ss', 13987 L : 'DD.MM.YYYY', 13988 LL : 'D MMMM YYYY г.', 13989 LLL : 'D MMMM YYYY г., HH:mm', 13990 LLLL : 'dddd, D MMMM YYYY г., HH:mm' 13991 }, 13992 calendar : { 13993 sameDay: '[Ð¡ÐµÐ³Ð¾Ð´Ð½Ñ Ð²] LT', 13994 nextDay: '[ÐавÑÑа в] LT', 13995 lastDay: '[ÐÑеÑа в] LT', 13996 nextWeek: function (now) { 13997 if (now.week() !== this.week()) { 13998 switch (this.day()) { 13999 case 0: 14000 return '[Ð ÑледÑÑÑее] dddd [в] LT'; 14001 case 1: 14002 case 2: 14003 case 4: 14004 return '[Ð ÑледÑÑÑий] dddd [в] LT'; 14005 case 3: 14006 case 5: 14007 case 6: 14008 return '[Ð ÑледÑÑÑÑÑ] dddd [в] LT'; 14009 } 14010 } else { 14011 if (this.day() === 2) { 14012 return '[Ðо] dddd [в] LT'; 14013 } else { 14014 return '[Ð] dddd [в] LT'; 14015 } 14016 } 14017 }, 14018 lastWeek: function (now) { 14019 if (now.week() !== this.week()) { 14020 switch (this.day()) { 14021 case 0: 14022 return '[РпÑоÑлое] dddd [в] LT'; 14023 case 1: 14024 case 2: 14025 case 4: 14026 return '[РпÑоÑлÑй] dddd [в] LT'; 14027 case 3: 14028 case 5: 14029 case 6: 14030 return '[РпÑоÑлÑÑ] dddd [в] LT'; 14031 } 14032 } else { 14033 if (this.day() === 2) { 14034 return '[Ðо] dddd [в] LT'; 14035 } else { 14036 return '[Ð] dddd [в] LT'; 14037 } 14038 } 14039 }, 14040 sameElse: 'L' 14041 }, 14042 relativeTime : { 14043 future : 'ÑеÑез %s', 14044 past : '%s назад', 14045 s : 'неÑколÑко ÑекÑнд', 14046 m : relativeTimeWithPlural, 14047 mm : relativeTimeWithPlural, 14048 h : 'ÑаÑ', 14049 hh : relativeTimeWithPlural, 14050 d : 'денÑ', 14051 dd : relativeTimeWithPlural, 14052 M : 'меÑÑÑ', 14053 MM : relativeTimeWithPlural, 14054 y : 'год', 14055 yy : relativeTimeWithPlural 14056 }, 14057 meridiemParse: /ноÑи|ÑÑÑа|днÑ|веÑеÑа/i, 14058 isPM : function (input) { 14059 return /^(днÑ|веÑеÑа)$/.test(input); 14060 }, 14061 meridiem : function (hour, minute, isLower) { 14062 if (hour < 4) { 14063 return 'ноÑи'; 14064 } else if (hour < 12) { 14065 return 'ÑÑÑа'; 14066 } else if (hour < 17) { 14067 return 'днÑ'; 14068 } else { 14069 return 'веÑеÑа'; 14070 } 14071 }, 14072 dayOfMonthOrdinalParse: /\d{1,2}-(й|го|Ñ)/, 14073 ordinal: function (number, period) { 14074 switch (period) { 14075 case 'M': 14076 case 'd': 14077 case 'DDD': 14078 return number + '-й'; 14079 case 'D': 14080 return number + '-го'; 14081 case 'w': 14082 case 'W': 14083 return number + '-Ñ'; 14084 default: 14085 return number; 14086 } 14087 }, 14088 week : { 14089 dow : 1, // Monday is the first day of the week. 14090 doy : 7 // The week that contains Jan 1st is the first week of the year. 14091 } 14092}); 14093 14094return ru; 14095 14096}))); 14097 14098 14099/***/ }), 14100/* 136 */ 14101/***/ (function(module, exports, __webpack_require__) { 14102 14103//! moment.js locale configuration 14104//! locale : Sindhi [sd] 14105//! author : Narain Sagar : https://github.com/narainsagar 14106 14107;(function (global, factory) { 14108 true ? factory(__webpack_require__(0)) : 14109 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14110 factory(global.moment) 14111}(this, (function (moment) { 'use strict'; 14112 14113 14114var months = [ 14115 'جÙÙØ±Ù', 14116 'ÙÙØ¨Ø±ÙرÙ', 14117 '٠ارÚ', 14118 'اپرÙÙ', 14119 '٠ئÙ', 14120 'جÙÙ', 14121 'جÙÙØ§Ø¡Ù', 14122 'آگسٽ', 14123 'سÙپٽ٠بر', 14124 'Ø¢ÚªÙ½ÙØ¨Ø±', 14125 'ÙÙ٠بر', 14126 'ÚØ³Ù بر' 14127]; 14128var days = [ 14129 'Ø¢ÚØ±', 14130 'سÙ٠ر', 14131 'اڱارÙ', 14132 'اربع', 14133 'Ø®Ù ÙØ³', 14134 'ج٠ع', 14135 'ÚÙÚØ±' 14136]; 14137 14138var sd = moment.defineLocale('sd', { 14139 months : months, 14140 monthsShort : months, 14141 weekdays : days, 14142 weekdaysShort : days, 14143 weekdaysMin : days, 14144 longDateFormat : { 14145 LT : 'HH:mm', 14146 LTS : 'HH:mm:ss', 14147 L : 'DD/MM/YYYY', 14148 LL : 'D MMMM YYYY', 14149 LLL : 'D MMMM YYYY HH:mm', 14150 LLLL : 'ddddØ D MMMM YYYY HH:mm' 14151 }, 14152 meridiemParse: /صبØ|شا٠/, 14153 isPM : function (input) { 14154 return 'شا٠' === input; 14155 }, 14156 meridiem : function (hour, minute, isLower) { 14157 if (hour < 12) { 14158 return 'صبØ'; 14159 } 14160 return 'شا٠'; 14161 }, 14162 calendar : { 14163 sameDay : '[اÚ] LT', 14164 nextDay : '[Ø³ÚØ§Ú»Ù] LT', 14165 nextWeek : 'dddd [اڳÙÙ ÙÙØªÙ تÙ] LT', 14166 lastDay : '[ڪاÙÙÙ] LT', 14167 lastWeek : '[گزرÙÙ ÙÙØªÙ] dddd [تÙ] LT', 14168 sameElse : 'L' 14169 }, 14170 relativeTime : { 14171 future : '%s Ù¾ÙØ¡', 14172 past : '%s اڳ', 14173 s : 'ÚÙØ¯ سÙÚªÙÚ', 14174 m : 'ÙÚª Ù ÙÙ½', 14175 mm : '%d Ù ÙÙ½', 14176 h : 'ÙÚª ÚªÙØ§Úª', 14177 hh : '%d ÚªÙØ§Úª', 14178 d : 'ÙÚª ÚÙÙÙÙ', 14179 dd : '%d ÚÙÙÙÙ', 14180 M : 'ÙÚª Ù ÙÙÙÙ', 14181 MM : '%d Ù ÙÙÙØ§', 14182 y : 'ÙÚª ساÙ', 14183 yy : '%d ساÙ' 14184 }, 14185 preparse: function (string) { 14186 return string.replace(/Ø/g, ','); 14187 }, 14188 postformat: function (string) { 14189 return string.replace(/,/g, 'Ø'); 14190 }, 14191 week : { 14192 dow : 1, // Monday is the first day of the week. 14193 doy : 4 // The week that contains Jan 4th is the first week of the year. 14194 } 14195}); 14196 14197return sd; 14198 14199}))); 14200 14201 14202/***/ }), 14203/* 137 */ 14204/***/ (function(module, exports, __webpack_require__) { 14205 14206//! moment.js locale configuration 14207//! locale : Northern Sami [se] 14208//! authors : BÃ¥rd Rolstad Henriksen : https://github.com/karamell 14209 14210;(function (global, factory) { 14211 true ? factory(__webpack_require__(0)) : 14212 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14213 factory(global.moment) 14214}(this, (function (moment) { 'use strict'; 14215 14216 14217 14218var se = moment.defineLocale('se', { 14219 months : 'oÄÄajagemánnu_guovvamánnu_njukÄamánnu_cuoÅománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_ÄakÄamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), 14220 monthsShort : 'oÄÄj_guov_njuk_cuo_mies_geas_suoi_borg_ÄakÄ_golg_skáb_juov'.split('_'), 14221 weekdays : 'sotnabeaivi_vuossárga_maÅÅebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), 14222 weekdaysShort : 'sotn_vuos_maÅ_gask_duor_bear_láv'.split('_'), 14223 weekdaysMin : 's_v_m_g_d_b_L'.split('_'), 14224 longDateFormat : { 14225 LT : 'HH:mm', 14226 LTS : 'HH:mm:ss', 14227 L : 'DD.MM.YYYY', 14228 LL : 'MMMM D. [b.] YYYY', 14229 LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm', 14230 LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' 14231 }, 14232 calendar : { 14233 sameDay: '[otne ti] LT', 14234 nextDay: '[ihttin ti] LT', 14235 nextWeek: 'dddd [ti] LT', 14236 lastDay: '[ikte ti] LT', 14237 lastWeek: '[ovddit] dddd [ti] LT', 14238 sameElse: 'L' 14239 }, 14240 relativeTime : { 14241 future : '%s geažes', 14242 past : 'maÅit %s', 14243 s : 'moadde sekunddat', 14244 m : 'okta minuhta', 14245 mm : '%d minuhtat', 14246 h : 'okta diimmu', 14247 hh : '%d diimmut', 14248 d : 'okta beaivi', 14249 dd : '%d beaivvit', 14250 M : 'okta mánnu', 14251 MM : '%d mánut', 14252 y : 'okta jahki', 14253 yy : '%d jagit' 14254 }, 14255 dayOfMonthOrdinalParse: /\d{1,2}\./, 14256 ordinal : '%d.', 14257 week : { 14258 dow : 1, // Monday is the first day of the week. 14259 doy : 4 // The week that contains Jan 4th is the first week of the year. 14260 } 14261}); 14262 14263return se; 14264 14265}))); 14266 14267 14268/***/ }), 14269/* 138 */ 14270/***/ (function(module, exports, __webpack_require__) { 14271 14272//! moment.js locale configuration 14273//! locale : Sinhalese [si] 14274//! author : Sampath Sitinamaluwa : https://github.com/sampathsris 14275 14276;(function (global, factory) { 14277 true ? factory(__webpack_require__(0)) : 14278 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14279 factory(global.moment) 14280}(this, (function (moment) { 'use strict'; 14281 14282 14283/*jshint -W100*/ 14284var si = moment.defineLocale('si', { 14285 months : 'ජනà·à·à¶»à·_à¶´à·à¶¶à¶»à·à·à¶»à·_මà·à¶»à·à¶à·_à¶ à¶´à·âà¶»à·à¶½à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·à·à·à¶à·_à·à·à¶´à·à¶à·à¶¸à·à¶¶à¶»à·_à¶à¶à·à¶à·à¶¶à¶»à·_à¶±à·à·à·à¶¸à·à¶¶à¶»à·_දà·à·à·à¶¸à·à¶¶à¶»à·'.split('_'), 14286 monthsShort : 'ජන_à¶´à·à¶¶_මà·à¶»à·_à¶ à¶´à·_මà·à¶ºà·_à¶¢à·à¶±à·_à¶¢à·à¶½à·_à¶ à¶à·_à·à·à¶´à·_à¶à¶à·_à¶±à·à·à·_දà·à·à·'.split('_'), 14287 weekdays : 'à¶à¶»à·à¶¯à·_à·à¶³à·à¶¯à·_à¶ à¶à·à¶»à·à·à·à¶¯à·_බදà·à¶¯à·_à¶¶à·âà¶»à·à·à·à¶´à¶à·à¶±à·à¶¯à·_à·à·à¶à·à¶»à·à¶¯à·_à·à·à¶±à·à·à¶»à·à¶¯à·'.split('_'), 14288 weekdaysShort : 'à¶à¶»à·_à·à¶³à·_à¶ à¶_බදà·_à¶¶à·âà¶»à·_à·à·à¶à·_à·à·à¶±'.split('_'), 14289 weekdaysMin : 'à¶_à·_à¶ _à¶¶_à¶¶à·âà¶»_à·à·_à·à·'.split('_'), 14290 weekdaysParseExact : true, 14291 longDateFormat : { 14292 LT : 'a h:mm', 14293 LTS : 'a h:mm:ss', 14294 L : 'YYYY/MM/DD', 14295 LL : 'YYYY MMMM D', 14296 LLL : 'YYYY MMMM D, a h:mm', 14297 LLLL : 'YYYY MMMM D [à·à·à¶±à·] dddd, a h:mm:ss' 14298 }, 14299 calendar : { 14300 sameDay : '[චද] LT[à¶§]', 14301 nextDay : '[à·à·à¶§] LT[à¶§]', 14302 nextWeek : 'dddd LT[à¶§]', 14303 lastDay : '[à¶à¶ºà·] LT[à¶§]', 14304 lastWeek : '[à¶´à·à·à¶à·à¶º] dddd LT[à¶§]', 14305 sameElse : 'L' 14306 }, 14307 relativeTime : { 14308 future : '%sà¶à·à¶±à·', 14309 past : '%sà¶à¶§ à¶´à·à¶»', 14310 s : 'à¶à¶à·à¶´à¶» à¶à·à·à·à¶´à¶º', 14311 m : 'මà·à¶±à·à¶à·à¶à·à·', 14312 mm : 'මà·à¶±à·à¶à·à¶à· %d', 14313 h : 'à¶´à·à¶º', 14314 hh : 'à¶´à·à¶º %d', 14315 d : 'දà·à¶±à¶º', 14316 dd : 'දà·à¶± %d', 14317 M : 'මà·à·à¶º', 14318 MM : 'මà·à· %d', 14319 y : 'à·à·à¶»', 14320 yy : 'à·à·à¶» %d' 14321 }, 14322 dayOfMonthOrdinalParse: /\d{1,2} à·à·à¶±à·/, 14323 ordinal : function (number) { 14324 return number + ' à·à·à¶±à·'; 14325 }, 14326 meridiemParse : /à¶´à·à¶» à·à¶»à·|à¶´à·à· à·à¶»à·|à¶´à·.à·|à¶´.à·./, 14327 isPM : function (input) { 14328 return input === 'à¶´.à·.' || input === 'à¶´à·à· à·à¶»à·'; 14329 }, 14330 meridiem : function (hours, minutes, isLower) { 14331 if (hours > 11) { 14332 return isLower ? 'à¶´.à·.' : 'à¶´à·à· à·à¶»à·'; 14333 } else { 14334 return isLower ? 'à¶´à·.à·.' : 'à¶´à·à¶» à·à¶»à·'; 14335 } 14336 } 14337}); 14338 14339return si; 14340 14341}))); 14342 14343 14344/***/ }), 14345/* 139 */ 14346/***/ (function(module, exports, __webpack_require__) { 14347 14348//! moment.js locale configuration 14349//! locale : Slovak [sk] 14350//! author : Martin Minka : https://github.com/k2s 14351//! based on work of petrbela : https://github.com/petrbela 14352 14353;(function (global, factory) { 14354 true ? factory(__webpack_require__(0)) : 14355 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14356 factory(global.moment) 14357}(this, (function (moment) { 'use strict'; 14358 14359 14360var months = 'január_február_marec_aprÃl_máj_jún_júl_august_september_október_november_december'.split('_'); 14361var monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); 14362function plural(n) { 14363 return (n > 1) && (n < 5); 14364} 14365function translate(number, withoutSuffix, key, isFuture) { 14366 var result = number + ' '; 14367 switch (key) { 14368 case 's': // a few seconds / in a few seconds / a few seconds ago 14369 return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami'; 14370 case 'm': // a minute / in a minute / a minute ago 14371 return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou'); 14372 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago 14373 if (withoutSuffix || isFuture) { 14374 return result + (plural(number) ? 'minúty' : 'minút'); 14375 } else { 14376 return result + 'minútami'; 14377 } 14378 break; 14379 case 'h': // an hour / in an hour / an hour ago 14380 return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); 14381 case 'hh': // 9 hours / in 9 hours / 9 hours ago 14382 if (withoutSuffix || isFuture) { 14383 return result + (plural(number) ? 'hodiny' : 'hodÃn'); 14384 } else { 14385 return result + 'hodinami'; 14386 } 14387 break; 14388 case 'd': // a day / in a day / a day ago 14389 return (withoutSuffix || isFuture) ? 'deÅ' : 'dÅom'; 14390 case 'dd': // 9 days / in 9 days / 9 days ago 14391 if (withoutSuffix || isFuture) { 14392 return result + (plural(number) ? 'dni' : 'dnÃ'); 14393 } else { 14394 return result + 'dÅami'; 14395 } 14396 break; 14397 case 'M': // a month / in a month / a month ago 14398 return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom'; 14399 case 'MM': // 9 months / in 9 months / 9 months ago 14400 if (withoutSuffix || isFuture) { 14401 return result + (plural(number) ? 'mesiace' : 'mesiacov'); 14402 } else { 14403 return result + 'mesiacmi'; 14404 } 14405 break; 14406 case 'y': // a year / in a year / a year ago 14407 return (withoutSuffix || isFuture) ? 'rok' : 'rokom'; 14408 case 'yy': // 9 years / in 9 years / 9 years ago 14409 if (withoutSuffix || isFuture) { 14410 return result + (plural(number) ? 'roky' : 'rokov'); 14411 } else { 14412 return result + 'rokmi'; 14413 } 14414 break; 14415 } 14416} 14417 14418var sk = moment.defineLocale('sk', { 14419 months : months, 14420 monthsShort : monthsShort, 14421 weekdays : 'nedeľa_pondelok_utorok_streda_Å¡tvrtok_piatok_sobota'.split('_'), 14422 weekdaysShort : 'ne_po_ut_st_Å¡t_pi_so'.split('_'), 14423 weekdaysMin : 'ne_po_ut_st_Å¡t_pi_so'.split('_'), 14424 longDateFormat : { 14425 LT: 'H:mm', 14426 LTS : 'H:mm:ss', 14427 L : 'DD.MM.YYYY', 14428 LL : 'D. MMMM YYYY', 14429 LLL : 'D. MMMM YYYY H:mm', 14430 LLLL : 'dddd D. MMMM YYYY H:mm' 14431 }, 14432 calendar : { 14433 sameDay: '[dnes o] LT', 14434 nextDay: '[zajtra o] LT', 14435 nextWeek: function () { 14436 switch (this.day()) { 14437 case 0: 14438 return '[v nedeľu o] LT'; 14439 case 1: 14440 case 2: 14441 return '[v] dddd [o] LT'; 14442 case 3: 14443 return '[v stredu o] LT'; 14444 case 4: 14445 return '[vo Å¡tvrtok o] LT'; 14446 case 5: 14447 return '[v piatok o] LT'; 14448 case 6: 14449 return '[v sobotu o] LT'; 14450 } 14451 }, 14452 lastDay: '[vÄera o] LT', 14453 lastWeek: function () { 14454 switch (this.day()) { 14455 case 0: 14456 return '[minulú nedeľu o] LT'; 14457 case 1: 14458 case 2: 14459 return '[minulý] dddd [o] LT'; 14460 case 3: 14461 return '[minulú stredu o] LT'; 14462 case 4: 14463 case 5: 14464 return '[minulý] dddd [o] LT'; 14465 case 6: 14466 return '[minulú sobotu o] LT'; 14467 } 14468 }, 14469 sameElse: 'L' 14470 }, 14471 relativeTime : { 14472 future : 'za %s', 14473 past : 'pred %s', 14474 s : translate, 14475 m : translate, 14476 mm : translate, 14477 h : translate, 14478 hh : translate, 14479 d : translate, 14480 dd : translate, 14481 M : translate, 14482 MM : translate, 14483 y : translate, 14484 yy : translate 14485 }, 14486 dayOfMonthOrdinalParse: /\d{1,2}\./, 14487 ordinal : '%d.', 14488 week : { 14489 dow : 1, // Monday is the first day of the week. 14490 doy : 4 // The week that contains Jan 4th is the first week of the year. 14491 } 14492}); 14493 14494return sk; 14495 14496}))); 14497 14498 14499/***/ }), 14500/* 140 */ 14501/***/ (function(module, exports, __webpack_require__) { 14502 14503//! moment.js locale configuration 14504//! locale : Slovenian [sl] 14505//! author : Robert SedovÅ¡ek : https://github.com/sedovsek 14506 14507;(function (global, factory) { 14508 true ? factory(__webpack_require__(0)) : 14509 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14510 factory(global.moment) 14511}(this, (function (moment) { 'use strict'; 14512 14513 14514function processRelativeTime(number, withoutSuffix, key, isFuture) { 14515 var result = number + ' '; 14516 switch (key) { 14517 case 's': 14518 return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; 14519 case 'm': 14520 return withoutSuffix ? 'ena minuta' : 'eno minuto'; 14521 case 'mm': 14522 if (number === 1) { 14523 result += withoutSuffix ? 'minuta' : 'minuto'; 14524 } else if (number === 2) { 14525 result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; 14526 } else if (number < 5) { 14527 result += withoutSuffix || isFuture ? 'minute' : 'minutami'; 14528 } else { 14529 result += withoutSuffix || isFuture ? 'minut' : 'minutami'; 14530 } 14531 return result; 14532 case 'h': 14533 return withoutSuffix ? 'ena ura' : 'eno uro'; 14534 case 'hh': 14535 if (number === 1) { 14536 result += withoutSuffix ? 'ura' : 'uro'; 14537 } else if (number === 2) { 14538 result += withoutSuffix || isFuture ? 'uri' : 'urama'; 14539 } else if (number < 5) { 14540 result += withoutSuffix || isFuture ? 'ure' : 'urami'; 14541 } else { 14542 result += withoutSuffix || isFuture ? 'ur' : 'urami'; 14543 } 14544 return result; 14545 case 'd': 14546 return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; 14547 case 'dd': 14548 if (number === 1) { 14549 result += withoutSuffix || isFuture ? 'dan' : 'dnem'; 14550 } else if (number === 2) { 14551 result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; 14552 } else { 14553 result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; 14554 } 14555 return result; 14556 case 'M': 14557 return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; 14558 case 'MM': 14559 if (number === 1) { 14560 result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; 14561 } else if (number === 2) { 14562 result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; 14563 } else if (number < 5) { 14564 result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; 14565 } else { 14566 result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; 14567 } 14568 return result; 14569 case 'y': 14570 return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; 14571 case 'yy': 14572 if (number === 1) { 14573 result += withoutSuffix || isFuture ? 'leto' : 'letom'; 14574 } else if (number === 2) { 14575 result += withoutSuffix || isFuture ? 'leti' : 'letoma'; 14576 } else if (number < 5) { 14577 result += withoutSuffix || isFuture ? 'leta' : 'leti'; 14578 } else { 14579 result += withoutSuffix || isFuture ? 'let' : 'leti'; 14580 } 14581 return result; 14582 } 14583} 14584 14585var sl = moment.defineLocale('sl', { 14586 months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), 14587 monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), 14588 monthsParseExact: true, 14589 weekdays : 'nedelja_ponedeljek_torek_sreda_Äetrtek_petek_sobota'.split('_'), 14590 weekdaysShort : 'ned._pon._tor._sre._Äet._pet._sob.'.split('_'), 14591 weekdaysMin : 'ne_po_to_sr_Äe_pe_so'.split('_'), 14592 weekdaysParseExact : true, 14593 longDateFormat : { 14594 LT : 'H:mm', 14595 LTS : 'H:mm:ss', 14596 L : 'DD.MM.YYYY', 14597 LL : 'D. MMMM YYYY', 14598 LLL : 'D. MMMM YYYY H:mm', 14599 LLLL : 'dddd, D. MMMM YYYY H:mm' 14600 }, 14601 calendar : { 14602 sameDay : '[danes ob] LT', 14603 nextDay : '[jutri ob] LT', 14604 14605 nextWeek : function () { 14606 switch (this.day()) { 14607 case 0: 14608 return '[v] [nedeljo] [ob] LT'; 14609 case 3: 14610 return '[v] [sredo] [ob] LT'; 14611 case 6: 14612 return '[v] [soboto] [ob] LT'; 14613 case 1: 14614 case 2: 14615 case 4: 14616 case 5: 14617 return '[v] dddd [ob] LT'; 14618 } 14619 }, 14620 lastDay : '[vÄeraj ob] LT', 14621 lastWeek : function () { 14622 switch (this.day()) { 14623 case 0: 14624 return '[prejÅ¡njo] [nedeljo] [ob] LT'; 14625 case 3: 14626 return '[prejÅ¡njo] [sredo] [ob] LT'; 14627 case 6: 14628 return '[prejÅ¡njo] [soboto] [ob] LT'; 14629 case 1: 14630 case 2: 14631 case 4: 14632 case 5: 14633 return '[prejÅ¡nji] dddd [ob] LT'; 14634 } 14635 }, 14636 sameElse : 'L' 14637 }, 14638 relativeTime : { 14639 future : 'Äez %s', 14640 past : 'pred %s', 14641 s : processRelativeTime, 14642 m : processRelativeTime, 14643 mm : processRelativeTime, 14644 h : processRelativeTime, 14645 hh : processRelativeTime, 14646 d : processRelativeTime, 14647 dd : processRelativeTime, 14648 M : processRelativeTime, 14649 MM : processRelativeTime, 14650 y : processRelativeTime, 14651 yy : processRelativeTime 14652 }, 14653 dayOfMonthOrdinalParse: /\d{1,2}\./, 14654 ordinal : '%d.', 14655 week : { 14656 dow : 1, // Monday is the first day of the week. 14657 doy : 7 // The week that contains Jan 1st is the first week of the year. 14658 } 14659}); 14660 14661return sl; 14662 14663}))); 14664 14665 14666/***/ }), 14667/* 141 */ 14668/***/ (function(module, exports, __webpack_require__) { 14669 14670//! moment.js locale configuration 14671//! locale : Albanian [sq] 14672//! author : Flakërim Ismani : https://github.com/flakerimi 14673//! author : Menelion Elensúle : https://github.com/Oire 14674//! author : Oerd Cukalla : https://github.com/oerd 14675 14676;(function (global, factory) { 14677 true ? factory(__webpack_require__(0)) : 14678 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14679 factory(global.moment) 14680}(this, (function (moment) { 'use strict'; 14681 14682 14683var sq = moment.defineLocale('sq', { 14684 months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), 14685 monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), 14686 weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), 14687 weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), 14688 weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'), 14689 weekdaysParseExact : true, 14690 meridiemParse: /PD|MD/, 14691 isPM: function (input) { 14692 return input.charAt(0) === 'M'; 14693 }, 14694 meridiem : function (hours, minutes, isLower) { 14695 return hours < 12 ? 'PD' : 'MD'; 14696 }, 14697 longDateFormat : { 14698 LT : 'HH:mm', 14699 LTS : 'HH:mm:ss', 14700 L : 'DD/MM/YYYY', 14701 LL : 'D MMMM YYYY', 14702 LLL : 'D MMMM YYYY HH:mm', 14703 LLLL : 'dddd, D MMMM YYYY HH:mm' 14704 }, 14705 calendar : { 14706 sameDay : '[Sot në] LT', 14707 nextDay : '[Nesër në] LT', 14708 nextWeek : 'dddd [në] LT', 14709 lastDay : '[Dje në] LT', 14710 lastWeek : 'dddd [e kaluar në] LT', 14711 sameElse : 'L' 14712 }, 14713 relativeTime : { 14714 future : 'në %s', 14715 past : '%s më parë', 14716 s : 'disa sekonda', 14717 m : 'një minutë', 14718 mm : '%d minuta', 14719 h : 'një orë', 14720 hh : '%d orë', 14721 d : 'një ditë', 14722 dd : '%d ditë', 14723 M : 'një muaj', 14724 MM : '%d muaj', 14725 y : 'një vit', 14726 yy : '%d vite' 14727 }, 14728 dayOfMonthOrdinalParse: /\d{1,2}\./, 14729 ordinal : '%d.', 14730 week : { 14731 dow : 1, // Monday is the first day of the week. 14732 doy : 4 // The week that contains Jan 4th is the first week of the year. 14733 } 14734}); 14735 14736return sq; 14737 14738}))); 14739 14740 14741/***/ }), 14742/* 142 */ 14743/***/ (function(module, exports, __webpack_require__) { 14744 14745//! moment.js locale configuration 14746//! locale : Serbian [sr] 14747//! author : Milan JanaÄkoviÄ<[email protected]> : https://github.com/milan-j 14748 14749;(function (global, factory) { 14750 true ? factory(__webpack_require__(0)) : 14751 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14752 factory(global.moment) 14753}(this, (function (moment) { 'use strict'; 14754 14755 14756var translator = { 14757 words: { //Different grammatical cases 14758 m: ['jedan minut', 'jedne minute'], 14759 mm: ['minut', 'minute', 'minuta'], 14760 h: ['jedan sat', 'jednog sata'], 14761 hh: ['sat', 'sata', 'sati'], 14762 dd: ['dan', 'dana', 'dana'], 14763 MM: ['mesec', 'meseca', 'meseci'], 14764 yy: ['godina', 'godine', 'godina'] 14765 }, 14766 correctGrammaticalCase: function (number, wordKey) { 14767 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); 14768 }, 14769 translate: function (number, withoutSuffix, key) { 14770 var wordKey = translator.words[key]; 14771 if (key.length === 1) { 14772 return withoutSuffix ? wordKey[0] : wordKey[1]; 14773 } else { 14774 return number + ' ' + translator.correctGrammaticalCase(number, wordKey); 14775 } 14776 } 14777}; 14778 14779var sr = moment.defineLocale('sr', { 14780 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), 14781 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), 14782 monthsParseExact: true, 14783 weekdays: 'nedelja_ponedeljak_utorak_sreda_Äetvrtak_petak_subota'.split('_'), 14784 weekdaysShort: 'ned._pon._uto._sre._Äet._pet._sub.'.split('_'), 14785 weekdaysMin: 'ne_po_ut_sr_Äe_pe_su'.split('_'), 14786 weekdaysParseExact : true, 14787 longDateFormat: { 14788 LT: 'H:mm', 14789 LTS : 'H:mm:ss', 14790 L: 'DD.MM.YYYY', 14791 LL: 'D. MMMM YYYY', 14792 LLL: 'D. MMMM YYYY H:mm', 14793 LLLL: 'dddd, D. MMMM YYYY H:mm' 14794 }, 14795 calendar: { 14796 sameDay: '[danas u] LT', 14797 nextDay: '[sutra u] LT', 14798 nextWeek: function () { 14799 switch (this.day()) { 14800 case 0: 14801 return '[u] [nedelju] [u] LT'; 14802 case 3: 14803 return '[u] [sredu] [u] LT'; 14804 case 6: 14805 return '[u] [subotu] [u] LT'; 14806 case 1: 14807 case 2: 14808 case 4: 14809 case 5: 14810 return '[u] dddd [u] LT'; 14811 } 14812 }, 14813 lastDay : '[juÄe u] LT', 14814 lastWeek : function () { 14815 var lastWeekDays = [ 14816 '[proÅ¡le] [nedelje] [u] LT', 14817 '[proÅ¡log] [ponedeljka] [u] LT', 14818 '[proÅ¡log] [utorka] [u] LT', 14819 '[proÅ¡le] [srede] [u] LT', 14820 '[proÅ¡log] [Äetvrtka] [u] LT', 14821 '[proÅ¡log] [petka] [u] LT', 14822 '[proÅ¡le] [subote] [u] LT' 14823 ]; 14824 return lastWeekDays[this.day()]; 14825 }, 14826 sameElse : 'L' 14827 }, 14828 relativeTime : { 14829 future : 'za %s', 14830 past : 'pre %s', 14831 s : 'nekoliko sekundi', 14832 m : translator.translate, 14833 mm : translator.translate, 14834 h : translator.translate, 14835 hh : translator.translate, 14836 d : 'dan', 14837 dd : translator.translate, 14838 M : 'mesec', 14839 MM : translator.translate, 14840 y : 'godinu', 14841 yy : translator.translate 14842 }, 14843 dayOfMonthOrdinalParse: /\d{1,2}\./, 14844 ordinal : '%d.', 14845 week : { 14846 dow : 1, // Monday is the first day of the week. 14847 doy : 7 // The week that contains Jan 1st is the first week of the year. 14848 } 14849}); 14850 14851return sr; 14852 14853}))); 14854 14855 14856/***/ }), 14857/* 143 */ 14858/***/ (function(module, exports, __webpack_require__) { 14859 14860//! moment.js locale configuration 14861//! locale : Serbian Cyrillic [sr-cyrl] 14862//! author : Milan JanaÄkoviÄ<[email protected]> : https://github.com/milan-j 14863 14864;(function (global, factory) { 14865 true ? factory(__webpack_require__(0)) : 14866 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14867 factory(global.moment) 14868}(this, (function (moment) { 'use strict'; 14869 14870 14871var translator = { 14872 words: { //Different grammatical cases 14873 m: ['Ñедан минÑÑ', 'Ñедне минÑÑе'], 14874 mm: ['минÑÑ', 'минÑÑе', 'минÑÑа'], 14875 h: ['Ñедан ÑаÑ', 'Ñедног ÑаÑа'], 14876 hh: ['ÑаÑ', 'ÑаÑа', 'ÑаÑи'], 14877 dd: ['дан', 'дана', 'дана'], 14878 MM: ['меÑеÑ', 'меÑеÑа', 'меÑеÑи'], 14879 yy: ['година', 'године', 'година'] 14880 }, 14881 correctGrammaticalCase: function (number, wordKey) { 14882 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); 14883 }, 14884 translate: function (number, withoutSuffix, key) { 14885 var wordKey = translator.words[key]; 14886 if (key.length === 1) { 14887 return withoutSuffix ? wordKey[0] : wordKey[1]; 14888 } else { 14889 return number + ' ' + translator.correctGrammaticalCase(number, wordKey); 14890 } 14891 } 14892}; 14893 14894var srCyrl = moment.defineLocale('sr-cyrl', { 14895 months: 'ÑанÑаÑ_ÑебÑÑаÑ_маÑÑ_апÑил_маÑ_ÑÑн_ÑÑл_авгÑÑÑ_ÑепÑембаÑ_окÑобаÑ_новембаÑ_деÑембаÑ'.split('_'), 14896 monthsShort: 'Ñан._Ñеб._маÑ._апÑ._маÑ_ÑÑн_ÑÑл_авг._Ñеп._окÑ._нов._деÑ.'.split('_'), 14897 monthsParseExact: true, 14898 weekdays: 'недеÑа_понедеÑак_ÑÑоÑак_ÑÑеда_ÑеÑвÑÑак_пеÑак_ÑÑбоÑа'.split('_'), 14899 weekdaysShort: 'нед._пон._ÑÑо._ÑÑе._ÑеÑ._пеÑ._ÑÑб.'.split('_'), 14900 weekdaysMin: 'не_по_ÑÑ_ÑÑ_Ñе_пе_ÑÑ'.split('_'), 14901 weekdaysParseExact : true, 14902 longDateFormat: { 14903 LT: 'H:mm', 14904 LTS : 'H:mm:ss', 14905 L: 'DD.MM.YYYY', 14906 LL: 'D. MMMM YYYY', 14907 LLL: 'D. MMMM YYYY H:mm', 14908 LLLL: 'dddd, D. MMMM YYYY H:mm' 14909 }, 14910 calendar: { 14911 sameDay: '[Ð´Ð°Ð½Ð°Ñ Ñ] LT', 14912 nextDay: '[ÑÑÑÑа Ñ] LT', 14913 nextWeek: function () { 14914 switch (this.day()) { 14915 case 0: 14916 return '[Ñ] [недеÑÑ] [Ñ] LT'; 14917 case 3: 14918 return '[Ñ] [ÑÑедÑ] [Ñ] LT'; 14919 case 6: 14920 return '[Ñ] [ÑÑбоÑÑ] [Ñ] LT'; 14921 case 1: 14922 case 2: 14923 case 4: 14924 case 5: 14925 return '[Ñ] dddd [Ñ] LT'; 14926 } 14927 }, 14928 lastDay : '[ÑÑÑе Ñ] LT', 14929 lastWeek : function () { 14930 var lastWeekDays = [ 14931 '[пÑоÑле] [недеÑе] [Ñ] LT', 14932 '[пÑоÑлог] [понедеÑка] [Ñ] LT', 14933 '[пÑоÑлог] [ÑÑоÑка] [Ñ] LT', 14934 '[пÑоÑле] [ÑÑеде] [Ñ] LT', 14935 '[пÑоÑлог] [ÑеÑвÑÑка] [Ñ] LT', 14936 '[пÑоÑлог] [пеÑка] [Ñ] LT', 14937 '[пÑоÑле] [ÑÑбоÑе] [Ñ] LT' 14938 ]; 14939 return lastWeekDays[this.day()]; 14940 }, 14941 sameElse : 'L' 14942 }, 14943 relativeTime : { 14944 future : 'за %s', 14945 past : 'пÑе %s', 14946 s : 'неколико ÑекÑнди', 14947 m : translator.translate, 14948 mm : translator.translate, 14949 h : translator.translate, 14950 hh : translator.translate, 14951 d : 'дан', 14952 dd : translator.translate, 14953 M : 'меÑеÑ', 14954 MM : translator.translate, 14955 y : 'годинÑ', 14956 yy : translator.translate 14957 }, 14958 dayOfMonthOrdinalParse: /\d{1,2}\./, 14959 ordinal : '%d.', 14960 week : { 14961 dow : 1, // Monday is the first day of the week. 14962 doy : 7 // The week that contains Jan 1st is the first week of the year. 14963 } 14964}); 14965 14966return srCyrl; 14967 14968}))); 14969 14970 14971/***/ }), 14972/* 144 */ 14973/***/ (function(module, exports, __webpack_require__) { 14974 14975//! moment.js locale configuration 14976//! locale : siSwati [ss] 14977//! author : Nicolai Davies<[email protected]> : https://github.com/nicolaidavies 14978 14979;(function (global, factory) { 14980 true ? factory(__webpack_require__(0)) : 14981 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 14982 factory(global.moment) 14983}(this, (function (moment) { 'use strict'; 14984 14985 14986 14987var ss = moment.defineLocale('ss', { 14988 months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), 14989 monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), 14990 weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), 14991 weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), 14992 weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), 14993 weekdaysParseExact : true, 14994 longDateFormat : { 14995 LT : 'h:mm A', 14996 LTS : 'h:mm:ss A', 14997 L : 'DD/MM/YYYY', 14998 LL : 'D MMMM YYYY', 14999 LLL : 'D MMMM YYYY h:mm A', 15000 LLLL : 'dddd, D MMMM YYYY h:mm A' 15001 }, 15002 calendar : { 15003 sameDay : '[Namuhla nga] LT', 15004 nextDay : '[Kusasa nga] LT', 15005 nextWeek : 'dddd [nga] LT', 15006 lastDay : '[Itolo nga] LT', 15007 lastWeek : 'dddd [leliphelile] [nga] LT', 15008 sameElse : 'L' 15009 }, 15010 relativeTime : { 15011 future : 'nga %s', 15012 past : 'wenteka nga %s', 15013 s : 'emizuzwana lomcane', 15014 m : 'umzuzu', 15015 mm : '%d emizuzu', 15016 h : 'lihora', 15017 hh : '%d emahora', 15018 d : 'lilanga', 15019 dd : '%d emalanga', 15020 M : 'inyanga', 15021 MM : '%d tinyanga', 15022 y : 'umnyaka', 15023 yy : '%d iminyaka' 15024 }, 15025 meridiemParse: /ekuseni|emini|entsambama|ebusuku/, 15026 meridiem : function (hours, minutes, isLower) { 15027 if (hours < 11) { 15028 return 'ekuseni'; 15029 } else if (hours < 15) { 15030 return 'emini'; 15031 } else if (hours < 19) { 15032 return 'entsambama'; 15033 } else { 15034 return 'ebusuku'; 15035 } 15036 }, 15037 meridiemHour : function (hour, meridiem) { 15038 if (hour === 12) { 15039 hour = 0; 15040 } 15041 if (meridiem === 'ekuseni') { 15042 return hour; 15043 } else if (meridiem === 'emini') { 15044 return hour >= 11 ? hour : hour + 12; 15045 } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { 15046 if (hour === 0) { 15047 return 0; 15048 } 15049 return hour + 12; 15050 } 15051 }, 15052 dayOfMonthOrdinalParse: /\d{1,2}/, 15053 ordinal : '%d', 15054 week : { 15055 dow : 1, // Monday is the first day of the week. 15056 doy : 4 // The week that contains Jan 4th is the first week of the year. 15057 } 15058}); 15059 15060return ss; 15061 15062}))); 15063 15064 15065/***/ }), 15066/* 145 */ 15067/***/ (function(module, exports, __webpack_require__) { 15068 15069//! moment.js locale configuration
15070//! locale : Swedish [sv] 15071//! author : Jens Alm : https://github.com/ulmus 15072 15073;(function (global, factory) { 15074 true ? factory(__webpack_require__(0)) : 15075 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15076 factory(global.moment) 15077}(this, (function (moment) { 'use strict'; 15078 15079 15080var sv = moment.defineLocale('sv', { 15081 months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), 15082 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), 15083 weekdays : 'söndag_mÃ¥ndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), 15084 weekdaysShort : 'sön_mÃ¥n_tis_ons_tor_fre_lör'.split('_'), 15085 weekdaysMin : 'sö_mÃ¥_ti_on_to_fr_lö'.split('_'), 15086 longDateFormat : { 15087 LT : 'HH:mm', 15088 LTS : 'HH:mm:ss', 15089 L : 'YYYY-MM-DD', 15090 LL : 'D MMMM YYYY', 15091 LLL : 'D MMMM YYYY [kl.] HH:mm', 15092 LLLL : 'dddd D MMMM YYYY [kl.] HH:mm', 15093 lll : 'D MMM YYYY HH:mm', 15094 llll : 'ddd D MMM YYYY HH:mm' 15095 }, 15096 calendar : { 15097 sameDay: '[Idag] LT', 15098 nextDay: '[Imorgon] LT', 15099 lastDay: '[IgÃ¥r] LT', 15100 nextWeek: '[PÃ¥] dddd LT', 15101 lastWeek: '[I] dddd[s] LT', 15102 sameElse: 'L' 15103 }, 15104 relativeTime : { 15105 future : 'om %s', 15106 past : 'för %s sedan', 15107 s : 'nÃ¥gra sekunder', 15108 m : 'en minut', 15109 mm : '%d minuter', 15110 h : 'en timme', 15111 hh : '%d timmar', 15112 d : 'en dag', 15113 dd : '%d dagar', 15114 M : 'en mÃ¥nad', 15115 MM : '%d mÃ¥nader', 15116 y : 'ett Ã¥r', 15117 yy : '%d Ã¥r' 15118 }, 15119 dayOfMonthOrdinalParse: /\d{1,2}(e|a)/, 15120 ordinal : function (number) { 15121 var b = number % 10, 15122 output = (~~(number % 100 / 10) === 1) ? 'e' : 15123 (b === 1) ? 'a' : 15124 (b === 2) ? 'a' : 15125 (b === 3) ? 'e' : 'e'; 15126 return number + output; 15127 }, 15128 week : { 15129 dow : 1, // Monday is the first day of the week. 15130 doy : 4 // The week that contains Jan 4th is the first week of the year. 15131 } 15132}); 15133 15134return sv; 15135 15136}))); 15137 15138 15139/***/ }), 15140/* 146 */ 15141/***/ (function(module, exports, __webpack_require__) { 15142 15143//! moment.js locale configuration 15144//! locale : Swahili [sw] 15145//! author : Fahad Kassim : https://github.com/fadsel 15146 15147;(function (global, factory) { 15148 true ? factory(__webpack_require__(0)) : 15149 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15150 factory(global.moment) 15151}(this, (function (moment) { 'use strict'; 15152 15153 15154var sw = moment.defineLocale('sw', { 15155 months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), 15156 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), 15157 weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), 15158 weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), 15159 weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), 15160 weekdaysParseExact : true, 15161 longDateFormat : { 15162 LT : 'HH:mm', 15163 LTS : 'HH:mm:ss', 15164 L : 'DD.MM.YYYY', 15165 LL : 'D MMMM YYYY', 15166 LLL : 'D MMMM YYYY HH:mm', 15167 LLLL : 'dddd, D MMMM YYYY HH:mm' 15168 }, 15169 calendar : { 15170 sameDay : '[leo saa] LT', 15171 nextDay : '[kesho saa] LT', 15172 nextWeek : '[wiki ijayo] dddd [saat] LT', 15173 lastDay : '[jana] LT', 15174 lastWeek : '[wiki iliyopita] dddd [saat] LT', 15175 sameElse : 'L' 15176 }, 15177 relativeTime : { 15178 future : '%s baadaye', 15179 past : 'tokea %s', 15180 s : 'hivi punde', 15181 m : 'dakika moja', 15182 mm : 'dakika %d', 15183 h : 'saa limoja', 15184 hh : 'masaa %d', 15185 d : 'siku moja', 15186 dd : 'masiku %d', 15187 M : 'mwezi mmoja', 15188 MM : 'miezi %d', 15189 y : 'mwaka mmoja', 15190 yy : 'miaka %d' 15191 }, 15192 week : { 15193 dow : 1, // Monday is the first day of the week. 15194 doy : 7 // The week that contains Jan 1st is the first week of the year. 15195 } 15196}); 15197 15198return sw; 15199 15200}))); 15201 15202 15203/***/ }), 15204/* 147 */ 15205/***/ (function(module, exports, __webpack_require__) { 15206 15207//! moment.js locale configuration 15208//! locale : Tamil [ta] 15209//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 15210 15211;(function (global, factory) { 15212 true ? factory(__webpack_require__(0)) : 15213 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15214 factory(global.moment) 15215}(this, (function (moment) { 'use strict'; 15216 15217 15218var symbolMap = { 15219 '1': '௧', 15220 '2': '௨', 15221 '3': '௩', 15222 '4': '௪', 15223 '5': '௫', 15224 '6': '௬', 15225 '7': 'à¯', 15226 '8': '௮', 15227 '9': '௯', 15228 '0': '௦' 15229}; 15230var numberMap = { 15231 '௧': '1', 15232 '௨': '2', 15233 '௩': '3', 15234 '௪': '4', 15235 '௫': '5', 15236 '௬': '6', 15237 'à¯': '7', 15238 '௮': '8', 15239 '௯': '9', 15240 '௦': '0' 15241}; 15242 15243var ta = moment.defineLocale('ta', { 15244 months : 'à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ª
vendor: 39,402 bytes, lines 15244-16413
15244à®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯'.split('_'), 15245 monthsShort : 'à®à®©à®µà®°à®¿_பிபà¯à®°à®µà®°à®¿_மாரà¯à®à¯_à®à®ªà¯à®°à®²à¯_à®®à¯_à®à¯à®©à¯_à®à¯à®²à¯_à®à®à®¸à¯à®à¯_à®à¯à®ªà¯à®à¯à®®à¯à®ªà®°à¯_à® à®à¯à®à¯à®¾à®ªà®°à¯_நவமà¯à®ªà®°à¯_à®à®¿à®à®®à¯à®ªà®°à¯'.split('_'), 15246 weekdays : 'à®à®¾à®¯à®¿à®±à¯à®±à¯à®à¯à®à®¿à®´à®®à¯_திà®à¯à®à®à¯à®à®¿à®´à®®à¯_à®à¯à®µà¯à®µà®¾à®¯à¯à®à®¿à®´à®®à¯_பà¯à®¤à®©à¯à®à®¿à®´à®®à¯_வியாழà®à¯à®à®¿à®´à®®à¯_வà¯à®³à¯à®³à®¿à®à¯à®à®¿à®´à®®à¯_à®à®©à®¿à®à¯à®à®¿à®´à®®à¯'.split('_'), 15247 weekdaysShort : 'à®à®¾à®¯à®¿à®±à¯_திà®à¯à®à®³à¯_à®à¯à®µà¯à®µà®¾à®¯à¯_பà¯à®¤à®©à¯_வியாழனà¯_வà¯à®³à¯à®³à®¿_à®à®©à®¿'.split('_'), 15248 weekdaysMin : 'à®à®¾_தி_à®à¯_பà¯_வி_வà¯_à®'.split('_'), 15249 longDateFormat : { 15250 LT : 'HH:mm', 15251 LTS : 'HH:mm:ss', 15252 L : 'DD/MM/YYYY', 15253 LL : 'D MMMM YYYY', 15254 LLL : 'D MMMM YYYY, HH:mm', 15255 LLLL : 'dddd, D MMMM YYYY, HH:mm' 15256 }, 15257 calendar : { 15258 sameDay : '[à®à®©à¯à®±à¯] LT', 15259 nextDay : '[நாளà¯] LT', 15260 nextWeek : 'dddd, LT', 15261 lastDay : '[நà¯à®±à¯à®±à¯] LT', 15262 lastWeek : '[à®à®à®¨à¯à®¤ வாரமà¯] dddd, LT', 15263 sameElse : 'L' 15264 }, 15265 relativeTime : { 15266 future : '%s à®à®²à¯', 15267 past : '%s à®®à¯à®©à¯', 15268 s : 'à®à®°à¯ à®à®¿à®² விநாà®à®¿à®à®³à¯', 15269 m : 'à®à®°à¯ நிமிà®à®®à¯', 15270 mm : '%d நிமிà®à®à¯à®à®³à¯', 15271 h : 'à®à®°à¯ மணி நà¯à®°à®®à¯', 15272 hh : '%d மணி நà¯à®°à®®à¯', 15273 d : 'à®à®°à¯ நாளà¯', 15274 dd : '%d நாà®à¯à®à®³à¯', 15275 M : 'à®à®°à¯ மாதமà¯', 15276 MM : '%d மாதà®à¯à®à®³à¯', 15277 y : 'à®à®°à¯ வரà¯à®à®®à¯', 15278 yy : '%d à®à®£à¯à®à¯à®à®³à¯' 15279 }, 15280 dayOfMonthOrdinalParse: /\d{1,2}வதà¯/, 15281 ordinal : function (number) { 15282 return number + 'வதà¯'; 15283 }, 15284 preparse: function (string) { 15285 return string.replace(/[௧௨௩௪௫௬à¯à¯®à¯¯à¯¦]/g, function (match) { 15286 return numberMap[match]; 15287 }); 15288 }, 15289 postformat: function (string) { 15290 return string.replace(/\d/g, function (match) { 15291 return symbolMap[match]; 15292 }); 15293 }, 15294 // refer http://ta.wikipedia.org/s/1er1 15295 meridiemParse: /யாமமà¯|வà¯à®à®±à¯|à®à®¾à®²à¯|நணà¯à®ªà®à®²à¯|à®à®±à¯à®ªà®¾à®à¯|மாலà¯/, 15296 meridiem : function (hour, minute, isLower) { 15297 if (hour < 2) { 15298 return ' யாமமà¯'; 15299 } else if (hour < 6) { 15300 return ' வà¯à®à®±à¯'; // வà¯à®à®±à¯ 15301 } else if (hour < 10) { 15302 return ' à®à®¾à®²à¯'; // à®à®¾à®²à¯ 15303 } else if (hour < 14) { 15304 return ' நணà¯à®ªà®à®²à¯'; // நணà¯à®ªà®à®²à¯ 15305 } else if (hour < 18) { 15306 return ' à®à®±à¯à®ªà®¾à®à¯'; // à®à®±à¯à®ªà®¾à®à¯ 15307 } else if (hour < 22) { 15308 return ' மாலà¯'; // மால௠15309 } else { 15310 return ' யாமமà¯'; 15311 } 15312 }, 15313 meridiemHour : function (hour, meridiem) { 15314 if (hour === 12) { 15315 hour = 0; 15316 } 15317 if (meridiem === 'யாமமà¯') { 15318 return hour < 2 ? hour : hour + 12; 15319 } else if (meridiem === 'வà¯à®à®±à¯' || meridiem === 'à®à®¾à®²à¯') { 15320 return hour; 15321 } else if (meridiem === 'நணà¯à®ªà®à®²à¯') { 15322 return hour >= 10 ? hour : hour + 12; 15323 } else { 15324 return hour + 12; 15325 } 15326 }, 15327 week : { 15328 dow : 0, // Sunday is the first day of the week. 15329 doy : 6 // The week that contains Jan 1st is the first week of the year. 15330 } 15331}); 15332 15333return ta; 15334 15335}))); 15336 15337 15338/***/ }), 15339/* 148 */ 15340/***/ (function(module, exports, __webpack_require__) { 15341 15342//! moment.js locale configuration 15343//! locale : Telugu [te] 15344//! author : Krishna Chaitanya Thota : https://github.com/kcthota 15345 15346;(function (global, factory) { 15347 true ? factory(__webpack_require__(0)) : 15348 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15349 factory(global.moment) 15350}(this, (function (moment) { 'use strict'; 15351 15352 15353var te = moment.defineLocale('te', { 15354 months : 'à°à°¨à°µà°°à°¿_à°«à°¿à°¬à±à°°à°µà°°à°¿_మారà±à°à°¿_à°à°ªà±à°°à°¿à°²à±_à°®à±_à°à±à°¨à±_à°à±à°²à±à±_à°à°à°¸à±à°à±_à°¸à±à°ªà±à°à±à°à°¬à°°à±_à° à°à±à°à±à°¬à°°à±_నవà°à°¬à°°à±_à°¡à°¿à°¸à±à°à°¬à°°à±'.split('_'), 15355 monthsShort : 'à°à°¨._à°«à°¿à°¬à±à°°._మారà±à°à°¿_à°à°ªà±à°°à°¿._à°®à±_à°à±à°¨à±_à°à±à°²à±à±_à°à°._à°¸à±à°ªà±._à° à°à±à°à±._నవ._à°¡à°¿à°¸à±.'.split('_'), 15356 monthsParseExact : true, 15357 weekdays : 'à°à°¦à°¿à°µà°¾à°°à°_à°¸à±à°®à°µà°¾à°°à°_à°®à°à°à°³à°µà°¾à°°à°_à°¬à±à°§à°µà°¾à°°à°_à°à±à°°à±à°µà°¾à°°à°_à°¶à±à°à±à°°à°µà°¾à°°à°_శనివారà°'.split('_'), 15358 weekdaysShort : 'à°à°¦à°¿_à°¸à±à°®_à°®à°à°à°³_à°¬à±à°§_à°à±à°°à±_à°¶à±à°à±à°°_శని'.split('_'), 15359 weekdaysMin : 'à°_à°¸à±_à°®à°_à°¬à±_à°à±_à°¶à±_à°¶'.split('_'), 15360 longDateFormat : { 15361 LT : 'A h:mm', 15362 LTS : 'A h:mm:ss', 15363 L : 'DD/MM/YYYY', 15364 LL : 'D MMMM YYYY', 15365 LLL : 'D MMMM YYYY, A h:mm', 15366 LLLL : 'dddd, D MMMM YYYY, A h:mm' 15367 }, 15368 calendar : { 15369 sameDay : '[à°¨à±à°¡à±] LT', 15370 nextDay : '[à°°à±à°ªà±] LT', 15371 nextWeek : 'dddd, LT', 15372 lastDay : '[నినà±à°¨] LT', 15373 lastWeek : '[à°à°¤] dddd, LT', 15374 sameElse : 'L' 15375 }, 15376 relativeTime : { 15377 future : '%s à°²à±', 15378 past : '%s à°à±à°°à°¿à°¤à°', 15379 s : 'à°à±à°¨à±à°¨à°¿ à°à±à°·à°£à°¾à°²à±', 15380 m : 'à°à° నిమిషà°', 15381 mm : '%d నిమిషాలà±', 15382 h : 'à°à° à°à°à°', 15383 hh : '%d à°à°à°à°²à±', 15384 d : 'à°à° à°°à±à°à±', 15385 dd : '%d à°°à±à°à±à°²à±', 15386 M : 'à°à° à°¨à±à°²', 15387 MM : '%d à°¨à±à°²à°²à±', 15388 y : 'à°à° à°¸à°à°µà°¤à±à°¸à°°à°', 15389 yy : '%d à°¸à°à°µà°¤à±à°¸à°°à°¾à°²à±' 15390 }, 15391 dayOfMonthOrdinalParse : /\d{1,2}à°µ/, 15392 ordinal : '%dà°µ', 15393 meridiemParse: /రాతà±à°°à°¿|à°à°¦à°¯à°|మధà±à°¯à°¾à°¹à±à°¨à°|సాయà°à°¤à±à°°à°/, 15394 meridiemHour : function (hour, meridiem) { 15395 if (hour === 12) { 15396 hour = 0; 15397 } 15398 if (meridiem === 'రాతà±à°°à°¿') { 15399 return hour < 4 ? hour : hour + 12; 15400 } else if (meridiem === 'à°à°¦à°¯à°') { 15401 return hour; 15402 } else if (meridiem === 'మధà±à°¯à°¾à°¹à±à°¨à°') { 15403 return hour >= 10 ? hour : hour + 12; 15404 } else if (meridiem === 'సాయà°à°¤à±à°°à°') { 15405 return hour + 12; 15406 } 15407 }, 15408 meridiem : function (hour, minute, isLower) { 15409 if (hour < 4) { 15410 return 'రాతà±à°°à°¿'; 15411 } else if (hour < 10) { 15412 return 'à°à°¦à°¯à°'; 15413 } else if (hour < 17) { 15414 return 'మధà±à°¯à°¾à°¹à±à°¨à°'; 15415 } else if (hour < 20) { 15416 return 'సాయà°à°¤à±à°°à°'; 15417 } else { 15418 return 'రాతà±à°°à°¿'; 15419 } 15420 }, 15421 week : { 15422 dow : 0, // Sunday is the first day of the week. 15423 doy : 6 // The week that contains Jan 1st is the first week of the year. 15424 } 15425}); 15426 15427return te; 15428 15429}))); 15430 15431 15432/***/ }), 15433/* 149 */ 15434/***/ (function(module, exports, __webpack_require__) { 15435 15436//! moment.js locale configuration 15437//! locale : Tetun Dili (East Timor) [tet] 15438//! author : Joshua Brooks : https://github.com/joshbrooks 15439//! author : Onorio De J. Afonso : https://github.com/marobo 15440 15441;(function (global, factory) { 15442 true ? factory(__webpack_require__(0)) : 15443 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15444 factory(global.moment) 15445}(this, (function (moment) { 'use strict'; 15446 15447 15448var tet = moment.defineLocale('tet', { 15449 months : 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru'.split('_'), 15450 monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez'.split('_'), 15451 weekdays : 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu'.split('_'), 15452 weekdaysShort : 'Dom_Seg_Ters_Kua_Kint_Sext_Sab'.split('_'), 15453 weekdaysMin : 'Do_Seg_Te_Ku_Ki_Sex_Sa'.split('_'), 15454 longDateFormat : { 15455 LT : 'HH:mm', 15456 LTS : 'HH:mm:ss', 15457 L : 'DD/MM/YYYY', 15458 LL : 'D MMMM YYYY', 15459 LLL : 'D MMMM YYYY HH:mm', 15460 LLLL : 'dddd, D MMMM YYYY HH:mm' 15461 }, 15462 calendar : { 15463 sameDay: '[Ohin iha] LT', 15464 nextDay: '[Aban iha] LT', 15465 nextWeek: 'dddd [iha] LT', 15466 lastDay: '[Horiseik iha] LT', 15467 lastWeek: 'dddd [semana kotuk] [iha] LT', 15468 sameElse: 'L' 15469 }, 15470 relativeTime : { 15471 future : 'iha %s', 15472 past : '%s liuba', 15473 s : 'minutu balun', 15474 m : 'minutu ida', 15475 mm : 'minutus %d', 15476 h : 'horas ida', 15477 hh : 'horas %d', 15478 d : 'loron ida', 15479 dd : 'loron %d', 15480 M : 'fulan ida', 15481 MM : 'fulan %d', 15482 y : 'tinan ida', 15483 yy : 'tinan %d' 15484 }, 15485 dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, 15486 ordinal : function (number) { 15487 var b = number % 10, 15488 output = (~~(number % 100 / 10) === 1) ? 'th' : 15489 (b === 1) ? 'st' : 15490 (b === 2) ? 'nd' : 15491 (b === 3) ? 'rd' : 'th'; 15492 return number + output; 15493 }, 15494 week : { 15495 dow : 1, // Monday is the first day of the week. 15496 doy : 4 // The week that contains Jan 4th is the first week of the year. 15497 } 15498}); 15499 15500return tet; 15501 15502}))); 15503 15504 15505/***/ }), 15506/* 150 */ 15507/***/ (function(module, exports, __webpack_require__) { 15508 15509//! moment.js locale configuration 15510//! locale : Thai [th] 15511//! author : Kridsada Thanabulpong : https://github.com/sirn 15512 15513;(function (global, factory) { 15514 true ? factory(__webpack_require__(0)) : 15515 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15516 factory(global.moment) 15517}(this, (function (moment) { 'use strict'; 15518 15519 15520var th = moment.defineLocale('th', { 15521 months : 'มà¸à¸£à¸²à¸à¸¡_à¸à¸¸à¸¡à¸ าà¸à¸±à¸à¸à¹_มีà¸à¸²à¸à¸¡_à¹à¸¡à¸©à¸²à¸¢à¸_à¸à¸¤à¸©à¸ าà¸à¸¡_มิà¸à¸¸à¸à¸²à¸¢à¸_à¸à¸£à¸à¸à¸²à¸à¸¡_สิà¸à¸«à¸²à¸à¸¡_à¸à¸±à¸à¸¢à¸²à¸¢à¸_à¸à¸¸à¸¥à¸²à¸à¸¡_à¸à¸¤à¸¨à¸à¸´à¸à¸²à¸¢à¸_à¸à¸±à¸à¸§à¸²à¸à¸¡'.split('_'), 15522 monthsShort : 'ม.à¸._à¸.à¸._มี.à¸._à¹à¸¡.ย._à¸.à¸._มิ.ย._à¸.à¸._ส.à¸._à¸.ย._à¸.à¸._à¸.ย._à¸.à¸.'.split('_'), 15523 monthsParseExact: true, 15524 weekdays : 'à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ªà¸à¸à¸µ_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹'.split('_'), 15525 weekdaysShort : 'à¸à¸²à¸à¸´à¸à¸¢à¹_à¸à¸±à¸à¸à¸£à¹_à¸à¸±à¸à¸à¸²à¸£_à¸à¸¸à¸_à¸à¸¤à¸«à¸±à¸ª_ศุà¸à¸£à¹_à¹à¸ªà¸²à¸£à¹'.split('_'), // yes, three characters difference 15526 weekdaysMin : 'à¸à¸²._à¸._à¸._à¸._à¸à¸¤._ศ._ส.'.split('_'), 15527 weekdaysParseExact : true, 15528 longDateFormat : { 15529 LT : 'H:mm', 15530 LTS : 'H:mm:ss', 15531 L : 'DD/MM/YYYY', 15532 LL : 'D MMMM YYYY', 15533 LLL : 'D MMMM YYYY à¹à¸§à¸¥à¸² H:mm', 15534 LLLL : 'วัà¸ddddà¸à¸µà¹ D MMMM YYYY à¹à¸§à¸¥à¸² H:mm' 15535 }, 15536 meridiemParse: /à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸|หลัà¸à¹à¸à¸µà¹à¸¢à¸/, 15537 isPM: function (input) { 15538 return input === 'หลัà¸à¹à¸à¸µà¹à¸¢à¸'; 15539 }, 15540 meridiem : function (hour, minute, isLower) { 15541 if (hour < 12) { 15542 return 'à¸à¹à¸à¸à¹à¸à¸µà¹à¸¢à¸'; 15543 } else { 15544 return 'หลัà¸à¹à¸à¸µà¹à¸¢à¸'; 15545 } 15546 }, 15547 calendar : { 15548 sameDay : '[วัà¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 15549 nextDay : '[à¸à¸£à¸¸à¹à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 15550 nextWeek : 'dddd[หà¸à¹à¸² à¹à¸§à¸¥à¸²] LT', 15551 lastDay : '[à¹à¸¡à¸·à¹à¸à¸§à¸²à¸à¸à¸µà¹ à¹à¸§à¸¥à¸²] LT', 15552 lastWeek : '[วัà¸]dddd[à¸à¸µà¹à¹à¸¥à¹à¸§ à¹à¸§à¸¥à¸²] LT', 15553 sameElse : 'L' 15554 }, 15555 relativeTime : { 15556 future : 'à¸à¸µà¸ %s', 15557 past : '%sà¸à¸µà¹à¹à¸¥à¹à¸§', 15558 s : 'à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ', 15559 m : '1 à¸à¸²à¸à¸µ', 15560 mm : '%d à¸à¸²à¸à¸µ', 15561 h : '1 à¸à¸±à¹à¸§à¹à¸¡à¸', 15562 hh : '%d à¸à¸±à¹à¸§à¹à¸¡à¸', 15563 d : '1 วัà¸', 15564 dd : '%d วัà¸', 15565 M : '1 à¹à¸à¸·à¸à¸', 15566 MM : '%d à¹à¸à¸·à¸à¸', 15567 y : '1 à¸à¸µ', 15568 yy : '%d à¸à¸µ' 15569 } 15570}); 15571 15572return th; 15573 15574}))); 15575 15576 15577/***/ }), 15578/* 151 */ 15579/***/ (function(module, exports, __webpack_require__) { 15580 15581//! moment.js locale configuration 15582//! locale : Tagalog (Philippines) [tl-ph] 15583//! author : Dan Hagman : https://github.com/hagmandan 15584 15585;(function (global, factory) { 15586 true ? factory(__webpack_require__(0)) : 15587 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15588 factory(global.moment) 15589}(this, (function (moment) { 'use strict'; 15590 15591 15592var tlPh = moment.defineLocale('tl-ph', { 15593 months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), 15594 monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), 15595 weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), 15596 weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), 15597 weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), 15598 longDateFormat : { 15599 LT : 'HH:mm', 15600 LTS : 'HH:mm:ss', 15601 L : 'MM/D/YYYY', 15602 LL : 'MMMM D, YYYY', 15603 LLL : 'MMMM D, YYYY HH:mm', 15604 LLLL : 'dddd, MMMM DD, YYYY HH:mm' 15605 }, 15606 calendar : { 15607 sameDay: 'LT [ngayong araw]', 15608 nextDay: '[Bukas ng] LT', 15609 nextWeek: 'LT [sa susunod na] dddd', 15610 lastDay: 'LT [kahapon]', 15611 lastWeek: 'LT [noong nakaraang] dddd', 15612 sameElse: 'L' 15613 }, 15614 relativeTime : { 15615 future : 'sa loob ng %s', 15616 past : '%s ang nakalipas', 15617 s : 'ilang segundo', 15618 m : 'isang minuto', 15619 mm : '%d minuto', 15620 h : 'isang oras', 15621 hh : '%d oras', 15622 d : 'isang araw', 15623 dd : '%d araw', 15624 M : 'isang buwan', 15625 MM : '%d buwan', 15626 y : 'isang taon', 15627 yy : '%d taon' 15628 }, 15629 dayOfMonthOrdinalParse: /\d{1,2}/, 15630 ordinal : function (number) { 15631 return number; 15632 }, 15633 week : { 15634 dow : 1, // Monday is the first day of the week. 15635 doy : 4 // The week that contains Jan 4th is the first week of the year. 15636 } 15637}); 15638 15639return tlPh; 15640 15641}))); 15642 15643 15644/***/ }), 15645/* 152 */ 15646/***/ (function(module, exports, __webpack_require__) { 15647 15648//! moment.js locale configuration 15649//! locale : Klingon [tlh] 15650//! author : Dominika Kruk : https://github.com/amaranthrose 15651 15652;(function (global, factory) { 15653 true ? factory(__webpack_require__(0)) : 15654 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15655 factory(global.moment) 15656}(this, (function (moment) { 'use strict'; 15657 15658 15659var numbersNouns = 'pagh_waâ_chaâ_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); 15660 15661function translateFuture(output) { 15662 var time = output; 15663 time = (output.indexOf('jaj') !== -1) ? 15664 time.slice(0, -3) + 'leS' : 15665 (output.indexOf('jar') !== -1) ? 15666 time.slice(0, -3) + 'waQ' : 15667 (output.indexOf('DIS') !== -1) ? 15668 time.slice(0, -3) + 'nem' : 15669 time + ' pIq'; 15670 return time; 15671} 15672 15673function translatePast(output) { 15674 var time = output; 15675 time = (output.indexOf('jaj') !== -1) ? 15676 time.slice(0, -3) + 'Huâ' : 15677 (output.indexOf('jar') !== -1) ? 15678 time.slice(0, -3) + 'wen' : 15679 (output.indexOf('DIS') !== -1) ? 15680 time.slice(0, -3) + 'ben' : 15681 time + ' ret'; 15682 return time; 15683} 15684 15685function translate(number, withoutSuffix, string, isFuture) { 15686 var numberNoun = numberAsNoun(number); 15687 switch (string) { 15688 case 'mm': 15689 return numberNoun + ' tup'; 15690 case 'hh': 15691 return numberNoun + ' rep'; 15692 case 'dd': 15693 return numberNoun + ' jaj'; 15694 case 'MM': 15695 return numberNoun + ' jar'; 15696 case 'yy': 15697 return numberNoun + ' DIS'; 15698 } 15699} 15700 15701function numberAsNoun(number) { 15702 var hundred = Math.floor((number % 1000) / 100), 15703 ten = Math.floor((number % 100) / 10), 15704 one = number % 10, 15705 word = ''; 15706 if (hundred > 0) { 15707 word += numbersNouns[hundred] + 'vatlh'; 15708 } 15709 if (ten > 0) { 15710 word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH'; 15711 } 15712 if (one > 0) { 15713 word += ((word !== '') ? ' ' : '') + numbersNouns[one]; 15714 } 15715 return (word === '') ? 'pagh' : word; 15716} 15717 15718var tlh = moment.defineLocale('tlh', { 15719 months : 'teraâ jar waâ_teraâ jar chaâ_teraâ jar wej_teraâ jar loS_teraâ jar vagh_teraâ jar jav_teraâ jar Soch_teraâ jar chorgh_teraâ jar Hut_teraâ jar waâmaH_teraâ jar waâmaH waâ_teraâ jar waâmaH chaâ'.split('_'), 15720 monthsShort : 'jar waâ_jar chaâ_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar waâmaH_jar waâmaH waâ_jar waâmaH chaâ'.split('_'), 15721 monthsParseExact : true, 15722 weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), 15723 weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), 15724 weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), 15725 longDateFormat : { 15726 LT : 'HH:mm', 15727 LTS : 'HH:mm:ss', 15728 L : 'DD.MM.YYYY', 15729 LL : 'D MMMM YYYY', 15730 LLL : 'D MMMM YYYY HH:mm', 15731 LLLL : 'dddd, D MMMM YYYY HH:mm' 15732 }, 15733 calendar : { 15734 sameDay: '[DaHjaj] LT', 15735 nextDay: '[waâleS] LT', 15736 nextWeek: 'LLL', 15737 lastDay: '[waâHuâ] LT', 15738 lastWeek: 'LLL', 15739 sameElse: 'L' 15740 }, 15741 relativeTime : { 15742 future : translateFuture, 15743 past : translatePast, 15744 s : 'puS lup', 15745 m : 'waâ tup', 15746 mm : translate, 15747 h : 'waâ rep', 15748 hh : translate, 15749 d : 'waâ jaj', 15750 dd : translate, 15751 M : 'waâ jar', 15752 MM : translate, 15753 y : 'waâ DIS', 15754 yy : translate 15755 }, 15756 dayOfMonthOrdinalParse: /\d{1,2}\./, 15757 ordinal : '%d.', 15758 week : { 15759 dow : 1, // Monday is the first day of the week. 15760 doy : 4 // The week that contains Jan 4th is the first week of the year. 15761 } 15762}); 15763 15764return tlh; 15765 15766}))); 15767 15768 15769/***/ }), 15770/* 153 */ 15771/***/ (function(module, exports, __webpack_require__) { 15772 15773//! moment.js locale configuration 15774//! locale : Turkish [tr] 15775//! authors : Erhan Gundogan : https://github.com/erhangundogan, 15776//! Burak YiÄit Kaya: https://github.com/BYK 15777 15778;(function (global, factory) { 15779 true ? factory(__webpack_require__(0)) : 15780 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15781 factory(global.moment) 15782}(this, (function (moment) { 'use strict'; 15783 15784 15785var suffixes = { 15786 1: '\'inci', 15787 5: '\'inci', 15788 8: '\'inci', 15789 70: '\'inci', 15790 80: '\'inci', 15791 2: '\'nci', 15792 7: '\'nci', 15793 20: '\'nci', 15794 50: '\'nci', 15795 3: '\'üncü', 15796 4: '\'üncü', 15797 100: '\'üncü', 15798 6: '\'ncı', 15799 9: '\'uncu', 15800 10: '\'uncu', 15801 30: '\'uncu', 15802 60: '\'ıncı', 15803 90: '\'ıncı' 15804}; 15805 15806var tr = moment.defineLocale('tr', { 15807 months : 'Ocak_Åubat_Mart_Nisan_Mayıs_Haziran_Temmuz_AÄustos_Eylül_Ekim_Kasım_Aralık'.split('_'), 15808 monthsShort : 'Oca_Åub_Mar_Nis_May_Haz_Tem_AÄu_Eyl_Eki_Kas_Ara'.split('_'), 15809 weekdays : 'Pazar_Pazartesi_Salı_ÃarÅamba_PerÅembe_Cuma_Cumartesi'.split('_'), 15810 weekdaysShort : 'Paz_Pts_Sal_Ãar_Per_Cum_Cts'.split('_'), 15811 weekdaysMin : 'Pz_Pt_Sa_Ãa_Pe_Cu_Ct'.split('_'), 15812 longDateFormat : { 15813 LT : 'HH:mm', 15814 LTS : 'HH:mm:ss', 15815 L : 'DD.MM.YYYY', 15816 LL : 'D MMMM YYYY', 15817 LLL : 'D MMMM YYYY HH:mm', 15818 LLLL : 'dddd, D MMMM YYYY HH:mm' 15819 }, 15820 calendar : { 15821 sameDay : '[bugün saat] LT', 15822 nextDay : '[yarın saat] LT', 15823 nextWeek : '[haftaya] dddd [saat] LT', 15824 lastDay : '[dün] LT', 15825 lastWeek : '[geçen hafta] dddd [saat] LT', 15826 sameElse : 'L' 15827 }, 15828 relativeTime : { 15829 future : '%s sonra', 15830 past : '%s önce', 15831 s : 'birkaç saniye', 15832 m : 'bir dakika', 15833 mm : '%d dakika', 15834 h : 'bir saat', 15835 hh : '%d saat', 15836 d : 'bir gün', 15837 dd : '%d gün', 15838 M : 'bir ay', 15839 MM : '%d ay', 15840 y : 'bir yıl', 15841 yy : '%d yıl' 15842 }, 15843 dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/, 15844 ordinal : function (number) { 15845 if (number === 0) { // special case for zero 15846 return number + '\'ıncı'; 15847 } 15848 var a = number % 10, 15849 b = number % 100 - a, 15850 c = number >= 100 ? 100 : null; 15851 return number + (suffixes[a] || suffixes[b] || suffixes[c]); 15852 }, 15853 week : { 15854 dow : 1, // Monday is the first day of the week. 15855 doy : 7 // The week that contains Jan 1st is the first week of the year. 15856 } 15857}); 15858 15859return tr; 15860 15861}))); 15862 15863 15864/***/ }), 15865/* 154 */ 15866/***/ (function(module, exports, __webpack_require__) { 15867 15868//! moment.js locale configuration 15869//! locale : Talossan [tzl] 15870//! author : Robin van der Vliet : https://github.com/robin0van0der0v 15871//! author : Iustì Canun 15872 15873;(function (global, factory) { 15874 true ? factory(__webpack_require__(0)) : 15875 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15876 factory(global.moment) 15877}(this, (function (moment) { 'use strict'; 15878 15879 15880// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. 15881// This is currently too difficult (maybe even impossible) to add. 15882var tzl = moment.defineLocale('tzl', { 15883 months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), 15884 monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), 15885 weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), 15886 weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), 15887 weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), 15888 longDateFormat : { 15889 LT : 'HH.mm', 15890 LTS : 'HH.mm.ss', 15891 L : 'DD.MM.YYYY', 15892 LL : 'D. MMMM [dallas] YYYY', 15893 LLL : 'D. MMMM [dallas] YYYY HH.mm', 15894 LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' 15895 }, 15896 meridiemParse: /d\'o|d\'a/i, 15897 isPM : function (input) { 15898 return 'd\'o' === input.toLowerCase(); 15899 }, 15900 meridiem : function (hours, minutes, isLower) { 15901 if (hours > 11) { 15902 return isLower ? 'd\'o' : 'D\'O'; 15903 } else { 15904 return isLower ? 'd\'a' : 'D\'A'; 15905 } 15906 }, 15907 calendar : { 15908 sameDay : '[oxhi à ] LT', 15909 nextDay : '[demà à ] LT', 15910 nextWeek : 'dddd [à ] LT', 15911 lastDay : '[ieiri à ] LT', 15912 lastWeek : '[sür el] dddd [lasteu à ] LT', 15913 sameElse : 'L' 15914 }, 15915 relativeTime : { 15916 future : 'osprei %s', 15917 past : 'ja%s', 15918 s : processRelativeTime, 15919 m : processRelativeTime, 15920 mm : processRelativeTime, 15921 h : processRelativeTime, 15922 hh : processRelativeTime, 15923 d : processRelativeTime, 15924 dd : processRelativeTime, 15925 M : processRelativeTime, 15926 MM : processRelativeTime, 15927 y : processRelativeTime, 15928 yy : processRelativeTime 15929 }, 15930 dayOfMonthOrdinalParse: /\d{1,2}\./, 15931 ordinal : '%d.', 15932 week : { 15933 dow : 1, // Monday is the first day of the week. 15934 doy : 4 // The week that contains Jan 4th is the first week of the year. 15935 } 15936}); 15937 15938function processRelativeTime(number, withoutSuffix, key, isFuture) { 15939 var format = { 15940 's': ['viensas secunds', '\'iensas secunds'], 15941 'm': ['\'n mÃut', '\'iens mÃut'], 15942 'mm': [number + ' mÃuts', '' + number + ' mÃuts'], 15943 'h': ['\'n þora', '\'iensa þora'], 15944 'hh': [number + ' þoras', '' + number + ' þoras'], 15945 'd': ['\'n ziua', '\'iensa ziua'], 15946 'dd': [number + ' ziuas', '' + number + ' ziuas'], 15947 'M': ['\'n mes', '\'iens mes'], 15948 'MM': [number + ' mesen', '' + number + ' mesen'], 15949 'y': ['\'n ar', '\'iens ar'], 15950 'yy': [number + ' ars', '' + number + ' ars'] 15951 }; 15952 return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]); 15953} 15954 15955return tzl; 15956 15957}))); 15958 15959 15960/***/ }), 15961/* 155 */ 15962/***/ (function(module, exports, __webpack_require__) { 15963 15964//! moment.js locale configuration 15965//! locale : Central Atlas Tamazight [tzm] 15966//! author : Abdel Said : https://github.com/abdelsaid 15967 15968;(function (global, factory) { 15969 true ? factory(__webpack_require__(0)) : 15970 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 15971 factory(global.moment) 15972}(this, (function (moment) { 'use strict'; 15973 15974 15975var tzm = moment.defineLocale('tzm', { 15976 months : 'âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ'.split('_'), 15977 monthsShort : 'âµâµâµâ´°âµ¢âµ_â´±âµâ´°âµ¢âµ_âµâ´°âµâµ_âµâ´±âµâµâµ_âµâ´°âµ¢âµ¢âµ_âµ¢âµâµâµ¢âµ_âµ¢âµâµâµ¢âµâµ£_âµâµâµâµ_âµâµâµâ´°âµâ´±âµâµ_â´½âµâµâ´±âµ_âµâµâµ¡â´°âµâ´±âµâµ_â´·âµâµâµâ´±âµâµ'.split('_'), 15978 weekdays : 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 15979 weekdaysShort : 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 15980 weekdaysMin : 'â´°âµâ´°âµâ´°âµ_â´°âµ¢âµâ´°âµ_â´°âµâµâµâ´°âµ_â´°â´½âµâ´°âµ_ⴰⴽⵡⴰâµ_â´°âµâµâµâµ¡â´°âµ_â´°âµâµâ´¹âµ¢â´°âµ'.split('_'), 15981 longDateFormat : { 15982 LT : 'HH:mm', 15983 LTS: 'HH:mm:ss', 15984 L : 'DD/MM/YYYY', 15985 LL : 'D MMMM YYYY', 15986 LLL : 'D MMMM YYYY HH:mm', 15987 LLLL : 'dddd D MMMM YYYY HH:mm' 15988 }, 15989 calendar : { 15990 sameDay: '[â´°âµâ´·âµ â´´] LT', 15991 nextDay: '[â´°âµâ´½â´° â´´] LT', 15992 nextWeek: 'dddd [â´´] LT', 15993 lastDay: '[â´°âµâ´°âµâµ â´´] LT', 15994 lastWeek: 'dddd [â´´] LT', 15995 sameElse: 'L' 15996 }, 15997 relativeTime : { 15998 future : 'ⴷⴰⴷⵠⵠⵢⴰⵠ%s', 15999 past : 'ⵢⴰⵠ%s', 16000 s : 'âµâµâµâ´½', 16001 m : 'âµâµâµâµâ´º', 16002 mm : '%d âµâµâµâµâ´º', 16003 h : 'âµâ´°âµâ´°', 16004 hh : '%d âµâ´°âµâµâ´°âµâµâµ', 16005 d : 'â´°âµâµ', 16006 dd : '%d oâµâµâ´°âµ', 16007 M : 'â´°âµ¢oâµâµ', 16008 MM : '%d âµâµ¢âµ¢âµâµâµ', 16009 y : 'â´°âµâ´³â´°âµ', 16010 yy : '%d âµâµâ´³â´°âµâµ' 16011 }, 16012 week : { 16013 dow : 6, // Saturday is the first day of the week. 16014 doy : 12 // The week that contains Jan 1st is the first week of the year. 16015 } 16016}); 16017 16018return tzm; 16019 16020}))); 16021 16022 16023/***/ }), 16024/* 156 */ 16025/***/ (function(module, exports, __webpack_require__) { 16026 16027//! moment.js locale configuration 16028//! locale : Central Atlas Tamazight Latin [tzm-latn] 16029//! author : Abdel Said : https://github.com/abdelsaid 16030 16031;(function (global, factory) { 16032 true ? factory(__webpack_require__(0)) : 16033 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16034 factory(global.moment) 16035}(this, (function (moment) { 'use strict'; 16036 16037 16038var tzmLatn = moment.defineLocale('tzm-latn', { 16039 months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), 16040 monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_É£wÅ¡t_Å¡wtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), 16041 weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 16042 weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 16043 weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiá¸yas'.split('_'), 16044 longDateFormat : { 16045 LT : 'HH:mm', 16046 LTS : 'HH:mm:ss', 16047 L : 'DD/MM/YYYY', 16048 LL : 'D MMMM YYYY', 16049 LLL : 'D MMMM YYYY HH:mm', 16050 LLLL : 'dddd D MMMM YYYY HH:mm' 16051 }, 16052 calendar : { 16053 sameDay: '[asdkh g] LT', 16054 nextDay: '[aska g] LT', 16055 nextWeek: 'dddd [g] LT', 16056 lastDay: '[assant g] LT', 16057 lastWeek: 'dddd [g] LT', 16058 sameElse: 'L' 16059 }, 16060 relativeTime : { 16061 future : 'dadkh s yan %s', 16062 past : 'yan %s', 16063 s : 'imik', 16064 m : 'minuá¸', 16065 mm : '%d minuá¸', 16066 h : 'saÉa', 16067 hh : '%d tassaÉin', 16068 d : 'ass', 16069 dd : '%d ossan', 16070 M : 'ayowr', 16071 MM : '%d iyyirn', 16072 y : 'asgas', 16073 yy : '%d isgasn' 16074 }, 16075 week : { 16076 dow : 6, // Saturday is the first day of the week. 16077 doy : 12 // The week that contains Jan 1st is the first week of the year. 16078 } 16079}); 16080 16081return tzmLatn; 16082 16083}))); 16084 16085 16086/***/ }), 16087/* 157 */ 16088/***/ (function(module, exports, __webpack_require__) { 16089 16090//! moment.js locale configuration 16091//! locale : Ukrainian [uk] 16092//! author : zemlanin : https://github.com/zemlanin 16093//! Author : Menelion Elensúle : https://github.com/Oire 16094 16095;(function (global, factory) { 16096 true ? factory(__webpack_require__(0)) : 16097 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16098 factory(global.moment) 16099}(this, (function (moment) { 'use strict'; 16100 16101 16102function plural(word, num) { 16103 var forms = word.split('_'); 16104 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); 16105} 16106function relativeTimeWithPlural(number, withoutSuffix, key) { 16107 var format = { 16108 'mm': withoutSuffix ? 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½' : 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ_Ñ Ð²Ð¸Ð»Ð¸Ð½Ð¸_Ñ Ð²Ð¸Ð»Ð¸Ð½', 16109 'hh': withoutSuffix ? 'година_години_годин' : 'годинÑ_години_годин', 16110 'dd': 'денÑ_днÑ_днÑв', 16111 'MM': 'мÑÑÑÑÑ_мÑÑÑÑÑ_мÑÑÑÑÑв', 16112 'yy': 'ÑÑк_Ñоки_ÑокÑв' 16113 }; 16114 if (key === 'm') { 16115 return withoutSuffix ? 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ð°' : 'Ñ Ð²Ð¸Ð»Ð¸Ð½Ñ'; 16116 } 16117 else if (key === 'h') { 16118 return withoutSuffix ? 'година' : 'годинÑ'; 16119 } 16120 else { 16121 return number + ' ' + plural(format[key], +number); 16122 } 16123} 16124function weekdaysCaseReplace(m, format) { 16125 var weekdays = { 16126 'nominative': 'недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑеда_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑа'.split('_'), 16127 'accusative': 'недÑлÑ_понедÑлок_вÑвÑоÑок_ÑеÑедÑ_ÑеÑвеÑ_пâÑÑниÑÑ_ÑÑбоÑÑ'.split('_'), 16128 'genitive': 'недÑлÑ_понедÑлка_вÑвÑоÑка_ÑеÑеди_ÑеÑвеÑга_пâÑÑниÑÑ_ÑÑбоÑи'.split('_') 16129 }; 16130 16131 if (!m) { 16132 return weekdays['nominative']; 16133 } 16134 16135 var nounCase = (/(\[[ÐвУÑ]\]) ?dddd/).test(format) ? 16136 'accusative' : 16137 ((/\[?(?:минÑлоÑ|наÑÑÑпноÑ)? ?\] ?dddd/).test(format) ? 16138 'genitive' : 16139 'nominative'); 16140 return weekdays[nounCase][m.day()]; 16141} 16142function processHoursFunction(str) { 16143 return function () { 16144 return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; 16145 }; 16146} 16147 16148var uk = moment.defineLocale('uk', { 16149 months : { 16150 'format': 'ÑÑÑнÑ_лÑÑого_беÑезнÑ_квÑÑнÑ_ÑÑавнÑ_ÑеÑвнÑ_липнÑ_ÑеÑпнÑ_веÑеÑнÑ_жовÑнÑ_лиÑÑопада_гÑÑднÑ'.split('_'), 16151 'standalone': 'ÑÑÑенÑ_лÑÑий_беÑезенÑ_квÑÑенÑ_ÑÑавенÑ_ÑеÑвенÑ_липенÑ_ÑеÑпенÑ_веÑеÑенÑ_жовÑенÑ_лиÑÑопад_гÑÑденÑ'.split('_') 16152 }, 16153 monthsShort : 'ÑÑÑ_лÑÑ_беÑ_квÑÑ_ÑÑав_ÑеÑв_лип_ÑеÑп_веÑ_жовÑ_лиÑÑ_гÑÑд'.split('_'), 16154 weekdays : weekdaysCaseReplace, 16155 weekdaysShort : 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 16156 weekdaysMin : 'нд_пн_вÑ_ÑÑ_ÑÑ_пÑ_Ñб'.split('_'), 16157 longDateFormat : { 16158 LT : 'HH:mm', 16159 LTS : 'HH:mm:ss', 16160 L : 'DD.MM.YYYY', 16161 LL : 'D MMMM YYYY Ñ.', 16162 LLL : 'D MMMM YYYY Ñ., HH:mm', 16163 LLLL : 'dddd, D MMMM YYYY Ñ., HH:mm' 16164 }, 16165 calendar : { 16166 sameDay: processHoursFunction('[СÑÐ¾Ð³Ð¾Ð´Ð½Ñ '), 16167 nextDay: processHoursFunction('[ÐавÑÑа '), 16168 lastDay: processHoursFunction('[ÐÑоÑа '), 16169 nextWeek: processHoursFunction('[У] dddd ['), 16170 lastWeek: function () { 16171 switch (this.day()) { 16172 case 0: 16173 case 3: 16174 case 5: 16175 case 6: 16176 return processHoursFunction('[ÐинÑлоÑ] dddd [').call(this); 16177 case 1: 16178 case 2: 16179 case 4: 16180 return processHoursFunction('[ÐинÑлого] dddd [').call(this); 16181 } 16182 }, 16183 sameElse: 'L' 16184 }, 16185 relativeTime : { 16186 future : 'за %s', 16187 past : '%s ÑомÑ', 16188 s : 'декÑлÑка ÑекÑнд', 16189 m : relativeTimeWithPlural, 16190 mm : relativeTimeWithPlural, 16191 h : 'годинÑ', 16192 hh : relativeTimeWithPlural, 16193 d : 'денÑ', 16194 dd : relativeTimeWithPlural, 16195 M : 'мÑÑÑÑÑ', 16196 MM : relativeTimeWithPlural, 16197 y : 'ÑÑк', 16198 yy : relativeTimeWithPlural 16199 }, 16200 // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason 16201 meridiemParse: /ноÑÑ|ÑанкÑ|днÑ|веÑоÑа/, 16202 isPM: function (input) { 16203 return /^(днÑ|веÑоÑа)$/.test(input); 16204 }, 16205 meridiem : function (hour, minute, isLower) { 16206 if (hour < 4) { 16207 return 'ноÑÑ'; 16208 } else if (hour < 12) { 16209 return 'ÑанкÑ'; 16210 } else if (hour < 17) { 16211 return 'днÑ'; 16212 } else { 16213 return 'веÑоÑа'; 16214 } 16215 }, 16216 dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/, 16217 ordinal: function (number, period) { 16218 switch (period) { 16219 case 'M': 16220 case 'd': 16221 case 'DDD': 16222 case 'w': 16223 case 'W': 16224 return number + '-й'; 16225 case 'D': 16226 return number + '-го'; 16227 default: 16228 return number; 16229 } 16230 }, 16231 week : { 16232 dow : 1, // Monday is the first day of the week. 16233 doy : 7 // The week that contains Jan 1st is the first week of the year. 16234 } 16235}); 16236 16237return uk; 16238 16239}))); 16240 16241 16242/***/ }), 16243/* 158 */ 16244/***/ (function(module, exports, __webpack_require__) { 16245 16246//! moment.js locale configuration 16247//! locale : Urdu [ur] 16248//! author : Sawood Alam : https://github.com/ibnesayeed 16249//! author : Zack : https://github.com/ZackVision 16250 16251;(function (global, factory) { 16252 true ? factory(__webpack_require__(0)) : 16253 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16254 factory(global.moment) 16255}(this, (function (moment) { 'use strict'; 16256 16257 16258var months = [ 16259 'جÙÙØ±Û', 16260 'ÙØ±ÙرÛ', 16261 '٠ارÚ', 16262 'اپرÛÙ', 16263 '٠ئÛ', 16264 'جÙÙ', 16265 'جÙÙØ§Ø¦Û', 16266 'اگست', 16267 'ست٠بر', 16268 'Ø§Ú©ØªÙØ¨Ø±', 16269 'ÙÙ٠بر', 16270 'دس٠بر' 16271]; 16272var days = [ 16273 'Ø§ØªÙØ§Ø±', 16274 'Ù¾ÛØ±', 16275 'Ù ÙÚ¯Ù', 16276 'بدھ', 16277 'ج٠عرات', 16278 'ج٠عÛ', 16279 'ÛÙØªÛ' 16280]; 16281 16282var ur = moment.defineLocale('ur', { 16283 months : months, 16284 monthsShort : months, 16285 weekdays : days, 16286 weekdaysShort : days, 16287 weekdaysMin : days, 16288 longDateFormat : { 16289 LT : 'HH:mm', 16290 LTS : 'HH:mm:ss', 16291 L : 'DD/MM/YYYY', 16292 LL : 'D MMMM YYYY', 16293 LLL : 'D MMMM YYYY HH:mm', 16294 LLLL : 'ddddØ D MMMM YYYY HH:mm' 16295 }, 16296 meridiemParse: /صبØ|شا٠/, 16297 isPM : function (input) { 16298 return 'شا٠' === input; 16299 }, 16300 meridiem : function (hour, minute, isLower) { 16301 if (hour < 12) { 16302 return 'صبØ'; 16303 } 16304 return 'شا٠'; 16305 }, 16306 calendar : { 16307 sameDay : '[آج بÙÙØª] LT', 16308 nextDay : '[ک٠بÙÙØª] LT', 16309 nextWeek : 'dddd [بÙÙØª] LT', 16310 lastDay : '[Ú¯Ø°Ø´ØªÛ Ø±ÙØ² بÙÙØª] LT', 16311 lastWeek : '[گذشتÛ] dddd [بÙÙØª] LT', 16312 sameElse : 'L' 16313 }, 16314 relativeTime : { 16315 future : '%s بعد', 16316 past : '%s ÙØ¨Ù', 16317 s : 'ÚÙØ¯ سÛÚ©ÙÚ', 16318 m : 'اÛÚ© Ù ÙÙ¹', 16319 mm : '%d Ù ÙÙ¹', 16320 h : 'اÛÚ© Ú¯Ú¾ÙÙ¹Û', 16321 hh : '%d Ú¯Ú¾ÙÙ¹Û', 16322 d : 'اÛÚ© دÙ', 16323 dd : '%d دÙ', 16324 M : 'اÛÚ© ٠اÛ', 16325 MM : '%d ٠اÛ', 16326 y : 'اÛÚ© ساÙ', 16327 yy : '%d ساÙ' 16328 }, 16329 preparse: function (string) { 16330 return string.replace(/Ø/g, ','); 16331 }, 16332 postformat: function (string) { 16333 return string.replace(/,/g, 'Ø'); 16334 }, 16335 week : { 16336 dow : 1, // Monday is the first day of the week. 16337 doy : 4 // The week that contains Jan 4th is the first week of the year. 16338 } 16339}); 16340 16341return ur; 16342 16343}))); 16344 16345 16346/***/ }), 16347/* 159 */ 16348/***/ (function(module, exports, __webpack_require__) { 16349 16350//! moment.js locale configuration 16351//! locale : Uzbek [uz] 16352//! author : Sardor Muminov : https://github.com/muminoff 16353 16354;(function (global, factory) { 16355 true ? factory(__webpack_require__(0)) : 16356 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16357 factory(global.moment) 16358}(this, (function (moment) { 'use strict'; 16359 16360 16361var uz = moment.defineLocale('uz', { 16362 months : 'ÑнваÑ_ÑевÑал_маÑÑ_апÑел_май_иÑн_иÑл_авгÑÑÑ_ÑенÑÑбÑ_окÑÑбÑ_ноÑбÑ_декабÑ'.split('_'), 16363 monthsShort : 'Ñнв_Ñев_маÑ_апÑ_май_иÑн_иÑл_авг_Ñен_окÑ_ноÑ_дек'.split('_'), 16364 weekdays : 'ЯкÑанба_ÐÑÑанба_СеÑанба_ЧоÑÑанба_ÐайÑанба_ÐÑма_Шанба'.split('_'), 16365 weekdaysShort : 'ЯкÑ_ÐÑÑ_СеÑ_ЧоÑ_Ðай_ÐÑм_Шан'.split('_'), 16366 weekdaysMin : 'Як_ÐÑ_Се_Чо_Ðа_ÐÑ_Ша'.split('_'), 16367 longDateFormat : { 16368 LT : 'HH:mm', 16369 LTS : 'HH:mm:ss', 16370 L : 'DD/MM/YYYY', 16371 LL : 'D MMMM YYYY', 16372 LLL : 'D MMMM YYYY HH:mm', 16373 LLLL : 'D MMMM YYYY, dddd HH:mm' 16374 }, 16375 calendar : { 16376 sameDay : '[ÐÑгÑн ÑоаÑ] LT [да]', 16377 nextDay : '[ÐÑÑага] LT [да]', 16378 nextWeek : 'dddd [кÑни ÑоаÑ] LT [да]', 16379 lastDay : '[ÐеÑа ÑоаÑ] LT [да]', 16380 lastWeek : '[УÑган] dddd [кÑни ÑоаÑ] LT [да]', 16381 sameElse : 'L' 16382 }, 16383 relativeTime : { 16384 future : 'Якин %s иÑида', 16385 past : 'ÐÐ¸Ñ Ð½ÐµÑа %s олдин', 16386 s : 'ÑÑÑÑаÑ', 16387 m : 'Ð±Ð¸Ñ Ð´Ð°ÐºÐ¸ÐºÐ°', 16388 mm : '%d дакика', 16389 h : 'Ð±Ð¸Ñ ÑоаÑ', 16390 hh : '%d ÑоаÑ', 16391 d : 'Ð±Ð¸Ñ ÐºÑн', 16392 dd : '%d кÑн', 16393 M : 'Ð±Ð¸Ñ Ð¾Ð¹', 16394 MM : '%d ой', 16395 y : 'Ð±Ð¸Ñ Ð¹Ð¸Ð»', 16396 yy : '%d йил' 16397 }, 16398 week : { 16399 dow : 1, // Monday is the first day of the week. 16400 doy : 7 // The week that contains Jan 4th is the first week of the year. 16401 } 16402}); 16403 16404return uz; 16405 16406}))); 16407 16408 16409/***/ }), 16410/* 160 */ 16411/***/ (function(module, exports, __webpack_require__) { 16412 16413//! moment.js locale configuration
16414//! locale : Uzbek Latin [uz-latn] 16415//! author : Rasulbek Mirzayev : github.com/Rasulbeeek 16416 16417;(function (global, factory) { 16418 true ? factory(__webpack_require__(0)) : 16419 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16420 factory(global.moment) 16421}(this, (function (moment) { 'use strict'; 16422 16423 16424var uzLatn = moment.defineLocale('uz-latn', { 16425 months : 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), 16426 monthsShort : 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), 16427 weekdays : 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), 16428 weekdaysShort : 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), 16429 weekdaysMin : 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), 16430 longDateFormat : { 16431 LT : 'HH:mm', 16432 LTS : 'HH:mm:ss', 16433 L : 'DD/MM/YYYY', 16434 LL : 'D MMMM YYYY', 16435 LLL : 'D MMMM YYYY HH:mm', 16436 LLLL : 'D MMMM YYYY, dddd HH:mm' 16437 }, 16438 calendar : { 16439 sameDay : '[Bugun soat] LT [da]', 16440 nextDay : '[Ertaga] LT [da]', 16441 nextWeek : 'dddd [kuni soat] LT [da]', 16442 lastDay : '[Kecha soat] LT [da]', 16443 lastWeek : '[O\'tgan] dddd [kuni soat] LT [da]', 16444 sameElse : 'L' 16445 }, 16446 relativeTime : { 16447 future : 'Yaqin %s ichida', 16448 past : 'Bir necha %s oldin', 16449 s : 'soniya', 16450 m : 'bir daqiqa', 16451 mm : '%d daqiqa', 16452 h : 'bir soat', 16453 hh : '%d soat', 16454 d : 'bir kun', 16455 dd : '%d kun', 16456 M : 'bir oy', 16457 MM : '%d oy', 16458 y : 'bir yil', 16459 yy : '%d yil' 16460 }, 16461 week : { 16462 dow : 1, // Monday is the first day of the week. 16463 doy : 7 // The week that contains Jan 1st is the first week of the year. 16464 } 16465}); 16466 16467return uzLatn; 16468 16469}))); 16470 16471 16472/***/ }), 16473/* 161 */ 16474/***/ (function(module, exports, __webpack_require__) { 16475 16476//! moment.js locale configuration 16477//! locale : Vietnamese [vi] 16478//! author : Bang Nguyen : https://github.com/bangnk 16479 16480;(function (global, factory) { 16481 true ? factory(__webpack_require__(0)) : 16482 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16483 factory(global.moment) 16484}(this, (function (moment) { 'use strict'; 16485 16486 16487var vi = moment.defineLocale('vi', { 16488 months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), 16489 monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), 16490 monthsParseExact : true, 16491 weekdays : 'chá»§ nháºt_thứ hai_thứ ba_thứ tư_thứ nÄm_thứ sáu_thứ bảy'.split('_'), 16492 weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 16493 weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), 16494 weekdaysParseExact : true, 16495 meridiemParse: /sa|ch/i, 16496 isPM : function (input) { 16497 return /^ch$/i.test(input); 16498 }, 16499 meridiem : function (hours, minutes, isLower) { 16500 if (hours < 12) { 16501 return isLower ? 'sa' : 'SA'; 16502 } else { 16503 return isLower ? 'ch' : 'CH'; 16504 } 16505 }, 16506 longDateFormat : { 16507 LT : 'HH:mm', 16508 LTS : 'HH:mm:ss', 16509 L : 'DD/MM/YYYY', 16510 LL : 'D MMMM [nÄm] YYYY', 16511 LLL : 'D MMMM [nÄm] YYYY HH:mm', 16512 LLLL : 'dddd, D MMMM [nÄm] YYYY HH:mm', 16513 l : 'DD/M/YYYY', 16514 ll : 'D MMM YYYY', 16515 lll : 'D MMM YYYY HH:mm', 16516 llll : 'ddd, D MMM YYYY HH:mm' 16517 }, 16518 calendar : { 16519 sameDay: '[Hôm nay lúc] LT', 16520 nextDay: '[Ngà y mai lúc] LT', 16521 nextWeek: 'dddd [tuần tá»i lúc] LT', 16522 lastDay: '[Hôm qua lúc] LT', 16523 lastWeek: 'dddd [tuần rá»i lúc] LT', 16524 sameElse: 'L' 16525 }, 16526 relativeTime : { 16527 future : '%s tá»i', 16528 past : '%s trưá»c', 16529 s : 'và i giây', 16530 m : 'má»t phút', 16531 mm : '%d phút', 16532 h : 'má»t giá»', 16533 hh : '%d giá»', 16534 d : 'má»t ngà y', 16535 dd : '%d ngà y', 16536 M : 'má»t tháng', 16537 MM : '%d tháng', 16538 y : 'má»t nÄm', 16539 yy : '%d nÄm' 16540 }, 16541 dayOfMonthOrdinalParse: /\d{1,2}/, 16542 ordinal : function (number) { 16543 return number; 16544 }, 16545 week : { 16546 dow : 1, // Monday is the first day of the week. 16547 doy : 4 // The week that contains Jan 4th is the first week of the year. 16548 } 16549}); 16550 16551return vi; 16552 16553}))); 16554 16555 16556/***/ }), 16557/* 162 */ 16558/***/ (function(module, exports, __webpack_require__) { 16559 16560//! moment.js locale configuration 16561//! locale : Pseudo [x-pseudo] 16562//! author : Andrew Hood : https://github.com/andrewhood125 16563 16564;(function (global, factory) { 16565 true ? factory(__webpack_require__(0)) : 16566 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16567 factory(global.moment) 16568}(this, (function (moment) { 'use strict'; 16569 16570 16571var xPseudo = moment.defineLocale('x-pseudo', { 16572 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('_'), 16573 monthsShort : 'J~áñ_~Féb_~Már_~Ãpr_~Máý_~Júñ_~Júl_~Ãúg_~Sép_~Ãct_~Ãóv_~Déc'.
vendor: 14,125 bytes, lines 16573-17031
16573split('_'), 16574 monthsParseExact : true, 16575 weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~FrÃd~áý_S~átúr~dáý'.split('_'), 16576 weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~FrÃ_~Sát'.split('_'), 16577 weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), 16578 weekdaysParseExact : true, 16579 longDateFormat : { 16580 LT : 'HH:mm', 16581 L : 'DD/MM/YYYY', 16582 LL : 'D MMMM YYYY', 16583 LLL : 'D MMMM YYYY HH:mm', 16584 LLLL : 'dddd, D MMMM YYYY HH:mm' 16585 }, 16586 calendar : { 16587 sameDay : '[T~ódá~ý át] LT', 16588 nextDay : '[T~ómó~rró~w át] LT', 16589 nextWeek : 'dddd [át] LT', 16590 lastDay : '[Ã~ést~érdá~ý át] LT', 16591 lastWeek : '[L~ást] dddd [át] LT', 16592 sameElse : 'L' 16593 }, 16594 relativeTime : { 16595 future : 'Ã~ñ %s', 16596 past : '%s á~gó', 16597 s : 'á ~féw ~sécó~ñds', 16598 m : 'á ~mÃñ~úté', 16599 mm : '%d m~Ãñú~tés', 16600 h : 'á~ñ hó~úr', 16601 hh : '%d h~óúrs', 16602 d : 'á ~dáý', 16603 dd : '%d d~áýs', 16604 M : 'á ~móñ~th', 16605 MM : '%d m~óñt~hs', 16606 y : 'á ~ýéár', 16607 yy : '%d ý~éárs' 16608 }, 16609 dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, 16610 ordinal : function (number) { 16611 var b = number % 10, 16612 output = (~~(number % 100 / 10) === 1) ? 'th' : 16613 (b === 1) ? 'st' : 16614 (b === 2) ? 'nd' : 16615 (b === 3) ? 'rd' : 'th'; 16616 return number + output; 16617 }, 16618 week : { 16619 dow : 1, // Monday is the first day of the week. 16620 doy : 4 // The week that contains Jan 4th is the first week of the year. 16621 } 16622}); 16623 16624return xPseudo; 16625 16626}))); 16627 16628 16629/***/ }), 16630/* 163 */ 16631/***/ (function(module, exports, __webpack_require__) { 16632 16633//! moment.js locale configuration 16634//! locale : Yoruba Nigeria [yo] 16635//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe 16636 16637;(function (global, factory) { 16638 true ? factory(__webpack_require__(0)) : 16639 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16640 factory(global.moment) 16641}(this, (function (moment) { 'use strict'; 16642 16643 16644var yo = moment.defineLocale('yo', { 16645 months : 'SẹÌrẹÌ_EÌreÌleÌ_ẸrẹÌnaÌ_IÌgbeÌ_EÌbibi_OÌkuÌdu_Agẹmo_OÌguÌn_Owewe_á»ÌwaÌraÌ_BeÌluÌ_á»ÌpẹÌÌ'.split('_'), 16646 monthsShort : 'SẹÌr_EÌrl_Ẹrn_IÌgb_EÌbi_OÌkuÌ_Agẹ_OÌguÌ_Owe_á»ÌwaÌ_BeÌl_á»ÌpẹÌÌ'.split('_'), 16647 weekdays : 'AÌiÌkuÌ_AjeÌ_IÌsẹÌgun_á»já»ÌruÌ_á»já»Ìbá»_ẸtiÌ_AÌbaÌmẹÌta'.split('_'), 16648 weekdaysShort : 'AÌiÌk_AjeÌ_IÌsẹÌ_á»jr_á»jb_ẸtiÌ_AÌbaÌ'.split('_'), 16649 weekdaysMin : 'AÌiÌ_Aj_IÌs_á»r_á»b_Ẹt_AÌb'.split('_'), 16650 longDateFormat : { 16651 LT : 'h:mm A', 16652 LTS : 'h:mm:ss A', 16653 L : 'DD/MM/YYYY', 16654 LL : 'D MMMM YYYY', 16655 LLL : 'D MMMM YYYY h:mm A', 16656 LLLL : 'dddd, D MMMM YYYY h:mm A' 16657 }, 16658 calendar : { 16659 sameDay : '[OÌniÌ ni] LT', 16660 nextDay : '[á»Ìla ni] LT', 16661 nextWeek : 'dddd [á»sáº¹Ì toÌn\'bá»] [ni] LT', 16662 lastDay : '[AÌna ni] LT', 16663 lastWeek : 'dddd [á»sáº¹Ì toÌlá»Ì] [ni] LT', 16664 sameElse : 'L' 16665 }, 16666 relativeTime : { 16667 future : 'niÌ %s', 16668 past : '%s ká»jaÌ', 16669 s : 'iÌsẹjuÌ aayaÌ die', 16670 m : 'iÌsẹjuÌ kan', 16671 mm : 'iÌsẹjuÌ %d', 16672 h : 'waÌkati kan', 16673 hh : 'waÌkati %d', 16674 d : 'á»já»Ì kan', 16675 dd : 'á»já»Ì %d', 16676 M : 'osuÌ kan', 16677 MM : 'osuÌ %d', 16678 y : 'á»duÌn kan', 16679 yy : 'á»duÌn %d' 16680 }, 16681 dayOfMonthOrdinalParse : /á»já»Ì\s\d{1,2}/, 16682 ordinal : 'á»já»Ì %d', 16683 week : { 16684 dow : 1, // Monday is the first day of the week. 16685 doy : 4 // The week that contains Jan 4th is the first week of the year. 16686 } 16687}); 16688 16689return yo; 16690 16691}))); 16692 16693 16694/***/ }), 16695/* 164 */ 16696/***/ (function(module, exports, __webpack_require__) { 16697 16698//! moment.js locale configuration 16699//! locale : Chinese (China) [zh-cn] 16700//! author : suupic : https://github.com/suupic 16701//! author : Zeno Zeng : https://github.com/zenozeng 16702 16703;(function (global, factory) { 16704 true ? factory(__webpack_require__(0)) : 16705 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16706 factory(global.moment) 16707}(this, (function (moment) { 'use strict'; 16708 16709 16710var zhCn = moment.defineLocale('zh-cn', { 16711 months : '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split('_'), 16712 monthsShort : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 16713 weekdays : 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 16714 weekdaysShort : '卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å '.split('_'), 16715 weekdaysMin : 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 16716 longDateFormat : { 16717 LT : 'HH:mm', 16718 LTS : 'HH:mm:ss', 16719 L : 'YYYYå¹´MMMDæ¥', 16720 LL : 'YYYYå¹´MMMDæ¥', 16721 LLL : 'YYYYå¹´MMMDæ¥Ahç¹mmå', 16722 LLLL : 'YYYYå¹´MMMDæ¥ddddAhç¹mmå', 16723 l : 'YYYYå¹´MMMDæ¥', 16724 ll : 'YYYYå¹´MMMDæ¥', 16725 lll : 'YYYYå¹´MMMDæ¥ HH:mm', 16726 llll : 'YYYYå¹´MMMDæ¥dddd HH:mm' 16727 }, 16728 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 16729 meridiemHour: function (hour, meridiem) { 16730 if (hour === 12) { 16731 hour = 0; 16732 } 16733 if (meridiem === '忍' || meridiem === 'æ©ä¸' || 16734 meridiem === 'ä¸å') { 16735 return hour; 16736 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 16737 return hour + 12; 16738 } else { 16739 // 'ä¸å' 16740 return hour >= 11 ? hour : hour + 12; 16741 } 16742 }, 16743 meridiem : function (hour, minute, isLower) { 16744 var hm = hour * 100 + minute; 16745 if (hm < 600) { 16746 return '忍'; 16747 } else if (hm < 900) { 16748 return 'æ©ä¸'; 16749 } else if (hm < 1130) { 16750 return 'ä¸å'; 16751 } else if (hm < 1230) { 16752 return 'ä¸å'; 16753 } else if (hm < 1800) { 16754 return 'ä¸å'; 16755 } else { 16756 return 'æä¸'; 16757 } 16758 }, 16759 calendar : { 16760 sameDay : '[ä»å¤©]LT', 16761 nextDay : '[æå¤©]LT', 16762 nextWeek : '[ä¸]ddddLT', 16763 lastDay : '[æ¨å¤©]LT', 16764 lastWeek : '[ä¸]ddddLT', 16765 sameElse : 'L' 16766 }, 16767 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|å¨)/, 16768 ordinal : function (number, period) { 16769 switch (period) { 16770 case 'd': 16771 case 'D': 16772 case 'DDD': 16773 return number + 'æ¥'; 16774 case 'M': 16775 return number + 'æ'; 16776 case 'w': 16777 case 'W': 16778 return number + 'å¨'; 16779 default: 16780 return number; 16781 } 16782 }, 16783 relativeTime : { 16784 future : '%så ', 16785 past : '%så', 16786 s : 'å ç§', 16787 m : '1 åé', 16788 mm : '%d åé', 16789 h : '1 å°æ¶', 16790 hh : '%d å°æ¶', 16791 d : '1 天', 16792 dd : '%d 天', 16793 M : '1 个æ', 16794 MM : '%d 个æ', 16795 y : '1 å¹´', 16796 yy : '%d å¹´' 16797 }, 16798 week : { 16799 // GB/T 7408-1994ãæ°æ®å åäº¤æ¢æ ¼å¼Â·ä¿¡æ¯äº¤æ¢Â·æ¥æåæ¶é´è¡¨ç¤ºæ³ãä¸ISO 8601:1988çæ 16800 dow : 1, // Monday is the first day of the week. 16801 doy : 4 // The week that contains Jan 4th is the first week of the year. 16802 } 16803}); 16804 16805return zhCn; 16806 16807}))); 16808 16809 16810/***/ }), 16811/* 165 */ 16812/***/ (function(module, exports, __webpack_require__) { 16813 16814//! moment.js locale configuration 16815//! locale : Chinese (Hong Kong) [zh-hk] 16816//! author : Ben : https://github.com/ben-lin 16817//! author : Chris Lam : https://github.com/hehachris 16818//! author : Konstantin : https://github.com/skfd 16819 16820;(function (global, factory) { 16821 true ? factory(__webpack_require__(0)) : 16822 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16823 factory(global.moment) 16824}(this, (function (moment) { 'use strict'; 16825 16826 16827var zhHk = moment.defineLocale('zh-hk', { 16828 months : '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split('_'), 16829 monthsShort : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 16830 weekdays : 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 16831 weekdaysShort : '鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å '.split('_'), 16832 weekdaysMin : 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 16833 longDateFormat : { 16834 LT : 'HH:mm', 16835 LTS : 'HH:mm:ss', 16836 L : 'YYYYå¹´MMMDæ¥', 16837 LL : 'YYYYå¹´MMMDæ¥', 16838 LLL : 'YYYYå¹´MMMDæ¥ HH:mm', 16839 LLLL : 'YYYYå¹´MMMDæ¥dddd HH:mm', 16840 l : 'YYYYå¹´MMMDæ¥', 16841 ll : 'YYYYå¹´MMMDæ¥', 16842 lll : 'YYYYå¹´MMMDæ¥ HH:mm', 16843 llll : 'YYYYå¹´MMMDæ¥dddd HH:mm' 16844 }, 16845 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 16846 meridiemHour : function (hour, meridiem) { 16847 if (hour === 12) { 16848 hour = 0; 16849 } 16850 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 16851 return hour; 16852 } else if (meridiem === 'ä¸å') { 16853 return hour >= 11 ? hour : hour + 12; 16854 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 16855 return hour + 12; 16856 } 16857 }, 16858 meridiem : function (hour, minute, isLower) { 16859 var hm = hour * 100 + minute; 16860 if (hm < 600) { 16861 return '忍'; 16862 } else if (hm < 900) { 16863 return 'æ©ä¸'; 16864 } else if (hm < 1130) { 16865 return 'ä¸å'; 16866 } else if (hm < 1230) { 16867 return 'ä¸å'; 16868 } else if (hm < 1800) { 16869 return 'ä¸å'; 16870 } else { 16871 return 'æä¸'; 16872 } 16873 }, 16874 calendar : { 16875 sameDay : '[ä»å¤©]LT', 16876 nextDay : '[æå¤©]LT', 16877 nextWeek : '[ä¸]ddddLT', 16878 lastDay : '[æ¨å¤©]LT', 16879 lastWeek : '[ä¸]ddddLT', 16880 sameElse : 'L' 16881 }, 16882 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|é±)/, 16883 ordinal : function (number, period) { 16884 switch (period) { 16885 case 'd' : 16886 case 'D' : 16887 case 'DDD' : 16888 return number + 'æ¥'; 16889 case 'M' : 16890 return number + 'æ'; 16891 case 'w' : 16892 case 'W' : 16893 return number + 'é±'; 16894 default : 16895 return number; 16896 } 16897 }, 16898 relativeTime : { 16899 future : '%så §', 16900 past : '%så', 16901 s : 'å¹¾ç§', 16902 m : '1 åé', 16903 mm : '%d åé', 16904 h : '1 å°æ', 16905 hh : '%d å°æ', 16906 d : '1 天', 16907 dd : '%d 天', 16908 M : '1 åæ', 16909 MM : '%d åæ', 16910 y : '1 å¹´', 16911 yy : '%d å¹´' 16912 } 16913}); 16914 16915return zhHk; 16916 16917}))); 16918 16919 16920/***/ }), 16921/* 166 */ 16922/***/ (function(module, exports, __webpack_require__) { 16923 16924//! moment.js locale configuration 16925//! locale : Chinese (Taiwan) [zh-tw] 16926//! author : Ben : https://github.com/ben-lin 16927//! author : Chris Lam : https://github.com/hehachris 16928 16929;(function (global, factory) { 16930 true ? factory(__webpack_require__(0)) : 16931 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 16932 factory(global.moment) 16933}(this, (function (moment) { 'use strict'; 16934 16935 16936var zhTw = moment.defineLocale('zh-tw', { 16937 months : '䏿_äºæ_䏿_åæ_äºæ_å æ_䏿_å «æ_乿_åæ_å䏿_åäºæ'.split('_'), 16938 monthsShort : '1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ'.split('_'), 16939 weekdays : 'æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå '.split('_'), 16940 weekdaysShort : '鱿¥_é±ä¸_é±äº_é±ä¸_é±å_é±äº_é±å '.split('_'), 16941 weekdaysMin : 'æ¥_ä¸_äº_ä¸_å_äº_å '.split('_'), 16942 longDateFormat : { 16943 LT : 'HH:mm', 16944 LTS : 'HH:mm:ss', 16945 L : 'YYYYå¹´MMMDæ¥', 16946 LL : 'YYYYå¹´MMMDæ¥', 16947 LLL : 'YYYYå¹´MMMDæ¥ HH:mm', 16948 LLLL : 'YYYYå¹´MMMDæ¥dddd HH:mm', 16949 l : 'YYYYå¹´MMMDæ¥', 16950 ll : 'YYYYå¹´MMMDæ¥', 16951 lll : 'YYYYå¹´MMMDæ¥ HH:mm', 16952 llll : 'YYYYå¹´MMMDæ¥dddd HH:mm' 16953 }, 16954 meridiemParse: /忍|æ©ä¸|ä¸å|ä¸å|ä¸å|æä¸/, 16955 meridiemHour : function (hour, meridiem) { 16956 if (hour === 12) { 16957 hour = 0; 16958 } 16959 if (meridiem === '忍' || meridiem === 'æ©ä¸' || meridiem === 'ä¸å') { 16960 return hour; 16961 } else if (meridiem === 'ä¸å') { 16962 return hour >= 11 ? hour : hour + 12; 16963 } else if (meridiem === 'ä¸å' || meridiem === 'æä¸') { 16964 return hour + 12; 16965 } 16966 }, 16967 meridiem : function (hour, minute, isLower) { 16968 var hm = hour * 100 + minute; 16969 if (hm < 600) { 16970 return '忍'; 16971 } else if (hm < 900) { 16972 return 'æ©ä¸'; 16973 } else if (hm < 1130) { 16974 return 'ä¸å'; 16975 } else if (hm < 1230) { 16976 return 'ä¸å'; 16977 } else if (hm < 1800) { 16978 return 'ä¸å'; 16979 } else { 16980 return 'æä¸'; 16981 } 16982 }, 16983 calendar : { 16984 sameDay : '[ä»å¤©]LT', 16985 nextDay : '[æå¤©]LT', 16986 nextWeek : '[ä¸]ddddLT', 16987 lastDay : '[æ¨å¤©]LT', 16988 lastWeek : '[ä¸]ddddLT', 16989 sameElse : 'L' 16990 }, 16991 dayOfMonthOrdinalParse: /\d{1,2}(æ¥|æ|é±)/, 16992 ordinal : function (number, period) { 16993 switch (period) { 16994 case 'd' : 16995 case 'D' : 16996 case 'DDD' : 16997 return number + 'æ¥'; 16998 case 'M' : 16999 return number + 'æ'; 17000 case 'w' : 17001 case 'W' : 17002 return number + 'é±'; 17003 default : 17004 return number; 17005 } 17006 }, 17007 relativeTime : { 17008 future : '%så §', 17009 past : '%så', 17010 s : 'å¹¾ç§', 17011 m : '1 åé', 17012 mm : '%d åé', 17013 h : '1 å°æ', 17014 hh : '%d å°æ', 17015 d : '1 天', 17016 dd : '%d 天', 17017 M : '1 åæ', 17018 MM : '%d åæ', 17019 y : '1 å¹´', 17020 yy : '%d å¹´' 17021 } 17022}); 17023 17024return zhTw; 17025 17026}))); 17027 17028 17029/***/ }), 17030/* 167 */, 17031/* 168 */
vendor: 5,165 bytes, lines 17032-17202
17032/***/ (function(module, exports) { 17033 17034module.exports = function (it) { 17035 if (typeof it != 'function') throw TypeError(it + ' is not a function!'); 17036 return it; 17037}; 17038 17039 17040/***/ }), 17041/* 169 */ 17042/***/ (function(module, exports, __webpack_require__) { 17043 17044"use strict"; 17045 17046 17047exports.__esModule = true; 17048 17049exports.default = function (obj, keys) { 17050 var target = {}; 17051 17052 for (var i in obj) { 17053 if (keys.indexOf(i) >= 0) continue; 17054 if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; 17055 target[i] = obj[i]; 17056 } 17057 17058 return target; 17059}; 17060 17061/***/ }), 17062/* 170 */ 17063/***/ (function(module, exports, __webpack_require__) { 17064 17065"use strict"; 17066 17067 17068Object.defineProperty(exports, "__esModule", { 17069 value: true 17070}); 17071 17072var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 17073 17074function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 17075 17076var MaxResolutions = exports.MaxResolutions = { 17077 Mobile: 768 17078}; 17079 17080var Screen = function () { 17081 function Screen() { 17082 _classCallCheck(this, Screen); 17083 } 17084 17085 _createClass(Screen, null, [{ 17086 key: "isMobile", 17087 get: function get() { 17088 return window.screen.availWidth <= MaxResolutions.Mobile; 17089 } 17090 }]); 17091 17092 return Screen; 17093}(); 17094 17095exports.default = Screen; 17096 17097/***/ }), 17098/* 171 */ 17099/***/ (function(module, exports) { 17100 17101 17102 17103/***/ }), 17104/* 172 */ 17105/***/ (function(module, exports, __webpack_require__) { 17106 17107var isObject = __webpack_require__(10); 17108var document = __webpack_require__(7).document; 17109// typeof document.createElement is 'object' in old IE 17110var is = isObject(document) && isObject(document.createElement); 17111module.exports = function (it) { 17112 return is ? document.createElement(it) : {}; 17113}; 17114 17115 17116/***/ }), 17117/* 173 */ 17118/***/ (function(module, exports, __webpack_require__) { 17119 17120// getting tag from 19.1.3.6 Object.prototype.toString() 17121var cof = __webpack_require__(32); 17122var TAG = __webpack_require__(5)('toStringTag'); 17123// ES3 wrong here 17124var ARG = cof(function () { return arguments; }()) == 'Arguments'; 17125 17126// fallback for IE11 Script Access Denied error 17127var tryGet = function (it, key) { 17128 try { 17129 return it[key]; 17130 } catch (e) { /* empty */ } 17131}; 17132 17133module.exports = function (it) { 17134 var O, T, B; 17135 return it === undefined ? 'Undefined' : it === null ? 'Null' 17136 // @@toStringTag case 17137 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T 17138 // builtinTag case 17139 : ARG ? cof(O) 17140 // ES3 arguments fallback 17141 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; 17142}; 17143 17144 17145/***/ }), 17146/* 174 */ 17147/***/ (function(module, exports) { 17148 17149module.exports = function (it, Constructor, name, forbiddenField) { 17150 if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { 17151 throw TypeError(name + ': incorrect invocation!'); 17152 } return it; 17153}; 17154 17155 17156/***/ }), 17157/* 175 */ 17158/***/ (function(module, exports, __webpack_require__) { 17159 17160var hide = __webpack_require__(15); 17161module.exports = function (target, src, safe) { 17162 for (var key in src) { 17163 if (safe && target[key]) target[key] = src[key]; 17164 else hide(target, key, src[key]); 17165 } return target; 17166}; 17167 17168 17169/***/ }), 17170/* 176 */ 17171/***/ (function(module, exports, __webpack_require__) { 17172 17173"use strict"; 17174 17175 17176exports.__esModule = true; 17177 17178var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; 17179 17180var _react = __webpack_require__(1); 17181 17182var _react2 = _interopRequireDefault(_react); 17183 17184var _propTypes = __webpack_require__(13); 17185 17186var _propTypes2 = _interopRequireDefault(_propTypes); 17187 17188var _omit = __webpack_require__(177); 17189 17190var _omit2 = _interopRequireDefault(_omit); 17191 17192var _shallowEqual = __webpack_require__(178); 17193 17194var _shallowEqual2 = _interopRequireDefault(_shallowEqual); 17195 17196function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 17197 17198function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 17199 17200function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 17201 17202function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
17202onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 17203 17204// utils 17205 17206 17207var mainStyle = { 17208 width: '100%', 17209 height: '100%', 17210 left: 0, 17211 top: 0, 17212 margin: 0, 17213 padding: 0, 17214 position: 'absolute' 17215}; 17216 17217var style = { 17218 width: 0, 17219 height: 0, 17220 left: 0, 17221 top: 0, 17222 backgroundColor: 'transparent', 17223 position: 'absolute' 17224}; 17225 17226var GoogleMapMarkers = function (_Component) { 17227 _inherits(GoogleMapMarkers, _Component); 17228 17229 /* eslint-disable react/forbid-prop-types */ 17230 function GoogleMapMarkers(props) { 17231 _classCallCheck(this, GoogleMapMarkers); 17232 17233 var _this = _possibleConstructorReturn(this, _Component.call(this, props)); 17234 17235 _this._getState = function () { 17236 return { 17237 children: _this.props.dispatcher.getChildren(), 17238 updateCounter: _this.props.dispatcher.getUpdateCounter() 17239 }; 17240 }; 17241 17242 _this._onChangeHandler = function () { 17243 if (!_this.dimensionsCache_) { 17244 return; 17245 } 17246 17247 var prevChildCount = (_this.state.children || []).length; 17248 var state = _this._getState(); 17249 17250 _this.setState(state, function () { 17251 return (state.children || []).length !== prevChildCount && _this._onMouseChangeHandler(); 17252 }); 17253 }; 17254 17255 _this._onChildClick = function () { 17256 if (_this.props.onChildClick) { 17257 if (_this.hoverChildProps_) { 17258 var hoverKey = _this.hoverKey_; 17259 var childProps = _this.hoverChildProps_; 17260 // click works only on hovered item 17261 _this.props.onChildClick(hoverKey, childProps); 17262 } 17263 } 17264 }; 17265 17266 _this._onChildMouseDown = function () { 17267 if (_this.props.onChildMouseDown) { 17268 if (_this.hoverChildProps_) { 17269 var hoverKey = _this.hoverKey_; 17270 var childProps = _this.hoverChildProps_; 17271 // works only on hovered item 17272 _this.props.onChildMouseDown(hoverKey, childProps); 17273 } 17274 } 17275 }; 17276 17277 _this._onChildMouseEnter = function (hoverKey, childProps) { 17278 if (!_this.dimensionsCache_) { 17279 return; 17280 } 17281 17282 if (_this.props.onChildMouseEnter) { 17283 _this.props.onChildMouseEnter(hoverKey, childProps); 17284 } 17285 17286 _this.hoverChildProps_ = childProps; 17287 _this.hoverKey_ = hoverKey; 17288 _this.setState({ hoverKey: hoverKey }); 17289 }; 17290 17291 _this._onChildMouseLeave = function () { 17292 if (!_this.dimensionsCache_) { 17293 return; 17294 } 17295 17296 var hoverKey = _this.hoverKey_; 17297 var childProps = _this.hoverChildProps_; 17298 17299 if (hoverKey !== undefined && hoverKey !== null) { 17300 if (_this.props.onChildMouseLeave) { 17301 _this.props.onChildMouseLeave(hoverKey, childProps); 17302 } 17303 17304 _this.hoverKey_ = null; 17305 _this.hoverChildProps_ = null; 17306 _this.setState({ hoverKey: null }); 17307 } 17308 }; 17309 17310 _this._onMouseAllow = function (value) { 17311 if (!value) { 17312 _this._onChildMouseLeave(); 17313 } 17314 17315 _this.allowMouse_ = value; 17316 }; 17317 17318 _this._onMouseChangeHandler = function () { 17319 if (_this.allowMouse_) { 17320 _this._onMouseChangeHandlerRaf(); 17321 } 17322 }; 17323 17324 _this._onMouseChangeHandlerRaf = function () { 17325 if (!_this.dimensionsCache_) { 17326 return; 17327 } 17328 17329 var mp = _this.props.dispatcher.getMousePosition(); 17330 17331 if (mp) { 17332 var distances = []; 17333 var hoverDistance = _this.props.getHoverDistance(); 17334 17335 _react2.default.Children.forEach(_this.state.children, function (child, childIndex) { 17336 if (!child) return; 17337 // layers 17338 if (child.props.latLng === undefined && child.props.lat === undefined && child.props.lng === undefined) { 17339 return; 17340 } 17341 17342 var childKey = child.key !== undefined && child.key !== null ? child.key : childIndex; 17343 var dist = _this.props.distanceToMouse(_this.dimensionsCache_[childKey], mp, child.props); 17344 if (dist < hoverDistance) { 17345 distances.push({ 17346 key: childKey, 17347 dist: dist, 17348 props: child.props 17349 }); 17350 } 17351 }); 17352 17353 if (distances.length) { 17354 distances.sort(function (a, b) { 17355 return a.dist - b.dist; 17356 }); 17357 var hoverKey = distances[0].key; 17358 var childProps = distances[0].props; 17359 17360 if (_this.hoverKey_ !== hoverKey) { 17361 _this._onChildMouseLeave(); 17362 17363 _this._onChildMouseEnter(hoverKey, childProps); 17364 } 17365 } else { 17366 _this._onChildMouseLeave(); 17367 } 17368 } else { 17369 _this._onChildMouseLeave(); 17370 } 17371 }; 17372 17373 _this._getDimensions = function (key) { 17374 var childKey = key; 17375 return _this.dimensionsCache_[childKey]; 17376 }; 17377 17378 _this.props.dispatcher.on('kON_CHANGE', _this._onChangeHandler); 17379 _this.props.dispatcher.on('kON_MOUSE_POSITION_CHANGE', _this._onMouseChangeHandler); 17380 _this.props.dispatcher.on('kON_CLICK', _this._onChildClick); 17381 _this.props.dispatcher.on('kON_MDOWN', _this._onChildMouseDown); 17382 17383 _this.dimensionsCache_ = {}; 17384 _this.hoverKey_ = null; 17385 _this.hoverChildProps_ = null; 17386 _this.allowMouse_ = true; 17387 17388 _this.state = _extends({}, _this._getState(), { hoverKey: null }); 17389 return _this; 17390 } 17391 /* eslint-enable react/forbid-prop-types */ 17392 17393 GoogleMapMarkers.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) { 17394 if (this.props.experimental === true) { 17395 return !(0, _shallowEqual2.default)(this.props, nextProps) || !(0, _shallowEqual2.default)((0, _omit2.default)(this.state, ['hoverKey']), (0, _omit2.default)(nextState, ['hoverKey'])); 17396 } 17397 17398 return !(0, _shallowEqual2.default)(this.props, nextProps) || !(0, _shallowEqual2.default)(this.state, nextState); 17399 }; 17400 17401 GoogleMapMarkers.prototype.componentWillUnmount = function componentWillUnmount() { 17402 this.props.dispatcher.removeListener('kON_CHANGE', this._onChangeHandler); 17403 this.props.dispatcher.removeListener('kON_MOUSE_POSITION_CHANGE', this._onMouseChangeHandler); 17404 this.props.dispatcher.removeListener('kON_CLICK', this._onChildClick); 17405 this.props.dispatcher.removeListener('kON_MDOWN', this._onChildMouseDown); 17406 17407 this.dimensionsCache_ = null; 17408 }; 17409 17410 GoogleMapMarkers.prototype.render = function render() { 17411 var _this2 = this; 17412 17413 var mainElementStyle = this.props.style || mainStyle; 17414 this.dimensionsCache_ = {}; 17415 17416 var markers = _react2.default.Children.map(this.state.children, function (child, childIndex) { 17417 if (!child) return undefined; 17418 if (child.props.latLng === undefined && child.props.lat === undefined && child.props.lng === undefined) { 17419 return _react2.default.cloneElement(child, { 17420 $geoService: _this2.props.geoService, 17421 $onMouseAllow: _this2._onMouseAllow, 17422 $prerender: _this2.props.prerender 17423 }); 17424 } 17425 17426 var latLng = child.props.latLng !== undefined ? child.props.latLng : { lat: child.props.lat, lng: child.props.lng }; 17427 17428 var pt = _this2.props.insideMapPanes ? _this2.props.geoService.fromLatLngToDivPixel(latLng) : _this2.props.geoService.fromLatLngToCenterPixel(latLng); 17429 17430 var stylePtPos = { 17431 left: pt.x, 17432 top: pt.y 17433 }; 17434 17435 // If the component has a southeast corner defined (either as a LatLng, or a separate 17436 // lat and lng pair), set the width and height based on the distance between the northwest 17437 // and the southeast corner to lock the overlay to the correct geographic bounds. 17438 if (child.props.seLatLng !== undefined || child.props.seLat !== undefined && child.props.seLng !== undefined) { 17439 var seLatLng = child.props.seLatLng !== undefined ? child.props.seLatLng : { lat: child.props.seLat, lng: child.props.seLng }; 17440 17441 var sePt = _this2.props.insideMapPanes ? _this2.props.geoService.fromLatLngToDivPixel(seLatLng) : _this2.props.geoService.fromLatLngToCenterPixel(seLatLng); 17442 17443 stylePtPos.width = sePt.x - pt.x; 17444 stylePtPos.height = sePt.y - pt.y; 17445 } 17446 17447 var containerPt = _this2.props.geoService.fromLatLngToContainerPixel(latLng); 17448 17449 // to prevent rerender on child element i need to pass 17450 // const params $getDimensions and $dimensionKey instead of dimension object 17451 var childKey = child.key !== undefined && child.key !== null ? child.key : childIndex; 17452 17453 _this2.dimensionsCache_[childKey] = _extends({ 17454 x: containerPt.x, 17455 y: containerPt.y 17456 }, latLng); 17457 17458 return _react2.default.createElement( 17459 'div', 17460 { 17461 key: childKey, 17462 style: _extends({}, style, stylePtPos), 17463 className: child.props.$markerHolderClassName 17464 }, 17465 _react2.default.cloneElement(child, { 17466 $hover: childKey === _this2.state.hoverKey, 17467 $getDimensions: _this2._getDimensions, 17468 $dimensionKey: childKey, 17469 $geoService: _this2.props.geoService, 17470 $onMouseAllow: _this2._onMouseAllow, 17471 $prerender: _this2.props.prerender 17472 }) 17473 ); 17474 }); 17475 17476 return _react2.default.createElement( 17477 'div', 17478 { style: mainElementStyle }, 17479 markers 17480 ); 17481 }; 17482 17483 return GoogleMapMarkers; 17484}(_react.Component); 17485 17486GoogleMapMarkers.propTypes = { 17487 geoService: _propTypes2.default.any, 17488 style: _propTypes2.default.any, 17489 distanceToMouse: _propTypes2.default.func, 17490 dispatcher: _propTypes2.default.any, 17491 onChildClick: _propTypes2.default.func, 17492 onChildMouseDown: _propTypes2.default.func, 17493 onChildMouseLeave: _propTypes2.default.func, 17494 onChildMouseEnter: _propTypes2.default.func, 17495 getHoverDistance: _propTypes2.default.func, 17496 insideMapPanes: _propTypes2.default.bool, 17497 prerender: _propTypes2.default.bool 17498}; 17499GoogleMapMarkers.defaultProps = { 17500 insideMapPanes: false, 17501 prerender: false 17502}; 17503exports.default = GoogleMapMarkers; 17504 17505/***/ }), 17506/* 177 */ 17507/***/ (function(module, exports, __webpack_require__) { 17508 17509"use strict"; 17510 17511 17512exports.__esModule = true; 17513 17514function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } 17515 17516// https://github.com/acdlite/recompose/blob/master/src/packages/recompose/utils/omit.js 17517var omit = function omit(obj, keys) { 17518 var rest = _objectWithoutProperties(obj, []); 17519 17520 for (var i = 0; i < keys.length; i++) { 17521 var key = keys[i]; 17522 if (key in rest) { 17523 delete rest[key]; 17524 } 17525 } 17526 return rest; 17527}; 17528 17529exports.default = omit; 17530 17531/***/ }), 17532/* 178 */ 17533/***/ (function(module, exports, __webpack_require__) { 17534 17535"use strict"; 17536 17537 17538var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 17539 17540/** 17541 * Copyright (c) 2013-present, Facebook, Inc. 17542 * 17543 * This source code is licensed under the MIT license found in the 17544 * LICENSE file in the root directory of this source tree. 17545 * 17546 * @providesModule shallowEqual 17547 * @typechecks 17548 * 17549 */ 17550 17551var hasOwnProperty = Object.prototype.hasOwnProperty; 17552 17553/** 17554 * inlined Object.is polyfill to avoid requiring consumers ship their own 17555 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 17556 */ 17557function is(x, y) { 17558 // SameValue algorithm 17559 if (x === y) { 17560 // Steps 1-5, 7-10 17561 // Steps 6.b-6.e: +0 != -0 17562 // Added the nonzero y check to make Flow happy, but it is redundant 17563 return x !== 0 || y !== 0 || 1 / x === 1 / y; 17564 } 17565 // Step 6.a: NaN == NaN 17566 // eslint-disable-next-line no-self-compare 17567 return x !== x && y !== y; 17568} 17569 17570/**
17571 * Performs equality by iterating through keys on an object and returning false 17572 * when any key has values which are not strictly equal between the arguments. 17573 * Returns true when the values of all keys are strictly equal. 17574 */ 17575function shallowEqual(objA, objB) { 17576 if (is(objA, objB)) { 17577 return true; 17578 } 17579 17580 if ((typeof objA === 'undefined' ? 'undefined' : _typeof(objA)) !== 'object' || objA === null || (typeof objB === 'undefined' ? 'undefined' : _typeof(objB)) !== 'object' || objB === null) { 17581 return false; 17582 } 17583 17584 var keysA = Object.keys(objA); 17585 var keysB = Object.keys(objB); 17586 17587 if (keysA.length !== keysB.length) { 17588 return false; 17589 } 17590 17591 // Test for A's keys different from B. 17592 for (var i = 0; i < keysA.length; i++) { 17593 if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) { 17594 return false; 17595 } 17596 } 17597 17598 return true; 17599} 17600 17601module.exports = shallowEqual; 17602/* src: https://github.com/facebook/fbjs/blob/master/packages/fbjs/src/core/shallowEqual.js */ 17603 17604/***/ }), 17605/* 179 */ 17606/***/ (function(module, exports, __webpack_require__) { 17607 17608"use strict"; 17609 17610 17611module.exports = Point; 17612 17613/** 17614 * A standalone point geometry with useful accessor, comparison, and 17615 * modification methods. 17616 * 17617 * @class Point 17618 * @param {Number} x the x-coordinate. this could be longitude or screen 17619 * pixels, or any other sort of unit. 17620 * @param {Number} y the y-coordinate. this could be latitude or screen 17621 * pixels, or any other sort of unit. 17622 * @example 17623 * var point = new Point(-77, 38); 17624 */ 17625function Point(x, y) { 17626 this.x = x; 17627 this.y = y; 17628} 17629 17630Point.prototype = { 17631 17632 /** 17633 * Clone this point, returning a new point that can be modified 17634 * without affecting the old one. 17635 * @return {Point} the clone 17636 */ 17637 clone: function() { return new Point(this.x, this.y); }, 17638 17639 /** 17640 * Add this point's x & y coordinates to another point, 17641 * yielding a new point. 17642 * @param {Point} p the other point 17643 * @return {Point} output point 17644 */ 17645 add: function(p) { return this.clone()._add(p); }, 17646 17647 /** 17648 * Subtract this point's x & y coordinates to from point, 17649 * yielding a new point. 17650 * @param {Point} p the other point 17651 * @return {Point} output point 17652 */ 17653 sub: function(p) { return this.clone()._sub(p); }, 17654 17655 /** 17656 * Multiply this point's x & y coordinates by point, 17657 * yielding a new point. 17658 * @param {Point} p the other point 17659 * @return {Point} output point 17660 */ 17661 multByPoint: function(p) { return this.clone()._multByPoint(p); }, 17662 17663 /** 17664 * Divide this point's x & y coordinates by point, 17665 * yielding a new point. 17666 * @param {Point} p the other point 17667 * @return {Point} output point 17668 */ 17669 divByPoint: function(p) { return this.clone()._divByPoint(p); }, 17670 17671 /** 17672 * Multiply this point's x & y coordinates by a factor, 17673 * yielding a new point. 17674 * @param {Point} k factor 17675 * @return {Point} output point 17676 */ 17677 mult: function(k) { return this.clone()._mult(k); }, 17678 17679 /** 17680 * Divide this point's x & y coordinates by a factor, 17681 * yielding a new point. 17682 * @param {Point} k factor 17683 * @return {Point} output point 17684 */ 17685 div: function(k) { return this.clone()._div(k); }, 17686 17687 /** 17688 * Rotate this point around the 0, 0 origin by an angle a, 17689 * given in radians 17690 * @param {Number} a angle to rotate around, in radians 17691 * @return {Point} output point 17692 */ 17693 rotate: function(a) { return this.clone()._rotate(a); }, 17694 17695 /** 17696 * Rotate this point around p point by an angle a, 17697 * given in radians 17698 * @param {Number} a angle to rotate around, in radians 17699 * @param {Point} p Point to rotate around 17700 * @return {Point} output point 17701 */ 17702 rotateAround: function(a,p) { return this.clone()._rotateAround(a,p); }, 17703 17704 /**
vendor: 4,662 bytes, lines 17705-17883
17705 * Multiply this point by a 4x1 transformation matrix 17706 * @param {Array<Number>} m transformation matrix 17707 * @return {Point} output point 17708 */ 17709 matMult: function(m) { return this.clone()._matMult(m); }, 17710 17711 /** 17712 * Calculate this point but as a unit vector from 0, 0, meaning 17713 * that the distance from the resulting point to the 0, 0 17714 * coordinate will be equal to 1 and the angle from the resulting 17715 * point to the 0, 0 coordinate will be the same as before. 17716 * @return {Point} unit vector point 17717 */ 17718 unit: function() { return this.clone()._unit(); }, 17719 17720 /** 17721 * Compute a perpendicular point, where the new y coordinate 17722 * is the old x coordinate and the new x coordinate is the old y 17723 * coordinate multiplied by -1 17724 * @return {Point} perpendicular point 17725 */ 17726 perp: function() { return this.clone()._perp(); }, 17727 17728 /** 17729 * Return a version of this point with the x & y coordinates 17730 * rounded to integers. 17731 * @return {Point} rounded point 17732 */ 17733 round: function() { return this.clone()._round(); }, 17734 17735 /** 17736 * Return the magitude of this point: this is the Euclidean 17737 * distance from the 0, 0 coordinate to this point's x and y 17738 * coordinates. 17739 * @return {Number} magnitude 17740 */ 17741 mag: function() { 17742 return Math.sqrt(this.x * this.x + this.y * this.y); 17743 }, 17744 17745 /** 17746 * Judge whether this point is equal to another point, returning 17747 * true or false. 17748 * @param {Point} other the other point 17749 * @return {boolean} whether the points are equal 17750 */ 17751 equals: function(other) { 17752 return this.x === other.x && 17753 this.y === other.y; 17754 }, 17755 17756 /** 17757 * Calculate the distance from this point to another point 17758 * @param {Point} p the other point 17759 * @return {Number} distance 17760 */ 17761 dist: function(p) { 17762 return Math.sqrt(this.distSqr(p)); 17763 }, 17764 17765 /** 17766 * Calculate the distance from this point to another point, 17767 * without the square root step. Useful if you're comparing 17768 * relative distances. 17769 * @param {Point} p the other point 17770 * @return {Number} distance 17771 */ 17772 distSqr: function(p) { 17773 var dx = p.x - this.x, 17774 dy = p.y - this.y; 17775 return dx * dx + dy * dy; 17776 }, 17777 17778 /** 17779 * Get the angle from the 0, 0 coordinate to this point, in radians 17780 * coordinates. 17781 * @return {Number} angle 17782 */ 17783 angle: function() { 17784 return Math.atan2(this.y, this.x); 17785 }, 17786 17787 /** 17788 * Get the angle from this point to another point, in radians 17789 * @param {Point} b the other point 17790 * @return {Number} angle 17791 */ 17792 angleTo: function(b) { 17793 return Math.atan2(this.y - b.y, this.x - b.x); 17794 }, 17795 17796 /** 17797 * Get the angle between this point and another point, in radians 17798 * @param {Point} b the other point 17799 * @return {Number} angle 17800 */ 17801 angleWith: function(b) { 17802 return this.angleWithSep(b.x, b.y); 17803 }, 17804 17805 /* 17806 * Find the angle of the two vectors, solving the formula for 17807 * the cross product a x b = |a||b|sin(θ) for θ. 17808 * @param {Number} x the x-coordinate 17809 * @param {Number} y the y-coordinate 17810 * @return {Number} the angle in radians 17811 */ 17812 angleWithSep: function(x, y) { 17813 return Math.atan2( 17814 this.x * y - this.y * x, 17815 this.x * x + this.y * y); 17816 }, 17817 17818 _matMult: function(m) { 17819 var x = m[0] * this.x + m[1] * this.y, 17820 y = m[2] * this.x + m[3] * this.y; 17821 this.x = x; 17822 this.y = y; 17823 return this; 17824 }, 17825 17826 _add: function(p) { 17827 this.x += p.x; 17828 this.y += p.y; 17829 return this; 17830 }, 17831 17832 _sub: function(p) { 17833 this.x -= p.x; 17834 this.y -= p.y; 17835 return this; 17836 }, 17837 17838 _mult: function(k) { 17839 this.x *= k; 17840 this.y *= k; 17841 return this; 17842 }, 17843 17844 _div: function(k) { 17845 this.x /= k; 17846 this.y /= k; 17847 return this; 17848 }, 17849 17850 _multByPoint: function(p) { 17851 this.x *= p.x; 17852 this.y *= p.y; 17853 return this; 17854 }, 17855 17856 _divByPoint: function(p) { 17857 this.x /= p.x; 17858 this.y /= p.y; 17859 return this; 17860 }, 17861 17862 _unit: function() { 17863 this._div(this.mag()); 17864 return this; 17865 }, 17866 17867 _perp: function() { 17868 var y = this.y; 17869 this.y = this.x; 17870 this.x = -y; 17871 return this; 17872 }, 17873 17874 _rotate: function(angle) { 17875 var cos = Math.cos(angle), 17876 sin = Math.sin(angle), 17877 x = cos * this.x - sin * this.y, 17878 y = sin * this.x + cos * this.y; 17879 this.x = x; 17880 this.y = y; 17881 return this; 17882 }, 17883
17884 _rotateAround: function(angle, p) { 17885 var cos = Math.cos(angle), 17886 sin = Math.sin(angle), 17887 x = p.x + cos * (this.x - p.x) - sin * (this.y - p.y), 17888 y = p.y + sin * (this.x - p.x) + cos * (this.y - p.y); 17889 this.x = x; 17890 this.y = y; 17891 return this; 17892 }, 17893 17894 _round: function() { 17895 this.x = Math.round(this.x); 17896 this.y = Math.round(this.y); 17897 return this; 17898 } 17899}; 17900 17901/** 17902 * Construct a point from an array if necessary, otherwise if the input 17903 * is already a Point, or an unknown type, return it unchanged 17904 * @param {Array<Number>|Point|*} a any kind of input value 17905 * @return {Point} constructed point, or passed-through value. 17906 * @example 17907 * // this 17908 * var point = Point.convert([0, 1]); 17909 * // is equivalent to 17910 * var point = new Point(0, 1); 17911 */ 17912Point.convert = function (a) { 17913 if (a instanceof Point) { 17914 return a; 17915 } 17916 if (Array.isArray(a)) { 17917 return new Point(a[0], a[1]); 17918 } 17919 return a; 17920}; 17921 17922 17923/***/ }), 17924/* 180 */ 17925/***/ (function(module, exports, __webpack_require__) { 17926 17927"use strict"; 17928 17929 17930exports.__esModule = true; 17931 17932var _wrap2 = __webpack_require__(181); 17933 17934function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 17935 17936var LatLng = function () { 17937 function LatLng(lat, lng) { 17938 _classCallCheck(this, LatLng); 17939 17940 if (isNaN(lat) || isNaN(lng)) { 17941 throw new Error('Invalid LatLng object: (' + lat + ', ' + lng + ')'); 17942 } 17943 this.lat = +lat; 17944 this.lng = +lng; 17945 } 17946 17947 LatLng.prototype.wrap = function wrap() { 17948 return new LatLng(this.lat, (0, _wrap2.wrap)(this.lng, -180, 180)); 17949 }; 17950 17951 return LatLng; 17952}(); 17953 17954LatLng.convert = function (a) { 17955 if (a instanceof LatLng) { 17956 return a; 17957 } 17958 17959 if (Array.isArray(a)) { 17960 return new LatLng(a[0], a[1]); 17961 } 17962 17963 if ('lng' in a && 'lat' in a) { 17964 return new LatLng(a.lat, a.lng); 17965 } 17966 17967 return a; 17968}; 17969 17970exports.default = LatLng; 17971 17972/***/ }), 17973/* 181 */ 17974/***/ (function(module, exports, __webpack_require__) { 17975 17976"use strict"; 17977 17978 17979exports.__esModule = true; 17980exports.wrap = wrap; 17981/* eslint-disable import/prefer-default-export */ 17982 17983function wrap(n, min, max) { 17984 var d = max - min; 17985 return n === max ? n : ((n - min) % d + d) % d + min; 17986} 17987 17988/***/ }), 17989/* 182 */ 17990/***/ (function(module, exports, __webpack_require__) { 17991 17992"use strict"; 17993 17994 17995exports.__esModule = true; 17996exports.default = addPassiveEventListener; 17997// feature detection for passive support 17998// see: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support 17999function hasPassiveSupport() { 18000 var passiveSupported = false; 18001 18002 try { 18003 var options = Object.defineProperty({}, 'passive', { 18004 get: function get() { 18005 passiveSupported = true; 18006 } 18007 }); 18008 18009 window.addEventListener('test', options, options); 18010 window.removeEventListener('test', options, options); 18011 } catch (err) { 18012 passiveSupported = false; 18013 } 18014 18015 return passiveSupported; 18016} 18017 18018function addPassiveEventListener(element, eventName, func, capture) { 18019 element.addEventListener(eventName, func, hasPassiveSupport() ? { 18020 capture: capture, 18021 passive: true 18022 } : capture); 18023} 18024 18025/***/ }), 18026/* 183 */ 18027/***/ (function(module, exports, __webpack_require__) { 18028 18029module.exports = !__webpack_require__(8) && !__webpack_require__(18)(function () { 18030 return Object.defineProperty(__webpack_require__(172)('div'), 'a', { get: function () { return 7; } }).a != 7; 18031}); 18032 18033 18034/***/ }), 18035/* 184 */ 18036/***/ (function(module, exports, __webpack_require__) { 18037 18038module.exports = __webpack_require__(15); 18039 18040 18041/***/ }), 18042/* 185 */ 18043/***/ (function(module, exports, __webpack_require__) { 18044 18045var has = __webpack_require__(16); 18046var toIObject = __webpack_require__(19); 18047var arrayIndexOf = __webpack_require__(233)(false); 18048var IE_PROTO = __webpack_require__(43)('IE_PROTO'); 18049 18050module.exports = function (object, names) { 18051 var O = toIObject(object); 18052 var i = 0; 18053 var result = []; 18054 var key; 18055 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); 18056 // Don't enum bug & hidden keys 18057 while (names.length > i) if (has(O, key = names[i++])) { 18058 ~arrayIndexOf(result, key) || result.push(key); 18059 } 18060 return result; 18061}; 18062 18063 18064/***/ }), 18065/* 186 */
vendor: 5,510 bytes, lines 18066-18224
18066/***/ (function(module, exports) { 18067 18068module.exports = function (done, value) { 18069 return { value: value, done: !!done }; 18070}; 18071 18072 18073/***/ }), 18074/* 187 */ 18075/***/ (function(module, exports, __webpack_require__) { 18076 18077var classof = __webpack_require__(173); 18078var ITERATOR = __webpack_require__(5)('iterator'); 18079var Iterators = __webpack_require__(21); 18080module.exports = __webpack_require__(4).getIteratorMethod = function (it) { 18081 if (it != undefined) return it[ITERATOR] 18082 || it['@@iterator'] 18083 || Iterators[classof(it)]; 18084}; 18085 18086 18087/***/ }), 18088/* 188 */ 18089/***/ (function(module, exports, __webpack_require__) { 18090 18091"use strict"; 18092 18093 18094exports.__esModule = true; 18095 18096var _iterator = __webpack_require__(240); 18097 18098var _iterator2 = _interopRequireDefault(_iterator); 18099 18100var _symbol = __webpack_require__(242); 18101 18102var _symbol2 = _interopRequireDefault(_symbol); 18103 18104var _typeof = typeof _symbol2.default === "function" && typeof _iterator2.default === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj; }; 18105 18106function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 18107 18108exports.default = typeof _symbol2.default === "function" && _typeof(_iterator2.default) === "symbol" ? function (obj) { 18109 return typeof obj === "undefined" ? "undefined" : _typeof(obj); 18110} : function (obj) { 18111 return obj && typeof _symbol2.default === "function" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof(obj); 18112}; 18113 18114/***/ }), 18115/* 189 */ 18116/***/ (function(module, exports, __webpack_require__) { 18117 18118// 7.2.2 IsArray(argument) 18119var cof = __webpack_require__(32); 18120module.exports = Array.isArray || function isArray(arg) { 18121 return cof(arg) == 'Array'; 18122}; 18123 18124 18125/***/ }), 18126/* 190 */ 18127/***/ (function(module, exports, __webpack_require__) { 18128 18129// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) 18130var $keys = __webpack_require__(185); 18131var hiddenKeys = __webpack_require__(45).concat('length', 'prototype'); 18132 18133exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 18134 return $keys(O, hiddenKeys); 18135}; 18136 18137 18138/***/ }), 18139/* 191 */ 18140/***/ (function(module, exports, __webpack_require__) { 18141 18142var pIE = __webpack_require__(30); 18143var createDesc = __webpack_require__(25); 18144var toIObject = __webpack_require__(19); 18145var toPrimitive = __webpack_require__(40); 18146var has = __webpack_require__(16); 18147var IE8_DOM_DEFINE = __webpack_require__(183); 18148var gOPD = Object.getOwnPropertyDescriptor; 18149 18150exports.f = __webpack_require__(8) ? gOPD : function getOwnPropertyDescriptor(O, P) { 18151 O = toIObject(O); 18152 P = toPrimitive(P, true); 18153 if (IE8_DOM_DEFINE) try { 18154 return gOPD(O, P); 18155 } catch (e) { /* empty */ } 18156 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); 18157}; 18158 18159 18160/***/ }), 18161/* 192 */ 18162/***/ (function(module, exports, __webpack_require__) { 18163 18164var isObject = __webpack_require__(10); 18165module.exports = function (it, TYPE) { 18166 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); 18167 return it; 18168}; 18169 18170 18171/***/ }), 18172/* 193 */ 18173/***/ (function(module, exports, __webpack_require__) { 18174 18175// style-loader: Adds some css to the DOM by adding a <style> tag 18176 18177// load the styles 18178var content = __webpack_require__(204); 18179if(typeof content === 'string') content = [[module.i, content, '']]; 18180// Prepare cssTransformation 18181var transform; 18182 18183var options = {} 18184options.transform = transform 18185// add the styles to the DOM 18186var update = __webpack_require__(3)(content, options); 18187if(content.locals) module.exports = content.locals; 18188// Hot Module Replacement 18189if(false) { 18190 // When the styles change, update the <style> tags 18191 if(!content.locals) { 18192 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Inputs.scss", function() { 18193 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Inputs.scss"); 18194 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 18195 update(newContent); 18196 }); 18197 } 18198 // When the module is disposed, remove the <style> tags 18199 module.hot.dispose(function() { update(); }); 18200} 18201 18202/***/ }), 18203/* 194 */, 18204/* 195 */ 18205/***/ (function(module, exports, __webpack_require__) { 18206 18207"use strict"; 18208 18209 18210Object.defineProperty(exports, "__esModule", { 18211 value: true 18212}); 18213exports.Urls = undefined; 18214 18215var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 18216 18217var _moment = __webpack_require__(0); 18218 18219var _moment2 = _interopRequireDefault(_moment); 18220 18221function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 18222 18223function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 18224
18225var Urls = exports.Urls = { 18226 appointment: { 18227 getData: '/api/Appointment', 18228 save: '/api/Appointment' 18229 }, 18230 contact: { 18231 getData: '/api/Contact', 18232 save: '/api/Contact' 18233 }, 18234 coupons: { 18235 getData: 'api/Coupons', 18236 signUp: '/Special-Offers/SignUp' 18237 }, 18238 dealers: { 18239 get: '/api/DealerLocator' 18240 }, 18241 infoPanel: { 18242 getData: '/api/InfoPanel', 18243 directions: '/api/Direction', 18244 sendToCell: '/api/Notification', 18245 carrier: '/api/Carrier' 18246 }, 18247 callForm: { 18248 sendForm: '/api/SendCallForm' 18249 } 18250}; 18251 18252/** 18253 * for now it's shared 18254 later good idea 18255 to separate api by entities 18256 */ 18257 18258var Api = function () { 18259 function Api() { 18260 _classCallCheck(this, Api); 18261 } 18262 18263 _createClass(Api, null, [{ 18264 key: 'getAppointmentData', 18265 value: function getAppointmentData() { 18266 return fetch(Urls.appointment.getData).then(function (res) { 18267 return res.json(); 18268 }); 18269 } 18270 }, { 18271 key: 'submitAppointment', 18272 value: function submitAppointment(request) { 18273 try { 18274 var _navigator = {}; 18275 for (var i in navigator) { 18276 _navigator[i] = navigator[i]; 18277 }delete _navigator.plugins; 18278 delete _navigator.mimeTypes; 18279 18280 request.userData = JSON.stringify({ 18281 currentTime: new Date().toString(), 18282 timezoneOffset: -(new Date().getTimezoneOffset() / 60), 18283 userAgent: navigator.userAgent, 18284 navigator: _navigator 18285 }); 18286 } catch (error) {} 18287 18288 return fetch(Urls.appointment.save, { 18289 method: 'POST', 18290 headers: { 18291 'Content-Type': 'application/json' 18292 }, 18293 body: JSON.stringify(request) 18294 }); 18295 } 18296 }, { 18297 key: 'getContactData', 18298 value: function getContactData() { 18299 return fetch(Urls.contact.getData).then(function (res) { 18300 return res.json(); 18301 }); 18302 } 18303 }, { 18304 key: 'submitContact', 18305 value: function submitContact(request) { 18306 return fetch(Urls.contact.save, { 18307 method: 'POST', 18308 headers: { 18309 'Content-Type': 'application/json' 18310 }, 18311 body: JSON.stringify(request) 18312 }); 18313 } 18314 }, { 18315 key: 'getDealers', 18316 value: function getDealers() { 18317 return fetch(Urls.dealers.get).then(function (res) { 18318 return res.json(); 18319 }); 18320 } 18321 }, { 18322 key: 'getCarrierInfo', 18323 value: function getCarrierInfo() { 18324 return fetch(Urls.infoPanel.carrier).then(function (res) { 18325 return res.json(); 18326 }); 18327 } 18328 }, { 18329 key: 'sendToCell', 18330 value: function sendToCell(request) { 18331 return fetch(Urls.infoPanel.sendToCell, { 18332 method: 'POST', 18333 headers: { 18334 'Content-Type': 'application/json' 18335 }, 18336 body: JSON.stringify(request) 18337 }); 18338 } 18339 }, { 18340 key: 'sendCallForm', 18341 value: function sendCallForm(request) { 18342 return fetch(Urls.callForm.sendForm, { 18343 method: 'POST', 18344 headers: { 18345 'Content-Type': 'application/json' 18346 }, 18347 body: JSON.stringify(request) 18348 }); 18349 } 18350 }, { 18351 key: 'sendCouponSignUpForm', 18352 value: function sendCouponSignUpForm(request) { 18353 return fetch(Urls.coupons.signUp, { 18354 method: 'POST', 18355 headers: { 18356 'Content-Type': 'application/json' 18357 }, 18358 body: JSON.stringify(request) 18359 }); 18360 } 18361 }]); 18362 18363 return Api; 18364}(); 18365 18366exports.default = Api; 18367 18368/***/ }), 18369/* 196 */, 18370/* 197 */, 18371/* 198 */ 18372/***/ (function(module, exports, __webpack_require__) { 18373 18374module.exports = (__webpack_require__(6))(445); 18375 18376/***/ }), 18377/* 199 */ 18378/***/ (function(module, exports, __webpack_require__) { 18379 18380module.exports = (__webpack_require__(6))(444); 18381 18382/***/ }), 18383/* 200 */ 18384/***/ (function(module, exports, __webpack_require__) { 18385 18386"use strict"; 18387/** 18388 * Copyright (c) 2013-present, Facebook, Inc. 18389 * 18390 * This source code is licensed under the MIT license found in the 18391 * LICENSE file in the root directory of this source tree. 18392 */ 18393 18394 18395 18396var ReactPropTypesSecret = __webpack_require__(201); 18397 18398function emptyFunction() {} 18399function emptyFunctionWithReset() {} 18400emptyFunctionWithReset.resetWarningCache = emptyFunction; 18401 18402module.exports = function() { 18403 function shim(props, propName, componentName, location, propFullName, secret) { 18404 if (secret === ReactPropTypesSecret) { 18405 // It is still safe when called from React. 18406 return; 18407 } 18408 var err = new Error( 18409 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 18410 'Use PropTypes.checkPropTypes() to call them. ' + 18411 'Read more at http://fb.me/use-check-prop-types' 18412 ); 18413 err.name = 'Invariant Violation'; 18414 throw err; 18415 }; 18416 shim.isRequired = shim; 18417 function getShim() { 18418 return shim; 18419 }; 18420 // Important! 18421 // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. 18422 var ReactPropTypes = { 18423 array: shim, 18424 bool: shim, 18425 func: shim, 18426 number: shim, 18427 object: shim, 18428 string: shim, 18429 symbol: shim, 18430 18431 any: shim, 18432 arrayOf: getShim, 18433 element: shim, 18434 elementType: shim, 18435 instanceOf: getShim, 18436 node: shim, 18437 objectOf: getShim, 18438 oneOf: getShim, 18439 oneOfType: getShim, 18440 shape: getShim, 18441 exact: getShim, 18442 18443 checkPropTypes: emptyFunctionWithReset, 18444 resetWarningCache: emptyFunction 18445 }; 18446 18447 ReactPropTypes.PropTypes = ReactPropTypes; 18448 18449 return ReactPropTypes; 18450}; 18451 18452 18453/***/ }), 18454/* 201 */ 18455/***/ (function(module, exports, __webpack_require__) { 18456 18457module.exports = (__webpack_require__(6))(187); 18458 18459/***/ }), 18460/* 202 */
18461/***/ (function(module, exports) { 18462 18463module.exports = function(module) { 18464 if(!module.webpackPolyfill) { 18465 module.deprecate = function() {}; 18466 module.paths = []; 18467 // module.parent = undefined by default 18468 if(!module.children) module.children = []; 18469 Object.defineProperty(module, "loaded", { 18470 enumerable: true, 18471 get: function() { 18472 return module.l; 18473 } 18474 }); 18475 Object.defineProperty(module, "id", { 18476 enumerable: true, 18477 get: function() { 18478 return module.i; 18479 } 18480 }); 18481 module.webpackPolyfill = 1; 18482 } 18483 return module; 18484}; 18485 18486 18487/***/ }), 18488/* 203 */ 18489/***/ (function(module, exports, __webpack_require__) { 18490 18491var map = { 18492 "./af": 52, 18493 "./af.js": 52, 18494 "./ar": 53, 18495 "./ar-dz": 54, 18496 "./ar-dz.js": 54, 18497 "./ar-kw": 55, 18498 "./ar-kw.js": 55, 18499 "./ar-ly": 56, 18500 "./ar-ly.js": 56, 18501 "./ar-ma": 57, 18502 "./ar-ma.js": 57, 18503 "./ar-sa": 58, 18504 "./ar-sa.js": 58, 18505 "./ar-tn": 59, 18506 "./ar-tn.js": 59, 18507 "./ar.js": 53, 18508 "./az": 60, 18509 "./az.js": 60, 18510 "./be": 61, 18511 "./be.js": 61, 18512 "./bg": 62, 18513 "./bg.js": 62, 18514 "./bn": 63, 18515 "./bn.js": 63, 18516 "./bo": 64, 18517 "./bo.js": 64, 18518 "./br": 65, 18519 "./br.js": 65, 18520 "./bs": 66, 18521 "./bs.js": 66, 18522 "./ca": 67, 18523 "./ca.js": 67, 18524 "./cs": 68, 18525 "./cs.js": 68, 18526 "./cv": 69, 18527 "./cv.js": 69, 18528 "./cy": 70, 18529 "./cy.js": 70, 18530 "./da": 71, 18531 "./da.js": 71, 18532 "./de": 72, 18533 "./de-at": 73, 18534 "./de-at.js": 73, 18535 "./de-ch": 74, 18536 "./de-ch.js": 74, 18537 "./de.js": 72, 18538 "./dv": 75, 18539 "./dv.js": 75, 18540 "./el": 76, 18541 "./el.js": 76, 18542 "./en-au": 77, 18543 "./en-au.js": 77, 18544 "./en-ca": 78, 18545 "./en-ca.js": 78, 18546 "./en-gb": 79, 18547 "./en-gb.js": 79, 18548 "./en-ie": 80, 18549 "./en-ie.js": 80, 18550 "./en-nz": 81, 18551 "./en-nz.js": 81, 18552 "./eo": 82, 18553 "./eo.js": 82, 18554 "./es": 83, 18555 "./es-do": 84, 18556 "./es-do.js": 84, 18557 "./es.js": 83, 18558 "./et": 85, 18559 "./et.js": 85, 18560 "./eu": 86, 18561 "./eu.js": 86, 18562 "./fa": 87, 18563 "./fa.js": 87, 18564 "./fi": 88, 18565 "./fi.js": 88, 18566 "./fo": 89, 18567 "./fo.js": 89, 18568 "./fr": 90, 18569 "./fr-ca": 91, 18570 "./fr-ca.js": 91, 18571 "./fr-ch": 92, 18572 "./fr-ch.js": 92, 18573 "./fr.js": 90, 18574 "./fy": 93, 18575 "./fy.js": 93, 18576 "./gd": 94, 18577 "./gd.js": 94, 18578 "./gl": 95, 18579 "./gl.js": 95, 18580 "./gom-latn": 96, 18581 "./gom-latn.js": 96, 18582 "./he": 97, 18583 "./he.js": 97, 18584 "./hi": 98, 18585 "./hi.js": 98, 18586 "./hr": 99, 18587 "./hr.js": 99, 18588 "./hu": 100, 18589 "./hu.js": 100, 18590 "./hy-am": 101, 18591 "./hy-am.js": 101, 18592 "./id": 102, 18593 "./id.js": 102, 18594 "./is": 103, 18595 "./is.js": 103, 18596 "./it": 104, 18597 "./it.js": 104, 18598 "./ja": 105, 18599 "./ja.js": 105, 18600 "./jv": 106, 18601 "./jv.js": 106, 18602 "./ka": 107, 18603 "./ka.js": 107, 18604 "./kk": 108, 18605 "./kk.js": 108, 18606 "./km": 109, 18607 "./km.js": 109, 18608 "./kn": 110, 18609 "./kn.js": 110, 18610 "./ko": 111, 18611 "./ko.js": 111, 18612 "./ky": 112, 18613 "./ky.js": 112, 18614 "./lb": 113, 18615 "./lb.js": 113, 18616 "./lo": 114, 18617 "./lo.js": 114, 18618 "./lt": 115, 18619 "./lt.js": 115, 18620 "./lv": 116, 18621 "./lv.js": 116, 18622 "./me": 117, 18623 "./me.js": 117, 18624 "./mi": 118, 18625 "./mi.js": 118, 18626 "./mk": 119, 18627 "./mk.js": 119, 18628 "./ml": 120, 18629 "./ml.js": 120, 18630 "./mr": 121, 18631 "./mr.js": 121, 18632 "./ms": 122, 18633 "./ms-my": 123, 18634 "./ms-my.js": 123, 18635 "./ms.js": 122, 18636 "./my": 124, 18637 "./my.js": 124, 18638 "./nb": 125, 18639 "./nb.js": 125, 18640 "./ne": 126, 18641 "./ne.js": 126, 18642 "./nl": 127, 18643 "./nl-be": 128, 18644 "./nl-be.js": 128, 18645 "./nl.js": 127, 18646 "./nn": 129, 18647 "./nn.js": 129, 18648 "./pa-in": 130, 18649 "./pa-in.js": 130, 18650 "./pl": 131, 18651 "./pl.js": 131, 18652 "./pt": 132, 18653 "./pt-br": 133, 18654 "./pt-br.js": 133, 18655 "./pt.js": 132, 18656 "./ro": 134, 18657 "./ro.js": 134, 18658 "./ru": 135, 18659 "./ru.js": 135, 18660 "./sd": 136, 18661 "./sd.js": 136, 18662 "./se": 137, 18663 "./se.js": 137, 18664 "./si": 138, 18665 "./si.js": 138, 18666 "./sk": 139, 18667 "./sk.js": 139, 18668 "./sl": 140, 18669 "./sl.js": 140, 18670 "./sq": 141, 18671 "./sq.js": 141, 18672 "./sr": 142, 18673 "./sr-cyrl": 143, 18674 "./sr-cyrl.js": 143, 18675 "./sr.js": 142, 18676 "./ss": 144, 18677 "./ss.js": 144, 18678 "./sv": 145, 18679 "./sv.js": 145, 18680 "./sw": 146, 18681 "./sw.js": 146, 18682 "./ta": 147, 18683 "./ta.js": 147, 18684 "./te": 148, 18685 "./te.js": 148, 18686 "./tet": 149, 18687 "./tet.js": 149, 18688 "./th": 150, 18689 "./th.js": 150, 18690 "./tl-ph": 151, 18691 "./tl-ph.js": 151, 18692 "./tlh": 152, 18693 "./tlh.js": 152, 18694 "./tr": 153, 18695 "./tr.js": 153, 18696 "./tzl": 154, 18697 "./tzl.js": 154, 18698 "./tzm": 155, 18699 "./tzm-latn": 156, 18700 "./tzm-latn.js": 156, 18701 "./tzm.js": 155, 18702 "./uk": 157, 18703 "./uk.js": 157, 18704 "./ur": 158, 18705 "./ur.js": 158, 18706 "./uz": 159, 18707 "./uz-latn": 160, 18708 "./uz-latn.js": 160, 18709 "./uz.js": 159, 18710 "./vi": 161, 18711 "./vi.js": 161, 18712 "./x-pseudo": 162, 18713 "./x-pseudo.js": 162, 18714 "./yo": 163, 18715 "./yo.js": 163, 18716 "./zh-cn": 164, 18717 "./zh-cn.js": 164, 18718 "./zh-hk": 165, 18719 "./zh-hk.js": 165, 18720 "./zh-tw": 166, 18721 "./zh-tw.js": 166 18722}; 18723function webpackContext(req) { 18724 return __webpack_require__(webpackContextResolve(req)); 18725}; 18726function webpackContextResolve(req) { 18727 var id = map[req]; 18728 if(!(id + 1)) // check for number or string 18729 throw new Error("Cannot find module '" + req + "'."); 18730 return id; 18731}; 18732webpackContext.keys = function webpackContextKeys() { 18733 return Object.keys(map); 18734}; 18735webpackContext.resolve = webpackContextResolve; 18736module.exports = webpackContext; 18737webpackContext.id = 203; 18738 18739/***/ }), 18740/* 204 */ 18741/***/ (function(module, exports, __webpack_require__) { 18742 18743exports = module.exports = __webpack_require__(2)(undefined); 18744// imports 18745 18746 18747// module 18748exports.push([module.i, ".a-input {\n width: 100%;\n border-radius: 0;\n border: 1px solid #ccc;\n outline: none;\n padding: 12px;\n font-size: 14px;\n margin-right: 0;\n max-width: 100%;\n margin-bottom: 10px;\n resize: none;\n -webkit-transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n height: 43px;\n margin-right: 10px; }\n .a-input.invalid {\n border: 1px solid #d0011b; }\n .a-input.invalid::-webkit-input-placeholder, .a-input.invalid::-webkit-input-placeholder {\n color: #d0011b !important; }\n .a-input.invalid::placeholder, .a-input.invalid::-webkit-input-placeholder {\n color: #d0011b !important; }\n .a-input.half {\n width: 50%; }\n .a-input.w-80px {\n width: 80px; }\n .a-input.grow-1 {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n -ms-flex-preferred-size: 0;\n flex-basis: 0; }\n textarea.a-input {\n height: 120px; }\n .phone-input.a-input {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center; }\n .phone-input.a-input input {\n border: none;\n outline: none;\n padding: 0 9px; }\n .phone-input.a-input .prefix {\n width: 50px;\n border-right: 1px solid #173e6e; }\n", ""]); 18749
18750// exports 18751 18752 18753/***/ }), 18754/* 205 */ 18755/***/ (function(module, exports, __webpack_require__) { 18756 18757var document = __webpack_require__(7).document; 18758module.exports = document && document.documentElement; 18759 18760 18761/***/ }), 18762/* 206 */ 18763/***/ (function(module, exports, __webpack_require__) { 18764 18765"use strict"; 18766 18767var global = __webpack_require__(7); 18768var core = __webpack_require__(4); 18769var dP = __webpack_require__(11); 18770var DESCRIPTORS = __webpack_require__(8); 18771var SPECIES = __webpack_require__(5)('species'); 18772 18773module.exports = function (KEY) { 18774 var C = typeof core[KEY] == 'function' ? core[KEY] : global[KEY]; 18775 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { 18776 configurable: true, 18777 get: function () { return this; } 18778 }); 18779}; 18780 18781 18782/***/ }), 18783/* 207 */ 18784/***/ (function(module, exports, __webpack_require__) { 18785 18786"use strict"; 18787 18788 18789Object.defineProperty(exports, "__esModule", { 18790 value: true 18791}); 18792 18793var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 18794 18795var _react = __webpack_require__(1); 18796 18797var _react2 = _interopRequireDefault(_react); 18798 18799__webpack_require__(193); 18800 18801function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 18802 18803function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 18804 18805function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 18806 18807function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 18808 18809var TextInput = function (_React$Component) { 18810 _inherits(TextInput, _React$Component); 18811 18812 function TextInput(props) { 18813 _classCallCheck(this, TextInput); 18814 18815 var _this = _possibleConstructorReturn(this, (TextInput.__proto__ || Object.getPrototypeOf(TextInput)).call(this, props)); 18816 18817 _this.state = { 18818 value: null 18819 }; 18820 return _this; 18821 } 18822 18823 _createClass(TextInput, [{ 18824 key: 'render', 18825 value: function render() { 18826 var invalidClass = this.props.isInvalid ? 'invalid' : ''; 18827 18828 return _react2.default.createElement('input', { 18829 className: 'a-input ' + invalidClass + ' ' + this.props.styleClass, 18830 onChange: this.props.onChange, 18831 placeholder: this.props.placeholder, 18832 name: this.props.name 18833 }); 18834 } 18835 }]); 18836 18837 return TextInput; 18838}(_react2.default.Component); 18839 18840exports.default = TextInput; 18841 18842/***/ }), 18843/* 208 */, 18844/* 209 */, 18845/* 210 */ 18846/***/ (function(module, exports, __webpack_require__) { 18847 18848"use strict"; 18849 18850 18851exports.__esModule = true; 18852exports.default = undefined; 18853 18854var _google_map = __webpack_require__(211); 18855 18856var _google_map2 = _interopRequireDefault(_google_map); 18857 18858function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 18859 18860exports.default = _google_map2.default; 18861 18862/***/ }), 18863/* 211 */ 18864/***/ (function(module, exports, __webpack_require__) { 18865 18866"use strict"; 18867/* WEBPACK VAR INJECTION */(function(process) { 18868 18869exports.__esModule = true; 18870 18871var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 18872 18873var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; 18874 18875var _react = __webpack_require__(1); 18876 18877var _react2 = _interopRequireDefault(_react); 18878 18879var _propTypes = __webpack_require__(13); 18880 18881var _propTypes2 = _interopRequireDefault(_propTypes); 18882 18883var _reactDom = __webpack_require__(12); 18884 18885var _reactDom2 = _interopRequireDefault(_reactDom); 18886 18887var _google_map_map = __webpack_require__(212); 18888
18889var _google_map_map2 = _interopRequireDefault(_google_map_map); 18890 18891var _marker_dispatcher = __webpack_require__(213); 18892 18893var _marker_dispatcher2 = _interopRequireDefault(_marker_dispatcher); 18894 18895var _google_map_markers = __webpack_require__(176); 18896 18897var _google_map_markers2 = _interopRequireDefault(_google_map_markers); 18898 18899var _google_map_markers_prerender = __webpack_require__(215); 18900 18901var _google_map_markers_prerender2 = _interopRequireDefault(_google_map_markers_prerender); 18902 18903var _google_heatmap = __webpack_require__(216); 18904 18905var _google_map_loader = __webpack_require__(217); 18906 18907var _google_map_loader2 = _interopRequireDefault(_google_map_loader); 18908 18909var _geo = __webpack_require__(219); 18910 18911var _geo2 = _interopRequireDefault(_geo); 18912 18913var _raf = __webpack_require__(221); 18914 18915var _raf2 = _interopRequireDefault(_raf); 18916 18917var _pick = __webpack_require__(222); 18918 18919var _pick2 = _interopRequireDefault(_pick); 18920 18921var _omit = __webpack_require__(177); 18922 18923var _omit2 = _interopRequireDefault(_omit); 18924 18925var _log = __webpack_require__(223); 18926 18927var _log2 = _interopRequireDefault(_log); 18928 18929var _isEmpty = __webpack_require__(224); 18930 18931var _isEmpty2 = _interopRequireDefault(_isEmpty); 18932 18933var _isNumber = __webpack_require__(225); 18934 18935var _isNumber2 = _interopRequireDefault(_isNumber); 18936 18937var _detect = __webpack_require__(226); 18938 18939var _detect2 = _interopRequireDefault(_detect); 18940 18941var _shallowEqual = __webpack_require__(178); 18942 18943var _shallowEqual2 = _interopRequireDefault(_shallowEqual); 18944 18945var _isPlainObject = __webpack_require__(227); 18946 18947var _isPlainObject2 = _interopRequireDefault(_isPlainObject); 18948 18949var _isArraysEqualEps = __webpack_require__(228); 18950 18951var _isArraysEqualEps2 = _interopRequireDefault(_isArraysEqualEps); 18952 18953var _detectElementResize = __webpack_require__(229); 18954 18955var _detectElementResize2 = _interopRequireDefault(_detectElementResize); 18956 18957var _passiveEvents = __webpack_require__(182); 18958 18959var _passiveEvents2 = _interopRequireDefault(_passiveEvents); 18960 18961function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 18962 18963function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 18964 18965function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 18966 18967function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /* eslint-disable import/no-extraneous-dependencies, react/forbid-prop-types, react/no-find-dom-node, no-console */ 18968 18969 18970// helpers 18971 18972 18973// loaders 18974 18975 18976// utils 18977 18978 18979// consts 18980var kEPS = 0.00001; 18981var K_GOOGLE_TILE_SIZE = 256; 18982// real minZoom calculated here _getMinZoom 18983var K_IDLE_TIMEOUT = 100; 18984var K_IDLE_CLICK_TIMEOUT = 300; 18985var DEFAULT_MIN_ZOOM = 3; 18986// Starting with version 3.32, the maps API calls `draw()` each frame during 18987// a zoom animation. 18988var DRAW_CALLED_DURING_ANIMATION_VERSION = 32; 18989var IS_REACT_16 = _reactDom2.default.createPortal !== undefined; 18990 18991var createPortal = IS_REACT_16 ? _reactDom2.default.createPortal : _reactDom2.default.unstable_renderSubtreeIntoContainer; 18992 18993function defaultOptions_() /* maps */{ 18994 return { 18995 overviewMapControl: false, 18996 streetViewControl: false, 18997 rotateControl: true, 18998 mapTypeControl: false, 18999 // disable poi 19000 styles: [{ 19001 featureType: 'poi', 19002 elementType: 'labels', 19003 stylers: [{ visibility: 'off' }] 19004 }], 19005 minZoom: DEFAULT_MIN_ZOOM // dynamically recalculted if possible during init 19006 }; 19007} 19008 19009var latLng2Obj = function latLng2Obj(latLng) { 19010 return (0, _isPlainObject2.default)(latLng) ? latLng : { lat: latLng[0], lng: latLng[1] }; 19011}; 19012 19013var _checkMinZoom = function _checkMinZoom(zoom, minZoom) { 19014 if (process.env.NODE_ENV !== 'production') { 19015 if (zoom < minZoom) { 19016 console.warn('GoogleMap: ' + // eslint-disable-line 19017 'minZoom option is less than recommended ' + 'minZoom option for your map sizes.\n' + 'overrided to value ' + minZoom); 19018 } 19019 } 19020 19021 if (minZoom < zoom) { 19022 return zoom; 19023 } 19024 return minZoom; 19025}; 19026 19027var isFullScreen = function isFullScreen() { 19028 return document.fullscreen || document.webkitIsFullScreen || document.mozFullScreen || document.msFullscreenElement; 19029}; 19030 19031var GoogleMap = function (_Component) { 19032 _inherits(GoogleMap, _Component); 19033 19034 // eslint-disable-line 19035 19036 function GoogleMap(props) { 19037 _classCallCheck(this, GoogleMap); 19038 19039 var _this = _possibleConstructorReturn(this, _Component.call(this, props)); 19040 19041 _this._getMinZoom = function () { 19042 if (_this.geoService_.getWidth() > 0 || _this.geoService_.getHeight() > 0) {
19043 var tilesPerWidth = Math.ceil(_this.geoService_.getWidth() / K_GOOGLE_TILE_SIZE) + 2; 19044 var tilesPerHeight = Math.ceil(_this.geoService_.getHeight() / K_GOOGLE_TILE_SIZE) + 2; 19045 var maxTilesPerDim = Math.max(tilesPerWidth, tilesPerHeight); 19046 return Math.ceil((0, _log2.default)(maxTilesPerDim)); 19047 } 19048 return DEFAULT_MIN_ZOOM; 19049 }; 19050 19051 _this._computeMinZoom = function (minZoom) { 19052 if (!(0, _isEmpty2.default)(minZoom)) { 19053 return minZoom; 19054 } 19055 return _this._getMinZoom(); 19056 }; 19057 19058 _this._mapDomResizeCallback = function () { 19059 _this.resetSizeOnIdle_ = true; 19060 if (_this.maps_) { 19061 var originalCenter = _this.props.center || _this.props.defaultCenter; 19062 var currentCenter = _this.map_.getCenter(); 19063 _this.maps_.event.trigger(_this.map_, 'resize'); 19064 _this.map_.setCenter(_this.props.resetBoundsOnResize ? originalCenter : currentCenter); 19065 } 19066 }; 19067 19068 _this._setLayers = function (layerTypes) { 19069 layerTypes.forEach(function (layerType) { 19070 _this.layers_[layerType] = new _this.maps_[layerType](); 19071 _this.layers_[layerType].setMap(_this.map_); 19072 }); 19073 }; 19074 19075 _this._renderPortal = function () { 19076 return _react2.default.createElement(_google_map_markers2.default, { 19077 experimental: _this.props.experimental, 19078 onChildClick: _this._onChildClick, 19079 onChildMouseDown: _this._onChildMouseDown, 19080 onChildMouseEnter: _this._onChildMouseEnter, 19081 onChildMouseLeave: _this._onChildMouseLeave, 19082 geoService: _this.geoService_, 19083 insideMapPanes: true, 19084 distanceToMouse: _this.props.distanceToMouse, 19085 getHoverDistance: _this._getHoverDistance, 19086 dispatcher: _this.markersDispatcher_ 19087 }); 19088 }; 19089 19090 _this._initMap = function () { 19091 // only initialize the map once 19092 if (_this.initialized_) { 19093 return; 19094 } 19095 _this.initialized_ = true; 19096 19097 var propsCenter = latLng2Obj(_this.props.center || _this.props.defaultCenter); 19098 _this.geoService_.setView(propsCenter, _this.props.zoom || _this.props.defaultZoom, 0); 19099 19100 _this._onBoundsChanged(); // now we can calculate map bounds center etc... 19101 19102 var bootstrapURLKeys = _extends({}, _this.props.apiKey && { key: _this.props.apiKey }, _this.props.bootstrapURLKeys); 19103 19104 _this.props.googleMapLoader(bootstrapURLKeys, _this.props.heatmapLibrary).then(function (maps) { 19105 if (!_this.mounted_) { 19106 return; 19107 } 19108 19109 var centerLatLng = _this.geoService_.getCenter(); 19110 19111 var propsOptions = { 19112 zoom: _this.props.zoom || _this.props.defaultZoom, 19113 center: new maps.LatLng(centerLatLng.lat, centerLatLng.lng) 19114 }; 19115 19116 // Start Heatmap 19117 if (_this.props.heatmap.positions) { 19118 Object.assign(_this, { 19119 heatmap: (0, _google_heatmap.generateHeatmap)(maps, _this.props.heatmap) 19120 }); 19121 (0, _google_heatmap.optionsHeatmap)(_this.heatmap, _this.props.heatmap); 19122 } 19123 // End Heatmap 19124 19125 // prevent to exapose full api 19126 // next props must be exposed (console.log(Object.keys(pick(maps, isPlainObject)))) 19127 // "Animation", "ControlPosition", "MapTypeControlStyle", "MapTypeId", 19128 // "NavigationControlStyle", "ScaleControlStyle", "StrokePosition", 19129 // "SymbolPath", "ZoomControlStyle", 19130 // "event", "DirectionsStatus", "DirectionsTravelMode", "DirectionsUnitSystem", 19131 // "DistanceMatrixStatus", 19132 // "DistanceMatrixElementStatus", "ElevationStatus", "GeocoderLocationType", 19133 // "GeocoderStatus", "KmlLayerStatus", 19134 // "MaxZoomStatus", "StreetViewStatus", "TransitMode", "TransitRoutePreference", 19135 // "TravelMode", "UnitSystem" 19136 var mapPlainObjects = (0, _pick2.default)(maps, _isPlainObject2.default); 19137 var options = typeof _this.props.options === 'function' ? _this.props.options(mapPlainObjects) : _this.props.options; 19138 var defaultOptions = defaultOptions_(mapPlainObjects); 19139 19140 var draggableOptions = !(0, _isEmpty2.default)(_this.props.draggable) && { 19141 draggable: _this.props.draggable 19142 }; 19143 19144 var minZoom = _this._computeMinZoom(options.minZoom); 19145 _this.minZoom_ = minZoom; 19146 19147 var preMapOptions = _extends({}, defaultOptions, { 19148 minZoom: minZoom 19149 }, options, propsOptions); 19150 19151 _this.defaultDraggableOption_ = !(0, _isEmpty2.default)(preMapOptions.draggable) ? preMapOptions.draggable : _this.defaultDraggableOption_; 19152 19153 var mapOptions = _extends({}, preMapOptions, draggableOptions); 19154 19155 mapOptions.minZoom = _checkMinZoom(mapOptions.minZoom, minZoom); 19156 19157 var map = new maps.Map(_reactDom2.default.findDOMNode(_this.googleMapDom_), mapOptions); 19158 19159 _this.map_ = map; 19160 _this.maps_ = maps; 19161 19162 _this._setLayers(_this.props.layerTypes); 19163 19164 // Parse `google.maps.version` to capture the major version number. 19165 var versionMatch = maps.version.match(/^3\.(\d+)\./); 19166 // The major version is the first (and only) captured group. 19167 var mapsVersion = versionMatch && Number(versionMatch[1]); 19168 19169 // render in overlay 19170 var this_ = _this;
19171 var overlay = Object.assign(new maps.OverlayView(), { 19172 onAdd: function onAdd() { 19173 var K_MAX_WIDTH = typeof screen !== 'undefined' ? screen.width + 'px' : '2000px'; 19174 var K_MAX_HEIGHT = typeof screen !== 'undefined' ? screen.height + 'px' : '2000px'; 19175 19176 var div = document.createElement('div'); 19177 div.style.backgroundColor = 'transparent'; 19178 div.style.position = 'absolute'; 19179 div.style.left = '0px'; 19180 div.style.top = '0px'; 19181 div.style.width = K_MAX_WIDTH; // prevents some chrome draw defects 19182 div.style.height = K_MAX_HEIGHT; 19183 19184 if (this_.props.overlayViewDivStyle) { 19185 var overlayViewDivStyle = this_.props.overlayViewDivStyle; 19186 19187 if ((typeof overlayViewDivStyle === 'undefined' ? 'undefined' : _typeof(overlayViewDivStyle)) === 'object') { 19188 Object.keys(overlayViewDivStyle).forEach(function (property) { 19189 div.style[property] = overlayViewDivStyle[property]; 19190 }); 19191 } 19192 } 19193 19194 var panes = this.getPanes(); 19195 panes.overlayMouseTarget.appendChild(div); 19196 this_.geoService_.setMapCanvasProjection(maps, overlay.getProjection()); 19197 19198 if (!IS_REACT_16) { 19199 createPortal(this_, this_._renderPortal(), div, 19200 // remove prerendered markers 19201 function () { 19202 return this_.setState({ overlay: div }); 19203 }); 19204 } else { 19205 this_.setState({ overlay: div }); 19206 } 19207 }, 19208 onRemove: function onRemove() { 19209 var renderedOverlay = this_.state.overlay; 19210 if (renderedOverlay && !IS_REACT_16) { 19211 _reactDom2.default.unmountComponentAtNode(renderedOverlay); 19212 } 19213 this_.setState({ overlay: null }); 19214 }, 19215 draw: function draw() { 19216 this_.updateCounter_++; 19217 this_._onBoundsChanged(map, maps, !this_.props.debounced); 19218 19219 if (!this_.googleApiLoadedCalled_) { 19220 this_._onGoogleApiLoaded({ map: map, maps: maps, ref: this_.googleMapDom_ }); 19221 this_.googleApiLoadedCalled_ = true; 19222 } 19223 19224 if (this_.mouse_) { 19225 var latLng = this_.geoService_.fromContainerPixelToLatLng(this_.mouse_); 19226 this_.mouse_.lat = latLng.lat; 19227 this_.mouse_.lng = latLng.lng; 19228 } 19229 19230 this_._onChildMouseMove(); 19231 19232 if (this_.markersDispatcher_) { 19233 this_.markersDispatcher_.emit('kON_CHANGE'); 19234 if (this_.fireMouseEventOnIdle_) { 19235 this_.markersDispatcher_.emit('kON_MOUSE_POSITION_CHANGE'); 19236 } 19237 } 19238 } 19239 }); 19240 19241 _this.overlay_ = overlay; 19242 19243 overlay.setMap(map); 19244 if (_this.props.heatmap.positions) { 19245 _this.heatmap.setMap(map); 19246 } 19247 19248 if (_this.props.onTilesLoaded) { 19249 maps.event.addListener(map, 'tilesloaded', function () { 19250 this_._onTilesLoaded(); 19251 }); 19252 } 19253 19254 maps.event.addListener(map, 'zoom_changed', function () { 19255 // recalc position at zoom start 19256 if (this_.geoService_.getZoom() !== map.getZoom()) { 19257 if (!this_.zoomAnimationInProgress_) { 19258 this_.zoomAnimationInProgress_ = true; 19259 this_._onZoomAnimationStart(map.zoom); 19260 } 19261 19262 // If draw() is not called each frame during a zoom animation, 19263 // simulate it. 19264 if (mapsVersion < DRAW_CALLED_DURING_ANIMATION_VERSION) { 19265 var TIMEOUT_ZOOM = 300; 19266 19267 if (new Date().getTime() - _this.zoomControlClickTime_ < TIMEOUT_ZOOM) { 19268 // there is strange Google Map Api behavior in chrome when zoom animation of map 19269 // is started only on second raf call, if was click on zoom control 19270 // or +- keys pressed, so i wait for two rafs before change state 19271 19272 // this does not fully prevent animation jump 19273 // but reduce it's occurence probability 19274 (0, _raf2.default)(function () { 19275 return (0, _raf2.default)(function () { 19276 this_.updateCounter_++; 19277 this_._onBoundsChanged(map, maps); 19278 }); 19279 }); 19280 } else { 19281 this_.updateCounter_++; 19282 this_._onBoundsChanged(map, maps); 19283 } 19284 } 19285 } 19286 }); 19287 19288 maps.event.addListener(map, 'idle', function () { 19289 if (_this.resetSizeOnIdle_) {
19290 _this._setViewSize(); 19291 var currMinZoom = _this._computeMinZoom(_this.props.options.minZoom); 19292 19293 if (currMinZoom !== _this.minZoom_) { 19294 _this.minZoom_ = currMinZoom; 19295 map.setOptions({ minZoom: currMinZoom }); 19296 } 19297 19298 _this.resetSizeOnIdle_ = false; 19299 } 19300 19301 if (this_.zoomAnimationInProgress_) { 19302 this_.zoomAnimationInProgress_ = false; 19303 this_._onZoomAnimationEnd(map.zoom); 19304 } 19305 19306 this_.updateCounter_++; 19307 this_._onBoundsChanged(map, maps); 19308 19309 this_.dragTime_ = 0; 19310 19311 if (this_.markersDispatcher_) { 19312 this_.markersDispatcher_.emit('kON_CHANGE'); 19313 } 19314 }); 19315 19316 maps.event.addListener(map, 'mouseover', function () { 19317 // has advantage over div MouseLeave 19318 this_.mouseInMap_ = true; 19319 }); 19320 19321 // an alternative way to know the mouse is back within the map 19322 // This would not fire when clicking/interacting with google maps 19323 // own on-map countrols+markers. This handles an edge case for touch devices 19324 // + 'draggable:false' custom option. See #332 for more details. 19325 maps.event.addListener(map, 'click', function () { 19326 this_.mouseInMap_ = true; 19327 }); 19328 19329 maps.event.addListener(map, 'mouseout', function () { 19330 // has advantage over div MouseLeave 19331 this_.mouseInMap_ = false;
19332 this_.mouse_ = null; 19333 this_.markersDispatcher_.emit('kON_MOUSE_POSITION_CHANGE'); 19334 }); 19335 19336 maps.event.addListener(map, 'drag', function () { 19337 this_.dragTime_ = new Date().getTime(); 19338 this_._onDrag(map); 19339 }); 19340 19341 maps.event.addListener(map, 'dragend', function () { 19342 // 'dragend' fires on mouse release. 19343 // 'idle' listener waits until drag inertia ends before firing `onDragEnd` 19344 var idleListener = maps.event.addListener(map, 'idle', function () { 19345 maps.event.removeListener(idleListener); 19346 this_._onDragEnd(map); 19347 }); 19348 }); 19349 // user choosing satellite vs roads, etc 19350 maps.event.addListener(map, 'maptypeid_changed', function () { 19351 this_._onMapTypeIdChange(map.getMapTypeId()); 19352 }); 19353 }).catch(function (e) { 19354 // notify callback of load failure 19355 _this._onGoogleApiLoaded({ 19356 map: null, 19357 maps: null, 19358 ref: _this.googleMapDom_ 19359 }); 19360 console.error(e); // eslint-disable-line no-console 19361 throw e; 19362 }); 19363 }; 19364 19365 _this._onGoogleApiLoaded = function () { 19366 if (_this.props.onGoogleApiLoaded) { 19367 var _this$props; 19368 19369 if (process.env.NODE_ENV !== 'production' && _this.props.yesIWantToUseGoogleMapApiInternals !== true) { 19370 console.warn('GoogleMap: ' + // eslint-disable-line 19371 'Usage of internal api objects is dangerous ' + 'and can cause a lot of issues.\n' + 'To hide this warning add yesIWantToUseGoogleMapApiInternals={true} ' + 'to <GoogleMap instance'); 19372 } 19373 19374 (_this$props = _this.props).onGoogleApiLoaded.apply(_this$props, arguments); 19375 } 19376 }; 19377 19378 _this._getHoverDistance = function () { 19379 return _this.props.hoverDistance; 19380 }; 19381 19382 _this._onDrag = function () { 19383 var _this$props2; 19384 19385 return _this.props.onDrag && (_this$props2 = _this.props).onDrag.apply(_this$props2, arguments); 19386 }; 19387 19388 _this._onDragEnd = function () { 19389 var _this$props3; 19390 19391 return _this.props.onDragEnd && (_this$props3 = _this.props).onDragEnd.apply(_this$props3, arguments); 19392 }; 19393 19394 _this._onMapTypeIdChange = function () { 19395 var _this$props4; 19396 19397 return _this.props.onMapTypeIdChange && (_this$props4 = _this.props).onMapTypeIdChange.apply(_this$props4, arguments); 19398 }; 19399 19400 _this._onZoomAnimationStart = function () { 19401 var _this$props5; 19402 19403 return _this.props.onZoomAnimationStart && (_this$props5 = _this.props).onZoomAnimationStart.apply(_this$props5, arguments); 19404 }; 19405 19406 _this._onZoomAnimationEnd = function () { 19407 var _this$props6; 19408 19409 return _this.props.onZoomAnimationEnd && (_this$props6 = _this.props).onZoomAnimationEnd.apply(_this$props6, arguments); 19410 }; 19411 19412 _this._onTilesLoaded = function () { 19413 return _this.props.onTilesLoaded && _this.props.onTilesLoaded(); 19414 }; 19415 19416 _this._onChildClick = function () { 19417 if (_this.props.onChildClick) { 19418 var _this$props7; 19419 19420 return (_this$props7 = _this.props).onChildClick.apply(_this$props7, arguments); 19421 } 19422 return undefined; 19423 }; 19424 19425 _this._onChildMouseDown = function (hoverKey, childProps) { 19426 _this.childMouseDownArgs_ = [hoverKey, childProps]; 19427 if (_this.props.onChildMouseDown) { 19428 _this.props.onChildMouseDown(hoverKey, childProps, _extends({}, _this.mouse_)); 19429 } 19430 }; 19431 19432 _this._onChildMouseUp = function () { 19433 if (_this.childMouseDownArgs_) { 19434 if (_this.props.onChildMouseUp) { 19435 var _this$props8; 19436 19437 (_this$props8 = _this.props).onChildMouseUp.apply(_this$props8, _this.childMouseDownArgs_.concat([_extends({}, _this.mouse_)])); 19438 } 19439 _this.childMouseDownArgs_ = null; 19440 _this.childMouseUpTime_ = new Date().getTime(); 19441 } 19442 }; 19443 19444 _this._onChildMouseMove = function () { 19445 if (_this.childMouseDownArgs_) { 19446 if (_this.props.onChildMouseMove) { 19447 var _this$props9; 19448 19449 (_this$props9 = _this.props).onChildMouseMove.apply(_this$props9, _this.childMouseDownArgs_.concat([_extends({}, _this.mouse_)])); 19450 } 19451 } 19452 }; 19453 19454 _this._onChildMouseEnter = function () { 19455 if (_this.props.onChildMouseEnter) { 19456 var _this$props10; 19457 19458 return (_this$props10 = _this.props).onChildMouseEnter.apply(_this$props10, arguments); 19459 } 19460 return undefined; 19461 }; 19462 19463 _this._onChildMouseLeave = function () { 19464 if (_this.props.onChildMouseLeave) { 19465 var _this$props11; 19466 19467 return (_this$props11 = _this.props).onChildMouseLeave.apply(_this$props11, arguments); 19468 } 19469 return undefined; 19470 }; 19471
19472 _this._setViewSize = function () { 19473 if (!_this.mounted_) return; 19474 if (isFullScreen()) { 19475 _this.geoService_.setViewSize(window.innerWidth, window.innerHeight); 19476 } else { 19477 var mapDom = _reactDom2.default.findDOMNode(_this.googleMapDom_); 19478 _this.geoService_.setViewSize(mapDom.clientWidth, mapDom.clientHeight); 19479 } 19480 _this._onBoundsChanged(); 19481 }; 19482 19483 _this._onWindowResize = function () { 19484 _this.resetSizeOnIdle_ = true; 19485 }; 19486 19487 _this._onMapMouseMove = function (e) { 19488 if (!_this.mouseInMap_) return; 19489 19490 var currTime = new Date().getTime(); 19491 var K_RECALC_CLIENT_RECT_MS = 50; 19492 19493 if (currTime - _this.mouseMoveTime_ > K_RECALC_CLIENT_RECT_MS) { 19494 _this.boundingRect_ = e.currentTarget.getBoundingClientRect(); 19495 } 19496 _this.mouseMoveTime_ = currTime; 19497 19498 var mousePosX = e.clientX - _this.boundingRect_.left; 19499 var mousePosY = e.clientY - _this.boundingRect_.top; 19500 19501 if (!_this.mouse_) { 19502 _this.mouse_ = { x: 0, y: 0, lat: 0, lng: 0 }; 19503 } 19504 19505 _this.mouse_.x = mousePosX; 19506 _this.mouse_.y = mousePosY; 19507 19508 var latLng = _this.geoService_.fromContainerPixelToLatLng(_this.mouse_); 19509 _this.mouse_.lat = latLng.lat; 19510 _this.mouse_.lng = latLng.lng; 19511 19512 _this._onChildMouseMove(); 19513 19514 if (currTime - _this.dragTime_ < K_IDLE_TIMEOUT) { 19515 _this.fireMouseEventOnIdle_ = true; 19516 } else { 19517 _this.markersDispatcher_.emit('kON_MOUSE_POSITION_CHANGE'); 19518 _this.fireMouseEventOnIdle_ = false; 19519 } 19520 }; 19521 19522 _this._onClick = function () { 19523 var _this$props12; 19524 19525 return _this.props.onClick && !_this.childMouseDownArgs_ && new Date().getTime() - _this.childMouseUpTime_ > K_IDLE_CLICK_TIMEOUT && _this.dragTime_ === 0 && (_this$props12 = _this.props).onClick.apply(_this$props12, arguments); 19526 }; 19527 19528 _this._onMapClick = function (event) { 19529 if (_this.markersDispatcher_) { 19530 // support touch events and recalculate mouse position on click 19531 _this._onMapMouseMove(event); 19532 var currTime = new Date().getTime(); 19533 if (currTime - _this.dragTime_ > K_IDLE_TIMEOUT) { 19534 if (_this.mouse_) { 19535 _this._onClick(_extends({}, _this.mouse_, { 19536 event: event 19537 })); 19538 } 19539 19540 _this.markersDispatcher_.emit('kON_CLICK', event); 19541 } 19542 } 19543 }; 19544 19545 _this._onMapMouseDownNative = function (event) { 19546 if (!_this.mouseInMap_) return; 19547 19548 _this._onMapMouseDown(event); 19549 }; 19550 19551 _this._onMapMouseDown = function (event) { 19552 if (_this.markersDispatcher_) { 19553 var currTime = new Date().getTime(); 19554 if (currTime - _this.dragTime_ > K_IDLE_TIMEOUT) { 19555 // Hovered marker detected at mouse move could be deleted at mouse down time 19556 // so it will be good to force hovered marker recalculation 19557 _this._onMapMouseMove(event); 19558 _this.markersDispatcher_.emit('kON_MDOWN', event); 19559 } 19560 } 19561 }; 19562 19563 _this._onMapMouseDownCapture = function () { 19564 if ((0, _detect2.default)().isChrome) { 19565 // to fix strange zoom in chrome 19566 _this.zoomControlClickTime_ = new Date().getTime(); 19567 } 19568 }; 19569 19570 _this._onKeyDownCapture = function () { 19571 if ((0, _detect2.default)().isChrome) { 19572 _this.zoomControlClickTime_ = new Date().getTime(); 19573 } 19574 }; 19575 19576 _this._isCenterDefined = function (center) { 19577 return center && ((0, _isPlainObject2.default)(center) && (0, _isNumber2.default)(center.lat) && (0, _isNumber2.default)(center.lng) || center.length === 2 && (0, _isNumber2.default)(center[0]) && (0, _isNumber2.default)(center[1])); 19578 }; 19579 19580 _this._onBoundsChanged = function (map, maps, callExtBoundsChange) { 19581 if (map) { 19582 var gmC = map.getCenter(); 19583 _this.geoService_.setView([gmC.lat(), gmC.lng()], map.getZoom(), 0); 19584 } 19585 19586 if ((_this.props.onChange || _this.props.onBoundsChange) && _this.geoService_.canProject()) { 19587 var zoom = _this.geoService_.getZoom(); 19588 var bounds = _this.geoService_.getBounds(); 19589 var centerLatLng = _this.geoService_.getCenter(); 19590 19591 if (!(0, _isArraysEqualEps2.default)(bounds, _this.prevBounds_, kEPS)) { 19592 if (callExtBoundsChange !== false) { 19593 var marginBounds = _this.geoService_.getBounds(_this.props.margin); 19594 if (_this.props.onBoundsChange) { 19595 _this.props.onBoundsChange(_this.centerIsObject_ ? _extends({}, centerLatLng) : [centerLatLng.lat, centerLatLng.lng], zoom, bounds, marginBounds); 19596 } 19597 19598 if (_this.props.onChange) { 19599 _this.props.onChange({ 19600 center: _extends({}, centerLatLng), 19601 zoom: zoom, 19602 bounds: { 19603 nw: { 19604 lat: bounds[0], 19605 lng: bounds[1] 19606 }, 19607 se: { 19608 lat: bounds[2], 19609 lng: bounds[3] 19610 }, 19611 sw: { 19612 lat: bounds[4], 19613 lng: bounds[5] 19614 }, 19615 ne: { 19616 lat: bounds[6], 19617 lng: bounds[7] 19618 } 19619 }, 19620 marginBounds: { 19621 nw: { 19622 lat: marginBounds[0], 19623 lng: marginBounds[1] 19624 }, 19625 se: { 19626 lat: marginBounds[2], 19627 lng: marginBounds[3] 19628 }, 19629 sw: { 19630 lat: marginBounds[4], 19631 lng: marginBounds[5] 19632 }, 19633 ne: { 19634 lat: marginBounds[6], 19635 lng: marginBounds[7] 19636 } 19637 }, 19638 19639 size: _this.geoService_.hasSize() ? { 19640 width: _this.geoService_.getWidth(), 19641 height: _this.geoService_.getHeight() 19642 } : { 19643 width: 0, 19644 height: 0 19645 } 19646 }); 19647 } 19648 19649 _this.prevBounds_ = bounds; 19650 } 19651 } 19652 } 19653 }; 19654 19655 _this._registerChild = function (ref) { 19656 _this.googleMapDom_ = ref; 19657 }; 19658 19659 _this.mounted_ = false;
19660 _this.initialized_ = false; 19661 _this.googleApiLoadedCalled_ = false; 19662 19663 _this.map_ = null; 19664 _this.maps_ = null; 19665 _this.prevBounds_ = null; 19666 _this.heatmap = null; 19667 19668 _this.layers_ = {}; 19669 19670 _this.mouse_ = null; 19671 _this.mouseMoveTime_ = 0; 19672 _this.boundingRect_ = null; 19673 _this.mouseInMap_ = true; 19674 19675 _this.dragTime_ = 0; 19676 _this.fireMouseEventOnIdle_ = false; 19677 _this.updateCounter_ = 0; 19678 19679 _this.markersDispatcher_ = new _marker_dispatcher2.default(_this); 19680 _this.geoService_ = new _geo2.default(K_GOOGLE_TILE_SIZE); 19681 _this.centerIsObject_ = (0, _isPlainObject2.default)(_this.props.center); 19682 19683 _this.minZoom_ = DEFAULT_MIN_ZOOM; 19684 _this.defaultDraggableOption_ = true; 19685 19686 _this.zoomControlClickTime_ = 0; 19687 19688 _this.childMouseDownArgs_ = null; 19689 _this.childMouseUpTime_ = 0; 19690 19691 _this.googleMapDom_ = null; 19692 19693 if (process.env.NODE_ENV !== 'production') { 19694 if (_this.props.apiKey) { 19695 console.warn('GoogleMap: ' + // eslint-disable-line no-console 19696 'apiKey is deprecated, use ' + 'bootstrapURLKeys={{key: YOUR_API_KEY}} instead.'); 19697 } 19698 19699 if (_this.props.onBoundsChange) { 19700 console.warn('GoogleMap: ' + // eslint-disable-line no-console 19701 'onBoundsChange is deprecated, use ' + 'onChange({center, zoom, bounds, ...other}) instead.'); 19702 } 19703 19704 if ((0, _isEmpty2.default)(_this.props.center) && (0, _isEmpty2.default)(_this.props.defaultCenter)) { 19705 console.warn('GoogleMap: center or defaultCenter property must be defined' // eslint-disable-line no-console 19706 ); 19707 } 19708 19709 if ((0, _isEmpty2.default)(_this.props.zoom) && (0, _isEmpty2.default)(_this.props.defaultZoom)) { 19710 console.warn('GoogleMap: zoom or defaultZoom property must be defined' // eslint-disable-line no-console 19711 ); 19712 } 19713 } 19714 19715 if (_this._isCenterDefined(_this.props.center || _this.props.defaultCenter)) { 19716 var propsCenter = latLng2Obj(_this.props.center || _this.props.defaultCenter); 19717 _this.geoService_.setView(propsCenter, _this.props.zoom || _this.props.defaultZoom, 0); 19718 } 19719 19720 _this.zoomAnimationInProgress_ = false; 19721 19722 _this.state = { 19723 overlay: null 19724 }; 19725 return _this; 19726 } 19727 19728 GoogleMap.prototype.componentDidMount = function componentDidMount() { 19729 var _this2 = this; 19730 19731 this.mounted_ = true; 19732 (0, _passiveEvents2.default)(window, 'resize', this._onWindowResize, false); 19733 (0, _passiveEvents2.default)(window, 'keydown', this._onKeyDownCapture, true); 19734 var mapDom = _reactDom2.default.findDOMNode(this.googleMapDom_); 19735 // gmap can't prevent map drag if mousedown event already occured 19736 // the only workaround I find is prevent mousedown native browser event 19737 19738 if (mapDom) { 19739 (0, _passiveEvents2.default)(mapDom, 'mousedown', this._onMapMouseDownNative, true); 19740 } 19741 19742 (0, _passiveEvents2.default)(window, 'mouseup', this._onChildMouseUp, false); 19743 var bootstrapURLKeys = _extends({}, this.props.apiKey && { key: this.props.apiKey }, this.props.bootstrapURLKeys); 19744 19745 this.props.googleMapLoader(bootstrapURLKeys, this.props.heatmapLibrary); // we can start load immediatly 19746 19747 setTimeout(function () { 19748 // to detect size 19749 _this2._setViewSize(); 19750 if (_this2._isCenterDefined(_this2.props.center || _this2.props.defaultCenter)) { 19751 _this2._initMap(); 19752 } 19753 }, 0, this); 19754 if (this.props.resetBoundsOnResize) { 19755 var that = this; 19756 _detectElementResize2.default.addResizeListener(mapDom, that._mapDomResizeCallback); 19757 } 19758 }; 19759 19760 GoogleMap.prototype.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) { 19761 var _this3 = this; 19762 19763 if (process.env.NODE_ENV !== 'production') { 19764 if (!(0, _shallowEqual2.default)(this.props.defaultCenter, nextProps.defaultCenter)) { 19765 console.warn("GoogleMap: defaultCenter prop changed. You can't change default props."); 19766 } 19767 19768 if (!(0, _shallowEqual2.default)(this.props.defaultZoom, nextProps.defaultZoom)) { 19769 console.warn("GoogleMap: defaultZoom prop changed. You can't change default props."); 19770 } 19771 } 19772 19773 if (!this._isCenterDefined(this.props.center) && this._isCenterDefined(nextProps.center)) { 19774 setTimeout(function () { 19775 return _this3._initMap(); 19776 }, 0); 19777 } 19778 19779 if (this.map_) { 19780 var centerLatLng = this.geoService_.getCenter(); 19781 if (this._isCenterDefined(nextProps.center)) { 19782 var nextPropsCenter = latLng2Obj(nextProps.center); 19783 var currCenter = this._isCenterDefined(this.props.center) ? latLng2Obj(this.props.center) : null; 19784 19785 if (!currCenter || Math.abs(nextPropsCenter.lat - currCenter.lat) + Math.abs(nextPropsCenter.lng - currCenter.lng) > kEPS) { 19786 if (Math.abs(nextPropsCenter.lat - centerLatLng.lat) + Math.abs(nextPropsCenter.lng - centerLatLng.lng) > kEPS) { 19787 this.map_.panTo({ 19788 lat: nextPropsCenter.lat, 19789 lng: nextPropsCenter.lng 19790 }); 19791 } 19792 } 19793 } 19794 19795 if (!(0, _isEmpty2.default)(nextProps.zoom)) { 19796 // if zoom chaged by user 19797 if (Math.abs(nextProps.zoom - this.props.zoom) > 0) { 19798 this.map_.setZoom(nextProps.zoom); 19799 } 19800 } 19801 19802 if (!(0, _isEmpty2.default)(this.props.draggable) && (0, _isEmpty2.default)(nextProps.draggable)) { 19803 // reset to default 19804 this.map_.setOptions({ draggable: this.defaultDraggableOption_ }); 19805 } else if (!(0, _shallowEqual2.default)(this.props.draggable, nextProps.draggable)) { 19806 // also prevent this on window 'mousedown' event to prevent map move 19807 this.map_.setOptions({ draggable: nextProps.draggable }); 19808 } 19809 19810 // use shallowEqual to try avoid calling map._setOptions if only the ref changes 19811 if (!(0, _isEmpty2.default)(nextProps.options) && !(0, _shallowEqual2.default)(this.props.options, nextProps.options)) { 19812 var mapPlainObjects = (0, _pick2.default)(this.maps_, _isPlainObject2.default); 19813 var options = typeof nextProps.options === 'function' ? nextProps.options(mapPlainObjects) : nextProps.options; 19814 // remove zoom, center and draggable options as these are managed by google-maps-react 19815 options = (0, _omit2.default)(options, ['zoom', 'center', 'draggable']); 19816 19817 if ('minZoom' in options) { 19818 var minZoom = this._computeMinZoom(options.minZoom); 19819 options.minZoom = _checkMinZoom(options.minZoom, minZoom); 19820 } 19821 19822 this.map_.setOptions(options); 19823 } 19824 19825 if (!(0, _shallowEqual2.default)(nextProps.layerTypes, this.props.layerTypes)) { 19826 Object.keys(this.layers_).forEach(function (layerKey) { 19827 _this3.layers_[layerKey].setMap(null); 19828 delete _this3.layers_[layerKey]; 19829 }); 19830 this._setLayers(nextProps.layerTypes); 19831 } 19832 19833 if (this.heatmap && !(0, _shallowEqual2.default)(nextProps.heatmap.positions, this.props.heatmap.positions)) { 19834 this.heatmap.setData(nextProps.heatmap.positions.map(function (p) { 19835 return { 19836 location: new _this3.maps_.LatLng(p.lat, p.lng), 19837 weight: p.weight 19838 }; 19839 })); 19840 } 19841 } 19842 }; 19843 19844 GoogleMap.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) { 19845 // draggable does not affect inner components 19846 return !(0, _shallowEqual2.default)((0, _omit2.default)(this.props, ['draggable']), (0, _omit2.default)(nextProps, ['draggable'])) || !(0, _shallowEqual2.default)(this.state, nextState); 19847 }; 19848 19849 GoogleMap.prototype.componentDidUpdate = function componentDidUpdate(prevProps) { 19850 this.markersDispatcher_.emit('kON_CHANGE'); 19851 19852 if (!(0, _shallowEqual2.default)(this.props.hoverDistance, prevProps.hoverDistance)) { 19853 this.markersDispatcher_.emit('kON_MOUSE_POSITION_CHANGE'); 19854 } 19855 }; 19856 19857 GoogleMap.prototype.componentWillUnmount = function componentWillUnmount() { 19858 this.mounted_ = false;
19859 var mapDom = _reactDom2.default.findDOMNode(this.googleMapDom_); 19860 if (mapDom) { 19861 mapDom.removeEventListener('mousedown', this._onMapMouseDownNative, true); 19862 } 19863 window.removeEventListener('resize', this._onWindowResize); 19864 window.removeEventListener('keydown', this._onKeyDownCapture); 19865 window.removeEventListener('mouseup', this._onChildMouseUp, false); 19866 if (this.props.resetBoundsOnResize) { 19867 _detectElementResize2.default.removeResizeListener(mapDom, this._mapDomResizeCallback); 19868 } 19869 19870 if (this.overlay_) { 19871 // this triggers overlay_.onRemove(), which will unmount the <GoogleMapMarkers/> 19872 this.overlay_.setMap(null); 19873 } 19874 19875 if (this.maps_ && this.map_ && this.props.shouldUnregisterMapOnUnmount) { 19876 // fix google, as otherwise listeners works even without map 19877 this.map_.setOptions({ scrollwheel: false }); 19878 this.maps_.event.clearInstanceListeners(this.map_); 19879 } 19880 19881 if (this.props.shouldUnregisterMapOnUnmount) { 19882 this.map_ = null; 19883 this.maps_ = null; 19884 } 19885 this.markersDispatcher_.dispose(); 19886 19887 this.resetSizeOnIdle_ = false; 19888 19889 if (this.props.shouldUnregisterMapOnUnmount) { 19890 delete this.map_; 19891 delete this.markersDispatcher_; 19892 } 19893 }; 19894 // calc minZoom if map size available 19895 // it's better to not set minZoom less than this calculation gives 19896 // otherwise there is no homeomorphism between screen coordinates and map 19897 // (one map coordinate can have different screen coordinates) 19898 19899 19900 // this method works only if this.props.onChildMouseDown was called 19901 19902 19903 // this method works only if this.props.onChildMouseDown was called 19904 19905 19906 // K_IDLE_CLICK_TIMEOUT - looks like 300 is enough 19907 19908 19909 // gmap can't prevent map drag if mousedown event already occured 19910 // the only workaround I find is prevent mousedown native browser event 19911 19912 19913 GoogleMap.prototype.render = function render() { 19914 var overlay = this.state.overlay; 19915 var mapMarkerPrerender = !overlay ? _react2.default.createElement(_google_map_markers_prerender2.default, { 19916 experimental: this.props.experimental, 19917 onChildClick: this._onChildClick, 19918 onChildMouseDown: this._onChildMouseDown, 19919 onChildMouseEnter: this._onChildMouseEnter, 19920 onChildMouseLeave: this._onChildMouseLeave, 19921 geoService: this.geoService_, 19922 insideMapPanes: false, 19923 distanceToMouse: this.props.distanceToMouse, 19924 getHoverDistance: this._getHoverDistance, 19925 dispatcher: this.markersDispatcher_ 19926 }) : null; 19927 19928 return _react2.default.createElement( 19929 'div', 19930 { 19931 style: this.props.style, 19932 onMouseMove: this._onMapMouseMove, 19933 onMouseDownCapture: this._onMapMouseDownCapture, 19934 onClick: this._onMapClick 19935 }, 19936 _react2.default.createElement(_google_map_map2.default, { registerChild: this._registerChild }), 19937 IS_REACT_16 && overlay && createPortal(this._renderPortal(), overlay), 19938 mapMarkerPrerender 19939 ); 19940 }; 19941 19942 return GoogleMap; 19943}(_react.Component); 19944 19945GoogleMap.propTypes = { 19946 apiKey: _propTypes2.default.string, 19947 bootstrapURLKeys: _propTypes2.default.any, 19948 19949 defaultCenter: _propTypes2.default.oneOfType([_propTypes2.default.array, _propTypes2.default.shape({ 19950 lat: _propTypes2.default.number, 19951 lng: _propTypes2.default.number 19952 })]), 19953 center: _propTypes2.default.oneOfType([_propTypes2.default.array, _propTypes2.default.shape({ 19954 lat: _propTypes2.default.number, 19955 lng: _propTypes2.default.number 19956 })]), 19957 defaultZoom: _propTypes2.default.number, 19958 zoom: _propTypes2.default.number, 19959 onBoundsChange: _propTypes2.default.func, 19960 onChange: _propTypes2.default.func, 19961 onClick: _propTypes2.default.func, 19962 onChildClick: _propTypes2.default.func, 19963 onChildMouseDown: _propTypes2.default.func, 19964 onChildMouseUp: _propTypes2.default.func, 19965 onChildMouseMove: _propTypes2.default.func, 19966 onChildMouseEnter: _propTypes2.default.func, 19967 onChildMouseLeave: _propTypes2.default.func, 19968 onZoomAnimationStart: _propTypes2.default.func, 19969 onZoomAnimationEnd: _propTypes2.default.func, 19970 onDrag: _propTypes2.default.func, 19971 onDragEnd: _propTypes2.default.func, 19972 onMapTypeIdChange: _propTypes2.default.func,
19973 onTilesLoaded: _propTypes2.default.func, 19974 options: _propTypes2.default.any, 19975 distanceToMouse: _propTypes2.default.func, 19976 hoverDistance: _propTypes2.default.number, 19977 debounced: _propTypes2.default.bool, 19978 margin: _propTypes2.default.array, 19979 googleMapLoader: _propTypes2.default.any, 19980 onGoogleApiLoaded: _propTypes2.default.func, 19981 yesIWantToUseGoogleMapApiInternals: _propTypes2.default.bool, 19982 draggable: _propTypes2.default.bool, 19983 style: _propTypes2.default.any, 19984 resetBoundsOnResize: _propTypes2.default.bool, 19985 layerTypes: _propTypes2.default.arrayOf(_propTypes2.default.string), // ['TransitLayer', 'TrafficLayer'] 19986 shouldUnregisterMapOnUnmount: _propTypes2.default.bool 19987}; 19988GoogleMap.defaultProps = { 19989 distanceToMouse: function distanceToMouse(pt, mousePos /* , markerProps */) { 19990 return Math.sqrt((pt.x - mousePos.x) * (pt.x - mousePos.x) + (pt.y - mousePos.y) * (pt.y - mousePos.y)); 19991 }, 19992 19993 hoverDistance: 30, 19994 debounced: true, 19995 options: defaultOptions_, 19996 googleMapLoader: _google_map_loader2.default, 19997 yesIWantToUseGoogleMapApiInternals: false, 19998 style: { 19999 width: '100%', 20000 height: '100%', 20001 margin: 0, 20002 padding: 0, 20003 position: 'relative' 20004 }, 20005 layerTypes: [], 20006 heatmap: {}, 20007 heatmapLibrary: false, 20008 shouldUnregisterMapOnUnmount: true 20009}; 20010GoogleMap.googleMapLoader = _google_map_loader2.default; 20011exports.default = GoogleMap; 20012/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20))) 20013 20014/***/ }), 20015/* 212 */ 20016/***/ (function(module, exports, __webpack_require__) { 20017 20018"use strict"; 20019 20020 20021exports.__esModule = true; 20022 20023var _react = __webpack_require__(1); 20024 20025var _react2 = _interopRequireDefault(_react); 20026 20027function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 20028 20029function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 20030 20031function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 20032 20033function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 20034 20035var style = { 20036 width: '100%', 20037 height: '100%', 20038 left: 0, 20039 top: 0, 20040 margin: 0, 20041 padding: 0, 20042 position: 'absolute' 20043}; 20044 20045var GoogleMapMap = function (_Component) { 20046 _inherits(GoogleMapMap, _Component); 20047 20048 function GoogleMapMap() { 20049 _classCallCheck(this, GoogleMapMap); 20050 20051 return _possibleConstructorReturn(this, _Component.apply(this, arguments)); 20052 } 20053 20054 GoogleMapMap.prototype.shouldComponentUpdate = function shouldComponentUpdate() { 20055 return false; // disable react on this div 20056 }; 20057 20058 GoogleMapMap.prototype.render = function render() { 20059 var registerChild = this.props.registerChild; 20060 20061 return _react2.default.createElement('div', { ref: registerChild, style: style }); 20062 }; 20063 20064 return GoogleMapMap; 20065}(_react.Component); 20066 20067exports.default = GoogleMapMap; 20068 20069/***/ }), 20070/* 213 */ 20071/***/ (function(module, exports, __webpack_require__) { 20072 20073"use strict"; 20074 20075 20076exports.__esModule = true; 20077 20078var _eventemitter = __webpack_require__(214); 20079 20080var _eventemitter2 = _interopRequireDefault(_eventemitter); 20081 20082function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 20083 20084function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 20085 20086function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 20087 20088function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
20088onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 20089 20090var MarkerDispatcher = function (_EventEmitter) { 20091 _inherits(MarkerDispatcher, _EventEmitter); 20092 20093 function MarkerDispatcher(gmapInstance) { 20094 _classCallCheck(this, MarkerDispatcher); 20095 20096 var _this = _possibleConstructorReturn(this, _EventEmitter.call(this)); 20097 20098 _this.gmapInstance = gmapInstance; 20099 return _this; 20100 } 20101 20102 MarkerDispatcher.prototype.getChildren = function getChildren() { 20103 return this.gmapInstance.props.children; 20104 }; 20105 20106 MarkerDispatcher.prototype.getMousePosition = function getMousePosition() { 20107 return this.gmapInstance.mouse_; 20108 }; 20109 20110 MarkerDispatcher.prototype.getUpdateCounter = function getUpdateCounter() { 20111 return this.gmapInstance.updateCounter_; 20112 }; 20113 20114 MarkerDispatcher.prototype.dispose = function dispose() { 20115 this.gmapInstance = null; 20116 this.removeAllListeners(); 20117 }; 20118 20119 return MarkerDispatcher; 20120}(_eventemitter2.default); 20121 20122exports.default = MarkerDispatcher; 20123 20124/***/ }), 20125/* 214 */ 20126/***/ (function(module, exports, __webpack_require__) { 20127 20128"use strict"; 20129 20130 20131var has = Object.prototype.hasOwnProperty; 20132 20133// 20134// We store our EE objects in a plain object whose properties are event names. 20135// If `Object.create(null)` is not supported we prefix the event names with a 20136// `~` to make sure that the built-in object properties are not overridden or 20137// used as an attack vector. 20138// We also assume that `Object.create(null)` is available when the event name 20139// is an ES6 Symbol. 20140// 20141var prefix = typeof Object.create !== 'function' ? '~' : false; 20142 20143/** 20144 * Representation of a single EventEmitter function. 20145 * 20146 * @param {Function} fn Event handler to be called. 20147 * @param {Mixed} context Context for function execution. 20148 * @param {Boolean} [once=false] Only emit once 20149 * @api private 20150 */ 20151function EE(fn, context, once) { 20152 this.fn = fn; 20153 this.context = context; 20154 this.once = once || false; 20155} 20156 20157/** 20158 * Minimal EventEmitter interface that is molded against the Node.js 20159 * EventEmitter interface. 20160 * 20161 * @constructor 20162 * @api public 20163 */ 20164function EventEmitter() { /* Nothing to set */ } 20165 20166/** 20167 * Hold the assigned EventEmitters by name. 20168 * 20169 * @type {Object} 20170 * @private 20171 */ 20172EventEmitter.prototype._events = undefined; 20173 20174/** 20175 * Return an array listing the events for which the emitter has registered 20176 * listeners. 20177 * 20178 * @returns {Array} 20179 * @api public 20180 */ 20181EventEmitter.prototype.eventNames = function eventNames() { 20182 var events = this._events 20183 , names = [] 20184 , name; 20185 20186 if (!events) return names; 20187 20188 for (name in events) { 20189 if (has.call(events, name)) names.push(prefix ? name.slice(1) : name); 20190 } 20191 20192 if (Object.getOwnPropertySymbols) { 20193 return names.concat(Object.getOwnPropertySymbols(events)); 20194 } 20195 20196 return names; 20197}; 20198 20199/** 20200 * Return a list of assigned event listeners. 20201 * 20202 * @param {String} event The events that should be listed. 20203 * @param {Boolean} exists We only need to know if there are listeners. 20204 * @returns {Array|Boolean} 20205 * @api public 20206 */ 20207EventEmitter.prototype.listeners = function listeners(event, exists) { 20208 var evt = prefix ? prefix + event : event 20209 , available = this._events && this._events[evt]; 20210 20211 if (exists) return !!available; 20212 if (!available) return []; 20213 if (available.fn) return [available.fn]; 20214 20215 for (var i = 0, l = available.length, ee = new Array(l); i < l; i++) { 20216 ee[i] = available[i].fn; 20217 } 20218 20219 return ee; 20220}; 20221 20222/** 20223 * Emit an event to all registered event listeners. 20224 * 20225 * @param {String} event The name of the event. 20226 * @returns {Boolean} Indication if we've emitted an event. 20227 * @api public 20228 */ 20229EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) { 20230 var evt = prefix ? prefix + event : event; 20231 20232 if (!this._events || !this._events[evt]) return false; 20233 20234 var listeners = this._events[evt] 20235 , len = arguments.length 20236 , args 20237 , i; 20238 20239 if ('function' === typeof listeners.fn) { 20240 if (listeners.once) this.removeListener(event, listeners.fn, undefined, true); 20241 20242 switch (len) { 20243 case 1: return listeners.fn.call(listeners.context), true; 20244 case 2: return listeners.fn.call(listeners.context, a1), true; 20245 case 3: return listeners.fn.call(listeners.context, a1, a2), true; 20246 case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true; 20247 case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true; 20248 case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true; 20249 } 20250 20251 for (i = 1, args = new Array(len -1); i < len; i++) { 20252 args[i - 1] = arguments[i]; 20253 } 20254
20255 listeners.fn.apply(listeners.context, args); 20256 } else { 20257 var length = listeners.length 20258 , j; 20259 20260 for (i = 0; i < length; i++) { 20261 if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true); 20262 20263 switch (len) { 20264 case 1: listeners[i].fn.call(listeners[i].context); break; 20265 case 2: listeners[i].fn.call(listeners[i].context, a1); break; 20266 case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break; 20267 default: 20268 if (!args) for (j = 1, args = new Array(len -1); j < len; j++) { 20269 args[j - 1] = arguments[j]; 20270 } 20271 20272 listeners[i].fn.apply(listeners[i].context, args); 20273 } 20274 } 20275 } 20276 20277 return true; 20278}; 20279 20280/** 20281 * Register a new EventListener for the given event. 20282 * 20283 * @param {String} event Name of the event. 20284 * @param {Function} fn Callback function. 20285 * @param {Mixed} [context=this] The context of the function. 20286 * @api public 20287 */ 20288EventEmitter.prototype.on = function on(event, fn, context) { 20289 var listener = new EE(fn, context || this) 20290 , evt = prefix ? prefix + event : event; 20291 20292 if (!this._events) this._events = prefix ? {} : Object.create(null); 20293 if (!this._events[evt]) this._events[evt] = listener; 20294 else { 20295 if (!this._events[evt].fn) this._events[evt].push(listener); 20296 else this._events[evt] = [ 20297 this._events[evt], listener 20298 ]; 20299 } 20300 20301 return this; 20302}; 20303 20304/** 20305 * Add an EventListener that's only called once. 20306 * 20307 * @param {String} event Name of the event. 20308 * @param {Function} fn Callback function. 20309 * @param {Mixed} [context=this] The context of the function. 20310 * @api public 20311 */ 20312EventEmitter.prototype.once = function once(event, fn, context) { 20313 var listener = new EE(fn, context || this, true) 20314 , evt = prefix ? prefix + event : event; 20315 20316 if (!this._events) this._events = prefix ? {} : Object.create(null); 20317 if (!this._events[evt]) this._events[evt] = listener; 20318 else { 20319 if (!this._events[evt].fn) this._events[evt].push(listener); 20320 else this._events[evt] = [ 20321 this._events[evt], listener 20322 ]; 20323 } 20324 20325 return this; 20326}; 20327 20328/** 20329 * Remove event listeners. 20330 * 20331 * @param {String} event The event we want to remove. 20332 * @param {Function} fn The listener that we need to find. 20333 * @param {Mixed} context Only remove listeners matching this context. 20334 * @param {Boolean} once Only remove once listeners. 20335 * @api public 20336 */ 20337EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) { 20338 var evt = prefix ? prefix + event : event; 20339 20340 if (!this._events || !this._events[evt]) return this; 20341 20342 var listeners = this._events[evt] 20343 , events = []; 20344 20345 if (fn) { 20346 if (listeners.fn) { 20347 if ( 20348 listeners.fn !== fn 20349 || (once && !listeners.once) 20350 || (context && listeners.context !== context) 20351 ) { 20352 events.push(listeners); 20353 } 20354 } else { 20355 for (var i = 0, length = listeners.length; i < length; i++) { 20356 if ( 20357 listeners[i].fn !== fn 20358 || (once && !listeners[i].once) 20359 || (context && listeners[i].context !== context) 20360 ) { 20361 events.push(listeners[i]); 20362 } 20363 } 20364 } 20365 } 20366 20367 // 20368 // Reset the array, or remove it completely if we have no more listeners. 20369 // 20370 if (events.length) { 20371 this._events[evt] = events.length === 1 ? events[0] : events; 20372 } else { 20373 delete this._events[evt]; 20374 } 20375 20376 return this; 20377}; 20378 20379/** 20380 * Remove all listeners or only the listeners for the specified event. 20381 * 20382 * @param {String} event The event want to remove all listeners for. 20383 * @api public 20384 */ 20385EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) { 20386 if (!this._events) return this; 20387 20388 if (event) delete this._events[prefix ? prefix + event : event]; 20389 else this._events = prefix ? {} : Object.create(null); 20390 20391 return this; 20392}; 20393 20394// 20395// Alias methods names because people roll like that. 20396// 20397EventEmitter.prototype.off = EventEmitter.prototype.removeListener; 20398EventEmitter.prototype.addListener = EventEmitter.prototype.on; 20399 20400// 20401// This function doesn't apply anymore. 20402// 20403EventEmitter.prototype.setMaxListeners = function setMaxListeners() { 20404 return this; 20405}; 20406 20407// 20408// Expose the prefix. 20409// 20410EventEmitter.prefixed = prefix; 20411 20412// 20413// Expose the module. 20414// 20415if (true) { 20416 module.exports = EventEmitter; 20417} 20418 20419 20420/***/ }), 20421/* 215 */ 20422/***/ (function(module, exports, __webpack_require__) { 20423 20424"use strict"; 20425 20426 20427exports.__esModule = true; 20428 20429var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; 20430 20431exports.default = function (props) { 20432 return _react2.default.createElement( 20433 'div', 20434 { style: style }, 20435 _react2.default.createElement(_google_map_markers2.default, _extends({}, props, { prerender: true })) 20436 ); 20437}; 20438 20439var _react = __webpack_require__(1); 20440 20441var _react2 = _interopRequireDefault(_react); 20442 20443var _google_map_markers = __webpack_require__(176); 20444 20445var _google_map_markers2 = _interopRequireDefault(_google_map_markers); 20446 20447function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 20448 20449var style = { 20450 width: '50%', 20451 height: '50%', 20452 left: '50%', 20453 top: '50%', 20454 // backgroundColor: 'red', 20455 margin: 0, 20456 padding: 0, 20457 position: 'absolute' 20458 // opacity: 0.3 20459}; 20460 20461/***/ }), 20462/* 216 */ 20463/***/ (function(module, exports, __webpack_require__) { 20464 20465"use strict"; 20466 20467 20468exports.__esModule = true; 20469var generateHeatmap = exports.generateHeatmap = function generateHeatmap(instance, _ref) { 20470 var positions = _ref.positions; 20471 return new instance.visualization.HeatmapLayer({ 20472 data: positions.reduce(function (acc, _ref2) { 20473 var lat = _ref2.lat, 20474 lng = _ref2.lng, 20475 _ref2$weight = _ref2.weight, 20476 weight = _ref2$weight === undefined ? 1 : _ref2$weight; 20477 20478 acc.push({ 20479 location: new instance.LatLng(lat, lng), 20480 weight: weight 20481 }); 20482 return acc; 20483 }, []) 20484 }); 20485}; 20486 20487var optionsHeatmap = exports.optionsHeatmap = function optionsHeatmap(instance, _ref3) { 20488 var _ref3$options = _ref3.options, 20489 options = _ref3$options === undefined ? {} : _ref3$options; 20490 return Object.keys(options).map(function (option) { 20491 return instance.set(option, options[option]); 20492 }); 20493}; 20494 20495/***/ }), 20496/* 217 */ 20497/***/ (function(module, exports, __webpack_require__) { 20498 20499"use strict"; 20500/* WEBPACK VAR INJECTION */(function(process) { 20501 20502exports.__esModule = true; 20503var BASE_URL = 'https://maps'; 20504var DEFAULT_URL = BASE_URL + '.googleapis.com'; 20505var API_PATH = '/maps/api/js?callback=_$_google_map_initialize_$_'; 20506 20507var $script_ = null; 20508 20509var loadPromise_ = void 0; 20510 20511var resolveCustomPromise_ = void 0; 20512 20513var _customPromise = new Promise(function (resolve) { 20514 resolveCustomPromise_ = resolve; 20515}); 20516 20517// TODO add libraries language and other map options 20518 20519exports.default = function (bootstrapURLKeys, heatmapLibrary) { 20520 if (!$script_) { 20521 $script_ = __webpack_require__(218); // eslint-disable-line 20522 } 20523 20524 // call from outside google-map-react 20525 // will be as soon as loadPromise_ resolved 20526 if (!bootstrapURLKeys) { 20527 return _customPromise; 20528 } 20529 20530 if (loadPromise_) { 20531 return loadPromise_; 20532 } 20533 20534 loadPromise_ = new Promise(function (resolve, reject) { 20535 if (typeof window === 'undefined') { 20536 reject(new Error('google map cannot be loaded outside browser env')); 20537 return; 20538 } 20539 20540 if (window.google && window.google.maps) { 20541 resolve(window.google.maps); 20542 return; 20543 } 20544 20545 if (typeof window._$_google_map_initialize_$_ !== 'undefined') { 20546 reject(new Error('google map initialization error')); 20547 } 20548 20549 window._$_google_map_initialize_$_ = function () { 20550 delete window._$_google_map_initialize_$_; 20551 resolve(window.google.maps); 20552 }; 20553 20554 if (process.env.NODE_ENV !== 'production') { 20555 if (Object.keys(bootstrapURLKeys).indexOf('callback') > -1) { 20556 var message = '"callback" key in bootstrapURLKeys is not allowed,\n use onGoogleApiLoaded property instead'; 20557 // eslint-disable-next-line no-console 20558 console.error(message); 20559 throw new Error(message); 20560 } 20561 } 20562 20563 var params = Object.keys(bootstrapURLKeys).reduce(function (r, key) { 20564 return r + '&' + key + '=' + bootstrapURLKeys[key]; 20565 }, ''); 20566 20567 var libraries = heatmapLibrary ? '&libraries=visualization' : ''; 20568 20569 $script_('' + DEFAULT_URL + API_PATH + params + libraries, function () { 20570 return typeof window.google === 'undefined' && reject(new Error('google map initialization error (not loaded)')); 20571 }); 20572 }); 20573 20574 resolveCustomPromise_(loadPromise_); 20575 20576 return loadPromise_; 20577}; 20578/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(20))) 20579 20580/***/ }), 20581/* 218 */ 20582/***/ (function(module, exports, __webpack_require__) { 20583 20584var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 20585 * $script.js JS loader & dependency manager
vendor: 4,803 bytes, lines 20586-20747
20586 * https://github.com/ded/script.js 20587 * (c) Dustin Diaz 2014 | License MIT 20588 */ 20589 20590(function (name, definition) { 20591 if (typeof module != 'undefined' && module.exports) module.exports = definition() 20592 else if (true) !(__WEBPACK_AMD_DEFINE_FACTORY__ = (definition), 20593 __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? 20594 (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : 20595 __WEBPACK_AMD_DEFINE_FACTORY__), 20596 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) 20597 else this[name] = definition() 20598})('$script', function () { 20599 var doc = document 20600 , head = doc.getElementsByTagName('head')[0] 20601 , s = 'string' 20602 , f = false 20603 , push = 'push' 20604 , readyState = 'readyState' 20605 , onreadystatechange = 'onreadystatechange' 20606 , list = {} 20607 , ids = {} 20608 , delay = {} 20609 , scripts = {} 20610 , scriptpath 20611 , urlArgs 20612 20613 function every(ar, fn) { 20614 for (var i = 0, j = ar.length; i < j; ++i) if (!fn(ar[i])) return f 20615 return 1 20616 } 20617 function each(ar, fn) { 20618 every(ar, function (el) { 20619 fn(el) 20620 return 1 20621 }) 20622 } 20623 20624 function $script(paths, idOrDone, optDone) { 20625 paths = paths[push] ? paths : [paths] 20626 var idOrDoneIsDone = idOrDone && idOrDone.call 20627 , done = idOrDoneIsDone ? idOrDone : optDone 20628 , id = idOrDoneIsDone ? paths.join('') : idOrDone 20629 , queue = paths.length 20630 function loopFn(item) { 20631 return item.call ? item() : list[item] 20632 } 20633 function callback() { 20634 if (!--queue) { 20635 list[id] = 1 20636 done && done() 20637 for (var dset in delay) { 20638 every(dset.split('|'), loopFn) && !each(delay[dset], loopFn) && (delay[dset] = []) 20639 } 20640 } 20641 } 20642 setTimeout(function () { 20643 each(paths, function loading(path, force) { 20644 if (path === null) return callback() 20645 20646 if (!force && !/^https?:\/\//.test(path) && scriptpath) { 20647 path = (path.indexOf('.js') === -1) ? scriptpath + path + '.js' : scriptpath + path; 20648 } 20649 20650 if (scripts[path]) { 20651 if (id) ids[id] = 1 20652 return (scripts[path] == 2) ? callback() : setTimeout(function () { loading(path, true) }, 0) 20653 } 20654 20655 scripts[path] = 1 20656 if (id) ids[id] = 1 20657 create(path, callback) 20658 }) 20659 }, 0) 20660 return $script 20661 } 20662 20663 function create(path, fn) { 20664 var el = doc.createElement('script'), loaded 20665 el.onload = el.onerror = el[onreadystatechange] = function () { 20666 if ((el[readyState] && !(/^c|loade/.test(el[readyState]))) || loaded) return; 20667 el.onload = el[onreadystatechange] = null 20668 loaded = 1 20669 scripts[path] = 2 20670 fn() 20671 } 20672 el.async = 1 20673 el.src = urlArgs ? path + (path.indexOf('?') === -1 ? '?' : '&') + urlArgs : path; 20674 head.insertBefore(el, head.lastChild) 20675 } 20676 20677 $script.get = create 20678 20679 $script.order = function (scripts, id, done) { 20680 (function callback(s) { 20681 s = scripts.shift() 20682 !scripts.length ? $script(s, id, done) : $script(s, callback) 20683 }()) 20684 } 20685 20686 $script.path = function (p) { 20687 scriptpath = p 20688 } 20689 $script.urlArgs = function (str) { 20690 urlArgs = str; 20691 } 20692 $script.ready = function (deps, ready, req) { 20693 deps = deps[push] ? deps : [deps] 20694 var missing = []; 20695 !each(deps, function (dep) { 20696 list[dep] || missing[push](dep); 20697 }) && every(deps, function (dep) {return list[dep]}) ? 20698 ready() : !function (key) { 20699 delay[key] = delay[key] || [] 20700 delay[key][push](ready) 20701 req && req(missing) 20702 }(deps.join('|')) 20703 return $script 20704 } 20705 20706 $script.done = function (idOrDone) { 20707 $script([null], idOrDone) 20708 } 20709 20710 return $script 20711}); 20712 20713 20714/***/ }), 20715/* 219 */ 20716/***/ (function(module, exports, __webpack_require__) { 20717 20718"use strict"; 20719 20720 20721exports.__esModule = true; 20722 20723var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; 20724 20725var _pointGeometry = __webpack_require__(179); 20726 20727var _pointGeometry2 = _interopRequireDefault(_pointGeometry); 20728 20729var _lat_lng = __webpack_require__(180); 20730 20731var _lat_lng2 = _interopRequireDefault(_lat_lng); 20732 20733var _transform = __webpack_require__(220); 20734 20735var _transform2 = _interopRequireDefault(_transform); 20736 20737function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 20738 20739function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 20740 20741var Geo = function () { 20742 function Geo(tileSize) { 20743 _classCallCheck(this, Geo); 20744 20745 // left_top view полÑзÑÐµÑ Ð³Ñгл 20746 // super(); 20747 this.hasSize_ = false;
20748 this.hasView_ = false; 20749 this.transform_ = new _transform2.default(tileSize || 512); 20750 } 20751 20752 Geo.prototype.setView = function setView(center, zoom, bearing) { 20753 this.transform_.center = _lat_lng2.default.convert(center); 20754 this.transform_.zoom = +zoom; 20755 this.transform_.bearing = +bearing; 20756 this.hasView_ = true; 20757 }; 20758 20759 Geo.prototype.setViewSize = function setViewSize(width, height) { 20760 this.transform_.width = width; 20761 this.transform_.height = height; 20762 this.hasSize_ = true; 20763 }; 20764 20765 Geo.prototype.setMapCanvasProjection = function setMapCanvasProjection(maps, mapCanvasProjection) { 20766 this.maps_ = maps; 20767 this.mapCanvasProjection_ = mapCanvasProjection; 20768 }; 20769 20770 Geo.prototype.canProject = function canProject() { 20771 return this.hasSize_ && this.hasView_; 20772 }; 20773 20774 Geo.prototype.hasSize = function hasSize() { 20775 return this.hasSize_; 20776 }; 20777 20778 /** Returns the pixel position relative to the map center. */ 20779 20780 20781 Geo.prototype.fromLatLngToCenterPixel = function fromLatLngToCenterPixel(ptLatLng) { 20782 return this.transform_.locationPoint(_lat_lng2.default.convert(ptLatLng)); 20783 }; 20784 20785 /** 20786 * Returns the pixel position relative to the map panes, 20787 * or relative to the map center if there are no panes. 20788 */ 20789 20790 20791 Geo.prototype.fromLatLngToDivPixel = function fromLatLngToDivPixel(ptLatLng) { 20792 if (this.mapCanvasProjection_) { 20793 var latLng = new this.maps_.LatLng(ptLatLng.lat, ptLatLng.lng); 20794 return this.mapCanvasProjection_.fromLatLngToDivPixel(latLng); 20795 } 20796 return this.fromLatLngToCenterPixel(ptLatLng); 20797 }; 20798 20799 /** Returns the pixel position relative to the map top-left. */ 20800 20801 20802 Geo.prototype.fromLatLngToContainerPixel = function fromLatLngToContainerPixel(ptLatLng) { 20803 if (this.mapCanvasProjection_) { 20804 var latLng = new this.maps_.LatLng(ptLatLng.lat, ptLatLng.lng); 20805 return this.mapCanvasProjection_.fromLatLngToContainerPixel(latLng); 20806 } 20807 20808 var pt = this.fromLatLngToCenterPixel(ptLatLng); 20809 pt.x -= this.transform_.worldSize * Math.round(pt.x / this.transform_.worldSize); 20810 20811 pt.x += this.transform_.width / 2; 20812 pt.y += this.transform_.height / 2; 20813 20814 return pt; 20815 }; 20816 20817 /** Returns the LatLng for the given offset from the map top-left. */ 20818 20819 20820 Geo.prototype.fromContainerPixelToLatLng = function fromContainerPixelToLatLng(ptXY) { 20821 if (this.mapCanvasProjection_) { 20822 var latLng = this.mapCanvasProjection_.fromContainerPixelToLatLng(ptXY); 20823 return { lat: latLng.lat(), lng: latLng.lng() }; 20824 } 20825 20826 var ptxy = _extends({}, ptXY); 20827 ptxy.x -= this.transform_.width / 2; 20828 ptxy.y -= this.transform_.height / 2; 20829 var ptRes = this.transform_.pointLocation(_pointGeometry2.default.convert(ptxy)); 20830 20831 ptRes.lng -= 360 * Math.round(ptRes.lng / 360); // convert 2 google format 20832 return ptRes; 20833 }; 20834 20835 Geo.prototype.getWidth = function getWidth() { 20836 return this.transform_.width; 20837 }; 20838 20839 Geo.prototype.getHeight = function getHeight() { 20840 return this.transform_.height; 20841 }; 20842 20843 Geo.prototype.getZoom = function getZoom() { 20844 return this.transform_.zoom; 20845 }; 20846 20847 Geo.prototype.getCenter = function getCenter() { 20848 var ptRes = this.transform_.pointLocation({ x: 0, y: 0 }); 20849 20850 return ptRes; 20851 }; 20852 20853 Geo.prototype.getBounds = function getBounds(margins, roundFactor) { 20854 var bndT = margins && margins[0] || 0; 20855 var bndR = margins && margins[1] || 0; 20856 var bndB = margins && margins[2] || 0; 20857 var bndL = margins && margins[3] || 0; 20858 20859 if (this.getWidth() - bndR - bndL > 0 && this.getHeight() - bndT - bndB > 0) { 20860 var topLeftCorner = this.transform_.pointLocation(_pointGeometry2.default.convert({ 20861 x: bndL - this.getWidth() / 2, 20862 y: bndT - this.getHeight() / 2 20863 })); 20864 var bottomRightCorner = this.transform_.pointLocation(_pointGeometry2.default.convert({ 20865 x: this.getWidth() / 2 - bndR, 20866 y: this.getHeight() / 2 - bndB 20867 })); 20868 20869 var res = [topLeftCorner.lat, topLeftCorner.lng, // NW 20870 bottomRightCorner.lat, bottomRightCorner.lng, // SE 20871 bottomRightCorner.lat, topLeftCorner.lng, // SW 20872 topLeftCorner.lat, bottomRightCorner.lng]; 20873 20874 if (roundFactor) { 20875 res = res.map(function (r) { 20876 return Math.round(r * roundFactor) / roundFactor; 20877 }); 20878 } 20879 return res; 20880 } 20881 20882 return [0, 0, 0, 0]; 20883 }; 20884 20885 return Geo; 20886}(); 20887 20888exports.default = Geo; 20889 20890/***/ }), 20891/* 220 */ 20892/***/ (function(module, exports, __webpack_require__) { 20893 20894"use strict"; 20895 20896 20897exports.__esModule = true; 20898 20899var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* eslint-disable class-methods-use-this */ 20900 20901 20902var _pointGeometry = __webpack_require__(179); 20903 20904var _pointGeometry2 = _interopRequireDefault(_pointGeometry); 20905 20906var _lat_lng = __webpack_require__(180); 20907 20908var _lat_lng2 = _interopRequireDefault(_lat_lng); 20909 20910var _wrap = __webpack_require__(181); 20911 20912function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 20913 20914function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 20915 20916// A single transform, generally used for a single tile to be scaled, rotated, and zoomed. 20917var Transform = function () { 20918 function Transform(tileSize, minZoom, maxZoom) { 20919 _classCallCheck(this, Transform); 20920 20921 this.tileSize = tileSize || 512; // constant 20922 20923 this._minZoom = minZoom || 0; 20924 this._maxZoom = maxZoom || 52; 20925 20926 this.latRange = [-85.05113, 85.05113]; 20927 20928 this.width = 0; 20929 this.height = 0; 20930 this.zoom = 0; 20931 this.center = new _lat_lng2.default(0, 0); 20932 this.angle = 0; 20933 } 20934 20935 Transform.prototype.zoomScale = function zoomScale(zoom) { 20936 return Math.pow(2, zoom); 20937 }; 20938 20939 Transform.prototype.scaleZoom = function scaleZoom(scale) { 20940 return Math.log(scale) / Math.LN2; 20941 }; 20942 20943 Transform.prototype.project = function project(latlng, worldSize) { 20944 return new _pointGeometry2.default(this.lngX(latlng.lng, worldSize), this.latY(latlng.lat, worldSize)); 20945 }; 20946 20947 Transform.prototype.unproject = function unproject(point, worldSize) { 20948 return new _lat_lng2.default(this.yLat(point.y, worldSize), this.xLng(point.x, worldSize)); 20949 }; 20950 20951 // lat/lon <->
20951 absolute pixel coords convertion 20952 Transform.prototype.lngX = function lngX(lon, worldSize) { 20953 return (180 + lon) * (worldSize || this.worldSize) / 360; 20954 }; 20955 20956 // latitude to absolute y coord 20957 20958 20959 Transform.prototype.latY = function latY(lat, worldSize) { 20960 var y = 180 / Math.PI * Math.log(Math.tan(Math.PI / 4 + lat * Math.PI / 360)); 20961 return (180 - y) * (worldSize || this.worldSize) / 360; 20962 }; 20963 20964 Transform.prototype.xLng = function xLng(x, worldSize) { 20965 return x * 360 / (worldSize || this.worldSize) - 180; 20966 }; 20967 20968 Transform.prototype.yLat = function yLat(y, worldSize) { 20969 var y2 = 180 - y * 360 / (worldSize || this.worldSize); 20970 return 360 / Math.PI * Math.atan(Math.exp(y2 * Math.PI / 180)) - 90; 20971 }; 20972 20973 Transform.prototype.locationPoint = function locationPoint(latlng) { 20974 var p = this.project(latlng); 20975 return this.centerPoint._sub(this.point._sub(p)._rotate(this.angle)); 20976 }; 20977 20978 Transform.prototype.pointLocation = function pointLocation(p) { 20979 var p2 = this.centerPoint._sub(p)._rotate(-this.angle); 20980 return this.unproject(this.point.sub(p2)); 20981 }; 20982 20983 _createClass(Transform, [{ 20984 key: 'minZoom', 20985 get: function get() { 20986 return this._minZoom; 20987 }, 20988 set: function set(zoom) { 20989 this._minZoom = zoom; 20990 this.zoom = Math.max(this.zoom, zoom); 20991 } 20992 }, { 20993 key: 'maxZoom', 20994 get: function get() { 20995 return this._maxZoom; 20996 }, 20997 set: function set(zoom) { 20998 this._maxZoom = zoom; 20999 this.zoom = Math.min(this.zoom, zoom); 21000 } 21001 }, { 21002 key: 'worldSize', 21003 get: function get() { 21004 return this.tileSize * this.scale; 21005 } 21006 }, { 21007 key: 'centerPoint', 21008 get: function get() { 21009 return new _pointGeometry2.default(0, 0); // this.size._div(2); 21010 } 21011 }, { 21012 key: 'size', 21013 get: function get() { 21014 return new _pointGeometry2.default(this.width, this.height); 21015 } 21016 }, { 21017 key: 'bearing', 21018 get: function get() { 21019 return -this.angle / Math.PI * 180; 21020 }, 21021 set: function set(bearing) { 21022 this.angle = -(0, _wrap.wrap)(bearing, -180, 180) * Math.PI / 180; 21023 } 21024 }, { 21025 key: 'zoom', 21026 get: function get() { 21027 return this._zoom; 21028 }, 21029 set: function set(zoom) { 21030 var zoomV = Math.min(Math.max(zoom, this.minZoom), this.maxZoom); 21031 this._zoom = zoomV; 21032 this.scale = this.zoomScale(zoomV); 21033 this.tileZoom = Math.floor(zoomV); 21034 this.zoomFraction = zoomV - this.tileZoom; 21035 } 21036 }, { 21037 key: 'x', 21038 get: function get() { 21039 return this.lngX(this.center.lng); 21040 } 21041 }, { 21042 key: 'y', 21043 get: function get() { 21044 return this.latY(this.center.lat); 21045 } 21046 }, { 21047 key: 'point', 21048 get: function get() { 21049 return new _pointGeometry2.default(this.x, this.y); 21050 } 21051 }]); 21052 21053 return Transform; 21054}(); 21055 21056exports.default = Transform; 21057 21058/***/ }), 21059/* 221 */ 21060/***/ (function(module, exports, __webpack_require__) { 21061 21062"use strict"; 21063 21064 21065exports.__esModule = true; 21066exports.default = raf; 21067function raf(callback) { 21068 if (window.requestAnimationFrame) { 21069 return window.requestAnimationFrame(callback); 21070 } 21071 21072 var nativeRaf = window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame; 21073 21074 return nativeRaf ? nativeRaf(callback) : window.setTimeout(callback, 1e3 / 60); 21075} 21076 21077/***/ }), 21078/* 222 */ 21079/***/ (function(module, exports, __webpack_require__) { 21080 21081"use strict"; 21082 21083 21084exports.__esModule = true; 21085exports.default = pick; 21086// source taken from https://github.com/rackt/redux/blob/master/src/utils/pick.js 21087 21088function pick(obj, fn) { 21089 return Object.keys(obj).reduce(function (result, key) { 21090 if (fn(obj[key])) { 21091 result[key] = obj[key]; // eslint-disable-line 21092 } 21093 return result; 21094 }, {}); 21095} 21096 21097/***/ }), 21098/* 223 */ 21099/***/ (function(module, exports, __webpack_require__) { 21100 21101"use strict"; 21102 21103 21104exports.__esModule = true; 21105var log2 = Math.log2 ? Math.log2 : function (x) { 21106 return Math.log(x) / Math.LN2; 21107}; 21108 21109exports.default = log2; 21110 21111/***/ }), 21112/* 224 */ 21113/***/ (function(module, exports, __webpack_require__) { 21114 21115"use strict"; 21116 21117 21118exports.__esModule = true; 21119 21120var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 21121 21122var isEmpty = function isEmpty(val) { 21123 // check for empty object {}, array [] 21124 if (val !== null && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object') { 21125 if (Object.keys(val).length === 0) { 21126 return true; 21127 } 21128 } else if (val === null || val === undefined || val === '') { 21129 // check for undefined, null and "" 21130 return true; 21131 } 21132 return false;
21133}; 21134 21135exports.default = isEmpty; 21136 21137/***/ }), 21138/* 225 */ 21139/***/ (function(module, exports, __webpack_require__) { 21140 21141"use strict"; 21142 21143 21144exports.__esModule = true; 21145 21146var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 21147 21148exports.default = isNumber; 21149function isObjectLike(value) { 21150 return !!value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object'; 21151} 21152 21153var objectToString = Object.prototype.toString; 21154 21155function isNumber(value) { 21156 var numberTag = '[object Number]'; 21157 return typeof value === 'number' || isObjectLike(value) && objectToString.call(value) === numberTag; 21158} 21159 21160/***/ }), 21161/* 226 */ 21162/***/ (function(module, exports, __webpack_require__) { 21163 21164"use strict"; 21165 21166 21167exports.__esModule = true; 21168exports.default = detectBrowser; 21169// http://stackoverflow.com/questions/5899783/detect-safari-chrome-ie-firefox-opera-with-user-agent 21170var detectBrowserResult_ = null; 21171 21172function detectBrowser() { 21173 if (detectBrowserResult_) { 21174 return detectBrowserResult_; 21175 } 21176 21177 if (typeof navigator !== 'undefined') { 21178 var isExplorer = navigator.userAgent.indexOf('MSIE') > -1; 21179 var isFirefox = navigator.userAgent.indexOf('Firefox') > -1; 21180 var isOpera = navigator.userAgent.toLowerCase().indexOf('op') > -1; 21181 21182 var isChrome = navigator.userAgent.indexOf('Chrome') > -1; 21183 var isSafari = navigator.userAgent.indexOf('Safari') > -1; 21184 21185 if (isChrome && isSafari) { 21186 isSafari = false; 21187 } 21188 21189 if (isChrome && isOpera) { 21190 isChrome = false; 21191 } 21192 21193 detectBrowserResult_ = { 21194 isExplorer: isExplorer, 21195 isFirefox: isFirefox, 21196 isOpera: isOpera, 21197 isChrome: isChrome, 21198 isSafari: isSafari 21199 }; 21200 return detectBrowserResult_; 21201 } 21202 21203 detectBrowserResult_ = { 21204 isChrome: true, 21205 isExplorer: false, 21206 isFirefox: false, 21207 isOpera: false, 21208 isSafari: false 21209 }; 21210 21211 return detectBrowserResult_; 21212} 21213 21214/***/ }), 21215/* 227 */ 21216/***/ (function(module, exports, __webpack_require__) { 21217 21218"use strict"; 21219 21220 21221exports.__esModule = true; 21222 21223var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 21224 21225exports.default = isPlainObject; 21226// source taken from https://github.com/rackt/redux/blob/master/src/utils/isPlainObject.js 21227var fnToString = function fnToString(fn) { 21228 return Function.prototype.toString.call(fn); 21229}; 21230 21231/** 21232 * @param {any} obj The object to inspect. 21233 * @returns {boolean} True if the argument appears to be a plain object. 21234 */ 21235function isPlainObject(obj) { 21236 if (!obj || (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) !== 'object') { 21237 return false; 21238 } 21239 21240 var proto = typeof obj.constructor === 'function' ? Object.getPrototypeOf(obj) : Object.prototype; 21241 21242 if (proto === null) { 21243 return true; 21244 } 21245 21246 var constructor = proto.constructor; 21247 21248 return typeof constructor === 'function' && constructor instanceof constructor && fnToString(constructor) === fnToString(Object); 21249} 21250 21251/***/ }), 21252/* 228 */ 21253/***/ (function(module, exports, __webpack_require__) { 21254 21255"use strict"; 21256 21257 21258exports.__esModule = true; 21259exports.default = isArraysEqualEps; 21260function isArraysEqualEps(arrayA, arrayB, eps) { 21261 if (arrayA && arrayB) { 21262 for (var i = 0; i !== arrayA.length; ++i) { 21263 if (Math.abs(arrayA[i] - arrayB[i]) > eps) { 21264 return false; 21265 } 21266 } 21267 return true; 21268 } 21269 return false; 21270} 21271 21272/***/ }), 21273/* 229 */ 21274/***/ (function(module, exports, __webpack_require__) { 21275 21276"use strict"; 21277 21278 21279var _passiveEvents = __webpack_require__(182); 21280 21281var _passiveEvents2 = _interopRequireDefault(_passiveEvents); 21282 21283function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 21284 21285// Reliable `window` and `document` detection 21286var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement); 21287 21288// Check `document` and `window` in case of server-side rendering 21289/* eslint-disable */ 21290/** 21291* Detect Element Resize. 21292* Forked in order to guard against unsafe 'window' and 'document' references. 21293* 21294* https://github.com/sdecima/javascript-detect-element-resize 21295* Sebastian Decima 21296* 21297* version: 0.5.3 21298**/ 21299 21300var _window; 21301if (canUseDOM) { 21302 _window = window; 21303} else if (typeof self !== 'undefined') { 21304 _window = self; 21305} else { 21306 _window = undefined; 21307} 21308 21309var attachEvent = typeof document !== 'undefined' && document.attachEvent; 21310var stylesCreated = false;
21311 21312if (canUseDOM && !attachEvent) { 21313 var requestFrame = function () { 21314 var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) { 21315 return _window.setTimeout(fn, 20); 21316 }; 21317 return function (fn) { 21318 return raf(fn); 21319 }; 21320 }(); 21321 21322 var cancelFrame = function () { 21323 var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout; 21324 return function (id) { 21325 return cancel(id); 21326 }; 21327 }(); 21328 21329 var resetTriggers = function resetTriggers(element) { 21330 var triggers = element.__resizeTriggers__, 21331 expand = triggers.firstElementChild, 21332 contract = triggers.lastElementChild, 21333 expandChild = expand.firstElementChild; 21334 contract.scrollLeft = contract.scrollWidth; 21335 contract.scrollTop = contract.scrollHeight; 21336 expandChild.style.width = expand.offsetWidth + 1 + 'px'; 21337 expandChild.style.height = expand.offsetHeight + 1 + 'px'; 21338 expand.scrollLeft = expand.scrollWidth; 21339 expand.scrollTop = expand.scrollHeight; 21340 }; 21341 21342 var checkTriggers = function checkTriggers(element) { 21343 return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height; 21344 }; 21345 21346 var scrollListener = function scrollListener(e) { 21347 var element = this; 21348 resetTriggers(this); 21349 if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__); 21350 this.__resizeRAF__ = requestFrame(function () { 21351 if (checkTriggers(element)) { 21352 element.__resizeLast__.width = element.offsetWidth; 21353 element.__resizeLast__.height = element.offsetHeight; 21354 element.__resizeListeners__.forEach(function (fn) { 21355 fn.call(element, e); 21356 }); 21357 } 21358 }); 21359 }; 21360 21361 /* Detect CSS Animations support to detect element display/re-attach */ 21362 var animation = false, 21363 animationstring = 'animation', 21364 keyframeprefix = '', 21365 animationstartevent = 'animationstart', 21366 domPrefixes = 'Webkit Moz O ms'.split(' '), 21367 startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '), 21368 pfx = ''; 21369 21370 if (canUseDOM) { 21371 var elm = document.createElement('fakeelement'); 21372 if (elm.style.animationName !== undefined) { 21373 animation = true; 21374 } 21375 21376 if (animation === false) { 21377 for (var i = 0; i < domPrefixes.length; i++) { 21378 if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) { 21379 pfx = domPrefixes[i]; 21380 animationstring = pfx + 'Animation'; 21381 keyframeprefix = '-' + pfx.toLowerCase() + '-'; 21382 animationstartevent = startEvents[i]; 21383 animation = true; 21384 break; 21385 } 21386 } 21387 } 21388 } 21389 21390 var animationName = 'resizeanim'; 21391 var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } '; 21392 var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; '; 21393} 21394 21395var createStyles = function createStyles() { 21396 if (!stylesCreated) { 21397 //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360 21398 var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', 21399 head = document.head || document.getElementsByTagName('head')[0], 21400 style = document.createElement('style'); 21401 21402 style.type = 'text/css'; 21403 if (style.styleSheet) { 21404 style.styleSheet.cssText = css; 21405 } else { 21406 style.appendChild(document.createTextNode(css)); 21407 } 21408 21409 head.appendChild(style); 21410 stylesCreated = true; 21411 } 21412}; 21413 21414var addResizeListener = function addResizeListener(element, fn) { 21415 if (element.parentNode === undefined) { 21416 var tempParentDiv = document.createElement('div'); 21417 element.parentNode = tempParentDiv; 21418 } 21419 element = element.parentNode; 21420 if (attachEvent) element.attachEvent('onresize', fn);else { 21421 if (!element.__resizeTriggers__) { 21422 if (getComputedStyle(element).position == 'static') element.style.position = 'relative'; 21423 createStyles(); 21424 element.__resizeLast__ = {}; 21425 element.__resizeListeners__ = []; 21426 (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers'; 21427 element.__resizeTriggers__.innerHTML = '<div class="expand-trigger"><div></div></div>' + '<div class="contract-trigger"></div>'; 21428 element.appendChild(element.__resizeTriggers__); 21429 resetTriggers(element); 21430 21431 (0, _passiveEvents2.default)(element, 'scroll', scrollListener, true); 21432 21433 /* Listen for a css animation to detect element display/re-attach */ 21434 animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) { 21435 if (e.animationName == animationName) resetTriggers(element); 21436 }); 21437 } 21438 element.__resizeListeners__.push(fn); 21439 } 21440}; 21441 21442var removeResizeListener = function removeResizeListener(element, fn) { 21443 element = element.parentNode; 21444 if (attachEvent) element.detachEvent('onresize', fn);else { 21445 element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1); 21446 if (!element.__resizeListeners__.length) { 21447 element.removeEventListener('scroll', scrollListener); 21448 element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__); 21449 } 21450 } 21451}; 21452 21453module.exports = { 21454 addResizeListener: addResizeListener, 21455 removeResizeListener: removeResizeListener 21456}; 21457 21458/***/ }), 21459/* 230 */ 21460/***/ (function(module, exports, __webpack_require__) { 21461 21462var toInteger = __webpack_require__(37); 21463var defined = __webpack_require__(38); 21464// true -> String#at 21465// false ->
vendor: 4,667 bytes, lines 21465-21623
21465 String#codePointAt 21466module.exports = function (TO_STRING) { 21467 return function (that, pos) { 21468 var s = String(defined(that)); 21469 var i = toInteger(pos); 21470 var l = s.length; 21471 var a, b; 21472 if (i < 0 || i >= l) return TO_STRING ? '' : undefined; 21473 a = s.charCodeAt(i); 21474 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff 21475 ? TO_STRING ? s.charAt(i) : a 21476 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; 21477 }; 21478}; 21479 21480 21481/***/ }), 21482/* 231 */ 21483/***/ (function(module, exports, __webpack_require__) { 21484 21485"use strict"; 21486 21487var create = __webpack_require__(26); 21488var descriptor = __webpack_require__(25); 21489var setToStringTag = __webpack_require__(23); 21490var IteratorPrototype = {}; 21491 21492// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() 21493__webpack_require__(15)(IteratorPrototype, __webpack_require__(5)('iterator'), function () { return this; }); 21494 21495module.exports = function (Constructor, NAME, next) { 21496 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); 21497 setToStringTag(Constructor, NAME + ' Iterator'); 21498}; 21499 21500 21501/***/ }), 21502/* 232 */ 21503/***/ (function(module, exports, __webpack_require__) { 21504 21505var dP = __webpack_require__(11); 21506var anObject = __webpack_require__(14); 21507var getKeys = __webpack_require__(27); 21508 21509module.exports = __webpack_require__(8) ? Object.defineProperties : function defineProperties(O, Properties) { 21510 anObject(O); 21511 var keys = getKeys(Properties); 21512 var length = keys.length; 21513 var i = 0; 21514 var P; 21515 while (length > i) dP.f(O, P = keys[i++], Properties[P]); 21516 return O; 21517}; 21518 21519 21520/***/ }), 21521/* 233 */ 21522/***/ (function(module, exports, __webpack_require__) { 21523 21524// false -> Array#indexOf 21525// true -> Array#includes 21526var toIObject = __webpack_require__(19); 21527var toLength = __webpack_require__(42); 21528var toAbsoluteIndex = __webpack_require__(234); 21529module.exports = function (IS_INCLUDES) { 21530 return function ($this, el, fromIndex) { 21531 var O = toIObject($this); 21532 var length = toLength(O.length); 21533 var index = toAbsoluteIndex(fromIndex, length); 21534 var value; 21535 // Array#includes uses SameValueZero equality algorithm 21536 // eslint-disable-next-line no-self-compare 21537 if (IS_INCLUDES && el != el) while (length > index) { 21538 value = O[index++]; 21539 // eslint-disable-next-line no-self-compare 21540 if (value != value) return true; 21541 // Array#indexOf ignores holes, Array#includes - not 21542 } else for (;length > index; index++) if (IS_INCLUDES || index in O) { 21543 if (O[index] === el) return IS_INCLUDES || index || 0; 21544 } return !IS_INCLUDES && -1; 21545 }; 21546}; 21547 21548 21549/***/ }), 21550/* 234 */ 21551/***/ (function(module, exports, __webpack_require__) { 21552 21553var toInteger = __webpack_require__(37); 21554var max = Math.max; 21555var min = Math.min; 21556module.exports = function (index, length) { 21557 index = toInteger(index); 21558 return index < 0 ? max(index + length, 0) : min(index, length); 21559}; 21560 21561 21562/***/ }), 21563/* 235 */ 21564/***/ (function(module, exports, __webpack_require__) { 21565 21566// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) 21567var has = __webpack_require__(16); 21568var toObject = __webpack_require__(29); 21569var IE_PROTO = __webpack_require__(43)('IE_PROTO'); 21570var ObjectProto = Object.prototype; 21571 21572module.exports = Object.getPrototypeOf || function (O) { 21573 O = toObject(O); 21574 if (has(O, IE_PROTO)) return O[IE_PROTO]; 21575 if (typeof O.constructor == 'function' && O instanceof O.constructor) { 21576 return O.constructor.prototype; 21577 } return O instanceof Object ? ObjectProto : null; 21578}; 21579 21580 21581/***/ }), 21582/* 236 */ 21583/***/ (function(module, exports, __webpack_require__) { 21584 21585"use strict"; 21586 21587var addToUnscopables = __webpack_require__(237); 21588var step = __webpack_require__(186); 21589var Iterators = __webpack_require__(21); 21590var toIObject = __webpack_require__(19); 21591 21592// 22.1.3.4 Array.prototype.entries() 21593// 22.1.3.13 Array.prototype.keys() 21594// 22.1.3.29 Array.prototype.values() 21595// 22.1.3.30 Array.prototype[@@iterator]() 21596module.exports = __webpack_require__(39)(Array, 'Array', function (iterated, kind) { 21597 this._t = toIObject(iterated); // target 21598 this._i = 0; // next index 21599 this._k = kind; // kind 21600// 22.1.5.2.1 %ArrayIteratorPrototype%.next() 21601}, function () { 21602 var O = this._t; 21603 var kind = this._k; 21604 var index = this._i++; 21605 if (!O || index >= O.length) { 21606 this._t = undefined; 21607 return step(1); 21608 } 21609 if (kind == 'keys') return step(0, index); 21610 if (kind == 'values') return step(0, O[index]); 21611 return step(0, [index, O[index]]); 21612}, 'values'); 21613 21614// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) 21615Iterators.Arguments = Iterators.Array; 21616 21617addToUnscopables('keys'); 21618addToUnscopables('values'); 21619addToUnscopables('entries'); 21620 21621 21622/***/ }), 21623/* 237 */
vendor: 4,702 bytes, lines 21624-21780
21624/***/ (function(module, exports) { 21625 21626module.exports = function () { /* empty */ }; 21627 21628 21629/***/ }), 21630/* 238 */ 21631/***/ (function(module, exports, __webpack_require__) { 21632 21633// call something on iterator step with safe closing on error 21634var anObject = __webpack_require__(14); 21635module.exports = function (iterator, fn, value, entries) { 21636 try { 21637 return entries ? fn(anObject(value)[0], value[1]) : fn(value); 21638 // 7.4.6 IteratorClose(iterator, completion) 21639 } catch (e) { 21640 var ret = iterator['return']; 21641 if (ret !== undefined) anObject(ret.call(iterator)); 21642 throw e; 21643 } 21644}; 21645 21646 21647/***/ }), 21648/* 239 */ 21649/***/ (function(module, exports, __webpack_require__) { 21650 21651// check on default Array iterator 21652var Iterators = __webpack_require__(21); 21653var ITERATOR = __webpack_require__(5)('iterator'); 21654var ArrayProto = Array.prototype; 21655 21656module.exports = function (it) { 21657 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); 21658}; 21659 21660 21661/***/ }), 21662/* 240 */ 21663/***/ (function(module, exports, __webpack_require__) { 21664 21665module.exports = { "default": __webpack_require__(241), __esModule: true }; 21666 21667/***/ }), 21668/* 241 */ 21669/***/ (function(module, exports, __webpack_require__) { 21670 21671__webpack_require__(35); 21672__webpack_require__(36); 21673module.exports = __webpack_require__(46).f('iterator'); 21674 21675 21676/***/ }), 21677/* 242 */ 21678/***/ (function(module, exports, __webpack_require__) { 21679 21680module.exports = { "default": __webpack_require__(243), __esModule: true }; 21681 21682/***/ }), 21683/* 243 */ 21684/***/ (function(module, exports, __webpack_require__) { 21685 21686__webpack_require__(244); 21687__webpack_require__(171); 21688__webpack_require__(247); 21689__webpack_require__(248); 21690module.exports = __webpack_require__(4).Symbol; 21691 21692 21693/***/ }), 21694/* 244 */ 21695/***/ (function(module, exports, __webpack_require__) { 21696 21697"use strict"; 21698 21699// ECMAScript 6 symbols shim 21700var global = __webpack_require__(7); 21701var has = __webpack_require__(16); 21702var DESCRIPTORS = __webpack_require__(8); 21703var $export = __webpack_require__(9); 21704var redefine = __webpack_require__(184); 21705var META = __webpack_require__(47).KEY; 21706var $fails = __webpack_require__(18); 21707var shared = __webpack_require__(44); 21708var setToStringTag = __webpack_require__(23); 21709var uid = __webpack_require__(28); 21710var wks = __webpack_require__(5); 21711var wksExt = __webpack_require__(46); 21712var wksDefine = __webpack_require__(48); 21713var enumKeys = __webpack_require__(245); 21714var isArray = __webpack_require__(189); 21715var anObject = __webpack_require__(14); 21716var isObject = __webpack_require__(10); 21717var toObject = __webpack_require__(29); 21718var toIObject = __webpack_require__(19); 21719var toPrimitive = __webpack_require__(40); 21720var createDesc = __webpack_require__(25); 21721var _create = __webpack_require__(26); 21722var gOPNExt = __webpack_require__(246); 21723var $GOPD = __webpack_require__(191); 21724var $GOPS = __webpack_require__(49); 21725var $DP = __webpack_require__(11); 21726var $keys = __webpack_require__(27); 21727var gOPD = $GOPD.f; 21728var dP = $DP.f; 21729var gOPN = gOPNExt.f; 21730var $Symbol = global.Symbol; 21731var $JSON = global.JSON; 21732var _stringify = $JSON && $JSON.stringify; 21733var PROTOTYPE = 'prototype'; 21734var HIDDEN = wks('_hidden'); 21735var TO_PRIMITIVE = wks('toPrimitive'); 21736var isEnum = {}.propertyIsEnumerable; 21737var SymbolRegistry = shared('symbol-registry'); 21738var AllSymbols = shared('symbols'); 21739var OPSymbols = shared('op-symbols'); 21740var ObjectProto = Object[PROTOTYPE]; 21741var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; 21742var QObject = global.QObject; 21743// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 21744var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 21745 21746// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 21747var setSymbolDesc = DESCRIPTORS && $fails(function () { 21748 return _create(dP({}, 'a', { 21749 get: function () { return dP(this, 'a', { value: 7 }).a; } 21750 })).a != 7; 21751}) ? function (it, key, D) { 21752 var protoDesc = gOPD(ObjectProto, key); 21753 if (protoDesc) delete ObjectProto[key]; 21754 dP(it, key, D); 21755 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); 21756} : dP; 21757 21758var wrap = function (tag) { 21759 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); 21760 sym._k = tag; 21761 return sym; 21762}; 21763 21764var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { 21765 return typeof it == 'symbol'; 21766} : function (it) { 21767 return it instanceof $Symbol; 21768}; 21769 21770var $defineProperty = function defineProperty(it, key, D) { 21771 if (it === ObjectProto) $defineProperty(OPSymbols, key, D); 21772 anObject(it); 21773 key = toPrimitive(key, true); 21774 anObject(D); 21775 if (has(AllSymbols, key)) { 21776 if (!D.enumerable) { 21777 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); 21778 it[HIDDEN][key] = true; 21779 } else { 21780 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
vendor: 4,721 bytes, lines 21781-21903
21781 D = _create(D, { enumerable: createDesc(0, false) }); 21782 } return setSymbolDesc(it, key, D); 21783 } return dP(it, key, D); 21784}; 21785var $defineProperties = function defineProperties(it, P) { 21786 anObject(it); 21787 var keys = enumKeys(P = toIObject(P)); 21788 var i = 0; 21789 var l = keys.length; 21790 var key; 21791 while (l > i) $defineProperty(it, key = keys[i++], P[key]); 21792 return it; 21793}; 21794var $create = function create(it, P) { 21795 return P === undefined ? _create(it) : $defineProperties(_create(it), P); 21796}; 21797var $propertyIsEnumerable = function propertyIsEnumerable(key) { 21798 var E = isEnum.call(this, key = toPrimitive(key, true)); 21799 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; 21800 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; 21801}; 21802var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { 21803 it = toIObject(it); 21804 key = toPrimitive(key, true); 21805 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; 21806 var D = gOPD(it, key); 21807 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; 21808 return D; 21809}; 21810var $getOwnPropertyNames = function getOwnPropertyNames(it) { 21811 var names = gOPN(toIObject(it)); 21812 var result = []; 21813 var i = 0; 21814 var key; 21815 while (names.length > i) { 21816 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); 21817 } return result; 21818}; 21819var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { 21820 var IS_OP = it === ObjectProto; 21821 var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); 21822 var result = []; 21823 var i = 0; 21824 var key; 21825 while (names.length > i) { 21826 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); 21827 } return result; 21828}; 21829 21830// 19.4.1.1 Symbol([description]) 21831if (!USE_NATIVE) { 21832 $Symbol = function Symbol() { 21833 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); 21834 var tag = uid(arguments.length > 0 ? arguments[0] : undefined); 21835 var $set = function (value) { 21836 if (this === ObjectProto) $set.call(OPSymbols, value); 21837 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; 21838 setSymbolDesc(this, tag, createDesc(1, value)); 21839 }; 21840 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); 21841 return wrap(tag); 21842 }; 21843 redefine($Symbol[PROTOTYPE], 'toString', function toString() { 21844 return this._k; 21845 }); 21846 21847 $GOPD.f = $getOwnPropertyDescriptor; 21848 $DP.f = $defineProperty; 21849 __webpack_require__(190).f = gOPNExt.f = $getOwnPropertyNames; 21850 __webpack_require__(30).f = $propertyIsEnumerable; 21851 $GOPS.f = $getOwnPropertySymbols; 21852 21853 if (DESCRIPTORS && !__webpack_require__(22)) { 21854 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); 21855 } 21856 21857 wksExt.f = function (name) { 21858 return wrap(wks(name)); 21859 }; 21860} 21861 21862$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); 21863 21864for (var es6Symbols = ( 21865 // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 21866 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' 21867).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); 21868 21869for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); 21870 21871$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { 21872 // 19.4.2.1 Symbol.for(key) 21873 'for': function (key) { 21874 return has(SymbolRegistry, key += '') 21875 ? SymbolRegistry[key] 21876 : SymbolRegistry[key] = $Symbol(key); 21877 }, 21878 // 19.4.2.5 Symbol.keyFor(sym) 21879 keyFor: function keyFor(sym) { 21880 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); 21881 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; 21882 }, 21883 useSetter: function () { setter = true; }, 21884 useSimple: function () { setter = false; } 21885}); 21886 21887$export($export.S + $export.F * !USE_NATIVE, 'Object', { 21888 // 19.1.2.2 Object.create(O [, Properties]) 21889 create: $create, 21890 // 19.1.2.4 Object.defineProperty(O, P, Attributes) 21891 defineProperty: $defineProperty, 21892 // 19.1.2.3 Object.defineProperties(O, Properties) 21893 defineProperties: $defineProperties, 21894 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 21895 getOwnPropertyDescriptor: $getOwnPropertyDescriptor, 21896 // 19.1.2.7 Object.getOwnPropertyNames(O) 21897 getOwnPropertyNames: $getOwnPropertyNames, 21898 // 19.1.2.8 Object.getOwnPropertySymbols(O) 21899 getOwnPropertySymbols: $getOwnPropertySymbols 21900}); 21901 21902// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 21903// https://bugs.chromium.org/p/v8/issues/detail?id=3443
vendor: 4,176 bytes, lines 21904-22043
21904var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); 21905 21906$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { 21907 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 21908 return $GOPS.f(toObject(it)); 21909 } 21910}); 21911 21912// 24.3.2 JSON.stringify(value [, replacer [, space]]) 21913$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { 21914 var S = $Symbol(); 21915 // MS Edge converts symbol values to JSON as {} 21916 // WebKit converts symbol values to JSON as null 21917 // V8 throws on boxed symbols 21918 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; 21919})), 'JSON', { 21920 stringify: function stringify(it) { 21921 var args = [it]; 21922 var i = 1; 21923 var replacer, $replacer; 21924 while (arguments.length > i) args.push(arguments[i++]); 21925 $replacer = replacer = args[1]; 21926 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined 21927 if (!isArray(replacer)) replacer = function (key, value) { 21928 if (typeof $replacer == 'function') value = $replacer.call(this, key, value); 21929 if (!isSymbol(value)) return value; 21930 }; 21931 args[1] = replacer; 21932 return _stringify.apply($JSON, args); 21933 } 21934}); 21935 21936// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) 21937$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(15)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); 21938// 19.4.3.5 Symbol.prototype[@@toStringTag] 21939setToStringTag($Symbol, 'Symbol'); 21940// 20.2.1.9 Math[@@toStringTag] 21941setToStringTag(Math, 'Math', true); 21942// 24.3.3 JSON[@@toStringTag] 21943setToStringTag(global.JSON, 'JSON', true); 21944 21945 21946/***/ }), 21947/* 245 */ 21948/***/ (function(module, exports, __webpack_require__) { 21949 21950// all enumerable object keys, includes symbols 21951var getKeys = __webpack_require__(27); 21952var gOPS = __webpack_require__(49); 21953var pIE = __webpack_require__(30); 21954module.exports = function (it) { 21955 var result = getKeys(it); 21956 var getSymbols = gOPS.f; 21957 if (getSymbols) { 21958 var symbols = getSymbols(it); 21959 var isEnum = pIE.f; 21960 var i = 0; 21961 var key; 21962 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); 21963 } return result; 21964}; 21965 21966 21967/***/ }), 21968/* 246 */ 21969/***/ (function(module, exports, __webpack_require__) { 21970 21971// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 21972var toIObject = __webpack_require__(19); 21973var gOPN = __webpack_require__(190).f; 21974var toString = {}.toString; 21975 21976var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 21977 ? Object.getOwnPropertyNames(window) : []; 21978 21979var getWindowNames = function (it) { 21980 try { 21981 return gOPN(it); 21982 } catch (e) { 21983 return windowNames.slice(); 21984 } 21985}; 21986 21987module.exports.f = function getOwnPropertyNames(it) { 21988 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); 21989}; 21990 21991 21992/***/ }), 21993/* 247 */ 21994/***/ (function(module, exports, __webpack_require__) { 21995 21996__webpack_require__(48)('asyncIterator'); 21997 21998 21999/***/ }), 22000/* 248 */ 22001/***/ (function(module, exports, __webpack_require__) { 22002 22003__webpack_require__(48)('observable'); 22004 22005 22006/***/ }), 22007/* 249 */ 22008/***/ (function(module, exports, __webpack_require__) { 22009 22010module.exports = { "default": __webpack_require__(250), __esModule: true }; 22011 22012/***/ }), 22013/* 250 */ 22014/***/ (function(module, exports, __webpack_require__) { 22015 22016__webpack_require__(251); 22017module.exports = __webpack_require__(4).Object.setPrototypeOf; 22018 22019 22020/***/ }), 22021/* 251 */ 22022/***/ (function(module, exports, __webpack_require__) { 22023 22024// 19.1.3.19 Object.setPrototypeOf(O, proto) 22025var $export = __webpack_require__(9); 22026$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(252).set }); 22027 22028 22029/***/ }), 22030/* 252 */ 22031/***/ (function(module, exports, __webpack_require__) { 22032 22033// Works with __proto__ only. Old v8 can't work with null proto objects. 22034/* eslint-disable no-proto */ 22035var isObject = __webpack_require__(10); 22036var anObject = __webpack_require__(14); 22037var check = function (O, proto) { 22038 anObject(O); 22039 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); 22040}; 22041module.exports = { 22042 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line 22043 function (test, buggy, set) {
vendor: 7,225 bytes, lines 22044-22296
22044 try { 22045 set = __webpack_require__(17)(Function.call, __webpack_require__(191).f(Object.prototype, '__proto__').set, 2); 22046 set(test, []); 22047 buggy = !(test instanceof Array); 22048 } catch (e) { buggy = true; } 22049 return function setPrototypeOf(O, proto) { 22050 check(O, proto); 22051 if (buggy) O.__proto__ = proto; 22052 else set(O, proto); 22053 return O; 22054 }; 22055 }({}, false) : undefined), 22056 check: check 22057}; 22058 22059 22060/***/ }), 22061/* 253 */ 22062/***/ (function(module, exports, __webpack_require__) { 22063 22064module.exports = { "default": __webpack_require__(254), __esModule: true }; 22065 22066/***/ }), 22067/* 254 */ 22068/***/ (function(module, exports, __webpack_require__) { 22069 22070__webpack_require__(255); 22071var $Object = __webpack_require__(4).Object; 22072module.exports = function create(P, D) { 22073 return $Object.create(P, D); 22074}; 22075 22076 22077/***/ }), 22078/* 255 */ 22079/***/ (function(module, exports, __webpack_require__) { 22080 22081var $export = __webpack_require__(9); 22082// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 22083$export($export.S, 'Object', { create: __webpack_require__(26) }); 22084 22085 22086/***/ }), 22087/* 256 */ 22088/***/ (function(module, exports, __webpack_require__) { 22089 22090module.exports = { "default": __webpack_require__(257), __esModule: true }; 22091 22092/***/ }), 22093/* 257 */ 22094/***/ (function(module, exports, __webpack_require__) { 22095 22096__webpack_require__(258); 22097module.exports = __webpack_require__(4).Object.assign; 22098 22099 22100/***/ }), 22101/* 258 */ 22102/***/ (function(module, exports, __webpack_require__) { 22103 22104// 19.1.3.1 Object.assign(target, source) 22105var $export = __webpack_require__(9); 22106 22107$export($export.S + $export.F, 'Object', { assign: __webpack_require__(259) }); 22108 22109 22110/***/ }), 22111/* 259 */ 22112/***/ (function(module, exports, __webpack_require__) { 22113 22114"use strict"; 22115 22116// 19.1.2.1 Object.assign(target, source, ...) 22117var DESCRIPTORS = __webpack_require__(8); 22118var getKeys = __webpack_require__(27); 22119var gOPS = __webpack_require__(49); 22120var pIE = __webpack_require__(30); 22121var toObject = __webpack_require__(29); 22122var IObject = __webpack_require__(41); 22123var $assign = Object.assign; 22124 22125// should work with symbols and should have deterministic property order (V8 bug) 22126module.exports = !$assign || __webpack_require__(18)(function () { 22127 var A = {}; 22128 var B = {}; 22129 // eslint-disable-next-line no-undef 22130 var S = Symbol(); 22131 var K = 'abcdefghijklmnopqrst'; 22132 A[S] = 7; 22133 K.split('').forEach(function (k) { B[k] = k; }); 22134 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; 22135}) ? function assign(target, source) { // eslint-disable-line no-unused-vars 22136 var T = toObject(target); 22137 var aLen = arguments.length; 22138 var index = 1; 22139 var getSymbols = gOPS.f; 22140 var isEnum = pIE.f; 22141 while (aLen > index) { 22142 var S = IObject(arguments[index++]); 22143 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); 22144 var length = keys.length; 22145 var j = 0; 22146 var key; 22147 while (length > j) { 22148 key = keys[j++]; 22149 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; 22150 } 22151 } return T; 22152} : $assign; 22153 22154 22155/***/ }), 22156/* 260 */ 22157/***/ (function(module, exports, __webpack_require__) { 22158 22159"use strict"; 22160 22161 22162exports.__esModule = true; 22163 22164var _recaptcha = __webpack_require__(261); 22165 22166var _recaptcha2 = _interopRequireDefault(_recaptcha); 22167 22168var _reactAsyncScript = __webpack_require__(262); 22169 22170var _reactAsyncScript2 = _interopRequireDefault(_reactAsyncScript); 22171 22172function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 22173 22174var callbackName = "onloadcallback"; 22175var lang = typeof window !== "undefined" && window.recaptchaOptions && window.recaptchaOptions.lang ? "&hl=" + window.recaptchaOptions.lang : ""; 22176var URL = "https://www.google.com/recaptcha/api.js?onload=" + callbackName + "&render=explicit" + lang; 22177var globalName = "grecaptcha"; 22178 22179exports.default = (0, _reactAsyncScript2.default)(_recaptcha2.default, URL, { 22180 callbackName: callbackName, 22181 globalName: globalName, 22182 exposeFuncs: ["getValue", "getWidgetId", "reset", "execute"] 22183}); 22184 22185/***/ }), 22186/* 261 */ 22187/***/ (function(module, exports, __webpack_require__) { 22188 22189"use strict"; 22190 22191 22192exports.__esModule = true; 22193 22194var _extends2 = __webpack_require__(50); 22195 22196var _extends3 = _interopRequireDefault(_extends2); 22197 22198var _objectWithoutProperties2 = __webpack_require__(169); 22199 22200var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2); 22201 22202var _classCallCheck2 = __webpack_require__(31); 22203 22204var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); 22205 22206var _possibleConstructorReturn2 = __webpack_require__(33); 22207 22208var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); 22209 22210var _inherits2 = __webpack_require__(34); 22211 22212var _inherits3 = _interopRequireDefault(_inherits2); 22213 22214var _react = __webpack_require__(1); 22215 22216var _react2 = _interopRequireDefault(_react); 22217 22218var _propTypes = __webpack_require__(13); 22219 22220var _propTypes2 = _interopRequireDefault(_propTypes); 22221 22222function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 22223 22224var ReCAPTCHA = function (_React$Component) { 22225 (0, _inherits3.default)(ReCAPTCHA, _React$Component); 22226 22227 function ReCAPTCHA() { 22228 (0, _classCallCheck3.default)(this, ReCAPTCHA); 22229 22230 var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this)); 22231 22232 _this.state = {}; 22233 _this.handleExpired = _this.handleExpired.bind(_this); 22234 _this.handleRecaptchaRef = _this.handleRecaptchaRef.bind(_this); 22235 return _this; 22236 } 22237 22238 ReCAPTCHA.prototype.getValue = function getValue() { 22239 if (this.props.grecaptcha && this.state.widgetId !== undefined) { 22240 return this.props.grecaptcha.getResponse(this.state.widgetId); 22241 } 22242 return null; 22243 }; 22244 22245 ReCAPTCHA.prototype.getWidgetId = function getWidgetId() { 22246 if (this.props.grecaptcha && this.state.widgetId !== undefined) { 22247 return this.state.widgetId; 22248 } 22249 return null; 22250 }; 22251 22252 ReCAPTCHA.prototype.execute = function execute() { 22253 var grecaptcha = this.props.grecaptcha; 22254 var widgetId = this.state.widgetId; 22255 22256 22257 if (grecaptcha && widgetId !== undefined) { 22258 return grecaptcha.execute(widgetId); 22259 } else { 22260 this._executeRequested = true; 22261 } 22262 }; 22263 22264 ReCAPTCHA.prototype.reset = function reset() { 22265 if (this.props.grecaptcha && this.state.widgetId !== undefined) { 22266 this.props.grecaptcha.reset(this.state.widgetId); 22267 } 22268 }; 22269 22270 ReCAPTCHA.prototype.handleExpired = function handleExpired() { 22271 if (this.props.onExpired) { 22272 this.props.onExpired(); 22273 } else if (this.props.onChange) { 22274 this.props.onChange(null); 22275 } 22276 }; 22277 22278 ReCAPTCHA.prototype.explicitRender = function explicitRender(cb) { 22279 if (this.props.grecaptcha && this.state.widgetId === undefined) { 22280 var id = this.props.grecaptcha.render(this.captcha, { 22281 sitekey: this.props.sitekey, 22282 callback: this.props.onChange, 22283 theme: this.props.theme, 22284 type: this.props.type, 22285 tabindex: this.props.tabindex, 22286 "expired-callback": this.handleExpired, 22287 size: this.props.size, 22288 stoken: this.props.stoken, 22289 badge: this.props.badge 22290 }); 22291 this.setState({ 22292 widgetId: id 22293 }, cb); 22294 } 22295 if (this._executeRequested && this.props.grecaptcha && this.state.widgetId !== undefined) { 22296 this._executeRequested = false;
22297 this.execute(); 22298 } 22299 }; 22300 22301 ReCAPTCHA.prototype.componentDidMount = function componentDidMount() { 22302 this.explicitRender(); 22303 }; 22304 22305 ReCAPTCHA.prototype.componentDidUpdate = function componentDidUpdate() { 22306 this.explicitRender(); 22307 }; 22308 22309 ReCAPTCHA.prototype.handleRecaptchaRef = function handleRecaptchaRef(elem) { 22310 this.captcha = elem; 22311 }; 22312 22313 ReCAPTCHA.prototype.render = function render() { 22314 // consume properties owned by the reCATPCHA, pass the rest to the div so the user can style it. 22315 /* eslint-disable no-unused-vars */ 22316 var _props = this.props, 22317 sitekey = _props.sitekey, 22318 onChange = _props.onChange, 22319 theme = _props.theme, 22320 type = _props.type, 22321 tabindex = _props.tabindex, 22322 onExpired = _props.onExpired, 22323 size = _props.size, 22324 stoken = _props.stoken, 22325 grecaptcha = _props.grecaptcha, 22326 badge = _props.badge, 22327 childProps = (0, _objectWithoutProperties3.default)(_props, ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "size", "stoken", "grecaptcha", "badge"]); 22328 /* eslint-enable no-unused-vars */ 22329 22330 return _react2.default.createElement("div", (0, _extends3.default)({}, childProps, { ref: this.handleRecaptchaRef })); 22331 }; 22332 22333 return ReCAPTCHA; 22334}(_react2.default.Component); 22335 22336exports.default = ReCAPTCHA; 22337 22338
22339ReCAPTCHA.displayName = "ReCAPTCHA"; 22340ReCAPTCHA.propTypes = { 22341 sitekey: _propTypes2.default.string.isRequired, 22342 onChange: _propTypes2.default.func.isRequired, 22343 grecaptcha: _propTypes2.default.object, 22344 theme: _propTypes2.default.oneOf(["dark", "light"]), 22345 type: _propTypes2.default.oneOf(["image", "audio"]), 22346 tabindex: _propTypes2.default.number, 22347 onExpired: _propTypes2.default.func, 22348 size: _propTypes2.default.oneOf(["compact", "normal", "invisible"]), 22349 stoken: _propTypes2.default.string, 22350 badge: _propTypes2.default.oneOf(["bottomright", "bottomleft", "inline"]) 22351}; 22352ReCAPTCHA.defaultProps = { 22353 theme: "light", 22354 type: "image", 22355 tabindex: 0, 22356 size: "normal", 22357 badge: "bottomright" 22358}; 22359 22360/***/ }), 22361/* 262 */ 22362/***/ (function(module, exports, __webpack_require__) { 22363 22364"use strict"; 22365 22366 22367exports.__esModule = true; 22368 22369var _extends2 = __webpack_require__(50); 22370 22371var _extends3 = _interopRequireDefault(_extends2); 22372 22373var _objectWithoutProperties2 = __webpack_require__(169); 22374 22375var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2); 22376 22377var _getIterator2 = __webpack_require__(263); 22378 22379var _getIterator3 = _interopRequireDefault(_getIterator2); 22380 22381var _classCallCheck2 = __webpack_require__(31); 22382 22383var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); 22384 22385var _possibleConstructorReturn2 = __webpack_require__(33); 22386 22387var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); 22388 22389var _inherits2 = __webpack_require__(34); 22390 22391var _inherits3 = _interopRequireDefault(_inherits2); 22392 22393var _map = __webpack_require__(266); 22394 22395var _map2 = _interopRequireDefault(_map); 22396 22397exports.default = makeAsyncScript; 22398 22399var _react = __webpack_require__(1); 22400 22401var _react2 = _interopRequireDefault(_react); 22402 22403var _propTypes = __webpack_require__(13); 22404 22405var _propTypes2 = _interopRequireDefault(_propTypes); 22406 22407function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 22408 22409var SCRIPT_MAP = new _map2.default(); 22410 22411// A counter used to generate a unique id for each component that uses the function 22412var idCount = 0; 22413 22414function makeAsyncScript(Component, scriptURL, options) { 22415 options = options || {}; 22416 var wrappedComponentName = Component.displayName || Component.name || "Component"; 22417 22418 var AsyncScriptLoader = function (_React$Component) { 22419 (0, _inherits3.default)(AsyncScriptLoader, _React$Component); 22420 22421 function AsyncScriptLoader() { 22422 (0, _classCallCheck3.default)(this, AsyncScriptLoader); 22423 22424 var _this = (0, _possibleConstructorReturn3.default)(this, _React$Component.call(this)); 22425 22426 _this.state = {}; 22427 return _this; 22428 } 22429 22430 AsyncScriptLoader.prototype.asyncScriptLoaderGetScriptLoaderID = function asyncScriptLoaderGetScriptLoaderID() { 22431 if (!this.__scriptLoaderID) { 22432 this.__scriptLoaderID = "async-script-loader-" + idCount++; 22433 } 22434 return this.__scriptLoaderID; 22435 }; 22436 22437 AsyncScriptLoader.prototype.getComponent = function getComponent() { 22438 return this.childComponent; 22439 }; 22440 22441 AsyncScriptLoader.prototype.componentDidMount = function componentDidMount() { 22442 var _this2 = this; 22443 22444 var key = this.asyncScriptLoaderGetScriptLoaderID(); 22445 var _options = options, 22446 globalName = _options.globalName, 22447 callbackName = _options.callbackName; 22448 22449 if (globalName && typeof window[globalName] !== "undefined") { 22450 SCRIPT_MAP.set(scriptURL, { loaded: true, observers: new _map2.default() }); 22451 } 22452 22453 if (SCRIPT_MAP.has(scriptURL)) { 22454 var entry = SCRIPT_MAP.get(scriptURL); 22455 if (entry && (entry.loaded || entry.errored)) { 22456 this.asyncScriptLoaderHandleLoad(entry); 22457 return; 22458 } 22459 entry.observers.set(key, function (entry) { 22460 return _this2.asyncScriptLoaderHandleLoad(entry); 22461 }); 22462 return; 22463 } 22464 22465 var observers = new _map2.default(); 22466 observers.set(key, function (entry) { 22467 return _this2.asyncScriptLoaderHandleLoad(entry); 22468 }); 22469 SCRIPT_MAP.set(scriptURL, { 22470 loaded: false, 22471 observers: observers 22472 }); 22473 22474 var script = document.createElement("script"); 22475 22476 script.src = scriptURL; 22477 script.async = 1; 22478 22479 var callObserverFuncAndRemoveObserver = function callObserverFuncAndRemoveObserver(func) { 22480 if (SCRIPT_MAP.has(scriptURL)) { 22481 var mapEntry = SCRIPT_MAP.get(scriptURL); 22482 var observersMap = mapEntry.observers; 22483 22484 for (var _iterator = observersMap, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) { 22485 var _ref; 22486 22487 if (_isArray) { 22488 if (_i >= _iterator.length) break; 22489 _ref = _iterator[_i++]; 22490 } else { 22491 _i = _iterator.next(); 22492 if (_i.done) break; 22493 _ref = _i.value; 22494 } 22495 22496 var _ref2 = _ref, 22497 obsKey = _ref2[0], 22498 observer = _ref2[1]; 22499 22500 if (func(observer)) { 22501 observersMap.delete(obsKey); 22502 } 22503 } 22504 } 22505 }; 22506 22507 if (callbackName && typeof window !== "undefined") { 22508 window[callbackName] = AsyncScriptLoader.asyncScriptLoaderTriggerOnScriptLoaded; 22509 } 22510 22511 script.onload = function () { 22512 var mapEntry = SCRIPT_MAP.get(scriptURL); 22513 if (mapEntry) { 22514 mapEntry.loaded = true; 22515 callObserverFuncAndRemoveObserver(function (observer) { 22516 if (callbackName) { 22517 return false;
22518 } 22519 observer(mapEntry); 22520 return true; 22521 }); 22522 } 22523 }; 22524 script.onerror = function (event) { 22525 var mapEntry = SCRIPT_MAP.get(scriptURL); 22526 if (mapEntry) { 22527 mapEntry.errored = true; 22528 callObserverFuncAndRemoveObserver(function (observer) { 22529 observer(mapEntry); 22530 return true; 22531 }); 22532 } 22533 }; 22534 22535 // (old) MSIE browsers may call "onreadystatechange" instead of "onload" 22536 script.onreadystatechange = function () { 22537 if (_this2.readyState === "loaded") { 22538 // wait for other events, then call onload if default onload hadn't been called 22539 window.setTimeout(function () { 22540 var mapEntry = SCRIPT_MAP.get(scriptURL); 22541 if (mapEntry && mapEntry.loaded !== true) { 22542 script.onload(); 22543 } 22544 }, 0); 22545 } 22546 }; 22547 22548 document.body.appendChild(script); 22549 }; 22550 22551 AsyncScriptLoader.prototype.asyncScriptLoaderHandleLoad = function asyncScriptLoaderHandleLoad(state) { 22552 this.setState(state, this.props.asyncScriptOnLoad); 22553 }; 22554 22555 AsyncScriptLoader.prototype.componentWillUnmount = function componentWillUnmount() { 22556 // Remove tag script 22557 if (options.removeOnUnmount === true) { 22558 var allScripts = document.getElementsByTagName("script"); 22559 for (var i = 0; i < allScripts.length; i += 1) { 22560 if (allScripts[i].src.indexOf(scriptURL) > -1) { 22561 if (allScripts[i].parentNode) { 22562 allScripts[i].parentNode.removeChild(allScripts[i]); 22563 } 22564 } 22565 } 22566 } 22567 // Clean the observer entry 22568 var mapEntry = SCRIPT_MAP.get(scriptURL); 22569 if (mapEntry) { 22570 mapEntry.observers.delete(this.asyncScriptLoaderGetScriptLoaderID()); 22571 if (options.removeOnUnmount === true) { 22572 SCRIPT_MAP.delete(scriptURL); 22573 } 22574 } 22575 }; 22576 22577 AsyncScriptLoader.prototype.render = function render() { 22578 var _this3 = this; 22579 22580 var globalName = options.globalName; 22581 var _props = this.props, 22582 asyncScriptOnLoad = _props.asyncScriptOnLoad, 22583 childProps = (0, _objectWithoutProperties3.default)(_props, ["asyncScriptOnLoad"]); 22584 22585 if (globalName && typeof window !== "undefined") { 22586 childProps[globalName] = typeof window[globalName] !== "undefined" ? window[globalName] : undefined; 22587 } 22588 return _react2.default.createElement(Component, (0, _extends3.default)({ ref: function ref(comp) { 22589 _this3.childComponent = comp; 22590 } }, childProps)); 22591 }; 22592 22593 return AsyncScriptLoader; 22594 }(_react2.default.Component); 22595 22596 AsyncScriptLoader.displayName = "AsyncScriptLoader(" + wrappedComponentName + ")"; 22597 AsyncScriptLoader.propTypes = { 22598 asyncScriptOnLoad: _propTypes2.default.func 22599 }; 22600 AsyncScriptLoader.asyncScriptLoaderTriggerOnScriptLoaded = function () { 22601 var mapEntry = SCRIPT_MAP.get(scriptURL); 22602 if (!mapEntry || !mapEntry.loaded) { 22603 throw new Error("Script is not loaded."); 22604 } 22605 for (var _iterator2 = mapEntry.observers.values(), _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : (0, _getIterator3.default)(_iterator2);;) { 22606 var _ref3; 22607 22608 if (_isArray2) { 22609 if (_i2 >= _iterator2.length) break; 22610 _ref3 = _iterator2[_i2++]; 22611 } else { 22612 _i2 = _iterator2.next(); 22613 if (_i2.done) break; 22614 _ref3 = _i2.value; 22615 } 22616 22617 var observer = _ref3; 22618 22619 observer(mapEntry); 22620 } 22621 delete window[options.callbackName]; 22622 }; 22623 22624 if (options.exposeFuncs) { 22625 var _loop = function _loop() { 22626 if (_isArray3) { 22627 if (_i3 >= _iterator3.length) return "break"; 22628 _ref4 = _iterator3[_i3++]; 22629 } else { 22630 _i3 = _iterator3.next(); 22631 if (_i3.done) return "break"; 22632 _ref4 = _i3.value; 22633 } 22634 22635 var funcToExpose = _ref4; 22636 22637 /* eslint-disable no-loop-func */ 22638 AsyncScriptLoader.prototype[funcToExpose] = function () { 22639 var _getComponent; 22640 22641 return (_getComponent = this.getComponent())[funcToExpose].apply(_getComponent, arguments); 22642 }; 22643 /* eslint-enable no-loop-func */ 22644 }; 22645 22646 for (var _iterator3 = options.exposeFuncs, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : (0, _getIterator3.default)(_iterator3);;) { 22647 var _ref4; 22648 22649 var _ret = _loop(); 22650 22651 if (_ret === "break") break; 22652 } 22653 } 22654 return AsyncScriptLoader; 22655} 22656 22657/***/ }), 22658/* 263 */ 22659/***/ (function(module, exports, __webpack_require__) { 22660 22661module.exports = { "default": __webpack_require__(264), __esModule: true }; 22662 22663/***/ }), 22664/* 264 */ 22665/***/ (function(module, exports, __webpack_require__) { 22666 22667__webpack_require__(36); 22668__webpack_require__(35); 22669module.exports = __webpack_require__(265); 22670 22671 22672/***/ }), 22673/* 265 */ 22674/***/ (function(module, exports, __webpack_require__) { 22675 22676var anObject = __webpack_require__(14); 22677var get = __webpack_require__(187); 22678module.exports = __webpack_require__(4).getIterator = function (it) { 22679 var iterFn = get(it); 22680 if (typeof iterFn != 'function') throw TypeError(it + ' is not iterable!'); 22681 return anObject(iterFn.call(it)); 22682}; 22683 22684 22685/***/ }), 22686/* 266 */ 22687/***/ (function(module, exports, __webpack_require__) { 22688 22689module.exports = { "default": __webpack_require__(267), __esModule: true }; 22690 22691/***/ }), 22692/* 267 */ 22693/***/ (function(module, exports, __webpack_require__) { 22694 22695__webpack_require__(171); 22696__webpack_require__(35); 22697__webpack_require__(36); 22698__webpack_require__(268); 22699__webpack_require__(274); 22700__webpack_require__(277); 22701__webpack_require__(279); 22702module.exports = __webpack_require__(4).Map; 22703 22704 22705/***/ }), 22706/* 268 */ 22707/***/ (function(module, exports, __webpack_require__) { 22708 22709"use strict"; 22710 22711var strong = __webpack_require__(269); 22712var validate = __webpack_require__(192); 22713var MAP = 'Map'; 22714 22715// 23.1 Map Objects 22716module.exports = __webpack_require__(270)(MAP, function (get) { 22717 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 22718}, { 22719 // 23.1.3.6 Map.prototype.get(key) 22720 get: function get(key) { 22721 var entry = strong.getEntry(validate(this, MAP), key); 22722 return entry && entry.v; 22723 }, 22724 // 23.1.3.9 Map.prototype.set(key, value) 22725 set: function set(key, value) { 22726 return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); 22727 } 22728}, strong, true); 22729 22730 22731/***/ }), 22732/* 269 */ 22733/***/ (function(module, exports, __webpack_require__) { 22734 22735"use strict"; 22736 22737var dP = __webpack_require__(11).f; 22738var create = __webpack_require__(26); 22739var redefineAll = __webpack_require__(175); 22740var ctx = __webpack_require__(17); 22741var anInstance = __webpack_require__(174); 22742var forOf = __webpack_require__(24); 22743var $iterDefine = __webpack_require__(39); 22744var step = __webpack_require__(186); 22745var setSpecies = __webpack_require__(206); 22746var DESCRIPTORS = __webpack_require__(8); 22747var fastKey = __webpack_require__(47).fastKey; 22748var validate = __webpack_require__(192); 22749var SIZE = DESCRIPTORS ? '_s' : 'size'; 22750 22751var getEntry = function (that, key) { 22752 // fast case 22753 var index = fastKey(key); 22754 var entry; 22755 if (index !== 'F') return that._i[index]; 22756 // frozen object case 22757 for (entry = that._f; entry; entry = entry.n) { 22758 if (entry.k == key) return entry; 22759 } 22760}; 22761 22762module.exports = { 22763 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { 22764 var C = wrapper(function (that, iterable) { 22765 anInstance(that, C, NAME, '_i'); 22766 that._t = NAME; // collection type 22767 that._i = create(null); // index 22768 that._f = undefined; // first entry 22769 that._l = undefined; // last entry
vendor: 10,211 bytes, lines 22770-23111
22770 that[SIZE] = 0; // size 22771 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); 22772 }); 22773 redefineAll(C.prototype, { 22774 // 23.1.3.1 Map.prototype.clear() 22775 // 23.2.3.2 Set.prototype.clear() 22776 clear: function clear() { 22777 for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { 22778 entry.r = true; 22779 if (entry.p) entry.p = entry.p.n = undefined; 22780 delete data[entry.i]; 22781 } 22782 that._f = that._l = undefined; 22783 that[SIZE] = 0; 22784 }, 22785 // 23.1.3.3 Map.prototype.delete(key) 22786 // 23.2.3.4 Set.prototype.delete(value) 22787 'delete': function (key) { 22788 var that = validate(this, NAME); 22789 var entry = getEntry(that, key); 22790 if (entry) { 22791 var next = entry.n; 22792 var prev = entry.p; 22793 delete that._i[entry.i]; 22794 entry.r = true; 22795 if (prev) prev.n = next; 22796 if (next) next.p = prev; 22797 if (that._f == entry) that._f = next; 22798 if (that._l == entry) that._l = prev; 22799 that[SIZE]--; 22800 } return !!entry; 22801 }, 22802 // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) 22803 // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) 22804 forEach: function forEach(callbackfn /* , that = undefined */) { 22805 validate(this, NAME); 22806 var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); 22807 var entry; 22808 while (entry = entry ? entry.n : this._f) { 22809 f(entry.v, entry.k, this); 22810 // revert to the last existing entry 22811 while (entry && entry.r) entry = entry.p; 22812 } 22813 }, 22814 // 23.1.3.7 Map.prototype.has(key) 22815 // 23.2.3.7 Set.prototype.has(value) 22816 has: function has(key) { 22817 return !!getEntry(validate(this, NAME), key); 22818 } 22819 }); 22820 if (DESCRIPTORS) dP(C.prototype, 'size', { 22821 get: function () { 22822 return validate(this, NAME)[SIZE]; 22823 } 22824 }); 22825 return C; 22826 }, 22827 def: function (that, key, value) { 22828 var entry = getEntry(that, key); 22829 var prev, index; 22830 // change existing entry 22831 if (entry) { 22832 entry.v = value; 22833 // create new entry 22834 } else { 22835 that._l = entry = { 22836 i: index = fastKey(key, true), // <- index 22837 k: key, // <- key 22838 v: value, // <- value 22839 p: prev = that._l, // <- previous entry 22840 n: undefined, // <- next entry 22841 r: false // <- removed 22842 }; 22843 if (!that._f) that._f = entry; 22844 if (prev) prev.n = entry; 22845 that[SIZE]++; 22846 // add to index 22847 if (index !== 'F') that._i[index] = entry; 22848 } return that; 22849 }, 22850 getEntry: getEntry, 22851 setStrong: function (C, NAME, IS_MAP) { 22852 // add .keys, .values, .entries, [@@iterator] 22853 // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 22854 $iterDefine(C, NAME, function (iterated, kind) { 22855 this._t = validate(iterated, NAME); // target 22856 this._k = kind; // kind 22857 this._l = undefined; // previous 22858 }, function () { 22859 var that = this; 22860 var kind = that._k; 22861 var entry = that._l; 22862 // revert to the last existing entry 22863 while (entry && entry.r) entry = entry.p; 22864 // get next entry 22865 if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { 22866 // or finish the iteration 22867 that._t = undefined; 22868 return step(1); 22869 } 22870 // return step by kind 22871 if (kind == 'keys') return step(0, entry.k); 22872 if (kind == 'values') return step(0, entry.v); 22873 return step(0, [entry.k, entry.v]); 22874 }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); 22875 22876 // add [@@species], 23.1.2.2, 23.2.2.2 22877 setSpecies(NAME); 22878 } 22879}; 22880 22881 22882/***/ }), 22883/* 270 */ 22884/***/ (function(module, exports, __webpack_require__) { 22885 22886"use strict"; 22887 22888var global = __webpack_require__(7); 22889var $export = __webpack_require__(9); 22890var meta = __webpack_require__(47); 22891var fails = __webpack_require__(18); 22892var hide = __webpack_require__(15); 22893var redefineAll = __webpack_require__(175); 22894var forOf = __webpack_require__(24); 22895var anInstance = __webpack_require__(174); 22896var isObject = __webpack_require__(10); 22897var setToStringTag = __webpack_require__(23); 22898var dP = __webpack_require__(11).f; 22899var each = __webpack_require__(271)(0); 22900var DESCRIPTORS = __webpack_require__(8); 22901 22902module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { 22903 var Base = global[NAME]; 22904 var C = Base; 22905 var ADDER = IS_MAP ? 'set' : 'add'; 22906 var proto = C && C.prototype; 22907 var O = {}; 22908 if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { 22909 new C().entries().next(); 22910 }))) { 22911 // create collection constructor 22912 C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); 22913 redefineAll(C.prototype, methods); 22914 meta.NEED = true; 22915 } else { 22916 C = wrapper(function (target, iterable) { 22917 anInstance(target, C, NAME, '_c'); 22918 target._c = new Base(); 22919 if (iterable != undefined) forOf(iterable, IS_MAP, target[ADDER], target); 22920 }); 22921 each('add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON'.split(','), function (KEY) { 22922 var IS_ADDER = KEY == 'add' || KEY == 'set'; 22923 if (KEY in proto && !(IS_WEAK && KEY == 'clear')) hide(C.prototype, KEY, function (a, b) { 22924 anInstance(this, C, KEY); 22925 if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false; 22926 var result = this._c[KEY](a === 0 ? 0 : a, b); 22927 return IS_ADDER ? this : result; 22928 }); 22929 }); 22930 IS_WEAK || dP(C.prototype, 'size', { 22931 get: function () { 22932 return this._c.size; 22933 } 22934 }); 22935 } 22936 22937 setToStringTag(C, NAME); 22938 22939 O[NAME] = C; 22940 $export($export.G + $export.W + $export.F, O); 22941 22942 if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); 22943 22944 return C; 22945}; 22946 22947 22948/***/ }), 22949/* 271 */ 22950/***/ (function(module, exports, __webpack_require__) { 22951 22952// 0 -> Array#forEach 22953// 1 -> Array#map 22954// 2 -> Array#filter 22955// 3 -> Array#some 22956// 4 -> Array#every 22957// 5 -> Array#find 22958// 6 -> Array#findIndex 22959var ctx = __webpack_require__(17); 22960var IObject = __webpack_require__(41); 22961var toObject = __webpack_require__(29); 22962var toLength = __webpack_require__(42); 22963var asc = __webpack_require__(272); 22964module.exports = function (TYPE, $create) { 22965 var IS_MAP = TYPE == 1; 22966 var IS_FILTER = TYPE == 2; 22967 var IS_SOME = TYPE == 3; 22968 var IS_EVERY = TYPE == 4; 22969 var IS_FIND_INDEX = TYPE == 6; 22970 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; 22971 var create = $create || asc; 22972 return function ($this, callbackfn, that) { 22973 var O = toObject($this); 22974 var self = IObject(O); 22975 var f = ctx(callbackfn, that, 3); 22976 var length = toLength(self.length); 22977 var index = 0; 22978 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; 22979 var val, res; 22980 for (;length > index; index++) if (NO_HOLES || index in self) { 22981 val = self[index]; 22982 res = f(val, index, O); 22983 if (TYPE) { 22984 if (IS_MAP) result[index] = res; // map 22985 else if (res) switch (TYPE) { 22986 case 3: return true; // some 22987 case 5: return val; // find 22988 case 6: return index; // findIndex 22989 case 2: result.push(val); // filter 22990 } else if (IS_EVERY) return false; // every 22991 } 22992 } 22993 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; 22994 }; 22995}; 22996 22997 22998/***/ }), 22999/* 272 */ 23000/***/ (function(module, exports, __webpack_require__) { 23001 23002// 9.4.2.3 ArraySpeciesCreate(originalArray, length) 23003var speciesConstructor = __webpack_require__(273); 23004 23005module.exports = function (original, length) { 23006 return new (speciesConstructor(original))(length); 23007}; 23008 23009 23010/***/ }), 23011/* 273 */ 23012/***/ (function(module, exports, __webpack_require__) { 23013 23014var isObject = __webpack_require__(10); 23015var isArray = __webpack_require__(189); 23016var SPECIES = __webpack_require__(5)('species'); 23017 23018module.exports = function (original) { 23019 var C; 23020 if (isArray(original)) { 23021 C = original.constructor; 23022 // cross-realm fallback 23023 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; 23024 if (isObject(C)) { 23025 C = C[SPECIES]; 23026 if (C === null) C = undefined; 23027 } 23028 } return C === undefined ? Array : C; 23029}; 23030 23031 23032/***/ }), 23033/* 274 */ 23034/***/ (function(module, exports, __webpack_require__) { 23035 23036// https://github.com/DavidBruant/Map-Set.prototype.toJSON 23037var $export = __webpack_require__(9); 23038 23039$export($export.P + $export.R, 'Map', { toJSON: __webpack_require__(275)('Map') }); 23040 23041 23042/***/ }), 23043/* 275 */ 23044/***/ (function(module, exports, __webpack_require__) { 23045 23046// https://github.com/DavidBruant/Map-Set.prototype.toJSON 23047var classof = __webpack_require__(173); 23048var from = __webpack_require__(276); 23049module.exports = function (NAME) { 23050 return function toJSON() { 23051 if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); 23052 return from(this); 23053 }; 23054}; 23055 23056 23057/***/ }), 23058/* 276 */ 23059/***/ (function(module, exports, __webpack_require__) { 23060 23061var forOf = __webpack_require__(24); 23062 23063module.exports = function (iter, ITERATOR) { 23064 var result = []; 23065 forOf(iter, false, result.push, result, ITERATOR); 23066 return result; 23067}; 23068 23069 23070/***/ }), 23071/* 277 */ 23072/***/ (function(module, exports, __webpack_require__) { 23073 23074// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of 23075__webpack_require__(278)('Map'); 23076 23077 23078/***/ }), 23079/* 278 */ 23080/***/ (function(module, exports, __webpack_require__) { 23081 23082"use strict"; 23083 23084// https://tc39.github.io/proposal-setmap-offrom/ 23085var $export = __webpack_require__(9); 23086 23087module.exports = function (COLLECTION) { 23088 $export($export.S, COLLECTION, { of: function of() { 23089 var length = arguments.length; 23090 var A = new Array(length); 23091 while (length--) A[length] = arguments[length]; 23092 return new this(A); 23093 } }); 23094}; 23095 23096 23097/***/ }), 23098/* 279 */ 23099/***/ (function(module, exports, __webpack_require__) { 23100 23101// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from 23102__webpack_require__(280)('Map'); 23103 23104 23105/***/ }), 23106/* 280 */ 23107/***/ (function(module, exports, __webpack_require__) { 23108 23109"use strict"; 23110 23111// https://tc39.github.io/proposal-setmap-offrom/
23112var $export = __webpack_require__(9); 23113var aFunction = __webpack_require__(168); 23114var ctx = __webpack_require__(17); 23115var forOf = __webpack_require__(24); 23116 23117module.exports = function (COLLECTION) { 23118 $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { 23119 var mapFn = arguments[1]; 23120 var mapping, A, n, cb; 23121 aFunction(this); 23122 mapping = mapFn !== undefined; 23123 if (mapping) aFunction(mapFn); 23124 if (source == undefined) return new this(); 23125 A = []; 23126 if (mapping) { 23127 n = 0; 23128 cb = ctx(mapFn, arguments[2], 2); 23129 forOf(source, false, function (nextItem) { 23130 A.push(cb(nextItem, n++)); 23131 }); 23132 } else { 23133 forOf(source, false, A.push, A); 23134 } 23135 return new this(A); 23136 } }); 23137}; 23138 23139 23140/***/ }), 23141/* 281 */ 23142/***/ (function(module, exports, __webpack_require__) { 23143 23144!function(e,t){ true?module.exports=t(__webpack_require__(1)):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.reactTextMask=t(require("react")):e.reactTextMask=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.conformToMask=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),f=r(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return n(f).default}});var c=r(11),p=n(c),d=r(9),h=n(d),v=r(5),y=n(v),m=r(2),b=function(e){function t(){var e;i(this,t);for(var r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var u=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return u.setRef=u.setRef.bind(u),u.onBlur=u.onBlur.bind(u),u.onChange=u.onChange.bind(u),u}return u(t,e),l(t,[{key:"setRef",value:function(e){this.inputElement=e}},{key:"initTextMask",value:function(){var e=this.props,t=this.props.value;this.textMaskInputElement=(0,y.default)(s({inputElement:this.inputElement},e)),this.textMaskInputElement.update(t)}},{key:"componentDidMount",value:function(){this.initTextMask()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.value,n=t.pipe,o=t.mask,i=t.guide,a=t.placeholderChar,u=t.showMask,s={guide:i,placeholderChar:a,showMask:u},l="function"==typeof n&&"function"==typeof e.pipe?n.toString()!==e.pipe.toString():(0,m.isNil)(n)&&!(0,m.isNil)(e.pipe)||!(0,m.isNil)(n)&&(0,m.isNil)(e.pipe),f=o.toString()!==e.mask.toString(),c=Object.keys(s).some(function(t){return s[t]!==e[t]})||f||l,p=r!==this.inputElement.value;(p||c)&&this.initTextMask()}},{key:"render",value:function e(){var t=this.props,e=t.render,r=o(t,["render"]);return delete r.mask,delete r.guide,delete r.pipe,delete r.placeholderChar,delete r.keepCharPositions,delete r.value,delete r.onBlur,delete r.onChange,delete r.showMask,e(this.setRef,s({onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value},r))}},{key:"onChange",value:function(e){this.textMaskInputElement.update(
vendor: 4,820 bytes, line 23144
23144),"function"==typeof this.props.onChange&&this.props.onChange(e)}},{key:"onBlur",value:function(e){"function"==typeof this.props.onBlur&&this.props.onBlur(e)}}]),t}(p.default.PureComponent);t.default=b,b.propTypes={mask:h.default.oneOfType([h.default.array,h.default.func,h.default.bool,h.default.shape({mask:h.default.oneOfType([h.default.array,h.default.func]),pipe:h.default.func})]).isRequired,guide:h.default.bool,value:h.default.oneOfType([h.default.string,h.default.number]),pipe:h.default.func,placeholderChar:h.default.string,keepCharPositions:h.default.bool,showMask:h.default.bool},b.defaultProps={render:function(e,t){return p.default.createElement("input",s({ref:e},t))}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t,r){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.placeholderChar;if(!o(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(e.indexOf(t)!==-1)throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\n"+("The placeholder character that was received is: "+JSON.stringify(t)+"\n\n")+("The mask that was received is: "+JSON.stringify(e)));return e.map(function(e){return e instanceof RegExp?t:e}).join("")}function o(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function i(e){return"string"==typeof e||e instanceof String}function a(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)}function u(e){return"undefined"==typeof e||null===e}function s(e){for(var t=[],r=void 0;r=e.indexOf(c),r!==-1;)t.push(r),e.splice(r,1);return{maskWithoutCaretTraps:e,indexes:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=n,t.isArray=o,t.isString=i,t.isNumber=a,t.isNil=u,t.processCaretTraps=s;var l=r(1),f=[],c="[]"},function(e,t,r){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,i.isArray)(t)){if(("undefined"==typeof t?"undefined":o(t))!==a.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,r),t=(0,i.processCaretTraps)(t).maskWithoutCaretTraps}var n=r.guide,l=void 0===n||n,f=r.previousConformedValue,c=void 0===f?s:f,p=r.placeholderChar,d=void 0===p?a.placeholderChar:p,h=r.placeholder,v=void 0===h?(0,i.convertMaskToPlaceholder)(t,d):h,y=r.currentCaretPosition,m=r.keepCharPositions,b=l===!1&&void 0!==c,g=e.length,k=c.length,C=v.length,O=t.length,T=g-k,P=T>0,x=y+(P?-T:0),w=x+Math.abs(T);if(m===!0&&!P){for(var S=s,_=x;_<w;_++)v[_]===d&&(S+=d);e=e.slice(0,x)+S+e.slice(x,g)}for(var M=e.split(s).map(function(e,t){return{char:e,isNew:t>=x&&t<w}}),j=g-1;j>=0;j--){var E=M[j].char;if(E!==d){var R=j>=x&&k===O;E===v[R?j-T:j]&&M.splice(j,1)}}var V=s,N=!1;e:for(var A=0;A<C;A++){var B=v[A];if(B===d){if(M.length>0)for(;M.length>0;){var I=M.shift(),F=I.char,q=I.isNew;if(F===d&&b!==!0){V+=d;continue e}if(t[A].test(F)){if(m===!0&&q!==!1&&c!==s&&l!==!1&&P){for(var D=M.length,L=null,W=0;W<D;W++){var J=M[W];if(J.char!==d&&J.isNew===!1)break;if(J.char===d){L=W;break}}null!==L?(V+=F,M.splice(L,1)):A--}else V+=F;continue e}N=!0}b===!1&&(V+=v.substr(A,C));break}V+=B}if(b&&P===!1){for(var U=null,H=0;H<V.length;H++)v[H]===d&&(U=H);V=null!==U?V.substr(0,U+1):s}return{conformedValue:V,meta:{someCharsRejected:N}}}Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=n;var i=r(2),a=r(1),u=[],s=""},function(e,t){"use strict";function r(e){var t=e.previousConformedValue,r=void 0===t?o:t,i=e.previousPlaceholder,a=void 0===i?o:i,u=e.currentCaretPosition,s=void 0===u?0:u,l=e.conformedValue,f=e.rawValue,c=e.placeholderChar,p=e.placeholder,d=e.indexesOfPipedChars,h=void 0===d?n:d,v=e.caretTrapIndexes,y=void 0===v?n:v;if(0===s||!f.length)return 0;var m=f.length,b=r.length,g=p.length,k=l.length,C=m-b,O=C>0,T=0===b,P=C>1&&!O&&!T;if(P)return s;var x=O&&(r===l||l===p),w=0,S=void 0,_=void 0;if(x)w=s-C;else{var M=l.toLowerCase(),j=f.toLowerCase(),E=j.substr(0,s).split(o),R=E.filter(function(e){return M.indexOf(e)!==-1});_=R[R.length-1];var V=a.substr(0,R.length).split(o).filter(function(e){return e!==c}).length,N=p.substr(0,R.length).split(o).filter(function(e){return e!==c}).length,A=N!==V,B=void 0!==a[R.length-1]&&void 0!==p[R.length-2]&&a[R.length-1]!==c&&a[R.length-1]!==
23144p[R.length-1]&&a[R.length-1]===p[R.length-2];!O&&(A||B)&&V>0&&p.indexOf(_)>-1&&void 0!==f[s]&&(S=!0,_=f[s]);for(var I=h.map(function(e){return M[e]}),F=I.filter(function(e){return e===_}).length,q=R.filter(function(e){return e===_}).length,D=p.substr(0,p.indexOf(c)).split(o).filter(function(e,t){return e===_&&f[t]!==e}).length,L=D+q+F+(S?1:0),W=0,J=0;J<k;J++){var U=M[J];if(w=J+1,U===_&&W++,W>=L)break}}if(O){for(var H=w,Y=w;Y<=g;Y++)if(p[Y]===c&&(H=Y),p[Y]===c||y.indexOf(Y)!==-1||Y===g)return H}else if(S){for(var z=w-1;z>=0;z--)if(l[z]===_||y.indexOf(z)!==-1||0===z)return z}else for(var G=w;G>=0;G--)if(p[G-1]===c||y.indexOf(G)!==-1||0===G)return G}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var n=[],o=""},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=n.inputElement,l=n.mask,c=n.guide,y=n.pipe,b=n.placeholderChar,g=void 0===b?h.placeholderChar:b,k=n.keepCharPositions,C=void 0!==k&&k,O=n.showMask,T=void 0!==O&&O;if("undefined"==typeof r&&(r=o.value),r!==t.previousConformedValue){("undefined"==typeof l?"undefined":s(l))===m&&void 0!==l.pipe&&void 0!==l.mask&&(y=l.pipe,l=l.mask);var P=void 0,x=void 0;if(l instanceof Array&&(P=(0,d.convertMaskToPlaceholder)(l,g)),l!==!1){var w=a(r),S=o.selectionEnd,_=t.previousConformedValue,M=t.previousPlaceholder,j=void 0;if(("undefined"==typeof l?"undefined":s(l))===h.strFunction){if(x=l(w,{currentCaretPosition:S,previousConformedValue:_,placeholderChar:g}),x===!1)return;var E=(0,d.processCaretTraps)(x),R=E.maskWithoutCaretTraps,V=E.indexes;x=R,j=V,P=(0,d.convertMaskToPlaceholder)(x,g)}else x=l;var N={previousConformedValue:_,guide:c,placeholderChar:g,pipe:y,placeholder:P,currentCaretPosition:S,keepCharPositions:C},A=(0,p.default)(w,x,N),B=A.conformedValue,I=("undefined"==typeof y?"undefined":s(y))===h.strFunction,F={};I&&(F=y(B,u({rawValue:w},N)),F===!1?F={value:_,rejected:!0}:(0,d.isString)(F)&&(F={value:F}));var q=I?F.value:B,D=(0,f.default)({previousConformedValue:_,previousPlaceholder:M,conformedValue:q,placeholder:P,rawValue:w,currentCaretPosition:S,placeholderChar:g,indexesOfPipedChars:F.indexesOfPipedChars,caretTrapIndexes:j}),L=q===P&&0===D,W=T?P:v,J=L?W:q;t.previousConformedValue=J,t.previousPlaceholder=P,o.value!==J&&(o.value=J,i(o,D))}}}}}function i(e,t){document.activeElement===e&&(b?g(function(){return e.setSelectionRange(t,t,y)},0):e.setSelectionRange(t,t,y))}function a(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(void 0===e||null===e)return v;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s="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};t.default=o;var l=r(4),f=n(l),c=r(3),p=n(c),d=r(2),h=r(1),v="",y="none",m="object",b="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout},function(e,t){"use strict";function r(e){return function(){return e}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,t,r){"use strict";function n(e,t,r,n,i,a,u,s){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[r,n,i,a,u,s],c=0;l=new Error(t.replace(/%s/g,function(){return f[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=n},function(e,t,r){"use strict";var n=r(6),o=r(7),i=r(10);e.exports=function(){function e(e,t,r,n,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;
23144var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=n,r.PropTypes=r,r}},function(e,t,r){"use strict";"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.exports=r(8)()},function(e,t){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=r},function(t,r){t.exports=e}])}); 23145 23146/***/ }), 23147/* 282 */, 23148/* 283 */, 23149/* 284 */, 23150/* 285 */, 23151/* 286 */ 23152/***/ (function(module, exports, __webpack_require__) { 23153 23154"use strict"; 23155 23156 23157Object.defineProperty(exports, "__esModule", { 23158 value: true 23159}); 23160 23161var _react = __webpack_require__(1); 23162 23163var _react2 = _interopRequireDefault(_react); 23164 23165__webpack_require__(287); 23166 23167function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 23168 23169var BusyIndicator = function BusyIndicator(props) { 23170 return _react2.default.createElement( 23171 'div', 23172 { className: 'busy-indicator' }, 23173 _react2.default.createElement('div', { className: 'loader' }) 23174 ); 23175}; 23176 23177exports.default = BusyIndicator; 23178 23179/***/ }), 23180/* 287 */ 23181/***/ (function(module, exports, __webpack_require__) { 23182 23183// style-loader: Adds some css to the DOM by adding a <style> tag 23184 23185// load the styles 23186var content = __webpack_require__(288); 23187if(typeof content === 'string') content = [[module.i, content, '']]; 23188// Prepare cssTransformation 23189var transform; 23190 23191var options = {} 23192options.transform = transform 23193// add the styles to the DOM 23194var update = __webpack_require__(3)(content, options); 23195if(content.locals) module.exports = content.locals; 23196// Hot Module Replacement 23197if(false) { 23198 // When the styles change, update the <style> tags 23199 if(!content.locals) { 23200 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./BusyIndicator.scss", function() { 23201 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./BusyIndicator.scss"); 23202 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 23203 update(newContent); 23204 }); 23205 } 23206 // When the module is disposed, remove the <style> tags 23207 module.hot.dispose(function() { update(); }); 23208} 23209 23210/***/ }), 23211/* 288 */ 23212/***/ (function(module, exports, __webpack_require__) { 23213 23214exports = module.exports = __webpack_require__(2)(undefined); 23215// imports 23216 23217 23218// module 23219exports.push([module.i, ".busy-indicator .loader {\n color: #173e6e;\n font-size: 55px;\n overflow: hidden;\n width: 1em;\n height: 1em;\n border-radius: 50%;\n margin: 72px auto;\n position: relative;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;\n animation: load6 1.7s infinite ease, round 1.7s infinite ease; }\n\n@-webkit-keyframes load6 {\n 0% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }\n 5%, 95% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }\n 10%, 59% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em; }\n 20% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em; }\n 38% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em; }\n 100% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } }\n\n@keyframes load6 {\n 0% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }\n 5%, 95% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; }\n 10%, 59% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em; }\n 20% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em; }\n 38% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em; }\n 100% {\n -webkit-box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;\n box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em; } }\n\n@-webkit-keyframes round {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes round {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n", ""]); 23220
23221// exports 23222 23223 23224/***/ }), 23225/* 289 */, 23226/* 290 */, 23227/* 291 */, 23228/* 292 */, 23229/* 293 */, 23230/* 294 */, 23231/* 295 */, 23232/* 296 */, 23233/* 297 */, 23234/* 298 */, 23235/* 299 */, 23236/* 300 */, 23237/* 301 */, 23238/* 302 */, 23239/* 303 */, 23240/* 304 */, 23241/* 305 */, 23242/* 306 */, 23243/* 307 */, 23244/* 308 */, 23245/* 309 */, 23246/* 310 */, 23247/* 311 */, 23248/* 312 */, 23249/* 313 */, 23250/* 314 */, 23251/* 315 */, 23252/* 316 */, 23253/* 317 */, 23254/* 318 */, 23255/* 319 */, 23256/* 320 */, 23257/* 321 */, 23258/* 322 */, 23259/* 323 */, 23260/* 324 */, 23261/* 325 */, 23262/* 326 */, 23263/* 327 */, 23264/* 328 */, 23265/* 329 */, 23266/* 330 */, 23267/* 331 */, 23268/* 332 */, 23269/* 333 */, 23270/* 334 */, 23271/* 335 */, 23272/* 336 */, 23273/* 337 */, 23274/* 338 */, 23275/* 339 */, 23276/* 340 */, 23277/* 341 */, 23278/* 342 */, 23279/* 343 */, 23280/* 344 */, 23281/* 345 */, 23282/* 346 */, 23283/* 347 */, 23284/* 348 */, 23285/* 349 */, 23286/* 350 */, 23287/* 351 */, 23288/* 352 */, 23289/* 353 */, 23290/* 354 */, 23291/* 355 */, 23292/* 356 */, 23293/* 357 */, 23294/* 358 */, 23295/* 359 */, 23296/* 360 */, 23297/* 361 */, 23298/* 362 */, 23299/* 363 */, 23300/* 364 */, 23301/* 365 */, 23302/* 366 */, 23303/* 367 */ 23304/***/ (function(module, exports, __webpack_require__) { 23305 23306"use strict"; 23307 23308 23309Object.defineProperty(exports, "__esModule", { 23310 value: true 23311}); 23312 23313var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 23314 23315var _react = __webpack_require__(1); 23316 23317var _react2 = _interopRequireDefault(_react); 23318 23319var _reactDom = __webpack_require__(12); 23320 23321var _reactDom2 = _interopRequireDefault(_reactDom); 23322 23323__webpack_require__(368); 23324 23325__webpack_require__(370); 23326 23327function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 23328 23329function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 23330 23331function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 23332 23333function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 23334 23335var DROPDOWN_ARROW_SRC = '../images/appointment/icon-expanded.svg'; 23336 23337var Dropdown = function (_React$Component) { 23338 _inherits(Dropdown, _React$Component); 23339 23340 function Dropdown(props) { 23341 _classCallCheck(this, Dropdown); 23342 23343 var _this = _possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, props)); 23344 23345 _this.state = { 23346 placeholder: props.placeholder, 23347 isUp: false 23348 }; 23349 23350 _this.toggleVisibility = _this.toggleVisibility.bind(_this); 23351 _this.hide = _this.hide.bind(_this); 23352 return _this; 23353 } 23354 23355 _createClass(Dropdown, [{ 23356 key: 'componentDidMount', 23357 value: function componentDidMount() { 23358 var UP_THRESHOLD_PX = 750; 23359 23360 var position = _reactDom2.default.findDOMNode(this).getBoundingClientRect(); 23361 23362 if (position.bottom > UP_THRESHOLD_PX) { 23363 this.setState({ 23364 isUp: true 23365 }); 23366 } 23367 } 23368 }, { 23369 key: 'render', 23370 value: function render() { 23371 var _this2 = this; 23372 23373 var expandedClass = this.state.isExpanded ? 'expanded' : ''; 23374 var invalidClass = this.props.isInvalid ? 'invalid' : ''; 23375 var disabledClass = this.props.disabled ? 'disabled' : ''; 23376 var isUpClass = this.state.isUp ? 'up' : ''; 23377 23378 return _react2.default.createElement( 23379 'div', 23380 { className: 'd-dropdown ' + expandedClass + ' ' + this.props.styleClass + ' ' + invalidClass + ' ' + disabledClass + ' ' + isUpClass }, 23381 _react2.default.createElement( 23382 'div', 23383 { className: 'd-label', onClick: this.toggleVisibility }, 23384 this.selectedItem ? this.selectedItem.label : this.state.placeholder, 23385 _react2.default.createElement( 23386 'span', 23387 { className: 'd-trigger' }, 23388 _react2.default.createElement('img', { className: 'd-arrow', src: DROPDOWN_ARROW_SRC }) 23389 ) 23390 ), 23391 this.state.isExpanded && _react2.default.createElement( 23392 'ul', 23393 { className: 'd-select-list' }, 23394 this.props.items.map(function (current) { 23395 return _react2.default.createElement( 23396 'li', 23397 { 23398 className: 'd-select-item', 23399 key: current.value, 23400 onClick: function onClick(e) { 23401 return _this2.select(e, current.value); 23402 } },
23403 current.label 23404 ); 23405 }) 23406 ) 23407 ); 23408 } 23409 }, { 23410 key: 'toggleVisibility', 23411 value: function toggleVisibility() { 23412 this.state.isExpanded ? this.hide() : this.show(); 23413 } 23414 }, { 23415 key: 'show', 23416 value: function show() { 23417 if (this.props.disabled) return; 23418 23419 this.setState({ 23420 isExpanded: true 23421 }); 23422 document.addEventListener('click', this.hide); 23423 } 23424 }, { 23425 key: 'hide', 23426 value: function hide() { 23427 this.setState({ 23428 isExpanded: false 23429 }); 23430 document.removeEventListener('click', this.hide); 23431 } 23432 }, { 23433 key: 'select', 23434 value: function select(e, value) { 23435 e.stopPropagation(); 23436 23437 this.toggleVisibility(); 23438 23439 var eventArgs = { 23440 target: { 23441 name: this.props.name, 23442 value: value 23443 } 23444 }; 23445 23446 this.props.onSelect(eventArgs); 23447 } 23448 }, { 23449 key: 'selectedItem', 23450 get: function get() { 23451 var _this3 = this; 23452 23453 if (!this.props.selectedValue) return null; 23454 23455 return this.props.items.filter(function (current) { 23456 return current.value === _this3.props.selectedValue; 23457 })[0]; 23458 } 23459 }]); 23460 23461 return Dropdown; 23462}(_react2.default.Component); 23463 23464exports.default = Dropdown; 23465 23466/***/ }), 23467/* 368 */ 23468/***/ (function(module, exports, __webpack_require__) { 23469 23470// style-loader: Adds some css to the DOM by adding a <style> tag 23471 23472// load the styles 23473var content = __webpack_require__(369); 23474if(typeof content === 'string') content = [[module.i, content, '']]; 23475// Prepare cssTransformation 23476var transform; 23477 23478var options = {} 23479options.transform = transform 23480// add the styles to the DOM 23481var update = __webpack_require__(3)(content, options); 23482if(content.locals) module.exports = content.locals; 23483// Hot Module Replacement 23484if(false) { 23485 // When the styles change, update the <style> tags 23486 if(!content.locals) { 23487 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Dropdown.scss", function() { 23488 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Dropdown.scss"); 23489 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 23490 update(newContent); 23491 }); 23492 } 23493 // When the module is disposed, remove the <style> tags 23494 module.hot.dispose(function() { update(); }); 23495} 23496 23497/***/ }), 23498/* 369 */ 23499/***/ (function(module, exports, __webpack_require__) { 23500 23501exports = module.exports = __webpack_require__(2)(undefined); 23502// imports 23503 23504 23505// module 23506exports.push([module.i, ".d-dropdown {\n border-radius: 0;\n background: transparent;\n height: 45px;\n cursor: pointer;\n margin-bottom: 8px; }\n .d-dropdown.half {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%; }\n .d-dropdown.half:not(:last-child) {\n margin-right: 20px; }\n .d-dropdown.max-w-180px {\n max-width: 180px;\n width: 100%; }\n .d-dropdown.grow-3 {\n -webkit-box-flex: 3;\n -ms-flex-positive: 3;\n flex-grow: 3;\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n margin-right: 20px; }\n .d-dropdown.disabled {\n opacity: 0.5;\n cursor: not-allowed; }\n .d-dropdown .d-label {\n background-color: white;\n padding: 10px;\n padding-right: 30px;\n border: 1px solid #ccc;\n border-bottom: none;\n position: relative;\n -webkit-transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden; }\n .d-dropdown .d-label .d-trigger {\n position: absolute;\n right: 0;\n height: 100%;\n top: 0;\n width: 35px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n background-color: white; }\n .d-dropdown .d-label .d-trigger .d-arrow {\n margin: auto;\n width: 13px;\n height: 13px; }\n .d-dropdown:not(.expanded) .d-label {\n border-bottom: 1px solid #ccc; }\n .d-dropdown.up .d-select-list {\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%); }\n .d-dropdown .d-select-list {\n background-color: white;\n padding: 0;\n list-style-type: none;\n position: relative;\n left: 0;\n border: 1px solid #ccc;\n z-index: 10;\n -webkit-box-shadow: 0 3px 4px rgba(0, 0, 0, .2);\n box-shadow: 0 3px 4px rgba(0, 0, 0, .2); }\n .d-dropdown .d-select-list .d-select-item {\n padding: 10px;\n background-color: white;\n width: 100%; }\n .d-dropdown .d-select-list .d-select-item:not(:last-child) {\n border-bottom: 1px solid #ccc; }\n .d-dropdown .d-select-list .d-select-item:hover {\n background-color: #173e6e;\n color: white; }\n .d-dropdown.invalid .d-label {\n border: 1px solid #d0011b;\n color: #d0011b; }\n", ""]); 23507
23508// exports 23509 23510 23511/***/ }), 23512/* 370 */ 23513/***/ (function(module, exports, __webpack_require__) { 23514 23515// style-loader: Adds some css to the DOM by adding a <style> tag 23516 23517// load the styles 23518var content = __webpack_require__(371); 23519if(typeof content === 'string') content = [[module.i, content, '']]; 23520// Prepare cssTransformation 23521var transform; 23522 23523var options = {} 23524options.transform = transform 23525// add the styles to the DOM 23526var update = __webpack_require__(3)(content, options); 23527if(content.locals) module.exports = content.locals; 23528// Hot Module Replacement 23529if(false) { 23530 // When the styles change, update the <style> tags 23531 if(!content.locals) { 23532 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Animations.scss", function() { 23533 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Animations.scss"); 23534 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 23535 update(newContent); 23536 }); 23537 } 23538 // When the module is disposed, remove the <style> tags 23539 module.hot.dispose(function() { update(); }); 23540} 23541 23542/***/ }), 23543/* 371 */ 23544/***/ (function(module, exports, __webpack_require__) { 23545 23546exports = module.exports = __webpack_require__(2)(undefined); 23547// imports 23548 23549 23550// module 23551exports.push([module.i, ".d-dropdown .d-select-list {\n overflow: auto; }\n\n.d-dropdown.expanded .d-select-list {\n max-height: 300px;\n -webkit-animation: 500ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms dropdown-expand;\n animation: 500ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms dropdown-expand; }\n\n@-webkit-keyframes dropdown-expand {\n from {\n max-height: 0; }\n to {\n max-height: 300px; } }\n\n@keyframes dropdown-expand {\n from {\n max-height: 0; }\n to {\n max-height: 300px; } }\n", ""]); 23552 23553// exports 23554 23555 23556/***/ }), 23557/* 372 */ 23558/***/ (function(module, exports, __webpack_require__) { 23559 23560"use strict"; 23561 23562 23563Object.defineProperty(exports, "__esModule", { 23564 value: true 23565}); 23566var STEPS = exports.STEPS = { 23567 GENERAL_DETAILS: 1, 23568 PERSONAL_DETAILS: 2, 23569 THANK_YOU: 3, 23570 ERROR: 4 23571}; 23572 23573/***/ }), 23574/* 373 */ 23575/***/ (function(module, exports, __webpack_require__) { 23576 23577"use strict"; 23578 23579 23580Object.defineProperty(exports, "__esModule", { 23581 value: true 23582}); 23583 23584var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 23585 23586var _react = __webpack_require__(1); 23587 23588var _react2 = _interopRequireDefault(_react); 23589 23590__webpack_require__(193); 23591 23592function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 23593 23594function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 23595 23596function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 23597 23598function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 23599 23600var TextArea = function (_React$Component) { 23601 _inherits(TextArea, _React$Component); 23602 23603 function TextArea(props) { 23604 _classCallCheck(this, TextArea); 23605 23606 var _this = _possibleConstructorReturn(this, (TextArea.__proto__ || Object.getPrototypeOf(TextArea)).call(this, props)); 23607 23608 _this.state = { 23609 value: null 23610 }; 23611 return _this; 23612 } 23613 23614 _createClass(TextArea, [{ 23615 key: 'render', 23616 value: function render() { 23617 var invalidClass = this.props.errors && this.props.errors > 0 ? 'invalid' : ''; 23618 23619 return _react2.default.createElement('textarea', { 23620 className: 'a-input ' + invalidClass, 23621 onChange: this.props.onChange, 23622 placeholder: this.props.placeholder, 23623 name: this.props.name 23624 }); 23625 } 23626 }]); 23627 23628 return TextArea; 23629}(_react2.default.Component); 23630 23631exports.default = TextArea; 23632 23633/***/ }), 23634/* 374 */, 23635/* 375 */, 23636/* 376 */, 23637/* 377 */, 23638/* 378 */, 23639/* 379 */, 23640/* 380 */, 23641/* 381 */, 23642/* 382 */, 23643/* 383 */, 23644/* 384 */, 23645/* 385 */, 23646/* 386 */, 23647/* 387 */, 23648/* 388 */, 23649/* 389 */, 23650/* 390 */, 23651/* 391 */, 23652/* 392 */, 23653/* 393 */, 23654/* 394 */, 23655/* 395 */, 23656/* 396 */, 23657/* 397 */, 23658/* 398 */, 23659/* 399 */, 23660/* 400 */, 23661/* 401 */, 23662/* 402 */, 23663/* 403 */, 23664/* 404 */, 23665/* 405 */, 23666/* 406 */, 23667/* 407 */, 23668/* 408 */, 23669/* 409 */, 23670/* 410 */, 23671/* 411 */, 23672/* 412 */, 23673/* 413 */, 23674/* 414 */, 23675/* 415 */, 23676/* 416 */, 23677/* 417 */, 23678/* 418 */, 23679/* 419 */, 23680/* 420 */, 23681/* 421 */, 23682/* 422 */, 23683/* 423 */, 23684/* 424 */, 23685/* 425 */, 23686/* 426 */, 23687/* 427 */, 23688/* 428 */, 23689/* 429 */, 23690/* 430 */, 23691/* 431 */, 23692/* 432 */, 23693/* 433 */, 23694/* 434 */, 23695/* 435 */, 23696/* 436 */, 23697/* 437 */, 23698/* 438 */, 23699/* 439 */, 23700/* 440 */, 23701/* 441 */, 23702/* 442 */, 23703/* 443 */, 23704/* 444 */, 23705/* 445 */, 23706/* 446 */, 23707/* 447 */, 23708/* 448 */, 23709/* 449 */, 23710/* 450 */, 23711/* 451 */, 23712/* 452 */, 23713/* 453 */, 23714/* 454 */, 23715/* 455 */, 23716/* 456 */, 23717/* 457 */, 23718/* 458 */, 23719/* 459 */, 23720/* 460 */, 23721/* 461 */, 23722/* 462 */, 23723/* 463 */, 23724/* 464 */, 23725/* 465 */, 23726/* 466 */, 23727/* 467 */, 23728/* 468 */, 23729/* 469 */, 23730/* 470 */, 23731/* 471 */, 23732/* 472 */, 23733/* 473 */, 23734/* 474 */, 23735/* 475 */, 23736/* 476 */, 23737/* 477 */, 23738/* 478 */, 23739/* 479 */, 23740/* 480 */, 23741/* 481 */, 23742/* 482 */, 23743/* 483 */, 23744/* 484 */, 23745/* 485 */, 23746/* 486 */, 23747/* 487 */, 23748/* 488 */, 23749/* 489 */, 23750/* 490 */, 23751/* 491 */, 23752/* 492 */, 23753/* 493 */, 23754/* 494 */, 23755/* 495 */, 23756/* 496 */, 23757/* 497 */, 23758/* 498 */, 23759/* 499 */, 23760/* 500 */, 23761/* 501 */, 23762/* 502 */, 23763/* 503 */, 23764/* 504 */, 23765/* 505 */, 23766/* 506 */, 23767/* 507 */, 23768/* 508 */, 23769/* 509 */, 23770/* 510 */, 23771/* 511 */, 23772/* 512 */, 23773/* 513 */, 23774/* 514 */ 23775/***/ (function(module, exports, __webpack_require__) { 23776 23777"use strict"; 23778 23779 23780Object.defineProperty(exports, "__esModule", { 23781 value: true 23782}); 23783 23784var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 23785 23786var _react = __webpack_require__(1); 23787 23788var _react2 = _interopRequireDefault(_react); 23789 23790var _reactDom = __webpack_require__(12); 23791 23792var _reactDom2 = _interopRequireDefault(_reactDom); 23793 23794var _googleMapReact = __webpack_require__(210); 23795 23796var _googleMapReact2 = _interopRequireDefault(_googleMapReact); 23797 23798__webpack_require__(515); 23799 23800var _AppointmentScheduler = __webpack_require__(517); 23801 23802var _AppointmentScheduler2 = _interopRequireDefault(_AppointmentScheduler); 23803 23804var _AppointmentCall = __webpack_require__(539); 23805 23806var _AppointmentCall2 = _interopRequireDefault(_AppointmentCall); 23807 23808function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 23809 23810function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 23811 23812function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 23813 23814function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
23814onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 23815 23816var API_KEY = 'AIzaSyBieaitf8vDRHaAc5rE67IAS9Y0--VpP-0'; 23817var defaultProps = { 23818 zoom: 18 23819}; 23820 23821var WIDGET_MODES = { 23822 SCHEDULER: 0, 23823 CALL: 1, 23824 JOTFORM: 2 23825}; 23826 23827var Appointment = function (_React$Component) { 23828 _inherits(Appointment, _React$Component); 23829 23830 function Appointment(props) { 23831 _classCallCheck(this, Appointment); 23832 23833 return _possibleConstructorReturn(this, (Appointment.__proto__ || Object.getPrototypeOf(Appointment)).call(this, props)); 23834 } 23835 23836 _createClass(Appointment, [{ 23837 key: 'render', 23838 value: function render() { 23839 var appointmentView = null; 23840 var isJotForm = this.props.center.appointmentMode === WIDGET_MODES.JOTFORM; 23841 23842 if (this.props.center.appointmentMode === WIDGET_MODES.SCHEDULER) { 23843 appointmentView = _react2.default.createElement(_AppointmentScheduler2.default, { center: this.props.center, campaignId: document.getElementById('appointment-wrap').getAttribute("campaignId") }); 23844 } else if (this.props.center.appointmentMode === WIDGET_MODES.CALL) { 23845 appointmentView = _react2.default.createElement(_AppointmentCall2.default, { center: this.props.center, campaignId: document.getElementById('appointment-wrap').getAttribute("campaignId") }); 23846 } 23847 23848 return _react2.default.createElement( 23849 'div', 23850 { className: 'appt-wrapper' }, 23851 !isJotForm && _react2.default.createElement( 23852 'div', 23853 { className: 'appointment' }, 23854 _react2.default.createElement( 23855 'div', 23856 { className: 'appointment-widget' }, 23857 appointmentView 23858 ), 23859 _react2.default.createElement( 23860 'div', 23861 { className: 'appointment-map hidden-xs ' }, 23862 _react2.default.createElement( 23863 _googleMapReact2.default, 23864 { 23865 apiKey: API_KEY, 23866 defaultCenter: this.props.center, 23867 defaultZoom: defaultProps.zoom }, 23868 _react2.default.createElement(Marker, { 23869 lat: this.props.center.lat, 23870 lng: this.props.center.lng }) 23871 ) 23872 ) 23873 ), 23874 isJotForm && _react2.default.createElement( 23875 'div', 23876 { className: 'appointment' }, 23877 _react2.default.createElement( 23878 'div', 23879 { className: 'appointment-map full-page' }, 23880 _react2.default.createElement( 23881 _googleMapReact2.default, 23882 { 23883 apiKey: API_KEY, 23884 defaultCenter: this.props.center, 23885 defaultZoom: defaultProps.zoom }, 23886 _react2.default.createElement(Marker, { 23887 lat: this.props.center.lat, 23888 lng: this.props.center.lng }) 23889 ) 23890 ) 23891 ) 23892 ); 23893 } 23894 }]); 23895 23896 return Appointment; 23897}(_react2.default.Component); 23898 23899exports.default = Appointment; 23900 23901 23902function Marker(props) { 23903 return _react2.default.createElement( 23904 'div', 23905 { className: 'map-marker' }, 23906 _react2.default.createElement('img', { className: 'marker', src: '/images/components/location/location-pin.svg', alt: 'location-pin' }) 23907 ); 23908} 23909 23910var container = document.getElementById('appointment-wrap'); 23911var center = { 23912 lat: +container.dataset.lat, 23913 lng: +container.dataset.lng, 23914 phoneNumber: container.dataset.phone, 23915 appointmentMode: +container.dataset.appointmentmode, 23916 appointmentDetails: container.dataset.appointmentdetails 23917}; 23918 23919_reactDom2.default.render(_react2.default.createElement(Appointment, { 23920 center: center 23921}), container); 23922 23923/***/ }), 23924/* 515 */ 23925/***/ (function(module, exports, __webpack_require__) { 23926 23927// style-loader: Adds some css to the DOM by adding a <style> tag 23928 23929// load the styles
23930var content = __webpack_require__(516); 23931if(typeof content === 'string') content = [[module.i, content, '']]; 23932// Prepare cssTransformation 23933var transform; 23934 23935var options = {} 23936options.transform = transform 23937// add the styles to the DOM 23938var update = __webpack_require__(3)(content, options); 23939if(content.locals) module.exports = content.locals; 23940// Hot Module Replacement 23941if(false) { 23942 // When the styles change, update the <style> tags 23943 if(!content.locals) { 23944 module.hot.accept("!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../node_modules/sass-loader/lib/loader.js!./Appointment.scss", function() { 23945 var newContent = require("!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../node_modules/sass-loader/lib/loader.js!./Appointment.scss"); 23946 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 23947 update(newContent); 23948 }); 23949 } 23950 // When the module is disposed, remove the <style> tags 23951 module.hot.dispose(function() { update(); }); 23952} 23953 23954/***/ }), 23955/* 516 */ 23956/***/ (function(module, exports, __webpack_require__) { 23957 23958exports = module.exports = __webpack_require__(2)(undefined); 23959// imports 23960 23961 23962// module 23963exports.push([module.i, "section#appointment-wrap {\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #f5f5f5; }\n section#appointment-wrap .appt-wrapper {\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n background-color: #f5f5f5; }\n section#appointment-wrap .appointment {\n width: 100%;\n height: auto;\n min-height: 568px;\n max-width: 1200px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n section#appointment-wrap .appointment .b-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column; }\n section#appointment-wrap .appointment .appointment-widget {\n width: 400px;\n height: 100%;\n padding: 90px 60px; }\n section#appointment-wrap .appointment .appointment-widget .b-header {\n margin-top: 25px;\n margin-bottom: 25px;\n font-size: 30px;\n font-weight: bold;\n line-height: 1.1;\n color: #173e6e;\n text-transform: uppercase; }\n section#appointment-wrap .appointment .appointment-widget .main-icon {\n margin-bottom: 35px; }\n section#appointment-wrap .appointment .appointment-widget .step-title {\n color: #173e6e;\n font-weight: 600;\n text-transform: uppercase;\n font-size: 18px;\n margin-bottom: 0;\n margin-top: 0; }\n section#appointment-wrap .appointment .appointment-widget .step-title.error {\n color: #d0011b; }\n section#appointment-wrap .appointment .appointment-widget .step-title a {\n color: #173e6e; }\n section#appointment-wrap .appointment .appointment-widget .subtitle {\n color: #173e6e;\n font-size: 16px;\n margin-bottom: 25px;\n margin-top: 5px;\n line-height: 1.2;\n letter-spacing: 0.4px; }\n section#appointment-wrap .appointment .appointment-widget .disclaimer {\n font-size: 14px;\n max-width: 240px;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 10px; }\n section#appointment-wrap .appointment .appointment-widget .disclaimer a[href^=tel] {\n white-space: nowrap;\n display: block; }\n section#appointment-wrap .appointment .appointment-widget .centered-section {\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n text-align: center; }\n @media (max-width: 991px) {\n section#appointment-wrap .appointment .appointment-widget {\n padding: 30px 20px; } }\n @media (min-width: 768px) and (max-width: 991px) {\n section#appointment-wrap .appointment .appointment-widget {\n width: 320px; } }\n @media (max-width: 767px) {\n section#appointment-wrap .appointment .appointment-widget {\n height: 100%;\n width: 100%;\n max-width: 400px;\n bottom: 0;\n /*.b-header {\r\n margin-top: 0;\r\n }*/ }\n section#appointment-wrap .appointment .appointment-widget .centered-section {\n width: 175px;\n -ms-flex-item-align: center;\n align-self: center; }\n section#appointment-wrap .appointment .appointment-widget .apply-btn {\n min-height: 40px; } }\n section#appointment-wrap .appointment .appointment-map {\n /*height: 100%;*/\n width: calc(100% - 325px); }\n section#appointment-wrap .appointment .appointment-map .map-marker img {\n /*width: 53px;\r\n height: 36px;*/ }\n section#appointment-wrap .appointment .appointment-map.full-page {\n width: 100%; }\n @media (max-width: 767px) {\n section#appointment-wrap .appointment {\n min-height: 546px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center; } }\n", ""]); 23964
23965// exports 23966 23967 23968/***/ }), 23969/* 517 */ 23970/***/ (function(module, exports, __webpack_require__) { 23971 23972"use strict"; 23973 23974 23975Object.defineProperty(exports, "__esModule", { 23976 value: true 23977}); 23978exports.SchedulerInstance = undefined; 23979 23980var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 23981 23982var _react = __webpack_require__(1); 23983 23984var _react2 = _interopRequireDefault(_react); 23985 23986var _reactDom = __webpack_require__(12); 23987 23988var _reactDom2 = _interopRequireDefault(_reactDom); 23989 23990var _moment = __webpack_require__(0); 23991 23992var _moment2 = _interopRequireDefault(_moment); 23993 23994__webpack_require__(518); 23995 23996var _AppointmentForm = __webpack_require__(520); 23997 23998var _AppointmentForm2 = _interopRequireDefault(_AppointmentForm); 23999 24000var _CurrentState = __webpack_require__(537); 24001 24002var _CurrentState2 = _interopRequireDefault(_CurrentState); 24003 24004var _Api = __webpack_require__(195); 24005 24006var _Api2 = _interopRequireDefault(_Api); 24007 24008var _Validator = __webpack_require__(538); 24009 24010var _Validator2 = _interopRequireDefault(_Validator); 24011 24012var _Screen = __webpack_require__(170); 24013 24014var _Screen2 = _interopRequireDefault(_Screen); 24015 24016var _BusyIndicator = __webpack_require__(286); 24017 24018var _BusyIndicator2 = _interopRequireDefault(_BusyIndicator); 24019 24020var _constants = __webpack_require__(372); 24021 24022function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 24023 24024function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 24025 24026function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 24027 24028function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 24029 24030var AppointmentScheduler = function (_React$Component) { 24031 _inherits(AppointmentScheduler, _React$Component); 24032 24033 function AppointmentScheduler(props) { 24034 _classCallCheck(this, AppointmentScheduler); 24035 24036 var _this = _possibleConstructorReturn(this, (AppointmentScheduler.__proto__ || Object.getPrototypeOf(AppointmentScheduler)).call(this, props)); 24037 24038 _this.state = { 24039 currentStep: _constants.STEPS.GENERAL_DETAILS, 24040 appointment: { 24041 date: (0, _moment2.default)().utcOffset(0, true), 24042 campaignId: props.campaignId 24043 }, 24044 generalErrors: {}, 24045 personalErrors: {}, 24046 isBusy: true, 24047 data: { 24048 hours: [], 24049 serviceTypes: [], 24050 sheduleTimes: [], 24051 cars: [], 24052 appThankMessage: null, 24053 ShouldDisableApptForToday: false, 24054 ShouldDisableApptForNext24Hours: false 24055 } 24056 }; 24057 24058 _this.moveNext = _this.moveNext.bind(_this); 24059 _this.setAppointmentState = _this.setAppointmentState.bind(_this); 24060 _this.submitRequest = _this.submitRequest.bind(_this); 24061 _this.moveToStep = _this.moveToStep.bind(_this); 24062 return _this; 24063 } 24064 24065 _createClass(AppointmentScheduler, [{ 24066 key: 'componentDidMount', 24067 value: function componentDidMount() { 24068 var _this2 = this; 24069 24070 _Api2.default.getAppointmentData().then(function (res) { 24071 if (res.shouldDisableApptForToday || res.shouldDisableApptForNext24Hours) { 24072 _this2.setState({ 24073 appointment: { 24074 date: (0, _moment2.default)().utcOffset(0, true).add(1, 'days'), 24075 campaignId: _this2.state.appointment.campaignId 24076 } 24077 }); 24078 } 24079 _this2.setState({ 24080 data: res, 24081 isBusy: false 24082 }); 24083 }); 24084 } 24085 }, {
24086 key: 'render', 24087 value: function render() { 24088 var viewData = this.state.data; 24089 24090 var view = null; 24091 24092 if (this.state.isBusy) { 24093 view = _react2.default.createElement(_BusyIndicator2.default, null); 24094 } else { 24095 if (this.isFormActive) { 24096 24097 view = _react2.default.createElement(_AppointmentForm2.default, { 24098 data: this.state.data, 24099 scheduleDate: this.state.appointment.date, 24100 setAppointmentState: this.setAppointmentState, 24101 moveNext: this.moveNext, 24102 generalErrors: this.state.generalErrors, 24103 personalErrors: this.state.personalErrors, 24104 currentStep: this.state.currentStep, 24105 appointment: this.state.appointment, 24106 appointmentDetails: this.props.center.appointmentDetails 24107 }); 24108 } else { 24109 if (this.state.currentStep === _constants.STEPS.THANK_YOU) { 24110 24111 window.dataLayer = window.dataLayer || []; 24112 window.dataLayer.push({ 24113 event: 'appointmentSuccessful' 24114 }); 24115 view = _react2.default.createElement(ThankYouScreen, { center: this.props.center, thankMessage: this.state.data.appThankMessage }); 24116 } 24117 if (this.state.currentStep === _constants.STEPS.ERROR) { 24118 view = _react2.default.createElement(ErrorScreen, null); 24119 } 24120 } 24121 } 24122 24123 return _react2.default.createElement( 24124 'div', 24125 { className: 'appointment-scheduler' }, 24126 _react2.default.createElement( 24127 'div', 24128 { className: 'b-content' }, 24129 _react2.default.createElement(_CurrentState2.default, { currState: this.state.currentStep, 24130 onPointClick: this.moveToStep }), 24131 _react2.default.createElement( 24132 'h1', 24133 { className: 'b-header' }, 24134 'SCHEDULE APPOINTMENT' 24135 ), 24136 view 24137 ) 24138 ); 24139 } 24140 }, { 24141 key: 'setAppointmentState', 24142 value: function setAppointmentState(e) { 24143 var field = e.target.name; 24144 var value = e.target.value; 24145 this.state.appointment[field] = value; 24146 24147 // for now reseting errors for both steps for current name 24148 // as a quick solution 24149 24150 delete this.state.generalErrors[field]; 24151 delete this.state.personalErrors[field]; 24152 24153 return this.setState({ 24154 appointment: this.state.appointment, 24155 generalErrors: this.state.generalErrors, 24156 personalErrors: this.state.personalErrors 24157 }); 24158 } 24159 }, { 24160 key: 'isGeneralValid', 24161 value: function isGeneralValid() { 24162 var isValid = false; 24163 this.state.generalErrors = {}; 24164 var form = this.state.appointment; 24165 24166 //if (!form.center) { 24167 // this.state.generalErrors['center'] = 'Please choose a center!'; 24168 //} 24169 24170 if (!form.hours) { 24171 this.state.generalErrors['hours'] = 'Please choose available hours'; 24172 } 24173 24174 if (!form.serviceType) { 24175 this.state.generalErrors['serviceType'] = 'Please choose service type'; 24176 } 24177 24178 if (!form.make) { 24179 this.state.generalErrors['make'] = 'Please choose car make'; 24180 } 24181 24182 //if (!form.carModel) { 24183 // this.state.generalErrors['carModel'] = 'Please choose car model'; 24184 //} 24185 24186 if (!_Validator2.default.carYear(form.CarYear)) { 24187 this.state.generalErrors['carYear'] = 'Please specify valid car year'; 24188 } 24189 24190 this.setState({ 24191 generalErrors: this.state.generalErrors 24192 }); 24193 24194 if (!Object.keys(this.state.generalErrors).length) { 24195 isValid = true; 24196 } 24197 24198 return isValid; 24199 } 24200 }, {
24201 key: 'moveNext', 24202 value: function moveNext() { 24203 if (this.state.currentStep === _constants.STEPS.GENERAL_DETAILS && this.isGeneralValid()) { 24204 window.dataLayer = window.dataLayer || []; 24205 window.dataLayer.push({ 24206 event: 'completedStepOne' 24207 }); 24208 this.setState({ 24209 currentStep: _constants.STEPS.PERSONAL_DETAILS 24210 }); 24211 window.dataLayer = window.dataLayer || []; 24212 window.dataLayer.push({ 24213 event: 'completedStepOne' 24214 }); 24215 } else if (this.state.currentStep === _constants.STEPS.PERSONAL_DETAILS) { 24216 this.submitRequest(); 24217 } 24218 } 24219 }, { 24220 key: 'moveToStep', 24221 value: function moveToStep(stepId) { 24222 this.setState({ 24223 currentStep: stepId 24224 }); 24225 } 24226 }, { 24227 key: 'isPersonalValid', 24228 value: function isPersonalValid() { 24229 var isValid = false; 24230 this.state.personalErrors = {}; 24231 var appointment = this.state.appointment; 24232 24233 if (!_Validator2.default.name(appointment.name)) { 24234 this.state.personalErrors['name'] = 'Please enter a valid name!'; 24235 } 24236 24237 if (!_Validator2.default.email(appointment.email)) { 24238 this.state.personalErrors['email'] = 'Please enter a valid email!'; 24239 } 24240 24241 if (!_Validator2.default.phone(appointment.phone)) { 24242 this.state.personalErrors['phone'] = 'Please enter a valid phone number!'; 24243 } 24244 24245 if (!_Validator2.default.comments(appointment.comment)) { 24246 this.state.personalErrors['comment'] = 'Comment exceeded max length'; 24247 } 24248 if (!(appointment.captcha && appointment.captcha.getValue())) { 24249 this.state.personalErrors['captcha'] = 'Please check the captcha'; 24250 } 24251 24252 this.setState({ 24253 personalErrors: this.state.personalErrors 24254 }); 24255 24256 if (!Object.keys(this.state.personalErrors).length) isValid = true; 24257 24258 return isValid; 24259 } 24260 }, { 24261 key: 'submitRequest', 24262 value: function submitRequest() { 24263 var _this3 = this; 24264 24265 if (this.isPersonalValid()) { 24266 this.setState({ 24267 isBusy: true 24268 }); 24269 24270 this.state.appointment.captcha = undefined; 24271 24272 var response = _Api2.default.submitAppointment(this.state.appointment).then(function (res) { 24273 var nextStep = res.ok ? _constants.STEPS.THANK_YOU : _constants.STEPS.ERROR; 24274 24275 _this3.setState({ 24276 currentStep: nextStep, 24277 isBusy: false 24278 }); 24279 }); 24280 } 24281 } 24282 }, { 24283 key: 'isFormActive', 24284 get: function get() { 24285 return this.state.currentStep === _constants.STEPS.GENERAL_DETAILS || this.state.currentStep === _constants.STEPS.PERSONAL_DETAILS; 24286 } 24287 }]); 24288 24289 return AppointmentScheduler; 24290}(_react2.default.Component); 24291 24292exports.default = AppointmentScheduler; 24293 24294 24295function ThankYouScreen(props) { 24296 return _react2.default.createElement( 24297 'div', 24298 { className: 'thank-you-wrapper centered-section' }, 24299 _react2.default.createElement('img', { className: 'main-icon', src: '/images/appointment/icon-success.svg' }), 24300 _react2.default.createElement( 24301 'h3', 24302 { className: 'step-title' }, 24303 'Thank you' 24304 ), 24305 _react2.default.createElement( 24306 'h4', 24307 { className: 'subtitle' }, 24308 'Your request has been sent successfully.' 24309 ), 24310 props.thankMessage !== null && _react2.default.createElement('small', { className: 'disclaimer', dangerouslySetInnerHTML: { __html: props.thankMessage } }), 24311 props.thankMessage == null && _react2.default.createElement( 24312 'small', 24313 { className: 'disclaimer' }, 24314 'Please allow up to 24hr to receive your confirmation*.', 24315 _react2.default.createElement('br', null), 24316 'If this is an emergency please contact our center by phone ', 24317 " ", 24318 _react2.default.createElement( 24319 'a', 24320 { href: 'tel:' + props.center.phoneNumber }, 24321 props.center.phoneNumber 24322 ) 24323 ), 24324 _react2.default.createElement(HomeBtn, null) 24325 ); 24326} 24327 24328function ErrorScreen(props) { 24329 return _react2.default.createElement( 24330 'div', 24331 { className: 'error-wrapper centered-section' }, 24332 _react2.default.createElement( 24333 'h3', 24334 { className: 'step-title error' }, 24335 'Error' 24336 ), 24337 'Please contact support', 24338 _react2.default.createElement(HomeBtn, null) 24339 ); 24340} 24341 24342function HomeBtn(props) { 24343 return _react2.default.createElement( 24344 'a', 24345 { className: 'apply-btn', 24346 href: '/' }, 24347 'Back to Home' 24348 ); 24349} 24350 24351var SchedulerInstance = exports.SchedulerInstance = null; 24352 24353// used for direct component access from outside 24354var refCallback = function refCallback(ref) { 24355 exports.SchedulerInstance = SchedulerInstance = ref; 24356}; 24357 24358//ReactDOM.render(<AppointmentScheduler ref={refCallback} />, document.getElementById('appointment-wrap')); 24359 24360_reactDom2.default.render(_react2.default.createElement(AppointmentScheduler, { ref: refCallback, campaignId: document.getElementById('appointment-wrap').getAttribute("campaignId") }), document.getElementById('appointment-wrap')); 24361 24362/***/ }), 24363/* 518 */ 24364/***/ (function(module, exports, __webpack_require__) { 24365 24366// style-loader: Adds some css to the DOM by adding a <style> tag 24367 24368// load the styles
24369var content = __webpack_require__(519); 24370if(typeof content === 'string') content = [[module.i, content, '']]; 24371// Prepare cssTransformation 24372var transform; 24373 24374var options = {} 24375options.transform = transform 24376// add the styles to the DOM 24377var update = __webpack_require__(3)(content, options); 24378if(content.locals) module.exports = content.locals; 24379// Hot Module Replacement 24380if(false) { 24381 // When the styles change, update the <style> tags 24382 if(!content.locals) { 24383 module.hot.accept("!!../../../node_modules/css-loader/index.js!../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../node_modules/sass-loader/lib/loader.js!./AppointmentScheduler.scss", function() { 24384 var newContent = require("!!../../../node_modules/css-loader/index.js!../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../node_modules/sass-loader/lib/loader.js!./AppointmentScheduler.scss"); 24385 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 24386 update(newContent); 24387 }); 24388 } 24389 // When the module is disposed, remove the <style> tags 24390 module.hot.dispose(function() { update(); }); 24391} 24392 24393/***/ }), 24394/* 519 */ 24395/***/ (function(module, exports, __webpack_require__) { 24396 24397exports = module.exports = __webpack_require__(2)(undefined); 24398// imports 24399 24400 24401// module 24402exports.push([module.i, ".appointment-scheduler {\n width: 100%;\n height: 100%;\n padding: 0;\n font-family: \"Open Sans\", sans-serif; }\n .appointment-scheduler .b-content {\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n position: relative; }\n .appointment-scheduler .b-content .recaptcha-widget {\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n -webkit-transform: scale(0.93);\n transform: scale(0.93);\n margin-bottom: 20px;\n display: inline-block; }\n .appointment-scheduler .b-content .detail-info {\n font-size: 12px;\n color: #666666;\n display: inline-block; }\n .appointment-scheduler .b-content ul.current-state {\n position: absolute;\n top: 0;\n width: calc(100% + 5px);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n border-top: 2px solid #d01f37; }\n .appointment-scheduler .b-content ul.current-state li {\n position: relative;\n width: 12px;\n height: 12px;\n top: -7px;\n border-radius: 50%;\n border: 1px solid #d01f37;\n background-color: #f5f5f5;\n -webkit-transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1);\n transition: all 300ms cubic-bezier(0.165, 0.84, 0.44, 1); }\n .appointment-scheduler .b-content ul.current-state li.active {\n background-color: #d01f37;\n -webkit-transform: scale(1.3);\n transform: scale(1.3); }\n .appointment-scheduler .b-content .form-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between; }\n .appointment-scheduler .b-content .form-wrapper {\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column; }\n .appointment-scheduler .b-content .b-intro {\n margin-bottom: 10px; }\n .appointment-scheduler .b-content .validation-errors {\n height: 1em;\n color: #d0011b;\n margin-bottom: 12px; }\n .appointment-scheduler .b-content .opening-hours {\n font-size: 12px;\n color: #666; }\n .appointment-scheduler .b-content .opening-hours .title {\n font-size: 12px; }\n .appointment-scheduler .b-content .opening-hours p {\n padding: 0;\n margin: 0;\n font-weight: 500; }\n .appointment-scheduler .b-content .react-datepicker-wrapper {\n width: 100%;\n margin-bottom: 20px; }\n .appointment-scheduler .b-content .react-datepicker-wrapper .react-datepicker__input-container {\n width: 100%; }\n .appointment-scheduler .b-content .react-datepicker-wrapper .react-datepicker__input-container .appointment-datepicker {\n border: 1px solid #ccc;\n -webkit-box-shadow: none;\n box-shadow: none;\n width: 100%;\n max-width: 100%;\n border-radius: 0;\n padding: 12px;\n height: 45px;\n cursor: pointer; }\n .appointment-scheduler .b-content .react-datepicker-wrapper .react-datepicker__input-container .appointment-datepicker.form-control[readonly] {\n background-color: white; }\n .appointment-scheduler .b-content .react-datepicker-wrapper .react-datepicker__input-container:after {\n content: \"\";\n background-image: url(/images/Appointment/calendar-icon.svg);\n background-size: 20px 20px;\n background-repeat: no-repeat;\n background-position: 50%;\n border-left: 1px solid #ccc;\n position: absolute;\n right: 0;\n height: 100%;\n top: 0;\n width: 42px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n pointer-events: none; }\n .appointment-scheduler .b-content .react-datepicker-popper {\n z-index: 1000; }\n .appointment-scheduler .b-content .appointment-calendar {\n border-radius: 0;\n border: 1px solid #173e6e;\n top: -10px; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__triangle {\n display: none; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__header {\n background-color: white;\n padding-top: 15px;\n border-bottom: none; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__header .react-datepicker__current-month {\n font-size: 14px;\n padding-bottom: 15px;\n color: #173e6e;\n font-weight: 600;\n border-bottom: 1px solid #173e6e; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__navigation {\n top: 13px;
24402\n border-right: none;\n border-left: none; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__navigation.react-datepicker__navigation--previous:after {\n content: url(\"/images/appointment/calendar-prev.svg\");\n top: -13px;\n position: absolute; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__navigation.react-datepicker__navigation--next:after {\n content: url(\"/images/appointment/calendar-next.svg\");\n right: 0;\n top: -13px;\n position: absolute; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__day-name {\n font-weight: normal;\n color: #173e6e; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month {\n margin-top: 0; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month .react-datepicker__day {\n font-weight: normal;\n color: #777;\n font-size: 14px; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month .react-datepicker__day:hover {\n border-radius: 0; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month .react-datepicker__day.react-datepicker__day--selected {\n color: #fff;\n border-radius: 0;\n background-color: #173e6e; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month .react-datepicker__day.react-datepicker__day--outside-month {\n color: #ccc; }\n .appointment-scheduler .b-content .appointment-calendar .react-datepicker__month .react-datepicker__day.react-datepicker__day--disabled {\n opacity: 0.4;\n cursor: not-allowed; }\n @media (max-width: 767px) {\n .appointment-scheduler .b-content .recaptcha-widget {\n -webkit-transform: scale(1.1);\n transform: scale(1.1); } }\n", ""]); 24403 24404// exports 24405 24406 24407/***/ }), 24408/* 520 */ 24409/***/ (function(module, exports, __webpack_require__) { 24410 24411"use strict"; 24412 24413 24414Object.defineProperty(exports, "__esModule", { 24415 value: true 24416}); 24417 24418var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 24419 24420var _react = __webpack_require__(1); 24421 24422var _react2 = _interopRequireDefault(_react); 24423 24424var _constants = __webpack_require__(372); 24425 24426var _CollapsibleSection = __webpack_require__(521); 24427 24428var _CollapsibleSection2 = _interopRequireDefault(_CollapsibleSection); 24429 24430var _GeneralStep = __webpack_require__(524); 24431 24432var _GeneralStep2 = _interopRequireDefault(_GeneralStep); 24433 24434var _PersonalStep = __webpack_require__(536); 24435 24436var _PersonalStep2 = _interopRequireDefault(_PersonalStep); 24437 24438var _moment = __webpack_require__(0); 24439 24440var _moment2 = _interopRequireDefault(_moment); 24441 24442function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 24443 24444function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 24445 24446function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 24447 24448function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 24449 24450var AppointmentForm = function (_React$Component) { 24451 _inherits(AppointmentForm, _React$Component); 24452
24453 function AppointmentForm() { 24454 _classCallCheck(this, AppointmentForm); 24455 24456 return _possibleConstructorReturn(this, (AppointmentForm.__proto__ || Object.getPrototypeOf(AppointmentForm)).apply(this, arguments)); 24457 } 24458 24459 _createClass(AppointmentForm, [{ 24460 key: 'render', 24461 value: function render(props) { 24462 var viewData = this.props.data; 24463 var ApplyBtn = this.getApplyBtn.bind(this); 24464 24465 return _react2.default.createElement( 24466 'div', 24467 { className: 'form-wrapper' }, 24468 _react2.default.createElement( 24469 _CollapsibleSection2.default, 24470 { 24471 isExpanded: this.props.currentStep === _constants.STEPS.GENERAL_DETAILS }, 24472 _react2.default.createElement(_GeneralStep2.default, { 24473 hours: viewData.hours, 24474 serviceTypes: viewData.serviceTypes, 24475 cars: viewData.cars, 24476 shouldDisableApptForToday: viewData.shouldDisableApptForToday, 24477 shouldDisableApptForNext24Hours: viewData.shouldDisableApptForNext24Hours, 24478 sheduleTimes: viewData.sheduleTimes, 24479 date: this.props.scheduleDate || (0, _moment2.default)(), 24480 appointmentDetails: this.props.appointmentDetails, 24481 setAppointmentState: this.props.setAppointmentState, 24482 appointment: this.props.appointment, 24483 errors: this.props.generalErrors 24484 }) 24485 ), 24486 _react2.default.createElement( 24487 _CollapsibleSection2.default, 24488 { 24489 isExpanded: this.props.currentStep === _constants.STEPS.PERSONAL_DETAILS }, 24490 _react2.default.createElement(_PersonalStep2.default, { 24491 setAppointmentState: this.props.setAppointmentState, 24492 errors: this.props.personalErrors 24493 }) 24494 ), 24495 _react2.default.createElement(ApplyBtn, null) 24496 ); 24497 } 24498 }, { 24499 key: 'getApplyBtn', 24500 value: function getApplyBtn() { 24501 var _this2 = this; 24502 24503 var text = null; 24504 24505 switch (this.props.currentStep) { 24506 case _constants.STEPS.GENERAL_DETAILS: 24507 text = 'Next'; 24508 break; 24509 case _constants.STEPS.PERSONAL_DETAILS: 24510 text = 'Submit Request'; 24511 break; 24512 default: 24513 throw new Error('Invalid step'); 24514 24515 } 24516 24517 return _react2.default.createElement( 24518 'button', 24519 { 24520 className: 'apply-btn', 24521 onClick: function onClick() { 24522 return _this2.props.moveNext(); 24523 } }, 24524 text 24525 ); 24526 } 24527 }]); 24528 24529 return AppointmentForm; 24530}(_react2.default.Component); 24531 24532exports.default = AppointmentForm; 24533 24534/***/ }), 24535/* 521 */ 24536/***/ (function(module, exports, __webpack_require__) { 24537 24538"use strict"; 24539 24540 24541Object.defineProperty(exports, "__esModule", { 24542 value: true 24543}); 24544 24545var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 24546 24547var _react = __webpack_require__(1); 24548 24549var _react2 = _interopRequireDefault(_react); 24550 24551__webpack_require__(522); 24552 24553function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 24554 24555function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 24556 24557function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 24558 24559function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
24559onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 24560 24561var ICON_EXPANDED_URL = '../images/shared/AppointmentScheduler/icon-expanded.svg'; 24562var ICON_COLLAPSED_URL = '../images/shared/AppointmentScheduler/icon-collapsed.svg'; 24563 24564// probably need to import path 24565 24566var CollapsibleSection = function (_React$Component) { 24567 _inherits(CollapsibleSection, _React$Component); 24568 24569 function CollapsibleSection(props) { 24570 _classCallCheck(this, CollapsibleSection); 24571 24572 return _possibleConstructorReturn(this, (CollapsibleSection.__proto__ || Object.getPrototypeOf(CollapsibleSection)).call(this, props)); 24573 } 24574 24575 _createClass(CollapsibleSection, [{ 24576 key: 'render', 24577 value: function render() { 24578 var expandedClass = this.props.isExpanded ? 'expanded' : ''; 24579 var iconUrl = this.props.isExpanded ? ICON_EXPANDED_URL : ICON_COLLAPSED_URL; 24580 24581 return _react2.default.createElement( 24582 'div', 24583 { className: 'collapsible-section ' + expandedClass }, 24584 this.props.isExpanded && _react2.default.createElement( 24585 'div', 24586 { className: 'collapsible-content' }, 24587 this.props.children 24588 ) 24589 ); 24590 } 24591 }]); 24592 24593 return CollapsibleSection; 24594}(_react2.default.Component); 24595 24596exports.default = CollapsibleSection; 24597 24598/***/ }), 24599/* 522 */ 24600/***/ (function(module, exports, __webpack_require__) { 24601 24602// style-loader: Adds some css to the DOM by adding a <style> tag 24603 24604// load the styles 24605var content = __webpack_require__(523); 24606if(typeof content === 'string') content = [[module.i, content, '']]; 24607// Prepare cssTransformation 24608var transform; 24609 24610var options = {} 24611options.transform = transform 24612// add the styles to the DOM 24613var update = __webpack_require__(3)(content, options); 24614if(content.locals) module.exports = content.locals; 24615// Hot Module Replacement 24616if(false) { 24617 // When the styles change, update the <style> tags 24618 if(!content.locals) { 24619 module.hot.accept("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../../node_modules/sass-loader/lib/loader.js!./CollapsibleSection.scss", function() { 24620 var newContent = require("!!../../../../../node_modules/css-loader/index.js!../../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../../node_modules/sass-loader/lib/loader.js!./CollapsibleSection.scss"); 24621 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 24622 update(newContent); 24623 }); 24624 } 24625 // When the module is disposed, remove the <style> tags 24626 module.hot.dispose(function() { update(); }); 24627} 24628 24629/***/ }), 24630/* 523 */ 24631/***/ (function(module, exports, __webpack_require__) { 24632 24633exports = module.exports = __webpack_require__(2)(undefined); 24634// imports 24635 24636 24637// module 24638exports.push([module.i, ".collapsible-section {\n font-weight: 600; }\n .collapsible-section .title {\n text-transform: uppercase;\n margin-bottom: 15px; }\n .collapsible-section .title .collapse-icon {\n margin-right: 7.5px; }\n .collapsible-section .collapse-icon {\n width: 8px; }\n", ""]); 24639 24640// exports 24641 24642 24643/***/ }), 24644/* 524 */ 24645/***/ (function(module, exports, __webpack_require__) { 24646 24647"use strict"; 24648 24649 24650Object.defineProperty(exports, "__esModule", { 24651 value: true 24652}); 24653 24654var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 24655 24656var _react = __webpack_require__(1); 24657 24658var _react2 = _interopRequireDefault(_react); 24659 24660var _Dropdown = __webpack_require__(367); 24661 24662var _Dropdown2 = _interopRequireDefault(_Dropdown); 24663 24664var _reactDatepicker = __webpack_require__(525); 24665 24666var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); 24667 24668var _TextInput = __webpack_require__(207); 24669 24670var _TextInput2 = _interopRequireDefault(_TextInput); 24671 24672var _YearPicker = __webpack_require__(527); 24673 24674var _YearPicker2 = _interopRequireDefault(_YearPicker); 24675 24676var _moment = __webpack_require__(0); 24677 24678var _moment2 = _interopRequireDefault(_moment); 24679 24680__webpack_require__(534); 24681 24682function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 24683 24684function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 24685 24686function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 24687 24688function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
24688onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 24689 24690var marginRightStyle = { 24691 margin: '0 10px 0 0' 24692}; 24693 24694var GeneralStep = function (_React$Component) { 24695 _inherits(GeneralStep, _React$Component); 24696 24697 function GeneralStep(props) { 24698 _classCallCheck(this, GeneralStep); 24699 24700 var _this = _possibleConstructorReturn(this, (GeneralStep.__proto__ || Object.getPrototypeOf(GeneralStep)).call(this, props)); 24701 24702 _this.onDatepickerChange = _this.onDatepickerChange.bind(_this); 24703 _this.updateHours = _this.updateHours.bind(_this); 24704 _this.isWorkDay = _this.isWorkDay.bind(_this); 24705 _this.onServiceTypeSelected = _this.onServiceTypeSelected.bind(_this); 24706 24707 _this.state = { 24708 hours: [], 24709 isOtherType: false, 24710 displayHours: '' 24711 }; 24712 return _this; 24713 } 24714 24715 _createClass(GeneralStep, [{ 24716 key: 'componentDidMount', 24717 value: function componentDidMount() { 24718 this.updateHours(this.props.date); 24719 } 24720 }, { 24721 key: 'componentDidUpdate', 24722 value: function componentDidUpdate(prevProps) { 24723 var today = new Date(); 24724 var tomorrow = new Date(today); 24725 tomorrow.setDate(tomorrow.getDate() + 1); 24726 var isTomorrow = this.props.date && this.props.date.isSame(tomorrow, "day"); 24727 var isToday = this.props.date && this.props.date.isSame(today, "day"); 24728 if (isTomorrow) { 24729 var hours = this.getHours(this.props.date); 24730 if (!hours || hours.length < 1) { 24731 this.props.date = (0, _moment2.default)().utcOffset(0, true).add(2, 'days'); 24732 this.forceUpdate(); 24733 } else { 24734 if (!this.state.hours || this.state.hours.length < 1) { 24735 this.updateHours(this.props.date); 24736 } 24737 } 24738 } else if (isToday) { 24739 var _hours = this.getHours(this.props.date); 24740 if (!_hours || _hours.length < 1) { 24741 this.props.date = (0, _moment2.default)().utcOffset(0, true).add(1, 'days'); 24742 this.forceUpdate(); 24743 } 24744 } 24745 } 24746 }, { 24747 key: 'render', 24748 value: function render() { 24749 var displayError = Object.keys(this.props.errors).length > 0 ? this.props.errors[Object.keys(this.props.errors)[0]] : ''; 24750 24751 var carMakes = this.getCarMakes(); 24752 var selectedMake = this.props.appointment.make; 24753 24754 var carModels = this.getCarModels(selectedMake); 24755 // opening hours for dealer 24756 var displayHours = ""; 24757 var relevant = this.props.sheduleTimes; 24758 displayHours = relevant.map(function (item) { 24759 return _react2.default.createElement( 24760 'p', 24761 null, 24762 item.stringFormat 24763 ); 24764 }); 24765 24766 this.state.displayHours = displayHours; 24767 return _react2.default.createElement( 24768 'div', 24769 { className: 'generalStep' }, 24770 _react2.default.createElement( 24771 'p', 24772 { className: 'b-intro' }, 24773 'Please select a convenient time to leave your vehicle with us:' 24774 ), 24775 _react2.default.createElement( 24776 'p', 24777 { className: 'validation-errors' }, 24778 displayError 24779 ), 24780 _react2.default.createElement( 24781 'p', 24782 { className: this.state.displayHours != '' ? "opening-hours" : "opening-hours hidden" }, 24783 _react2.default.createElement( 24784 'span', 24785 { className: 'title' }, 24786 'Hours: ' 24787 ), 24788 this.state.displayHours 24789 ), 24790 _react2.default.createElement(_reactDatepicker2.default, { 24791 selected: this.props.date, 24792 onChange: this.onDatepickerChange, 24793 dateFormat: 'dddd, MM/DD/YYYY', 24794 minDate: (0, _moment2.default)(), 24795 readOnly: true, 24796 className: 'appointment-datepicker form-control', 24797 calendarClassName: 'appointment-calendar', 24798 filterDate: this.isWorkDay, 24799 popperPlacement: 'botom-start', 24800 popperModifiers: { 24801 flip: { 24802 enabled: false 24803 }, 24804 preventOverflow: { 24805 enabled: true, 24806 escapeWithReference: false 24807 } 24808 } 24809 }), 24810 this.props.appointmentDetails != '' && _react2.default.createElement( 24811 'p', 24812 { className: 'detail-info' }, 24813 '* ', 24814 this.props.appointmentDetails 24815 ), 24816 _react2.default.createElement(_Dropdown2.default, { 24817 items: this.state.hours, 24818 placeholder: 'Select Time', 24819 name: 'hours', 24820 styleClass: 'hoursUp', 24821 onSelect: this.props.setAppointmentState, 24822 isInvalid: this.props.errors['hours'], 24823 selectedValue: this.props.appointment.hours 24824 }), 24825 _react2.default.createElement('div', { className: 'line' }), 24826 _react2.default.createElement( 24827 'p', 24828 { className: 'b-paragraph' }, 24829 'Please select the type of service(s) needed:' 24830 ), 24831 _react2.default.createElement(_Dropdown2.default, { 24832 items: this.props.serviceTypes, 24833 placeholder: 'Select Service Type', 24834 name: 'serviceType', 24835 onSelect: this.onServiceTypeSelected, 24836 isInvalid: this.props.errors['serviceType'], 24837 selectedValue: this.props.appointment.serviceType 24838 }), 24839 this.state.isOtherType && _react2.default.createElement(_TextInput2.default, { 24840 placeholder: 'Type here', 24841 name: 'otherServiceType', 24842 onChange: this.props.setAppointmentState, 24843 value: this.props.appointment.otherServiceType 24844 }), 24845 _react2.default.createElement(_Dropdown2.default, { 24846 items: carMakes, 24847 placeholder: 'Car Make', 24848 onSelect: this.props.setAppointmentState, 24849 name: 'make', 24850 24851 isInvalid: this.props.errors['make'], 24852 selectedValue: this.props.appointment.make 24853 }), 24854 _react2.default.createElement( 24855 'div', 24856 { className: 'form-row' }, 24857 _react2.default.createElement( 24858 'div', 24859 { style: marginRightStyle }, 24860 _react2.default.createElement(_TextInput2.default, { 24861 placeholder: 'Car Model', 24862 name: 'carModel', 24863 onChange: this.props.setAppointmentState, 24864 isInvalid: this.props.errors['name'] 24865 }) 24866 ), 24867 _react2.default.createElement(_YearPicker2.default, { 24868 startDate: new Date(1950, 1), 24869 endDate: new Date(new Date().getFullYear() + 1, 1), 24870 onSelect: this.props.setAppointmentState, 24871 selectedValue: this.props.appointment.CarYear, 24872 styleClass: 'half', 24873 placeholder: 'Year', 24874 name: 'CarYear', 24875 isInvalid: this.props.errors['carYear'] 24876 }) 24877 ) 24878 ); 24879 } 24880 }, {
24881 key: 'isWorkDay', 24882 value: function isWorkDay(date) { 24883 var today = new Date(); 24884 var tomorrow = new Date(today); 24885 tomorrow.setDate(tomorrow.getDate() + 1); 24886 var isToday = date.isSame(today, "day"); 24887 var isTomorrow = date.isSame(tomorrow, "day"); 24888 var dayOfWeek = date.day(); 24889 if ((this.props.shouldDisableApptForToday || this.props.shouldDisableApptForNext24Hours) && isToday) { 24890 return false; 24891 } 24892 if (isToday || isTomorrow) { 24893 var hours = this.getHours(date); 24894 var isTodayEnabled = hours && hours.length > 0; 24895 // if(!isTomorrowEnabled) { 24896 // this.props.date = moment().utcOffset(0, true).add(2, 'days'); 24897 // } 24898 return isTodayEnabled; 24899 } 24900 return this.props.sheduleTimes.find(function (x) { 24901 return x.startDay <= dayOfWeek && x.endDay >= dayOfWeek && x.isClosed !== true; 24902 }); 24903 } 24904 }, { 24905 key: 'getCarMakes', 24906 value: function getCarMakes() { 24907 24908 if (!this.props.cars) return []; 24909 24910 return this.props.cars.map(function (car) { 24911 return { 24912 value: car.makeId, 24913 label: car.label 24914 }; 24915 }); 24916 } 24917 }, { 24918 key: 'getCarModels', 24919 value: function getCarModels(makeId) { 24920 if (!makeId) return []; 24921 24922 var selectedCar = this.props.cars.filter(function (car) { 24923 return car.makeId === makeId; 24924 })[0]; 24925 24926 return selectedCar.models; 24927 } 24928 }, { 24929 key: 'onServiceTypeSelected', 24930 value: function onServiceTypeSelected(e) { 24931 var _this2 = this; 24932 24933 this.props.setAppointmentState(e); 24934 24935 var serviceType = this.props.serviceTypes.find(function (x) { 24936 return x.value === _this2.props.appointment.serviceType; 24937 }); 24938 24939 this.setState({ isOtherType: serviceType.label === 'Other' }); 24940 } 24941 }, { 24942 key: 'onDatepickerChange', 24943 value: function onDatepickerChange(date) { 24944 var eventArg = { 24945 target: { 24946 name: 'date', 24947 value: date 24948 } 24949 }; 24950 this.props.setAppointmentState(eventArg); 24951 24952 this.updateHours(date); 24953 } 24954 }, { 24955 key: 'getHours', 24956 value: function getHours(date) { 24957 var today = new Date(); 24958 var tomorrow = new Date(today); 24959 tomorrow.setDate(tomorrow.getDate() + 1); 24960 var isToday = date.isSame(today, "day"); 24961 var isTomorrow = date.isSame(tomorrow, "day"); 24962 var hours = []; 24963 var dayOfWeek = date.day(); //new Date(date).getDay(); 24964 var period = this.props.sheduleTimes.find(function (x) { 24965 return x.startDay <= dayOfWeek && x.endDay >= dayOfWeek && x.isClosed !== true; 24966 }); 24967 if (period) { 24968 var sTime = period.startTime; 24969 var eTime = period.endTime; 24970 if (isToday || isTomorrow && this.props.shouldDisableApptForNext24Hours) { 24971 // disable time for tomorrow (24 h from now) 24972 var _hours2 = new Date().getHours(); 24973 var minutes = new Date().getMinutes(); 24974 if (minutes > 30) { 24975 minutes = '00'; 24976 _hours2 = _hours2 + 1; 24977 } 24978 if (minutes > 0 && minutes < 30) { 24979 minutes = '30'; 24980 } 24981 sTime = _hours2 + ':' + minutes + ':00'; 24982 } 24983 hours = this.generateTimePeriod(sTime, eTime).map(function (x) { 24984 return { 24985 label: _moment2.default.utc(x.asMilliseconds()).format("h:mm A "), 24986 value: _moment2.default.utc(x.asMilliseconds()).format("HH:mm:ss") 24987 }; 24988 }); 24989 } 24990 return hours; 24991 } 24992 }, {
24993 key: 'updateHours', 24994 value: function updateHours(date) { 24995 var hours = this.getHours(date); 24996 this.setState({ hours: hours }); 24997 } 24998 }, { 24999 key: 'generateTimePeriod', 25000 value: function generateTimePeriod(startTime, endTime) { 25001 var step = _moment2.default.duration(30, 'minutes'); 25002 var period = []; 25003 var current = _moment2.default.duration(startTime); 25004 var endTimeValue = _moment2.default.duration(endTime); 25005 25006 while (current.asMilliseconds() < endTimeValue.asMilliseconds()) { 25007 period.push(_moment2.default.duration(current)); 25008 current.add(step); 25009 } 25010 return period; 25011 } 25012 }]); 25013 25014 return GeneralStep; 25015}(_react2.default.Component); 25016 25017exports.default = GeneralStep; 25018 25019/***/ }), 25020/* 525 */ 25021/***/ (function(module, exports, __webpack_require__) { 25022 25023!function(e,t){ true?module.exports=t(__webpack_require__(0),__webpack_require__(1),__webpack_require__(526)):"function"==typeof define&&define.amd?define(["moment","react","react-onclickoutside"],t):"object"==typeof exports?exports.DatePicker=t(require("moment"),require("react"),require("react-onclickoutside")):e.DatePicker=t(e.moment,e.React,e.onClickOutside)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),u=r(c),l=n(4),f=r(l),d=n(5),h=(r(d),n(20)),m=r(h),y=n(11),v=r(y),b=n(18),g=n(2),w=r(g),_=n(12),O=r(_),D="react-datepicker-ignore-onclickoutside",k=(0,O.default)(u.default),E=function(e){function t(e){a(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.calcInitialState=function(){var e=n.props.openToDate?(0,w.default)(n.props.openToDate):n.props.selectsEnd&&n.props.startDate?(0,w.default)(n.props.startDate):n.props.selectsStart&&n.props.endDate?(0,w.default)(n.props.endDate):"undefined"!=typeof n.props.utcOffset?w.default.utc().utcOffset(n.props.utcOffset):(0,w.default)(),t=(0,b.getEffectiveMinDate)(n.props),r=(0,b.getEffectiveMaxDate)(n.props),o=t&&e.isBefore(t)?t:r&&e.isAfter(r)?r:e;return{open:!1,preventFocus:!1,preSelection:n.props.selected?(0,w.default)(n.props.selected):o}},n.clearPreventFocusTimeout=function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)},n.setFocus=function(){n.refs.input.focus()},n.setOpen=function(e){n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection})},n.handleFocus=function(e){n.state.preventFocus||(n.props.onFocus(e),n.setOpen(!0))}
25023,n.cancelFocusInput=function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=null},n.deferFocusInput=function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout(function(){return n.setFocus()},1)},n.handleDropdownFocus=function(){n.cancelFocusInput()},n.handleBlur=function(e){n.state.open?n.deferFocusInput():n.props.onBlur(e)},n.handleCalendarClickOutside=function(e){n.props.inline||n.setOpen(!1),n.props.onClickOutside(e),n.props.withPortal&&e.preventDefault()},n.handleChange=function(e){if(!n.props.onChangeRaw||(n.props.onChangeRaw(e),!e.isDefaultPrevented())){n.setState({inputValue:e.target.value});var t=(0,b.parseDate)(e.target.value,n.props);!t&&e.target.value||n.setSelected(t,e,!0)}},n.handleSelect=function(e,t){n.setState({preventFocus:!0},function(){return n.preventFocusTimeout=setTimeout(function(){return n.setState({preventFocus:!1})},50),n.preventFocusTimeout}),n.setSelected(e,t),n.props.shouldCloseOnSelect?n.props.inline||n.setOpen(!1):n.setPreSelection(e)},n.setSelected=function(e,t,r){var o=e;null!==o&&(0,b.isDayDisabled)(o,n.props)||((0,b.isSameDay)(n.props.selected,o)&&!n.props.allowSameDay||(null!==o&&(n.props.selected&&(o=(0,w.default)(o).set({hour:n.props.selected.hour(),minute:n.props.selected.minute(),second:n.props.selected.second()})),n.setState({preSelection:o})),n.props.onChange(o,t)),n.props.onSelect(o,t),r||n.setState({inputValue:null}))},n.setPreSelection=function(e){var t="undefined"!=typeof n.props.minDate&&"undefined"!=typeof n.props.maxDate,r=!t||!e||(0,b.isDayInRange)(e,n.props.minDate,n.props.maxDate);r&&n.setState({preSelection:e})},n.onInputClick=function(){n.props.disabled||n.setOpen(!0)},n.onInputKeyDown=function(e){n.props.onKeyDown(e);var t=e.key;if(!n.state.open&&!n.props.inline)return void("Enter"!==t&&"Escape"!==t&&"Tab"!==t&&n.onInputClick());var r=(0,w.default)(n.state.preSelection);if("Enter"===t)e.preventDefault(),w.default.isMoment(n.state.preSelection)||w.default.isDate(n.state.preSelection)?(n.handleSelect(r,e),!n.props.shouldCloseOnSelect&&n.setPreSelection(r)):n.setOpen(!1);else if("Escape"===t)e.preventDefault(),n.setOpen(!1);else if("Tab"===t)n.setOpen(!1);else if(!n.props.disabledKeyboardNavigation){var o=void 0;switch(t){case"ArrowLeft":e.preventDefault(),o=r.subtract(1,"days");break;case"ArrowRight":e.preventDefault(),o=r.add(1,"days");break;case"ArrowUp":e.preventDefault(),o=r.subtract(1,"weeks");break;case"ArrowDown":e.preventDefault(),o=r.add(1,"weeks");break;case"PageUp":e.preventDefault(),o=r.subtract(1,"months");break;case"PageDown":e.preventDefault(),o=r.add(1,"months");break;case"Home":e.preventDefault(),o=r.subtract(1,"years");break;case"End":e.preventDefault(),o=r.add(1,"years")}n.setPreSelection(o)}},n.onClearClick=function(e){e.preventDefault(),n.props.onChange(null,e)},n.renderCalendar=function(){return n.props.inline||n.state.open&&!n.props.disabled?f.default.createElement(k,{ref:"calendar",locale:n.props.locale,dateFormat:n.props.dateFormatCalendar,useWeekdaysShort:n.props.useWeekdaysShort,dropdownMode:n.props.dropdownMode,selected:n.props.selected,preSelection:n.state.preSelection,onSelect:n.handleSelect,onWeekSelect:n.props.onWeekSelect,openToDate:n.props.openToDate,minDate:n.props.minDate,maxDate:n.props.maxDate,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,startDate:n.props.startDate,endDate:n.props.endDate,excludeDates:n.props.excludeDates,filterDate:n.props.filterDate,onClickOutside:n.handleCalendarClickOutside,formatWeekNumber:n.props.formatWeekNumber,highlightDates:n.props.highlightDates,includeDates:n.props.includeDates,inline:n.props.inline,peekNextMonth:n.props.peekNextMonth,showMonthDropdown:n.props.showMonthDropdown,showWeekNumbers:n.props.showWeekNumbers,showYearDropdown:n.props.showYearDropdown,forceShowMonthNavigation:n.props.forceShowMonthNavigation,scrollableYearDropdown:n.props.scrollableYearDropdown,todayButton:n.props.todayButton,weekLabel:n.props.weekLabel,utcOffset:n.props.utcOffset,outsideClickIgnoreClass:D,fixedHeight:n.props.fixedHeight,monthsShown:n.props.monthsShown,onDropdownFocus:n.handleDropdownFocus,onMonthChange:n.props.onMonthChange,dayClassName:n.props.dayClassName,className:n.props.calendarClassName,yearDropdownItemNumber:n.props.yearDropdownItemNumber},n.props.children):null},n.renderDateInput=function(){var e=(0,v.default)(n.props.className,o({},D,n.state.open)),t=n.props.customInput||f.default.createElement("input",{type:"text"}),r="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:(0,b.safeDateFormat)(n.props.selected,n.props);return f.default.cloneElement(t,{ref:"input",value:r,onBlur:n.handleBlur,onChange:n.handleChange,onClick:n.onInputClick,onFocus:n.handleFocus,onKeyDown:n.onInputKeyDown,id:n.props.id,name:n.props.name,autoF
25023ocus:n.props.autoFocus,placeholder:n.props.placeholderText,disabled:n.props.disabled,autoComplete:n.props.autoComplete,className:e,title:n.props.title,readOnly:n.props.readOnly,required:n.props.required,tabIndex:n.props.tabIndex})},n.renderClearButton=function(){return n.props.isClearable&&null!=n.props.selected?f.default.createElement("a",{className:"react-datepicker__close-icon",href:"#",onClick:n.onClearClick}):null},n.state=n.calcInitialState(),n}return s(t,e),p(t,null,[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"L",dateFormatCalendar:"MMMM YYYY",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},utcOffset:(0,w.default)().utcOffset(),monthsShown:1,withPortal:!1,shouldCloseOnSelect:!0}}}]),p(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.selected&&this.props.selected.month(),n=e.selected&&e.selected.month();this.props.inline&&t!==n&&this.setPreSelection(e.selected)}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout()}},{key:"render",value:function(){var e=this.renderCalendar();return this.props.inline&&!this.props.withPortal?e:this.props.withPortal?f.default.createElement("div",null,this.props.inline?null:f.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),this.state.open||this.props.inline?f.default.createElement("div",{className:"react-datepicker__portal"},e):null):f.default.createElement(m.default,{className:this.props.popperClassName,hidePopper:!this.state.open||this.props.disabled,popperModifiers:this.props.popperModifiers,targetComponent:f.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),popperComponent:e,popperPlacement:this.props.popperPlacement})}}]),t}(f.default.Component);t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2),c=r(p),u=n(3),l=r(u),f=n(13),d=r(f),h=n(15),m=r(h),y=n(4),v=r(y),b=n(5),g=(r(b),n(11)),w=r(g),_=n(18),O=["react-datepicker__year-select","react-datepicker__month-select"],D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.className||"").split(/\s+/);return O.some(function(e){return t.indexOf(e)>=0})},k=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleClickOutside=function(e){n.props.onClickOutside(e)},n.handleDropdownFocus=function(e){D(e.target)&&n.props.onDropdownFocus()},n.getDateInView=function(){var e=n.props,t=e.preSelection,r=e.selected,o=e.openToDate,a=e.utcOffset,i=(0,_.getEffectiveMinDate)(n.props),s=(0,_.getEffectiveMaxDate)(n.props),p=c.default.utc().utcOffset(a),u=o||r||t;return u?u:i&&p.isBefore(i)?i:s&&p.isAfter(s)?s:p},n.localizeMoment=function(e){return e.clone().locale(n.props.locale||c.default.locale())},n.increaseMonth=function(){n.setState({date:n.state.date.clone().add(1,"month")},function(){return n.handleMonthChange(n.state.date)})},n.decreaseMonth=function(){n.setState({date:n.state.date.clone().subtract(1,"month")},function(){return n.handleMonthChange(n.state.date)})},n.handleDayClick=function(e,t){return n.props.onSelect(e,t)},n.handleDayMouseEnter=function(e){return n.setState({selectingDate:e})},n.handleMonthMouseLeave=function(){return n.setState({selectingDate:null})},n.handleMonthChange=function(e){n.props.onMonthChange&&n.props.onMonthChange(e)},n.changeYear=function(e){n.setState({date:n.state.date.clone().set("year",e)})},n.changeMonth=function(e){n.setState({date:n.state.date.clone().set("month",e)},function(){return n.handleMonthChange(n.state.date)})},n.header=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=e.clone().startOf("week"),r=[];return n.props.showWeekNumbers&&r.push(v.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map(function(e){var r=t.clone().add(e,"days"),o=n.props.useWeekdaysShort?r.localeData().weekdaysShort(r):r.localeData().weekdaysMin(r);return v.default.createElement("div",{key:e,className:"react-datepicker__day-name"},o)}))},n.renderPreviousMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,_.allDaysDisabledBefore)(n.state.date,"month",n.props))return v.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--previous",onClick:n.decreaseMonth})},n.renderNextMonthButton=function(){if(n.props.forceShowMonthNavigation||!(0,_.allDaysDisabledAfter)(n.state.date,"month",n.props))return v.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--next",onClick:n.increaseMonth})},n.renderCurrentMonth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.state.date,t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),v.default.createElement("div",{className:t.join(" ")},e.format(n.props.dateFormat))},n.renderYearDropdown=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showYearDropdown&&!e)return v.default.createElement(l.default,{dropdownMode:n.props.dropdownMode,onChange:n.changeYear,minDate:n.props.minDate,maxDate:n.props.maxDate,year:n.state.date.year(),scrollableYearDropdown:n.props.scrollableYearDropdown,yearDropdownItemNumber:n.props.yearDropdownItemNumber})},n.renderMonthDropdown=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(n.props.showMonthDropdown)return v.default.createElement(d.default,{dropdownMode:n.props.dropdownMode,locale:n.props.locale,dateFormat:n.props.dateFormat,onChange:n.changeMonth,month:n.state.date.month()})},n.renderTodayButton=function(){if(n.props.todayButton)return v.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return n.props.onSelect(c.default.utc().utcOffset(n.props.utcOffset).startOf("date"),e)}},n.props.todayButton)},n.renderMonths=function(){for(var e=[],t=0;t<n.props.monthsShown;++t){var r=n.state.date.clone().add(t,"M"),o="month-"+t;e.push(v.default.createElement("div",{key:o,className:"react-datepicker__month-container"},v.default.createElement("div",{className:"react-datepicker__header"},n.renderCurrentMonth(r),v.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--"+n.props.dropdownMode,onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==t),n.renderYearDropdown(0!==t)),v.default.createElement("div",{className:"react-datepicker__day-names"},n.header(r))),v.default.createElement(m.default,{day:r,dayClassName:n.props.dayClassName,onDayClick:n.handleDayClick,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,onWeekSelect:n.props.onWeekSelect,formatWeekNumber:n.props.formatWeekNumber,minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,highlightDates:n.props.highlightDates,selectingDate:n.state.selectingDate,includeDates:n.props.includeDates,inline:n.props.inline,fixedHeight:n.props.fixedHeight,filterDate:n.props.filterDate,preSelection:n.props.preSelection,selected:n.props.selected,selectsStart:n.props.selectsStart,selectsEnd:n.props.selectsEnd,showWeekNumbers:n.props.showWeekNumbers,startDate:n.props.startDate,endD
25023ate:n.props.endDate,peekNextMonth:n.props.peekNextMonth,utcOffset:n.props.utcOffset})))}return e},n.state={date:n.localizeMoment(n.getDateInView()),selectingDate:null},n}return i(t,e),s(t,null,[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},utcOffset:c.default.utc().utcOffset(),monthsShown:1,forceShowMonthNavigation:!1}}}]),s(t,[{key:"componentWillReceiveProps",value:function(e){e.preSelection&&!(0,_.isSameDay)(e.preSelection,this.props.preSelection)?this.setState({date:this.localizeMoment(e.preSelection)}):e.openToDate&&!(0,_.isSameDay)(e.openToDate,this.props.openToDate)&&this.setState({date:this.localizeMoment(e.openToDate)})}},{key:"render",value:function(){return v.default.createElement("div",{className:(0,w.default)("react-datepicker",this.props.className)},v.default.createElement("div",{className:"react-datepicker__triangle"}),this.renderPreviousMonthButton(),this.renderNextMonthButton(),this.renderMonths(),this.renderTodayButton(),this.props.children)}}]),t}(v.default.Component);t.default=k},function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(10)),f=r(l),d=n(12),h=r(d),m=(0,h.default)(f.default),y=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),u=0;u<s;u++)p[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.state={dropdownVisible:!1},r.renderSelectOptions=function(){for(var e=r.props.minDate?r.props.minDate.year():1900,t=r.props.maxDate?r.props.maxDate.year():2100,n=[],o=e;o<=t;o++)n.push(c.default.createElement("option",{key:o,value:o},o));return n},r.onSelectChange=function(e){r.onChange(e.target.value)},r.renderSelectMode=function(){return c.default.createElement("select",{value:r.props.year,className:"react-datepicker__year-select",onChange:r.onSelectChange},r.renderSelectOptions())},r.renderReadView=function(e){return c.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:r.toggleDropdown},c.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),c.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},r.props.year))},r.renderDropdown=function(){return c.default.createElement(m,{key:"dropdown",ref:"options",year:r.props.year,onChange:r.onChange,onCancel:r.toggleDropdown,scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})},r.renderScrollMode=function(){var e=r.state.dropdownVisible,t=[r.renderReadView(!e)];return e&&t.unshift(r.renderDropdown()),t},r.onChange=function(e){r.toggleDropdown(),e!==r.props.year&&r.props.onChange(e)},r.toggleDropdown=function(){r.setState({dropdownVisible:!r.state.dropdownVisible})},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){var e=void 0;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return c.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--"+this.props.dropdownMode},e)}}]),t}(c.default.Component);t.default=y},function(e,n){e.exports=t},function(e,t,n){e.exports=n(6)()},function(e,t,n){"use strict";var r=n(7),o=n(8),a=n(9);e.exports=function(){function e(e,t,n,r,i,s){s!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;
25023var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,a,i,s,p){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,i,s,p],l=0;c=new Error(t.replace(/%s/g,function(){return u[l++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){for(var n=[],r=0;r<2*t+1;r++)n.push(e+t-r);return n}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(4),u=r(c),l=n(5),f=(r(l),n(11)),d=r(f),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.renderOptions=function(){var e=n.props.year,t=n.state.yearsList.map(function(t){return u.default.createElement("div",{className:"react-datepicker__year-option",key:t,ref:t,onClick:n.onChange.bind(n,t)},e===t?u.default.createElement("span",{className:"react-datepicker__year-option--selected"},"â"):"",t)});return t.unshift(u.default.createElement("div",{className:"react-datepicker__year-option",ref:"upcoming",key:"upcoming",onClick:n.incrementYears},u.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),t.push(u.default.createElement("div",{className:"react-datepicker__year-option",ref:"previous",key:"previous",onClick:n.decrementYears},u.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},n.onChange=function(e){n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.shiftYears=function(e){var t=n.state.yearsList.map(function(t){return t+e});n.setState({yearsList:t})},n.incrementYears=function(){return n.shiftYears(1)},n.decrementYears=function(){return n.shiftYears(-1)};var r=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,p=r||(i?10:5);return n.state={yearsList:s(n.props.year,p)},n}return i(t,e),p(t,[{key:"render",value:function(){var e=(0,d.default)({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return u.default.createElement("div",{className:e},this.renderOptions())}}]),t}(u.default.Component);t.default=h},function(e,t,n){var r,o;/*! 25024 Copyright (c) 2016 Jed Watson. 25025 Licensed under the MIT License (MIT), see 25026 http://jedwatson.github.io/classnames 25027 */ 25028!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var i in r)a.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}var a={}.hasOwnProperty;"undefined"!=typeof e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t){e.exports=n},function(e,t,n){"use strict";
25028function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(14)),f=r(l),d=n(12),h=r(d),m=n(2),y=r(m),v=(0,h.default)(f.default),b=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),u=0;u<s;u++)p[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.state={dropdownVisible:!1},r.renderSelectOptions=function(e){return e.map(function(e,t){return c.default.createElement("option",{key:t,value:t},e)})},r.renderSelectMode=function(e){return c.default.createElement("select",{value:r.props.month,className:"react-datepicker__month-select",onChange:function(e){return r.onChange(e.target.value)}},r.renderSelectOptions(e))},r.renderReadView=function(e,t){return c.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:r.toggleDropdown},c.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},t[r.props.month]),c.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}))},r.renderDropdown=function(e){return c.default.createElement(v,{key:"dropdown",ref:"options",month:r.props.month,monthNames:e,onChange:r.onChange,onCancel:r.toggleDropdown})},r.renderScrollMode=function(e){var t=r.state.dropdownVisible,n=[r.renderReadView(!t,e)];return t&&n.unshift(r.renderDropdown(e)),n},r.onChange=function(e){r.toggleDropdown(),e!==r.props.month&&r.props.onChange(e)},r.toggleDropdown=function(){return r.setState({dropdownVisible:!r.state.dropdownVisible})},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){var e=this,t=y.default.localeData(this.props.locale),n=[0,1,2,3,4,5,6,7,8,9,10,11].map(function(n){return t.months((0,y.default)({M:n}),e.props.dateFormat)}),r=void 0;switch(this.props.dropdownMode){case"scroll":r=this.renderScrollMode(n);break;case"select":r=this.renderSelectMode(n)}return c.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--"+this.props.dropdownMode},r)}}]),t}(c.default.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),u=0;u<s;u++)p[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.renderOptions=function(){return r.props.monthNames.map(function(e,t){return c.default.createElement("div",{className:"react-datepicker__month-option",key:e,ref:e,onClick:r.onChange.bind(r,t)},r.props.month===t?c.default.createElement("span",{className:"react-datepicker__month-option--selected"},"â"):"",e)})},r.onChange=function(e){return r.props.onChange(e)},r.handleClickOutside=function(){return r.props.onCancel()},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){return c.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),t}(c.default.Component));t.default=l},function(e,t,n){"use strict";
25028function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(11)),f=r(l),d=n(16),h=r(d),m=6,y=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),u=0;u<s;u++)p[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.handleDayClick=function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleMouseLeave=function(){r.props.onMouseLeave&&r.props.onMouseLeave()},r.isWeekInMonth=function(e){var t=r.props.day,n=e.clone().add(6,"days");return e.isSame(t,"month")||n.isSame(t,"month")},r.renderWeeks=function(){for(var e=[],t=r.props.fixedHeight,n=r.props.day.clone().startOf("month").startOf("week"),o=0,a=!1;;){if(e.push(c.default.createElement(h.default,{key:o,day:n,month:r.props.day.month(),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,onWeekSelect:r.props.onWeekSelect,formatWeekNumber:r.props.formatWeekNumber,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,inline:r.props.inline,highlightDates:r.props.highlightDates,selectingDate:r.props.selectingDate,filterDate:r.props.filterDate,preSelection:r.props.preSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,showWeekNumber:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,dayClassName:r.props.dayClassName,utcOffset:r.props.utcOffset})),a)break;o++,n=n.clone().add(1,"weeks");var i=t&&o>=m,s=!t&&!r.isWeekInMonth(n);if(i||s){if(!r.props.peekNextMonth)break;a=!0}}return e},r.getClassNames=function(){var e=r.props,t=e.selectingDate,n=e.selectsStart,o=e.selectsEnd;return(0,f.default)("react-datepicker__month",{"react-datepicker__month--selecting-range":t&&(n||o)})},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){return c.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,role:"listbox"},this.renderWeeks())}}]),t}(c.default.Component);t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(17)),f=r(l),d=n(19),h=r(d),m=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),u=0;u<s;u++)p[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.handleDayClick=function(e,t){r.props.onDayCl
25028ick&&r.props.onDayClick(e,t)},r.handleDayMouseEnter=function(e){r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleWeekClick=function(e,t,n){"function"==typeof r.props.onWeekSelect&&r.props.onWeekSelect(e,t,n)},r.formatWeekNumber=function(e){return r.props.formatWeekNumber?r.props.formatWeekNumber(e):parseInt(e.format("w"),10)},r.renderDays=function(){var e=r.props.day.clone().startOf("week"),t=[],n=r.formatWeekNumber(e);if(r.props.showWeekNumber){var o=r.props.onWeekSelect?r.handleWeekClick.bind(r,e,n):void 0;t.push(c.default.createElement(h.default,{key:"W",weekNumber:n,onClick:o}))}return t.concat([0,1,2,3,4,5,6].map(function(t){var n=e.clone().add(t,"days");return c.default.createElement(f.default,{key:t,day:n,month:r.props.month,onClick:r.handleDayClick.bind(r,n),onMouseEnter:r.handleDayMouseEnter.bind(r,n),minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,includeDates:r.props.includeDates,inline:r.props.inline,highlightDates:r.props.highlightDates,selectingDate:r.props.selectingDate,filterDate:r.props.filterDate,preSelection:r.props.preSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,startDate:r.props.startDate,endDate:r.props.endDate,dayClassName:r.props.dayClassName,utcOffset:r.props.utcOffset})}))},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){return c.default.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}]),t}(c.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p="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},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(2),l=r(u),f=n(4),d=r(f),h=n(5),m=(r(h),n(11)),y=r(m),v=n(18),b=function(e){function t(){var e,n,r,s;a(this,t);for(var c=arguments.length,u=Array(c),f=0;f<c;f++)u[f]=arguments[f];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.isSameDay=function(e){return(0,v.isSameDay)(r.props.day,e)},r.isKeyboardSelected=function(){return!r.props.inline&&!r.isSameDay(r.props.selected)&&r.isSameDay(r.props.preSelection)},r.isDisabled=function(){return(0,v.isDayDisabled)(r.props.day,r.props)},r.getHighLightedClass=function(e){var t=r.props,n=t.day,a=t.highlightDates;if(!a)return o({},e,!1);for(var i={},s=0,c=a.length;s<c;s++){var u=a[s];if(u instanceof l.default)(0,v.isSameDay)(n,u)&&(i[e]=!0);else if("object"===("undefined"==typeof u?"undefined":p(u))){var f=Object.keys(u),d=u[f[0]];if("string"==typeof f[0]&&d.constructor===Array)for(var h=0,m=d.length;h<m;h++)(0,v.isSameDay)(n,d[h])&&(i[f[0]]=!0)}}return i},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&(0,v.isDayInRange)(t,n,o)},r.isInSelectingRange=function(){var e=r.props,t=e.day,n=e.selectsStart,o=e.selectsEnd,a=e.selectingDate,i=e.startDate,
25028s=e.endDate;return!(!n&&!o||!a||r.isDisabled())&&(n&&s&&a.isSameOrBefore(s)?(0,v.isDayInRange)(t,a,s):!!(o&&i&&a.isSameOrAfter(i))&&(0,v.isDayInRange)(t,i,a))},r.isSelectingRangeStart=function(){if(!r.isInSelectingRange())return!1;var e=r.props,t=e.day,n=e.selectingDate,o=e.startDate,a=e.selectsStart;return a?(0,v.isSameDay)(t,n):(0,v.isSameDay)(t,o)},r.isSelectingRangeEnd=function(){if(!r.isInSelectingRange())return!1;var e=r.props,t=e.day,n=e.selectingDate,o=e.endDate,a=e.selectsEnd;return a?(0,v.isSameDay)(t,n):(0,v.isSameDay)(t,o)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&(0,v.isSameDay)(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,o=e.endDate;return!(!n||!o)&&(0,v.isSameDay)(o,t)},r.isWeekend=function(){var e=r.props.day.day();return 0===e||6===e},r.isOutsideMonth=function(){return void 0!==r.props.month&&r.props.month!==r.props.day.month()},r.getClassNames=function(e){var t=r.props.dayClassName?r.props.dayClassName(e):void 0;return(0,y.default)("react-datepicker__day",t,"react-datepicker__day--"+(0,v.getDayOfWeekCode)(r.props.day),{"react-datepicker__day--disabled":r.
25028isDisabled(),"react-datepicker__day--selected":r.isSameDay(r.props.selected),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isSameDay(l.default.utc().utcOffset(r.props.utcOffset)),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isOutsideMonth()},r.getHighLightedClass("react-datepicker__day--highlighted"))},s=n,i(r,s)}return s(t,e),c(t,[{key:"render",value:function(){return d.default.createElement("div",{className:this.getClassNames(this.props.day),onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,"aria-label":"day-"+this.props.day.date(),role:"option"},this.props.day.date())}}]),t}(d.default.Component);b.defaultProps={utcOffset:l.default.utc().utcOffset()},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return e&&t?e.isSame(t,"day"):!e&&!t}function a(e,t){return e&&t?e.utcOffset()===t.utcOffset():!e&&!t}function i(e,t,n){var r=t.clone().startOf("day").subtract(1,"seconds"),o=n.clone().startOf("day").add(1,"seconds");return e.clone().startOf("day").isBetween(r,o)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,a=t.excludeDates,i=t.includeDates,s=t.filterDate;return n&&e.isBefore(n,"day")||r&&e.isAfter(r,"day")||a&&a.some(function(t){return o(e,t)})||i&&!i.some(function(t){return o(e,t)})||s&&!s(e.clone())||!1}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.minDate,o=n.includeDates,a=e.clone().subtract(1,t);return r&&a.isBefore(r,t)||o&&o.every(function(e){return a.isBefore(e,t)})||!1}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.maxDate,o=n.includeDates,a=e.clone().add(1,t);return r&&a.isAfter(r,t)||o&&o.every(function(e){return a.isAfter(e,t)})||!1}function u(e){var t=e.minDate,n=e.includeDates;return n&&t?y.default.min(n.filter(function(e){return t.isSameOrBefore(e,"day")})):n?y.default.min(n):t}function l(e){var t=e.maxDate,n=e.includeDates;return n&&t?y.default.max(n.filter(function(e){return t.isSameOrAfter(e,"day")})):n?y.default.max(n):t}function f(e,t){var n=t.dateFormat,r=t.locale,o=(0,y.default)(e,n,r||y.default.locale(),!0);return o.isValid()?o:null}function d(e,t){var n=t.dateFormat,r=t.locale;return e&&e.clone().locale(r||y.default.locale()).format(Array.isArray(n)?n[0]:n)||""}function h(e){return v[e.isoWeekday()]}Object.defineProperty(t,"__esModule",{value:!0}),t.isSameDay=o,t.isSameUtcOffset=a,t.isDayInRange=i,t.isDayDisabled=s,t.allDaysDisabledBefore=p,t.allDaysDisabledAfter=c,t.getEffectiveMinDate=u,t.getEffectiveMaxDate=l,t.parseDate=f,t.safeDateFormat=d,t.getDayOfWeekCode=h;var m=n(2),y=r(m),v={1:"mon",2:"tue",3:"wed",4:"thu",5:"fri",6:"sat",7:"sun"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(11)),f=r(l),d=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,p=Array(s),c=0;c<s;c++)p[c]=arguments[c];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.handleClick=function(e){r.props.onClick&&r.props.onClick(e)},i=n,a(r,i)}return i(t,e),s(t,[{key:"render",value:function(){var e={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!this.props.onClick};return c.default.createElement("div",{className:(0,f.default)(e),"aria-label":"week-"+this.props.weekNumber,onClick:this.handleClick},this.props.weekNumber)}}]),t}(c.default.Component);t.default=d},function(e,t,n){"use strict";
25028function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.popperPlacementPositions=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(4),c=r(p),u=n(5),l=(r(u),n(21)),f=(t.popperPlacementPositions=["auto","auto-left","auto-right","bottom","bottom-end","bottom-start","left","left-end","left-start","right","right-end","right-start","top","top-end","top-start"],function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.hidePopper,n=e.popperComponent,r=e.popperModifiers,o=e.popperPlacement,a=e.targetComponent;return c.default.createElement(l.Manager,null,c.default.createElement(l.Target,{className:"react-datepicker-wrapper"},a),!t&&c.default.createElement(l.Popper,{className:"react-datepicker-popper",modifiers:r,placement:o},n))}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperPlacement:"bottom-start"}}}]),t}(c.default.Component));t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=t.Popper=t.Target=t.Manager=void 0;var o=n(22),a=r(o),i=n(23),s=r(i),p=n(24),c=r(p),u=n(28),l=r(u);t.Manager=a.default,t.Target=s.default,t.Popper=c.default,t.Arrow=l.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(4),u=(r(c),n(5)),l=r(u),f=function(e){function t(){var e,n,r,o;a(this,t);for(var s=arguments.length,p=Array(s),c=0;c<s;c++)p[c]=arguments[c];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r._setTargetNode=function(e){r._targetNode=e},r._getTargetNode=function(){return r._targetNode},o=n,i(r,o)}return s(t,e),p(t,[{key:"getChildContext",value:function(){return{popperManager:{setTargetNode:this._setTargetNode,getTargetNode:this._getTargetNode}}}},{key:"render",value:function(){var e=this.props,t=e.tag,n=e.children,r=o(e,["tag","children"]);return t!==!1?(0,c.createElement)(t,r,n):n}}]),t}(c.Component);f.childContextTypes={popperManager:l.default.object.isRequired},f.propTypes={tag:l.default.oneOfType([l.default.string,l.default.bool])},f.defaultProps={tag:"div"},t.default=f},function(e,t,n){"use strict";
25028function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(4),s=(r(i),n(5)),p=r(s),c=function(e,t){var n=e.component,r=void 0===n?"div":n,s=e.innerRef,p=e.children,c=o(e,["component","innerRef","children"]),u=t.popperManager,l=function(e){u.setTargetNode(e),"function"==typeof s&&s(e)};if("function"==typeof p){var f={ref:l};return p({targetProps:f,restProps:c})}var d=a({},c);return"string"==typeof r?d.ref=l:d.innerRef=l,(0,i.createElement)(r,d,p)};c.contextTypes={popperManager:p.default.object.isRequired},c.propTypes={component:p.default.oneOfType([p.default.node,p.default.func]),innerRef:p.default.func,children:p.default.oneOfType([p.default.node,p.default.func])},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(4),f=(r(l),n(5)),d=r(f),h=n(25),m=r(h),y=n(26),v=r(y),b=function(e){function t(){var e,n,r,o;i(this,t);for(var a=arguments.length,p=Array(a),u=0;u<a;u++)p[u]=arguments[u];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(p))),r.state={},r._setArrowNode=function(e){r._arrowNode=e},r._getTargetNode=function(){return r.context.popperManager.getTargetNode()},r._updateStateModifier={enabled:!0,order:900,fn:function(e){return(r.state.data&&!(0,v.default)(e.offsets,r.state.data.offsets)||!r.state.data)&&r.setState({data:e}),e}},r._getPopperStyle=function(){var e=r.state.data;if(!r._popper||!e)return{position:"absolute",pointerEvents:"none",opacity:0};var t=e.offsets.popper,n=(t.top,t.left,t.position);return c({position:n},e.styles)},r._getPopperPlacement=function(){return r.state.data?r.state.data.placement:void 0},r._getArrowStyle=function(){if(r.state.data&&r.state.data.offsets.arrow){var e=r.state.data.offsets.arrow,t=e.top,n=e.left;return n?{left:+n}:{top:+t}}return{}},o=n,s(r,o)}return p(t,e),u(t,[{key:"getChildContext",value:function(){return{popper:{setArrowNode:this._setArrowNode,getArrowStyle:this._getArrowStyle}}}},{key:"componentDidMount",value:function(){this._updatePopper()}},{key:"componentDidUpdate",value:function(e){e.placement===this.props.placement&&e.eventsEnabled===this.props.eventsEnabled||this._updatePopper(),e.children!==this.props.children&&this._popper.scheduleUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyPopper()}},{key:"_updatePopper",value:function(){this._destroyPopper(),this._node&&this._createPopper()}},{key:"_createPopper",value:function(){var e=this.props,t=e.placement,n=e.eventsEnabled,r=c({},this.props.modifiers,{applyStyle:{enabled:!1},updateState:this._updateStateModifier});this._arrowNode&&(r.arrow={element:this._arrowNode}),this._popper=new m.default(this._getTargetNode(),this._node,{placement:t,eventsEnabled:n,modifiers:r}),this._popper.scheduleUpdate()}},{key:"_destroyPopper",value:function(){this._popper&&this._popper.destroy()}},{key:"render",value:function(){var e=this,t=this.props,n=t.component,r=t.innerRef,i=(t.placement,t.eventsEnabled,t.modifiers,t.children),s=a(t,["component","innerRef","placement","eventsEnabled","modifiers","children"]),p=function(t){e._node=t,"function"==typeof r&&r(t)},u=this._getPopperStyle(),f=this._getPopperPlacement();if("function"==typeof i){var d=o({ref:p,style:u},"data-placement",f);return i({popperProps:d,restProps:s,scheduleUpdate:this._popper&&this._popper.scheduleUpdate})}var h=c({},s,{style:c({},s.style,u),"data-placement":f});return"string"==typeof n?h.ref=p:h.innerRef=p,(0,l.createElement)(n,h,i)}}]),t}(l.Component);b.contextTypes={popperManager:d.default.object.isRequired},b.childContextTypes={popper:d.default.object.isRequired}
25028,b.propTypes={component:d.default.oneOfType([d.default.node,d.default.func]),innerRef:d.default.func,placement:d.default.oneOf(m.default.placements),eventsEnabled:d.default.bool,modifiers:d.default.object,children:d.default.oneOfType([d.default.node,d.default.func])},b.defaultProps={component:"div",placement:"bottom",eventsEnabled:!0,modifiers:{}},t.default=b},function(e,t,n){(function(t){!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e){var t=!1,n=0,r=document.createElement("span"),o=new MutationObserver(function(){e(),t=!1});return o.observe(r,{attributes:!0}),function(){t||(t=!0,r.setAttribute("x-index",n),n+=1)}}function n(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},fe))}}function r(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n}function a(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function i(e){if(!e||["HTML","BODY","#document"].indexOf(e.nodeName)!==-1)return window.document.body;var t=o(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/(auto|scroll)/.test(n+s+r)?e:i(a(e))}function s(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||e.firstElementChild.offsetParent===e)}function p(e){return null!==e.parentNode?p(e.parentNode):e}function c(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?t:window.document.documentElement}function u(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return window.document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(o,0);var i=a.commonAncestorContainer;if(e!==i&&t!==i||r.contains(o))return s(i)?i:c(i);var l=p(e);return l.host?u(l.host,t):u(e,p(t).host)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=window.document.documentElement,a=window.document.scrollingElement||o;return a[n]}return e[n]}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=l(t,"top"),o=l(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=o*a,e.right+=o*a,e}function d(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return+e["border"+n+"Width"].split("px")[0]+ +e["border"+r+"Width"].split("px")[0]}function h(e,t,n,r){return Math.max(t["offset"+e],n["client"+e],n["offset"+e],ve()?n["offset"+e]+r["margin"+("Height"===e?"Top":"Left")]+r["margin"+("Height"===e?"Bottom":"Right")]:0)}function m(){var e=window.document.body,t=window.document.documentElement,n=ve()&&window.getComputedStyle(t);return{height:h("Height",e,t,n),width:h("Width",e,t,n)}}function y(e){return be({},e,{right:e.left+e.width,bottom:e.top+e.height})}function v(e){var t={};if(ve())try{t=e.getBoundingClientRect(); 25029var n=l(e,"top"),r=l(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}catch(e){}else t=e.getBoundingClientRect();var a={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?m():{},s=i.width||e.clientWidth||a.right-a.left,p=i.height||e.clientHeight||a.bottom-a.top,c=e.offsetWidth-s,u=e.offsetHeight-p;if(c||u){var f=o(e);c-=d(f,"x"),u-=d(f,"y"),a.width-=c,a.height-=u}return y(a)}function b(e,t){var n=ve(),r="HTML"===t.nodeName,a=v(e),s=v(t),p=i(e),c=o(t),u=+c.borderTopWidth.split("px")[0],l=+c.borderLeftWidth.split("px")[0],d=y({top:a.top-s.top-u,left:a.left-s.left-l,width:a.width,height:a.height});if(d.marginTop=0,d.marginLeft=0,!n&&r){var h=+c.marginTop.split("px")[0],m=+c.marginLeft.split("px")[0];d.top-=u-h,d.bottom-=u-h,d.left-=l-m,d.right-=l-m,d.marginTop=h,d.marginLeft=m}return(n?t.contains(p):t===p&&"BODY"!==p.nodeName)&&(d=f(d,t)),d}function g(e){var t=window.document.documentElement,n=b(e,t),r=Math.max(t.clientWidth,window.innerWidth||0),o=Math.max(t.clientHeight,window.innerHeight||0),a=l(t),i=l(t,"left"),s={top:a-n.top+n.marginTop,left:i-n.left+n.marginLeft,width:r,height:o};return y(s)}function w(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===o(e,"position")||w(a(e)))}function _(e,t,n,r){var o={top:0,left:0},s=u(e,t);if("viewport"===r)o=g(s);else{var p=void 0;"scrollParent"===r?(p=i(a(e)),"BODY"===p.nodeName&&(p=window.document.documentElement)):p="window"===r?window.document.documentElement:r;var c=b(p,s);if("HTML"!==p.nodeName||w(s))o=c;else{var l=m(),f=l.height,d=l.width;o.top+=c.top-c.marginTop,o.bottom=f+c.top,o.left+=c.left-c.marginLeft,o.right=d+c.left}}
vendor: 7,204 bytes, line 25029
25029return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function O(e){var t=e.width,n=e.height;return t*n}function D(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var i=_(n,r,a,o),s={top:{width:i.width,height:t.top-i.top},right:{width:i.right-t.right,height:i.height},bottom:{width:i.width,height:i.bottom-t.bottom},left:{width:t.left-i.left,height:i.height}},p=Object.keys(s).map(function(e){return ge({key:e},s[e],{area:O(s[e])})}).sort(function(e,t){return t.area-e.area}),c=p.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),u=c.length>0?c[0].key:p[0].key,l=e.split("-")[1];return u+(l?"-"+l:"")}function k(e,t,n){var r=u(t,n);return b(n,r)}function E(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight),o={width:e.offsetWidth+r,height:e.offsetHeight+n};return o}function S(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,n){n=n.split("-")[0];var r=E(e),o={width:r.width,height:r.height},a=["right","left"].indexOf(n)!==-1,i=a?"top":"left",s=a?"left":"top",p=a?"height":"width",c=a?"width":"height";return o[i]=t[i]+t[p]/2-r[p]/2,n===s?o[s]=t[s]-r[c]:o[s]=t[S(s)],o}function M(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function P(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=M(e,function(e){return e[t]===n});return e.indexOf(r)}function N(e,t,n){var o=void 0===n?e:e.slice(0,P(e,"name",n));return o.forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function j(){if(!this.state.isDestroyed){var e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=k(this.state,this.popper,this.reference),e.placement=D(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function x(e,t){return e.some(function(e){var n=e.name,r=e.enabled;return r&&n===t})}function T(e){for(var t=[!1,"ms","webkit","moz","o"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length-1;r++){var o=t[r],a=o?""+o+n:e;if("undefined"!=typeof window.document.body.style[a])return a}return null}function R(){return this.state.isDestroyed=!0,x(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[T("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(e,t,n,r){var o="BODY"===e.nodeName,a=o?window:e;a.addEventListener(t,n,{passive:!0}),o||W(i(a.parentNode),t,n,r),r.push(a)}function F(e,t,n,r){n.updateBound=r,window.addEventListener("resize",n.updateBound,{passive:!0});var o=i(e);return W(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function I(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function L(e,t){return window.removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function A(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=L(this.reference,this.state))}function B(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach(function(n){var r="";["width","height","top","right","bottom","left"].indexOf(n)!==-1&&B(t[n])&&(r="px"),e.style[n]=t[n]+r})}function H(e,t){Object.keys(t).forEach(function(n){var r=t[n];r!==!1?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function U(e){return Y(e.instance.popper,e.styles),H(e.instance.popper,e.attributes),e.offsets.arrow&&Y(e.arrowElement,e.offsets.arrow),e}function V(e,t,n,r,o){var a=k(o,t,e),i=D(n.placement,a,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",i),Y(t,{position:"absolute"}),n}function q(e,t){var n=t.x,r=t.y,o=e.offsets.popper,a=M(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==a&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=void 0!==a?a:t.gpuAcceleration,s=c(e.instance.popper),p=v(s),u={position:o.position},l={left:Math.floor(o.left),top:Math.floor(o.top),bottom:Math.floor(o.bottom),right:Math.floor(o.right)},f="bottom"===n?"top":"bottom",d="right"===r?"left":"right",h=T("transform"),m=void 0,y=void 0;if(y="bottom"===f?-p.height+l.bottom:l.top,m="right"===d?-p.width+l.right:l.left,i&&h)u[h]="translate3d("+m+"px, "+y+"px, 0)",u[f]=0,u[d]=0,u.willChange="transform";else{var b="bottom"===f?-1:1,g="right"===d?-1:1;u[f]=y*b,u[d]=m*g,u.willChange=f+", "+d}var w={"x-placement":e.placement};return e.attributes=w,e.styles=we({},u,e.styles),e}function K(e,t,n){var r=M(e,function(e){var n=e.name;return n===t}),o=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!o){var a="`"+t+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}function z(e,t){if(!K(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(n=e.instance.popper.querySelector(n),!n)return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],o=e.offsets,a=o.popper,i=o.reference,s=["left","right"].indexOf(r)!==-1,p=s?"height":"width",c=s?"top":"left",u=s?"left":"top",l=s?"bottom":"right",f=E(n)[p];i[l]-f<a[c]&&(e.offsets.popper[c]-=a[c]-(i[l]-f)),i[c]+f>a[l]&&(e.offsets.popper[c]+=i[c]+f-a[l]);var d=i[c]+i[p]/2-f/2,h=d-y(e.offsets.popper)[c];return h=Math.max(Math.min(a[p]-f,h),0),e.arrowElement=n,e.offsets.arrow={},e.offsets.arrow[c]=Math.round(h),e.offsets.arrow[u]="",e}function G(e){return"end"===e?"start":"start"===e?"end":e}function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Oe.indexOf(e),r=Oe.slice(n+1).concat(Oe.slice(0,n));return t?r.reverse():r}function J(e,t){if(x(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=_(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),r=e.placement.split("-")[0],o=S(r),a=e.placement.split("-")[1]||"",i=[];switch(t.behavior){case ke.FLIP:i=[r,o];break;case ke.CLOCKWISE:i=X(r);break;case ke.COUNTERCLOCKWISE:i=X(r,!0);break;default:i=t.behavior}
25029return i.forEach(function(s,p){if(r!==s||i.length===p+1)return e;r=e.placement.split("-")[0],o=S(r);var c=e.offsets.popper,u=e.offsets.reference,l=Math.floor,f="left"===r&&l(c.right)>l(u.left)||"right"===r&&l(c.left)<l(u.right)||"top"===r&&l(c.bottom)>l(u.top)||"bottom"===r&&l(c.top)<l(u.bottom),d=l(c.left)<l(n.left),h=l(c.right)>l(n.right),m=l(c.top)<l(n.top),y=l(c.bottom)>l(n.bottom),v="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&y,b=["top","bottom"].indexOf(r)!==-1,g=!!t.flipVariations&&(b&&"start"===a&&d||b&&"end"===a&&h||!b&&"start"===a&&m||!b&&"end"===a&&y);(f||v||g)&&(e.flipped=!0,(f||v)&&(r=i[p+1]),g&&(a=G(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=De({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,"flip"))}),e}function Q(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],a=Math.floor,i=["top","bottom"].indexOf(o)!==-1,s=i?"right":"bottom",p=i?"left":"top",c=i?"width":"height";return n[s]<a(r[p])&&(e.offsets.popper[p]=a(r[p])-n[c]),n[p]>a(r[s])&&(e.offsets.popper[p]=a(r[s])),e}function Z(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+o[1],i=o[2];if(!a)return e;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=r}var p=y(s);return p[t]/100*a}if("vh"===i||"vw"===i){var c=void 0;return c="vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*a}return a}function $(e,t,n,r){var o=[0,0],a=["right","left"].indexOf(r)!==-1,i=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=i.indexOf(M(i,function(e){return e.search(/,|\s/)!==-1}));i[s]&&i[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,c=s!==-1?[i.slice(0,s).concat([i[s].split(p)[0]]),[i[s].split(p)[1]].concat(i.slice(s+1))]:[i];return c=c.map(function(e,r){var o=(1===r?!a:a)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&["+","-"].indexOf(t)!==-1?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return Z(e,o,t,n)})}),c.forEach(function(e,t){e.forEach(function(n,r){B(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}function ee(e,t){var n=t.offset,r=e.placement,o=e.offsets,a=o.popper,i=o.reference,s=r.split("-")[0],p=void 0;return p=B(+n)?[+n,0]:$(n,a,i,s),"left"===s?(a.top+=p[0],a.left-=p[1]):"right"===s?(a.top+=p[0],a.left+=p[1]):"top"===s?(a.left+=p[0],a.top-=p[1]):"bottom"===s&&(a.left+=p[0],a.top+=p[1]),e.popper=a,e}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){var n=t.boundariesElement||c(e.instance.popper);e.instance.reference===n&&(n=c(n));var r=_(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=r;var o=t.priority,a=e.offsets.popper,i={primary:function(e){var n=a[e];return a[e]<r[e]&&!t.escapeWithReference&&(n=Math.max(a[e],r[e])),te({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=a[n];return a[e]>r[e]&&!t.escapeWithReference&&(o=Math.min(a[n],r[e]-("right"===e?a.width:a.height))),te({},n,o)}};return o.forEach(function(e){var t=["left","top"].indexOf(e)!==-1?"primary":"secondary";a=Ee({},a,i[t](e))}),e.offsets.popper=a,e}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oe(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,a=o.reference,i=o.popper,s=["bottom","top"].indexOf(n)!==-1,p=s?"left":"top",c=s?"width":"height",u={start:re({},p,a[p]),end:re({},p,a[p]+a[c]-i[c])};e.offsets.popper=Se({},i,u[r])}return e}function ae(e){if(!K(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=M(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(e.hide===!0)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(e.hide===!1)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function ie(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,a=r.reference,i=["left","right"].indexOf(n)!==-1,s=["top","left"].indexOf(n)===-1;return o[i?"left":"top"]=a[t]-(s?o[i?"width":"height"]:0),e.placement=S(t),e.offsets.popper=y(o),e}function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}for(var pe=["native code","[object MutationObserverConstructor]"],ce=function(e){return pe.some(function(t){return(e||"").toString().indexOf(t)>-1})},ue="undefined"!=typeof window,le=["Edge","Trident","Firefox"],fe=0,de=0;de<le.length;de+=1)if(ue&&navigator.userAgent.indexOf(le[de])>=0){fe=1;break}var he=ue&&ce(window.MutationObserver),me=he?e:n,ye=void 0,ve=function(){return void 0===ye&&(ye=navigator.appVersion.indexOf("MSIE 10")!==-1),ye},be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}
25029,_e=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Oe=_e.slice(3),De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ke={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ce={shift:{order:100,enabled:!0,fn:oe},offset:{order:200,enabled:!0,fn:ee,offset:0},preventOverflow:{order:300,enabled:!0,fn:ne,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:Q},arrow:{order:500,enabled:!0,fn:z,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:J,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:ie},hide:{order:800,enabled:!0,fn:ae},computeStyle:{order:850,enabled:!0,fn:q,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:U,onLoad:V,gpuAcceleration:void 0}},Me={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Ce},Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ne=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),je=function(){function e(t,n){var o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};se(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=me(this.update.bind(this)),this.options=Pe({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t.jquery?t[0]:t,this.popper=n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Pe({},e.Defaults.modifiers,a.modifiers)).forEach(function(t){o.options.modifiers[t]=Pe({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Pe({name:e},o.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Ne(e,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return I.call(this)}},{key:"disableEventListeners",value:function(){return A.call(this)}}]),e}();return je.Utils=("undefined"!=typeof window?window:t).PopperUtils,je.placements=_e,je.Defaults=Me,je})}).call(t,function(){return this}())},function(e,t,n){/*! 25030 * is-equal-shallow <https://github.com/jonschlinkert/is-equal-shallow> 25031 * 25032 * Copyright (c) 2015, Jon Schlinkert. 25033 * Licensed under the MIT License. 25034 */ 25035"use strict";var r=n(27);e.exports=function(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;var n,o=0,a=0;for(n in t)if(a++,!r(t[n])||!e.hasOwnProperty(n)||e[n]!==t[n])return!1;for(n in e)o++;return o===a}},function(e,t){/*! 25036 * is-primitive <https://github.com/jonschlinkert/is-primitive> 25037 * 25038 * Copyright (c) 2014-2015, Jon Schlinkert. 25039 * Licensed under the MIT License. 25040 */ 25041"use strict";e.exports=function(e){return null==e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}
25041Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(4),s=(r(i),n(5)),p=r(s),c=function(e,t){var n=e.component,r=void 0===n?"span":n,s=e.innerRef,p=e.children,c=o(e,["component","innerRef","children"]),u=t.popper,l=function(e){u.setArrowNode(e),"function"==typeof s&&s(e)},f=u.getArrowStyle();if("function"==typeof p){var d={ref:l,style:f};return p({arrowProps:d,restProps:c})}var h=a({},c,{style:a({},f,c.style)});return"string"==typeof r?h.ref=l:h.innerRef=l,(0,i.createElement)(r,h,p)};c.contextTypes={popper:p.default.object.isRequired},c.propTypes={component:p.default.oneOfType([p.default.node,p.default.func]),innerRef:p.default.func,children:p.default.oneOfType([p.default.node,p.default.func])},t.default=c}])}); 25042 25043/***/ }), 25044/* 526 */ 25045/***/ (function(module, __webpack_exports__, __webpack_require__) { 25046 25047"use strict"; 25048Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); 25049/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "IGNORE_CLASS_NAME", function() { return IGNORE_CLASS_NAME; }); 25050/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(1); 25051/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); 25052/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom__ = __webpack_require__(12); 25053/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react_dom___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react_dom__); 25054function _inheritsLoose(subClass, superClass) { 25055 subClass.prototype = Object.create(superClass.prototype); 25056 subClass.prototype.constructor = subClass; 25057 25058 _setPrototypeOf(subClass, superClass); 25059} 25060 25061function _setPrototypeOf(o, p) { 25062 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { 25063 o.__proto__ = p; 25064 return o; 25065 }; 25066 25067 return _setPrototypeOf(o, p); 25068} 25069 25070function _objectWithoutPropertiesLoose(source, excluded) { 25071 if (source == null) return {}; 25072 var target = {}; 25073 var sourceKeys = Object.keys(source); 25074 var key, i; 25075 25076 for (i = 0; i < sourceKeys.length; i++) { 25077 key = sourceKeys[i]; 25078 if (excluded.indexOf(key) >= 0) continue; 25079 target[key] = source[key]; 25080 } 25081 25082 return target; 25083} 25084 25085function _assertThisInitialized(self) { 25086 if (self === void 0) { 25087 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 25088 } 25089 25090 return self; 25091}/** 25092 * Check whether some DOM node is our Component's node. 25093 */ 25094function isNodeFound(current, componentNode, ignoreClass) { 25095 if (current === componentNode) { 25096 return true; 25097 } // SVG <use/> elements do not technically reside in the rendered DOM, so 25098 // they do not have classList directly, but they offer a link to their 25099 // corresponding element, which can have classList. This extra check is for 25100 // that case. 25101 // See: http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGUseElement 25102 // Discussion: https://github.com/Pomax/react-onclickoutside/pull/17 25103 25104 25105 if (current.correspondingElement) { 25106 return current.correspondingElement.classList.contains(ignoreClass); 25107 } 25108 25109 return current.classList.contains(ignoreClass); 25110} 25111/** 25112 * Try to find our node in a hierarchy of nodes, returning the document 25113 * node as highest node if our node is not found in the path up. 25114 */ 25115 25116function findHighest(current, componentNode, ignoreClass) { 25117 if (current === componentNode) { 25118 return true; 25119 } // If source=local then this event came from 'somewhere' 25120 // inside and should be ignored. We could handle this with 25121 // a layered approach, too, but that requires going back to 25122 // thinking in terms of Dom node nesting, running counter 25123 // to React's 'you shouldn't care about the DOM' philosophy. 25124 25125 25126 while (current.parentNode) { 25127 if (isNodeFound(current, componentNode, ignoreClass)) { 25128 return true; 25129 } 25130 25131 current = current.parentNode; 25132 } 25133 25134 return current; 25135} 25136/** 25137 * Check if the browser scrollbar was clicked 25138 */ 25139 25140function clickedScrollbar(evt) { 25141 return document.documentElement.clientWidth <= evt.clientX || document.documentElement.clientHeight <= evt.clientY; 25142}// ideally will get replaced with external dep 25143// when rafrex/detect-passive-events#4 and rafrex/detect-passive-events#5 get merged in 25144var testPassiveEventSupport = function testPassiveEventSupport() { 25145 if (typeof window === 'undefined' || typeof window.addEventListener !== 'function') { 25146 return; 25147 } 25148 25149 var passive = false;
vendor: 4,322 bytes, lines 25150-25297
25150 var options = Object.defineProperty({}, 'passive', { 25151 get: function get() { 25152 passive = true; 25153 } 25154 }); 25155 25156 var noop = function noop() {}; 25157 25158 window.addEventListener('testPassiveEventSupport', noop, options); 25159 window.removeEventListener('testPassiveEventSupport', noop, options); 25160 return passive; 25161};function autoInc(seed) { 25162 if (seed === void 0) { 25163 seed = 0; 25164 } 25165 25166 return function () { 25167 return ++seed; 25168 }; 25169} 25170 25171var uid = autoInc();var passiveEventSupport; 25172var handlersMap = {}; 25173var enabledInstances = {}; 25174var touchEvents = ['touchstart', 'touchmove']; 25175var IGNORE_CLASS_NAME = 'ignore-react-onclickoutside'; 25176/** 25177 * Options for addEventHandler and removeEventHandler 25178 */ 25179 25180function getEventHandlerOptions(instance, eventName) { 25181 var handlerOptions = null; 25182 var isTouchEvent = touchEvents.indexOf(eventName) !== -1; 25183 25184 if (isTouchEvent && passiveEventSupport) { 25185 handlerOptions = { 25186 passive: !instance.props.preventDefault 25187 }; 25188 } 25189 25190 return handlerOptions; 25191} 25192/** 25193 * This function generates the HOC function that you'll use 25194 * in order to impart onOutsideClick listening to an 25195 * arbitrary component. It gets called at the end of the 25196 * bootstrapping code to yield an instance of the 25197 * onClickOutsideHOC function defined inside setupHOC(). 25198 */ 25199 25200 25201function onClickOutsideHOC(WrappedComponent, config) { 25202 var _class, _temp; 25203 25204 var componentName = WrappedComponent.displayName || WrappedComponent.name || 'Component'; 25205 return _temp = _class = /*#__PURE__*/function (_Component) { 25206 _inheritsLoose(onClickOutside, _Component); 25207 25208 function onClickOutside(props) { 25209 var _this; 25210 25211 _this = _Component.call(this, props) || this; 25212 25213 _this.__outsideClickHandler = function (event) { 25214 if (typeof _this.__clickOutsideHandlerProp === 'function') { 25215 _this.__clickOutsideHandlerProp(event); 25216 25217 return; 25218 } 25219 25220 var instance = _this.getInstance(); 25221 25222 if (typeof instance.props.handleClickOutside === 'function') { 25223 instance.props.handleClickOutside(event); 25224 return; 25225 } 25226 25227 if (typeof instance.handleClickOutside === 'function') { 25228 instance.handleClickOutside(event); 25229 return; 25230 } 25231 25232 throw new Error("WrappedComponent: " + componentName + " lacks a handleClickOutside(event) function for processing outside click events."); 25233 }; 25234 25235 _this.__getComponentNode = function () { 25236 var instance = _this.getInstance(); 25237 25238 if (config && typeof config.setClickOutsideRef === 'function') { 25239 return config.setClickOutsideRef()(instance); 25240 } 25241 25242 if (typeof instance.setClickOutsideRef === 'function') { 25243 return instance.setClickOutsideRef(); 25244 } 25245 25246 return Object(__WEBPACK_IMPORTED_MODULE_1_react_dom__["findDOMNode"])(instance); 25247 }; 25248 25249 _this.enableOnClickOutside = function () { 25250 if (typeof document === 'undefined' || enabledInstances[_this._uid]) { 25251 return; 25252 } 25253 25254 if (typeof passiveEventSupport === 'undefined') { 25255 passiveEventSupport = testPassiveEventSupport(); 25256 } 25257 25258 enabledInstances[_this._uid] = true; 25259 var events = _this.props.eventTypes; 25260 25261 if (!events.forEach) { 25262 events = [events]; 25263 } 25264 25265 handlersMap[_this._uid] = function (event) { 25266 if (_this.componentNode === null) return; 25267 25268 if (_this.props.preventDefault) { 25269 event.preventDefault(); 25270 } 25271 25272 if (_this.props.stopPropagation) { 25273 event.stopPropagation(); 25274 } 25275 25276 if (_this.props.excludeScrollbar && clickedScrollbar(event)) return; 25277 var current = event.target; 25278 25279 if (findHighest(current, _this.componentNode, _this.props.outsideClickIgnoreClass) !== document) { 25280 return; 25281 } 25282 25283 _this.__outsideClickHandler(event); 25284 }; 25285 25286 events.forEach(function (eventName) { 25287 document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized(_this), eventName)); 25288 }); 25289 }; 25290 25291 _this.disableOnClickOutside = function () { 25292 delete enabledInstances[_this._uid]; 25293 var fn = handlersMap[_this._uid]; 25294 25295 if (fn && typeof document !== 'undefined') { 25296 var events = _this.props.eventTypes; 25297
25298 if (!events.forEach) { 25299 events = [events]; 25300 } 25301 25302 events.forEach(function (eventName) { 25303 return document.removeEventListener(eventName, fn, getEventHandlerOptions(_assertThisInitialized(_this), eventName)); 25304 }); 25305 delete handlersMap[_this._uid]; 25306 } 25307 }; 25308 25309 _this.getRef = function (ref) { 25310 return _this.instanceRef = ref; 25311 }; 25312 25313 _this._uid = uid(); 25314 return _this; 25315 } 25316 /** 25317 * Access the WrappedComponent's instance. 25318 */ 25319 25320 25321 var _proto = onClickOutside.prototype; 25322 25323 _proto.getInstance = function getInstance() { 25324 if (WrappedComponent.prototype && !WrappedComponent.prototype.isReactComponent) { 25325 return this; 25326 } 25327 25328 var ref = this.instanceRef; 25329 return ref.getInstance ? ref.getInstance() : ref; 25330 }; 25331 25332 /** 25333 * Add click listeners to the current document, 25334 * linked to this component's state. 25335 */ 25336 _proto.componentDidMount = function componentDidMount() { 25337 // If we are in an environment without a DOM such 25338 // as shallow rendering or snapshots then we exit 25339 // early to prevent any unhandled errors being thrown. 25340 if (typeof document === 'undefined' || !document.createElement) { 25341 return; 25342 } 25343 25344 var instance = this.getInstance(); 25345 25346 if (config && typeof config.handleClickOutside === 'function') { 25347 this.__clickOutsideHandlerProp = config.handleClickOutside(instance); 25348 25349 if (typeof this.__clickOutsideHandlerProp !== 'function') { 25350 throw new Error("WrappedComponent: " + componentName + " lacks a function for processing outside click events specified by the handleClickOutside config option."); 25351 } 25352 } 25353 25354 this.componentNode = this.__getComponentNode(); // return early so we dont initiate onClickOutside 25355 25356 if (this.props.disableOnClickOutside) return; 25357 this.enableOnClickOutside(); 25358 }; 25359 25360 _proto.componentDidUpdate = function componentDidUpdate() { 25361 this.componentNode = this.__getComponentNode(); 25362 } 25363 /** 25364 * Remove all document's event listeners for this component 25365 */ 25366 ; 25367 25368 _proto.componentWillUnmount = function componentWillUnmount() { 25369 this.disableOnClickOutside(); 25370 } 25371 /** 25372 * Can be called to explicitly enable event listening 25373 * for clicks and touches outside of this element. 25374 */ 25375 ; 25376 25377 /** 25378 * Pass-through render 25379 */ 25380 _proto.render = function render() { 25381 // eslint-disable-next-line no-unused-vars 25382 var _this$props = this.props; 25383 _this$props.excludeScrollbar; 25384 var props = _objectWithoutPropertiesLoose(_this$props, ["excludeScrollbar"]); 25385 25386 if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) { 25387 props.ref = this.getRef; 25388 } else { 25389 props.wrappedRef = this.getRef; 25390 } 25391 25392 props.disableOnClickOutside = this.disableOnClickOutside; 25393 props.enableOnClickOutside = this.enableOnClickOutside; 25394 return Object(__WEBPACK_IMPORTED_MODULE_0_react__["createElement"])(WrappedComponent, props); 25395 }; 25396 25397 return onClickOutside; 25398 }(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]), _class.displayName = "OnClickOutside(" + componentName + ")", _class.defaultProps = { 25399 eventTypes: ['mousedown', 'touchstart'], 25400 excludeScrollbar: config && config.excludeScrollbar || false, 25401 outsideClickIgnoreClass: IGNORE_CLASS_NAME, 25402 preventDefault: false, 25403 stopPropagation: false 25404 }, _class.getClass = function () { 25405 return WrappedComponent.getClass ? WrappedComponent.getClass() : WrappedComponent; 25406 }, _temp; 25407}/* harmony default export */ __webpack_exports__["default"] = (onClickOutsideHOC); 25408 25409/***/ }), 25410/* 527 */ 25411/***/ (function(module, exports, __webpack_require__) { 25412 25413"use strict"; 25414 25415 25416Object.defineProperty(exports, "__esModule", { 25417 value: true 25418}); 25419 25420var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 25421 25422var _react = __webpack_require__(1); 25423 25424var _react2 = _interopRequireDefault(_react); 25425 25426var _Dropdown = __webpack_require__(528); 25427 25428var _Dropdown2 = _interopRequireDefault(_Dropdown); 25429 25430var _moment = __webpack_require__(0); 25431 25432var _moment2 = _interopRequireDefault(_moment); 25433 25434var _momentRange = __webpack_require__(533); 25435 25436function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 25437 25438function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 25439 25440function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 25441 25442function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
25442onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 25443 25444var moment = (0, _momentRange.extendMoment)(_moment2.default); 25445 25446var YearPicker = function (_React$Component) { 25447 _inherits(YearPicker, _React$Component); 25448 25449 function YearPicker(props) { 25450 _classCallCheck(this, YearPicker); 25451 25452 var _this = _possibleConstructorReturn(this, (YearPicker.__proto__ || Object.getPrototypeOf(YearPicker)).call(this, props)); 25453 25454 var range = moment.range(_this.props.startDate, _this.props.endDate); 25455 var years = Array.from(range.reverseBy('year')).map(function (x) { 25456 return x.format('YYYY'); 25457 }).map(function (x) { 25458 return { 25459 value: x, 25460 label: x 25461 }; 25462 }); 25463 25464 _this.state = { 25465 items: years 25466 }; 25467 return _this; 25468 } 25469 25470 _createClass(YearPicker, [{ 25471 key: 'render', 25472 value: function render() { 25473 25474 return _react2.default.createElement(_Dropdown2.default, { 25475 items: this.state.items, 25476 placeholder: this.props.placeholder || 'Select Year', 25477 name: this.props.name, 25478 styleClass: this.props.styleClass, 25479 onSelect: this.props.onSelect, 25480 isInvalid: this.props.isInvalid, 25481 selectedValue: this.props.selectedValue 25482 }); 25483 } 25484 }]); 25485 25486 return YearPicker; 25487}(_react2.default.Component); 25488 25489exports.default = YearPicker; 25490 25491/***/ }), 25492/* 528 */ 25493/***/ (function(module, exports, __webpack_require__) { 25494 25495"use strict"; 25496 25497 25498Object.defineProperty(exports, "__esModule", { 25499 value: true 25500}); 25501 25502var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 25503 25504var _react = __webpack_require__(1); 25505 25506var _react2 = _interopRequireDefault(_react); 25507 25508var _reactDom = __webpack_require__(12); 25509 25510var _reactDom2 = _interopRequireDefault(_reactDom); 25511 25512__webpack_require__(529); 25513 25514__webpack_require__(531); 25515 25516function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 25517 25518function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 25519 25520function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 25521 25522function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 25523 25524var DROPDOWN_ARROW_SRC = '../images/appointment/icon-expanded.svg'; 25525 25526var Dropdown = function (_React$Component) { 25527 _inherits(Dropdown, _React$Component); 25528 25529 function Dropdown(props) { 25530 _classCallCheck(this, Dropdown); 25531 25532 var _this = _possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, props)); 25533 25534 _this.state = { 25535 placeholder: props.placeholder, 25536 isUp: false 25537 }; 25538 25539 _this.toggleVisibility = _this.toggleVisibility.bind(_this); 25540 _this.hide = _this.hide.bind(_this); 25541 return _this; 25542 } 25543 25544 _createClass(Dropdown, [{ 25545 key: 'componentDidMount', 25546 value: function componentDidMount() { 25547 var UP_THRESHOLD_PX = 750; 25548 25549 var position = _reactDom2.default.findDOMNode(this).getBoundingClientRect(); 25550 25551 if (position.bottom > UP_THRESHOLD_PX) { 25552 this.setState({ 25553 isUp: false 25554 }); 25555 } 25556 } 25557 }, {
25558 key: 'render', 25559 value: function render() { 25560 var _this2 = this; 25561 25562 var expandedClass = this.state.isExpanded ? 'expanded' : ''; 25563 var invalidClass = this.props.isInvalid ? 'invalid' : ''; 25564 var disabledClass = this.props.disabled ? 'disabled' : ''; 25565 var isUpClass = this.state.isUp ? 'up' : ''; 25566 25567 return _react2.default.createElement( 25568 'div', 25569 { className: 'd-dropdown ' + expandedClass + ' ' + this.props.styleClass + ' ' + invalidClass + ' ' + disabledClass }, 25570 _react2.default.createElement( 25571 'div', 25572 { className: 'd-label', onClick: this.toggleVisibility }, 25573 this.selectedItem ? this.selectedItem.label : this.state.placeholder, 25574 _react2.default.createElement( 25575 'span', 25576 { className: 'd-trigger' }, 25577 _react2.default.createElement('img', { className: 'd-arrow', src: DROPDOWN_ARROW_SRC }) 25578 ) 25579 ), 25580 this.state.isExpanded && _react2.default.createElement( 25581 'ul', 25582 { className: 'd-select-list' }, 25583 this.props.items.map(function (current) { 25584 return _react2.default.createElement( 25585 'li', 25586 { 25587 className: 'd-select-item', 25588 key: current.value, 25589 onClick: function onClick(e) { 25590 return _this2.select(e, current.value); 25591 } }, 25592 current.label 25593 ); 25594 }) 25595 ) 25596 ); 25597 } 25598 }, { 25599 key: 'toggleVisibility', 25600 value: function toggleVisibility() { 25601 this.state.isExpanded ? this.hide() : this.show(); 25602 } 25603 }, { 25604 key: 'show', 25605 value: function show() { 25606 if (this.props.disabled) return; 25607 25608 this.setState({ 25609 isExpanded: true 25610 }); 25611 document.addEventListener('click', this.hide); 25612 } 25613 }, { 25614 key: 'hide', 25615 value: function hide() { 25616 this.setState({ 25617 isExpanded: false 25618 }); 25619 document.removeEventListener('click', this.hide); 25620 } 25621 }, { 25622 key: 'select', 25623 value: function select(e, value) { 25624 e.stopPropagation(); 25625 25626 this.toggleVisibility(); 25627 25628 var eventArgs = { 25629 target: { 25630 name: this.props.name, 25631 value: value 25632 } 25633 }; 25634 25635 this.props.onSelect(eventArgs); 25636 } 25637 }, { 25638 key: 'selectedItem', 25639 get: function get() { 25640 var _this3 = this; 25641 25642 if (!this.props.selectedValue) return null; 25643 25644 return this.props.items.filter(function (current) { 25645 return current.value === _this3.props.selectedValue; 25646 })[0]; 25647 } 25648 }]); 25649 25650 return Dropdown; 25651}(_react2.default.Component); 25652 25653exports.default = Dropdown; 25654 25655/***/ }), 25656/* 529 */ 25657/***/ (function(module, exports, __webpack_require__) { 25658 25659// style-loader: Adds some css to the DOM by adding a <style> tag 25660 25661// load the styles 25662var content = __webpack_require__(530); 25663if(typeof content === 'string') content = [[module.i, content, '']]; 25664// Prepare cssTransformation 25665var transform; 25666 25667var options = {} 25668options.transform = transform 25669// add the styles to the DOM 25670var update = __webpack_require__(3)(content, options); 25671if(content.locals) module.exports = content.locals; 25672// Hot Module Replacement 25673if(false) { 25674 // When the styles change, update the <style> tags 25675 if(!content.locals) { 25676 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Dropdown.scss", function() { 25677 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Dropdown.scss"); 25678 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 25679 update(newContent); 25680 }); 25681 } 25682 // When the module is disposed, remove the <style> tags 25683 module.hot.dispose(function() { update(); }); 25684} 25685 25686/***/ }), 25687/* 530 */ 25688/***/ (function(module, exports, __webpack_require__) { 25689 25690exports = module.exports = __webpack_require__(2)(undefined); 25691// imports 25692 25693 25694// module 25695exports.push([module.i, ".d-dropdown {\n border-radius: 0;\n background: transparent;\n height: 45px;\n cursor: pointer;\n margin-bottom: 8px; }\n .d-dropdown.half {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%; }\n .d-dropdown.half:not(:last-child) {\n margin-right: 20px; }\n .d-dropdown.w-80px {\n width: 80px; }\n .d-dropdown.grow-3 {\n -webkit-box-flex: 3;\n -ms-flex-positive: 3;\n flex-grow: 3;\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n margin-right: 20px; }\n .d-dropdown.disabled {\n opacity: 0.5;
25695\n cursor: not-allowed; }\n .d-dropdown .d-label {\n background-color: white;\n padding: 10px;\n padding-right: 30px;\n border: 1px solid #ccc;\n border-bottom: none;\n position: relative;\n -webkit-transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden; }\n .d-dropdown .d-label .d-trigger {\n position: absolute;\n right: 0;\n height: 100%;\n top: 0;\n width: 35px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n transition: border-color 800ms cubic-bezier(0.19, 1, 0.22, 1);\n background-color: white; }\n .d-dropdown .d-label .d-trigger .d-arrow {\n margin: auto;\n width: 13px;\n height: 13px; }\n .d-dropdown:not(.expanded) .d-label {\n border-bottom: 1px solid #ccc; }\n .d-dropdown.up .d-select-list {\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%); }\n .d-dropdown .d-select-list {\n background-color: white;\n padding: 0;\n list-style-type: none;\n position: relative;\n left: 0;\n border: 1px solid #ccc;\n z-index: 10;\n -webkit-box-shadow: 0 3px 4px rgba(0, 0, 0, .2);\n box-shadow: 0 3px 4px rgba(0, 0, 0, .2); }\n .d-dropdown .d-select-list .d-select-item {\n padding: 10px;\n background-color: white;\n width: 100%; }\n .d-dropdown .d-select-list .d-select-item:not(:last-child) {\n border-bottom: 1px solid #ccc; }\n .d-dropdown .d-select-list .d-select-item:hover {\n background-color: #173e6e;\n color: white; }\n .d-dropdown.invalid .d-label {\n border: 1px solid #d0011b;\n color: #d0011b; }\n", ""]); 25696 25697// exports 25698 25699 25700/***/ }), 25701/* 531 */ 25702/***/ (function(module, exports, __webpack_require__) { 25703 25704// style-loader: Adds some css to the DOM by adding a <style> tag 25705 25706// load the styles 25707var content = __webpack_require__(532); 25708if(typeof content === 'string') content = [[module.i, content, '']]; 25709// Prepare cssTransformation 25710var transform; 25711 25712var options = {} 25713options.transform = transform 25714// add the styles to the DOM 25715var update = __webpack_require__(3)(content, options); 25716if(content.locals) module.exports = content.locals; 25717// Hot Module Replacement 25718if(false) { 25719 // When the styles change, update the <style> tags 25720 if(!content.locals) { 25721 module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Animations.scss", function() { 25722 var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/postcss-loader/lib/index.js??ref--4-2!../../../../node_modules/sass-loader/lib/loader.js!./Animations.scss"); 25723 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 25724 update(newContent); 25725 }); 25726 } 25727 // When the module is disposed, remove the <style> tags 25728 module.hot.dispose(function() { update(); }); 25729} 25730 25731/***/ }), 25732/* 532 */ 25733/***/ (function(module, exports, __webpack_require__) { 25734 25735exports = module.exports = __webpack_require__(2)(undefined); 25736// imports 25737 25738 25739// module 25740exports.push([module.i, ".d-dropdown .d-select-list {\n overflow: auto; }\n\n.d-dropdown.expanded .d-select-list {\n max-height: 300px;\n -webkit-animation: 500ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms dropdown-expand;\n animation: 500ms cubic-bezier(0.215, 0.61, 0.355, 1) 0ms dropdown-expand; }\n\n@-webkit-keyframes dropdown-expand {\n from {\n max-height: 0; }\n to {\n max-height: 300px; } }\n\n@keyframes dropdown-expand {\n from {\n max-height: 0; }\n to {\n max-height: 300px; } }\n", ""]); 25741 25742// exports 25743 25744 25745/***/ }), 25746/* 533 */ 25747/***/ (function(module, exports, __webpack_require__) { 25748 25749(function webpackUniversalModuleDefinition(root, factory) { 25750 if(true) 25751 module.exports = factory(__webpack_require__(0)); 25752 else if(typeof define === 'function' && define.amd) 25753 define("moment-range", ["moment"], factory); 25754 else if(typeof exports === 'object') 25755 exports["moment-range"] = factory(require("moment")); 25756 else 25757 root["moment-range"] = factory(root["moment"]); 25758})(this, function(__WEBPACK_EXTERNAL_MODULE_2__) { 25759return /******/ (function(modules) { // webpackBootstrap 25760/******/ // The module cache 25761/******/ var installedModules = {}; 25762/******/ 25763/******/ // The require function 25764/******/ function __webpack_require__(moduleId) { 25765/******/ 25766/******/ // Check if module is in cache 25767/******/ if(installedModules[moduleId]) { 25768/******/ return installedModules[moduleId].exports; 25769/******/ } 25770/******/ // Create a new module (and put it into the cache) 25771/******/ var module = installedModules[moduleId] = { 25772/******/ i: moduleId, 25773/******/ l: false, 25774/******/ exports: {} 25775/******/ }; 25776/******/ 25777/******/ // Execute the module function 25778/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 25779/******/ 25780/******/ // Flag the module as loaded
vendor: 16,384 bytes, lines 25781-26266
25781/******/ module.l = true; 25782/******/ 25783/******/ // Return the exports of the module 25784/******/ return module.exports; 25785/******/ } 25786/******/ 25787/******/ 25788/******/ // expose the modules object (__webpack_modules__) 25789/******/ __webpack_require__.m = modules; 25790/******/ 25791/******/ // expose the module cache 25792/******/ __webpack_require__.c = installedModules; 25793/******/ 25794/******/ // identity function for calling harmony imports with the correct context 25795/******/ __webpack_require__.i = function(value) { return value; }; 25796/******/ 25797/******/ // define getter function for harmony exports 25798/******/ __webpack_require__.d = function(exports, name, getter) { 25799/******/ if(!__webpack_require__.o(exports, name)) { 25800/******/ Object.defineProperty(exports, name, { 25801/******/ configurable: false, 25802/******/ enumerable: true, 25803/******/ get: getter 25804/******/ }); 25805/******/ } 25806/******/ }; 25807/******/ 25808/******/ // getDefaultExport function for compatibility with non-harmony modules 25809/******/ __webpack_require__.n = function(module) { 25810/******/ var getter = module && module.__esModule ? 25811/******/ function getDefault() { return module['default']; } : 25812/******/ function getModuleExports() { return module; }; 25813/******/ __webpack_require__.d(getter, 'a', getter); 25814/******/ return getter; 25815/******/ }; 25816/******/ 25817/******/ // Object.prototype.hasOwnProperty.call 25818/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 25819/******/ 25820/******/ // __webpack_public_path__ 25821/******/ __webpack_require__.p = ""; 25822/******/ 25823/******/ // Load entry module and return exports 25824/******/ return __webpack_require__(__webpack_require__.s = 3); 25825/******/ }) 25826/************************************************************************/ 25827/******/ ([ 25828/* 0 */ 25829/***/ (function(module, exports, __webpack_require__) { 25830 25831"use strict"; 25832 25833 25834var _undefined = __webpack_require__(5)(); // Support ES3 engines 25835 25836module.exports = function (val) { 25837 return (val !== _undefined) && (val !== null); 25838}; 25839 25840 25841/***/ }), 25842/* 1 */ 25843/***/ (function(module, exports, __webpack_require__) { 25844 25845"use strict"; 25846 25847 25848module.exports = __webpack_require__(18)() ? Symbol : __webpack_require__(20); 25849 25850 25851/***/ }), 25852/* 2 */ 25853/***/ (function(module, exports) { 25854 25855module.exports = __WEBPACK_EXTERNAL_MODULE_2__; 25856 25857/***/ }), 25858/* 3 */ 25859/***/ (function(module, exports, __webpack_require__) { 25860 25861"use strict"; 25862 25863 25864Object.defineProperty(exports, "__esModule", { 25865 value: true 25866}); 25867exports.DateRange = undefined; 25868 25869var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); 25870 25871var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 25872 25873var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 25874 25875exports.extendMoment = extendMoment; 25876 25877var _moment = __webpack_require__(2); 25878 25879var _moment2 = _interopRequireDefault(_moment); 25880 25881var _es6Symbol = __webpack_require__(1); 25882 25883var _es6Symbol2 = _interopRequireDefault(_es6Symbol); 25884 25885function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 25886 25887function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } 25888 25889function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 25890 25891//----------------------------------------------------------------------------- 25892// Constants 25893//----------------------------------------------------------------------------- 25894 25895var INTERVALS = { 25896 year: true, 25897 quarter: true, 25898 month: true, 25899 week: true, 25900 day: true, 25901 hour: true, 25902 minute: true, 25903 second: true 25904}; 25905 25906//----------------------------------------------------------------------------- 25907// Date Ranges 25908//----------------------------------------------------------------------------- 25909 25910var DateRange = exports.DateRange = function () { 25911 function DateRange(start, end) { 25912 _classCallCheck(this, DateRange); 25913 25914 var s = start; 25915 var e = end; 25916 25917 if (arguments.length === 1 || end === undefined) { 25918 if ((typeof start === 'undefined' ? 'undefined' : _typeof(start)) === 'object' && start.length === 2) { 25919 var _start = _slicedToArray(start, 2); 25920 25921 s = _start[0]; 25922 e = _start[1]; 25923 } else if (typeof start === 'string') { 25924 var _isoSplit = isoSplit(start); 25925 25926 var _isoSplit2 = _slicedToArray(_isoSplit, 2); 25927 25928 s = _isoSplit2[0]; 25929 e = _isoSplit2[1]; 25930 } 25931 } 25932 25933 this.start = s || s === 0 ? (0, _moment2.default)(s) : (0, _moment2.default)(-8640000000000000); 25934 this.end = e || e === 0 ? (0, _moment2.default)(e) : (0, _moment2.default)(8640000000000000); 25935 } 25936 25937 _createClass(DateRange, [{ 25938 key: 'adjacent', 25939 value: function adjacent(other) { 25940 var sameStartEnd = this.start.isSame(other.end); 25941 var sameEndStart = this.end.isSame(other.start); 25942 25943 return sameStartEnd && other.start.valueOf() <= this.start.valueOf() || sameEndStart && other.end.valueOf() >= this.end.valueOf(); 25944 } 25945 }, { 25946 key: 'add', 25947 value: function add(other) { 25948 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { adjacent: false }; 25949 25950 if (this.overlaps(other, options)) { 25951 return new this.constructor(_moment2.default.min(this.start, other.start), _moment2.default.max(this.end, other.end)); 25952 } 25953 25954 return null; 25955 } 25956 }, { 25957 key: 'by', 25958 value: function by(interval) { 25959 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { exclusive: false, step: 1 }; 25960 25961 var range = this; 25962 25963 return _defineProperty({}, _es6Symbol2.default.iterator, function () { 25964 var exclusive = options.exclusive || false; 25965 var step = options.step || 1; 25966 var diff = Math.abs(range.start.diff(range.end, interval)) / step; 25967 var iteration = 0; 25968 25969 return { 25970 next: function next() { 25971 var current = range.start.clone().add(iteration * step, interval); 25972 var done = exclusive ? !(iteration < diff) : !(iteration <= diff); 25973 25974 iteration++; 25975 25976 return { 25977 done: done, 25978 value: done ? undefined : current 25979 }; 25980 } 25981 }; 25982 }); 25983 } 25984 }, { 25985 key: 'byRange', 25986 value: function byRange(interval) { 25987 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { exclusive: false, step: 1 }; 25988 25989 var range = this; 25990 var step = options.step || 1; 25991 var diff = this.valueOf() / interval.valueOf() / step; 25992 var exclusive = options.exclusive || false; 25993 var unit = Math.floor(diff); 25994 var iteration = 0; 25995 25996 return _defineProperty({}, _es6Symbol2.default.iterator, function () { 25997 if (unit === Infinity) { 25998 return { done: true }; 25999 } 26000 26001 return { 26002 next: function next() { 26003 var current = (0, _moment2.default)(range.start.valueOf() + interval.valueOf() * iteration * step); 26004 var done = unit === diff && exclusive ? !(iteration < unit) : !(iteration <= unit); 26005 26006 iteration++; 26007 26008 return { 26009 done: done, 26010 value: done ? undefined : current 26011 }; 26012 } 26013 }; 26014 }); 26015 } 26016 }, { 26017 key: 'center', 26018 value: function center() { 26019 var center = this.start.valueOf() + this.diff() / 2; 26020 26021 return (0, _moment2.default)(center); 26022 } 26023 }, { 26024 key: 'clone', 26025 value: function clone() { 26026 return new this.constructor(this.start, this.end); 26027 } 26028 }, { 26029 key: 'contains', 26030 value: function contains(other) { 26031 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { exclusive: false }; 26032 26033 var start = this.start.valueOf(); 26034 var end = this.end.valueOf(); 26035 var oStart = other.valueOf(); 26036 var oEnd = other.valueOf(); 26037 26038 if (other instanceof DateRange) { 26039 oStart = other.start.valueOf(); 26040 oEnd = other.end.valueOf(); 26041 } 26042 26043 var startInRange = start < oStart || start <= oStart && !options.exclusive; 26044 var endInRange = end > oEnd || end >= oEnd && !options.exclusive; 26045 26046 return startInRange && endInRange; 26047 } 26048 }, { 26049 key: 'diff', 26050 value: function diff(unit, rounded) { 26051 return this.end.diff(this.start, unit, rounded); 26052 } 26053 }, { 26054 key: 'duration', 26055 value: function duration(unit, rounded) { 26056 return this.diff(unit, rounded); 26057 } 26058 }, { 26059 key: 'intersect', 26060 value: function intersect(other) { 26061 var start = this.start.valueOf(); 26062 var end = this.end.valueOf(); 26063 var otherStart = other.start.valueOf(); 26064 var otherEnd = other.end.valueOf(); 26065 var isZeroLength = start == end; 26066 var isOtherZeroLength = otherStart == otherEnd; 26067 26068 // Zero-length ranges 26069 if (isZeroLength) { 26070 var point = start; 26071 26072 if (point == otherStart || point == otherEnd) { 26073 return null; 26074 } else if (point > otherStart && point < otherEnd) { 26075 return this; 26076 } 26077 } else if (isOtherZeroLength) { 26078 var _point = otherStart; 26079 26080 if (_point == start || _point == end) { 26081 return null; 26082 } else if (_point > start && _point < end) { 26083 return other; 26084 } 26085 } 26086 26087 // Non zero-length ranges 26088 if (start <= otherStart && otherStart < end && end < otherEnd) { 26089 return new this.constructor(otherStart, end); 26090 } else if (otherStart < start && start < otherEnd && otherEnd <= end) { 26091 return new this.constructor(start, otherEnd); 26092 } else if (otherStart < start && start <= end && end < otherEnd) { 26093 return this; 26094 } else if (start <= otherStart && otherStart <= otherEnd && otherEnd <= end) { 26095 return other; 26096 } 26097 26098 return null; 26099 } 26100 }, { 26101 key: 'isEqual', 26102 value: function isEqual(other) { 26103 return this.start.isSame(other.start) && this.end.isSame(other.end); 26104 } 26105 }, { 26106 key: 'isSame', 26107 value: function isSame(other) { 26108 return this.isEqual(other); 26109 } 26110 }, { 26111 key: 'overlaps', 26112 value: function overlaps(other) { 26113 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { adjacent: false }; 26114 26115 var intersect = this.intersect(other) !== null; 26116 26117 if (options.adjacent && !intersect) { 26118 return this.adjacent(other); 26119 } 26120 26121 return intersect; 26122 } 26123 }, { 26124 key: 'reverseBy', 26125 value: function reverseBy(interval) { 26126 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { exclusive: false, step: 1 }; 26127 26128 var range = this; 26129 26130 return _defineProperty({}, _es6Symbol2.default.iterator, function () { 26131 var exclusive = options.exclusive || false; 26132 var step = options.step || 1; 26133 var diff = Math.abs(range.start.diff(range.end, interval)) / step; 26134 var iteration = 0; 26135 26136 return { 26137 next: function next() { 26138 var current = range.end.clone().subtract(iteration * step, interval); 26139 var done = exclusive ? !(iteration < diff) : !(iteration <= diff); 26140 26141 iteration++; 26142 26143 return { 26144 done: done, 26145 value: done ? undefined : current 26146 }; 26147 } 26148 }; 26149 }); 26150 } 26151 }, { 26152 key: 'reverseByRange', 26153 value: function reverseByRange(interval) { 26154 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { exclusive: false, step: 1 }; 26155 26156 var range = this; 26157 var step = options.step || 1; 26158 var diff = this.valueOf() / interval.valueOf() / step; 26159 var exclusive = options.exclusive || false; 26160 var unit = Math.floor(diff); 26161 var iteration = 0; 26162 26163 return _defineProperty({}, _es6Symbol2.default.iterator, function () { 26164 if (unit === Infinity) { 26165 return { done: true }; 26166 } 26167 26168 return { 26169 next: function next() { 26170 var current = (0, _moment2.default)(range.end.valueOf() - interval.valueOf() * iteration * step); 26171 var done = unit === diff && exclusive ? !(iteration < unit) : !(iteration <= unit); 26172 26173 iteration++; 26174 26175 return { 26176 done: done, 26177 value: done ? undefined : current 26178 }; 26179 } 26180 }; 26181 }); 26182 } 26183 }, { 26184 key: 'subtract', 26185 value: function subtract(other) { 26186 var start = this.start.valueOf(); 26187 var end = this.end.valueOf(); 26188 var oStart = other.start.valueOf(); 26189 var oEnd = other.end.valueOf(); 26190 26191 if (this.intersect(other) === null) { 26192 return [this]; 26193 } else if (oStart <= start && start < end && end <= oEnd) { 26194 return []; 26195 } else if (oStart <= start && start < oEnd && oEnd < end) { 26196 return [new this.constructor(oEnd, end)]; 26197 } else if (start < oStart && oStart < end && end <= oEnd) { 26198 return [new this.constructor(start, oStart)]; 26199 } else if (start < oStart && oStart < oEnd && oEnd < end) { 26200 return [new this.constructor(start, oStart), new this.constructor(oEnd, end)]; 26201 } else if (start < oStart && oStart < end && oEnd < end) { 26202 return [new this.constructor(start, oStart), new this.constructor(oStart, end)]; 26203 } 26204 26205 return []; 26206 } 26207 }, { 26208 key: 'toDate', 26209 value: function toDate() { 26210 return [this.start.toDate(), this.end.toDate()]; 26211 } 26212 }, { 26213 key: 'toString', 26214 value: function toString() { 26215 return this.start.format() + '/' + this.end.format(); 26216 } 26217 }, { 26218 key: 'valueOf', 26219 value: function valueOf() { 26220 return this.end.valueOf() - this.start.valueOf(); 26221 } 26222 }]); 26223 26224 return DateRange; 26225}(); 26226 26227//----------------------------------------------------------------------------- 26228// Moment Extensions 26229//----------------------------------------------------------------------------- 26230 26231function extendMoment(moment) { 26232 /** 26233 * Build a date range. 26234 */ 26235 moment.range = function range(start, end) { 26236 var m = this; 26237 26238 if (INTERVALS.hasOwnProperty(start)) { 26239 return new DateRange(moment(m).startOf(start), moment(m).endOf(start)); 26240 } 26241 26242 return new DateRange(start, end); 26243 }; 26244 26245 /** 26246 * Build a date range between a date (or now) and a specified interval. 26247 * @param {String} interval The type of interval 26248 * @param {Number} [count=1] The number of intervals (positive or negative) 26249 * @param {Moment|Date} [date=moment()] The date to use 26250 * @return {DateRange} 26251 */ 26252 moment.rangeFromInterval = function (interval) { 26253 var count = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; 26254 var date = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : moment(); 26255 26256 if (!moment.isMoment(date)) date = moment(date); 26257 if (!date.isValid()) throw new Error('Invalid date.'); 26258 26259 var dateWithInterval = date.clone().add(count, interval); 26260 26261 // Handle negative interval counts by assembling the dates in chronological order. 26262 var dates = []; 26263 dates.push(moment.min(date, dateWithInterval)); 26264 dates.push(moment.max(date, dateWithInterval)); 26265 26266 return new DateRang
vendor: 4,224 bytes, lines 26266-26463
26266e(dates); 26267 }; 26268 26269 /** 26270 * Uses moment.parseZone on both the start and end of the given time interval 26271 * to preserve the time zones on the resulting DateRange object. 26272 * @param {string} isoTimeInterval the timeInterval to be parsed 26273 * @return {DateRange} constructed using moments that will preserve the time zones 26274 */ 26275 moment.parseZoneRange = function (isoTimeInterval) { 26276 var momentStrings = isoSplit(isoTimeInterval); 26277 var start = moment.parseZone(momentStrings[0]); 26278 var end = moment.parseZone(momentStrings[1]); 26279 return new DateRange(start, end); 26280 }; 26281 26282 /** 26283 * Alias of static constructor. 26284 */ 26285 moment.fn.range = moment.range; 26286 26287 /** 26288 * Expose constructor 26289 */ 26290 moment.range.constructor = DateRange; 26291 26292 /** 26293 * Check if the current object is a date range. 26294 */ 26295 moment.isRange = function (range) { 26296 return range instanceof DateRange; 26297 }; 26298 26299 /** 26300 * Check if the current moment is within a given date range. 26301 */ 26302 moment.fn.within = function (range) { 26303 return range.contains(this.toDate()); 26304 }; 26305 26306 return moment; 26307} 26308 26309//----------------------------------------------------------------------------- 26310// Utility Functions 26311//----------------------------------------------------------------------------- 26312 26313/** 26314 * Splits an iso string into two strings. 26315 */ 26316function isoSplit(isoString) { 26317 return isoString.split('/'); 26318} 26319 26320/***/ }), 26321/* 4 */ 26322/***/ (function(module, exports, __webpack_require__) { 26323 26324"use strict"; 26325 26326 26327var assign = __webpack_require__(6) 26328 , normalizeOpts = __webpack_require__(13) 26329 , isCallable = __webpack_require__(9) 26330 , contains = __webpack_require__(15) 26331 26332 , d; 26333 26334d = module.exports = function (dscr, value/*, options*/) { 26335 var c, e, w, options, desc; 26336 if ((arguments.length < 2) || (typeof dscr !== 'string')) { 26337 options = value; 26338 value = dscr; 26339 dscr = null; 26340 } else { 26341 options = arguments[2]; 26342 } 26343 if (dscr == null) { 26344 c = w = true; 26345 e = false; 26346 } else { 26347 c = contains.call(dscr, 'c'); 26348 e = contains.call(dscr, 'e'); 26349 w = contains.call(dscr, 'w'); 26350 } 26351 26352 desc = { value: value, configurable: c, enumerable: e, writable: w }; 26353 return !options ? desc : assign(normalizeOpts(options), desc); 26354}; 26355 26356d.gs = function (dscr, get, set/*, options*/) { 26357 var c, e, options, desc; 26358 if (typeof dscr !== 'string') { 26359 options = set; 26360 set = get; 26361 get = dscr; 26362 dscr = null; 26363 } else { 26364 options = arguments[3]; 26365 } 26366 if (get == null) { 26367 get = undefined; 26368 } else if (!isCallable(get)) { 26369 options = get; 26370 get = set = undefined; 26371 } else if (set == null) { 26372 set = undefined; 26373 } else if (!isCallable(set)) { 26374 options = set; 26375 set = undefined; 26376 } 26377 if (dscr == null) { 26378 c = true; 26379 e = false; 26380 } else { 26381 c = contains.call(dscr, 'c'); 26382 e = contains.call(dscr, 'e'); 26383 } 26384 26385 desc = { get: get, set: set, configurable: c, enumerable: e }; 26386 return !options ? desc : assign(normalizeOpts(options), desc); 26387}; 26388 26389 26390/***/ }), 26391/* 5 */ 26392/***/ (function(module, exports, __webpack_require__) { 26393 26394"use strict"; 26395 26396 26397// eslint-disable-next-line no-empty-function 26398module.exports = function () {}; 26399 26400 26401/***/ }), 26402/* 6 */ 26403/***/ (function(module, exports, __webpack_require__) { 26404 26405"use strict"; 26406 26407 26408module.exports = __webpack_require__(7)() 26409 ? Object.assign 26410 : __webpack_require__(8); 26411 26412 26413/***/ }), 26414/* 7 */ 26415/***/ (function(module, exports, __webpack_require__) { 26416 26417"use strict"; 26418 26419 26420module.exports = function () { 26421 var assign = Object.assign, obj; 26422 if (typeof assign !== "function") return false; 26423 obj = { foo: "raz" }; 26424 assign(obj, { bar: "dwa" }, { trzy: "trzy" }); 26425 return (obj.foo + obj.bar + obj.trzy) === "razdwatrzy"; 26426}; 26427 26428 26429/***/ }), 26430/* 8 */ 26431/***/ (function(module, exports, __webpack_require__) { 26432 26433"use strict"; 26434 26435 26436var keys = __webpack_require__(10) 26437 , value = __webpack_require__(14) 26438 , max = Math.max; 26439 26440module.exports = function (dest, src /*, â¦srcn*/) { 26441 var error, i, length = max(arguments.length, 2), assign; 26442 dest = Object(value(dest)); 26443 assign = function (key) { 26444 try { 26445 dest[key] = src[key]; 26446 } catch (e) { 26447 if (!error) error = e; 26448 } 26449 }; 26450 for (i = 1; i < length; ++i) { 26451 src = arguments[i]; 26452 keys(src).forEach(assign); 26453 } 26454 if (error !== undefined) throw error; 26455 return dest; 26456}; 26457 26458 26459/***/ }), 26460/* 9 */ 26461/***/ (function(module, exports, __webpack_require__) { 26462 26463"use strict";
vendor: 8,832 bytes, lines 26464-26792
26464// Deprecated 26465 26466 26467 26468module.exports = function (obj) { 26469 return typeof obj === "function"; 26470}; 26471 26472 26473/***/ }), 26474/* 10 */ 26475/***/ (function(module, exports, __webpack_require__) { 26476 26477"use strict"; 26478 26479 26480module.exports = __webpack_require__(11)() 26481 ? Object.keys 26482 : __webpack_require__(12); 26483 26484 26485/***/ }), 26486/* 11 */ 26487/***/ (function(module, exports, __webpack_require__) { 26488 26489"use strict"; 26490 26491 26492module.exports = function () { 26493 try { 26494 Object.keys("primitive"); 26495 return true; 26496 } catch (e) { 26497 return false; 26498} 26499}; 26500 26501 26502/***/ }), 26503/* 12 */ 26504/***/ (function(module, exports, __webpack_require__) { 26505 26506"use strict"; 26507 26508 26509var isValue = __webpack_require__(0); 26510 26511var keys = Object.keys; 26512 26513module.exports = function (object) { 26514 return keys(isValue(object) ? Object(object) : object); 26515}; 26516 26517 26518/***/ }), 26519/* 13 */ 26520/***/ (function(module, exports, __webpack_require__) { 26521 26522"use strict"; 26523 26524 26525var isValue = __webpack_require__(0); 26526 26527var forEach = Array.prototype.forEach, create = Object.create; 26528 26529var process = function (src, obj) { 26530 var key; 26531 for (key in src) obj[key] = src[key]; 26532}; 26533 26534// eslint-disable-next-line no-unused-vars 26535module.exports = function (opts1 /*, â¦options*/) { 26536 var result = create(null); 26537 forEach.call(arguments, function (options) { 26538 if (!isValue(options)) return; 26539 process(Object(options), result); 26540 }); 26541 return result; 26542}; 26543 26544 26545/***/ }), 26546/* 14 */ 26547/***/ (function(module, exports, __webpack_require__) { 26548 26549"use strict"; 26550 26551 26552var isValue = __webpack_require__(0); 26553 26554module.exports = function (value) { 26555 if (!isValue(value)) throw new TypeError("Cannot use null or undefined"); 26556 return value; 26557}; 26558 26559 26560/***/ }), 26561/* 15 */ 26562/***/ (function(module, exports, __webpack_require__) { 26563 26564"use strict"; 26565 26566 26567module.exports = __webpack_require__(16)() 26568 ? String.prototype.contains 26569 : __webpack_require__(17); 26570 26571 26572/***/ }), 26573/* 16 */ 26574/***/ (function(module, exports, __webpack_require__) { 26575 26576"use strict"; 26577 26578 26579var str = "razdwatrzy"; 26580 26581module.exports = function () { 26582 if (typeof str.contains !== "function") return false; 26583 return (str.contains("dwa") === true) && (str.contains("foo") === false); 26584}; 26585 26586 26587/***/ }), 26588/* 17 */ 26589/***/ (function(module, exports, __webpack_require__) { 26590 26591"use strict"; 26592 26593 26594var indexOf = String.prototype.indexOf; 26595 26596module.exports = function (searchString/*, position*/) { 26597 return indexOf.call(this, searchString, arguments[1]) > -1; 26598}; 26599 26600 26601/***/ }), 26602/* 18 */ 26603/***/ (function(module, exports, __webpack_require__) { 26604 26605"use strict"; 26606 26607 26608var validTypes = { object: true, symbol: true }; 26609 26610module.exports = function () { 26611 var symbol; 26612 if (typeof Symbol !== 'function') return false; 26613 symbol = Symbol('test symbol'); 26614 try { String(symbol); } catch (e) { return false; } 26615 26616 // Return 'true' also for polyfills 26617 if (!validTypes[typeof Symbol.iterator]) return false; 26618 if (!validTypes[typeof Symbol.toPrimitive]) return false; 26619 if (!validTypes[typeof Symbol.toStringTag]) return false; 26620 26621 return true; 26622}; 26623 26624 26625/***/ }), 26626/* 19 */ 26627/***/ (function(module, exports, __webpack_require__) { 26628 26629"use strict"; 26630 26631 26632module.exports = function (x) { 26633 if (!x) return false; 26634 if (typeof x === 'symbol') return true; 26635 if (!x.constructor) return false; 26636 if (x.constructor.name !== 'Symbol') return false; 26637 return (x[x.constructor.toStringTag] === 'Symbol'); 26638}; 26639 26640 26641/***/ }), 26642/* 20 */ 26643/***/ (function(module, exports, __webpack_require__) { 26644 26645"use strict"; 26646// ES2015 Symbol polyfill for environments that do not (or partially) support it 26647 26648 26649 26650var d = __webpack_require__(4) 26651 , validateSymbol = __webpack_require__(21) 26652 26653 , create = Object.create, defineProperties = Object.defineProperties 26654 , defineProperty = Object.defineProperty, objPrototype = Object.prototype 26655 , NativeSymbol, SymbolPolyfill, HiddenSymbol, globalSymbols = create(null) 26656 , isNativeSafe; 26657 26658if (typeof Symbol === 'function') { 26659 NativeSymbol = Symbol; 26660 try { 26661 String(NativeSymbol()); 26662 isNativeSafe = true; 26663 } catch (ignore) {} 26664} 26665 26666var generateName = (function () { 26667 var created = create(null); 26668 return function (desc) { 26669 var postfix = 0, name, ie11BugWorkaround; 26670 while (created[desc + (postfix || '')]) ++postfix; 26671 desc += (postfix || ''); 26672 created[desc] = true; 26673 name = '@@' + desc; 26674 defineProperty(objPrototype, name, d.gs(null, function (value) { 26675 // For IE11 issue see: 26676 // https://connect.microsoft.com/IE/feedbackdetail/view/1928508/ 26677 // ie11-broken-getters-on-dom-objects 26678 // https://github.com/medikoo/es6-symbol/issues/12 26679 if (ie11BugWorkaround) return; 26680 ie11BugWorkaround = true; 26681 defineProperty(this, name, d(value)); 26682 ie11BugWorkaround = false; 26683 })); 26684 return name; 26685 }; 26686}()); 26687 26688// Internal constructor (not one exposed) for creating Symbol instances. 26689// This one is used to ensure that `someSymbol instanceof Symbol` always return false 26690HiddenSymbol = function Symbol(description) { 26691 if (this instanceof HiddenSymbol) throw new TypeError('Symbol is not a constructor'); 26692 return SymbolPolyfill(description); 26693}; 26694 26695// Exposed `Symbol` constructor 26696// (returns instances of HiddenSymbol) 26697module.exports = SymbolPolyfill = function Symbol(description) { 26698 var symbol; 26699 if (this instanceof Symbol) throw new TypeError('Symbol is not a constructor'); 26700 if (isNativeSafe) return NativeSymbol(description); 26701 symbol = create(HiddenSymbol.prototype); 26702 description = (description === undefined ? '' : String(description)); 26703 return defineProperties(symbol, { 26704 __description__: d('', description), 26705 __name__: d('', generateName(description)) 26706 }); 26707}; 26708defineProperties(SymbolPolyfill, { 26709 for: d(function (key) { 26710 if (globalSymbols[key]) return globalSymbols[key]; 26711 return (globalSymbols[key] = SymbolPolyfill(String(key))); 26712 }), 26713 keyFor: d(function (s) { 26714 var key; 26715 validateSymbol(s); 26716 for (key in globalSymbols) if (globalSymbols[key] === s) return key; 26717 }), 26718 26719 // To ensure proper interoperability with other native functions (e.g. Array.from) 26720 // fallback to eventual native implementation of given symbol 26721 hasInstance: d('', (NativeSymbol && NativeSymbol.hasInstance) || SymbolPolyfill('hasInstance')), 26722 isConcatSpreadable: d('', (NativeSymbol && NativeSymbol.isConcatSpreadable) || 26723 SymbolPolyfill('isConcatSpreadable')), 26724 iterator: d('', (NativeSymbol && NativeSymbol.iterator) || SymbolPolyfill('iterator')), 26725 match: d('', (NativeSymbol && NativeSymbol.match) || SymbolPolyfill('match')), 26726 replace: d('', (NativeSymbol && NativeSymbol.replace) || SymbolPolyfill('replace')), 26727 search: d('', (NativeSymbol && NativeSymbol.search) || SymbolPolyfill('search')), 26728 species: d('', (NativeSymbol && NativeSymbol.species) || SymbolPolyfill('species')), 26729 split: d('', (NativeSymbol && NativeSymbol.split) || SymbolPolyfill('split')), 26730 toPrimitive: d('', (NativeSymbol && NativeSymbol.toPrimitive) || SymbolPolyfill('toPrimitive')), 26731 toStringTag: d('', (NativeSymbol && NativeSymbol.toStringTag) || SymbolPolyfill('toStringTag')), 26732 unscopables: d('', (NativeSymbol && NativeSymbol.unscopables) || SymbolPolyfill('unscopables')) 26733}); 26734 26735// Internal tweaks for real symbol producer 26736defineProperties(HiddenSymbol.prototype, { 26737 constructor: d(SymbolPolyfill), 26738 toString: d('', function () { return this.__name__; }) 26739}); 26740 26741// Proper implementation of methods exposed on Symbol.prototype 26742// They won't be accessible on produced symbol instances as they derive from HiddenSymbol.prototype 26743defineProperties(SymbolPolyfill.prototype, { 26744 toString: d(function () { return 'Symbol (' + validateSymbol(this).__description__ + ')'; }), 26745 valueOf: d(function () { return validateSymbol(this); }) 26746}); 26747defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toPrimitive, d('', function () { 26748 var symbol = validateSymbol(this); 26749 if (typeof symbol === 'symbol') return symbol; 26750 return symbol.toString(); 26751})); 26752defineProperty(SymbolPolyfill.prototype, SymbolPolyfill.toStringTag, d('c', 'Symbol')); 26753 26754// Proper implementaton of toPrimitive and toStringTag for returned symbol instances 26755defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, 26756 d('c', SymbolPolyfill.prototype[SymbolPolyfill.toStringTag])); 26757 26758// Note: It's important to define `toPrimitive` as last one, as some implementations 26759// implement `toPrimitive` natively without implementing `toStringTag` (or other specified symbols) 26760// And that may invoke error in definition flow: 26761// See: https://github.com/medikoo/es6-symbol/issues/13#issuecomment-164146149 26762defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, 26763 d('c', SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive])); 26764 26765 26766/***/ }), 26767/* 21 */ 26768/***/ (function(module, exports, __webpack_require__) { 26769 26770"use strict"; 26771 26772 26773var isSymbol = __webpack_require__(19); 26774 26775module.exports = function (value) { 26776 if (!isSymbol(value)) throw new TypeError(value + " is not a symbol"); 26777 return value; 26778}; 26779 26780 26781/***/ }) 26782/******/ ]); 26783}); 26784//# sourceMappingURL=moment-range.js.map 26785 26786/***/ }), 26787/* 534 */ 26788/***/ (function(module, exports, __webpack_require__) { 26789 26790// style-loader: Adds some css to the DOM by adding a <style> tag 26791 26792// load the styles
26793var content = __webpack_require__(535); 26794if(typeof content === 'string') content = [[module.i, content, '']]; 26795// Prepare cssTransformation 26796var transform; 26797 26798var options = {} 26799options.transform = transform 26800// add the styles to the DOM 26801var update = __webpack_require__(3)(content, options); 26802if(content.locals) module.exports = content.locals; 26803// Hot Module Replacement 26804if(false) { 26805 // When the styles change, update the <style> tags 26806 if(!content.locals) { 26807 module.hot.accept("!!../../css-loader/index.js!../../postcss-loader/lib/index.js??ref--3-2!./react-datepicker.css", function() { 26808 var newContent = require("!!../../css-loader/index.js!../../postcss-loader/lib/index.js??ref--3-2!./react-datepicker.css"); 26809 if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 26810 update(newContent); 26811 }); 26812 } 26813 // When the module is disposed, remove the <style> tags 26814 module.hot.dispose(function() { update(); }); 26815} 26816 26817/***/ }), 26818/* 535 */ 26819/***/ (function(module, exports, __webpack_require__) { 26820 26821exports = module.exports = __webpack_require__(2)(undefined); 26822// imports 26823 26824 26825// module 26826exports.push([module.i, ".react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow {\n margin-left: -8px;\n position: absolute; }\n .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow, .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n .react-datepicker__month-read-view--down-arrow::before {\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px; }\n .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n .react-datepicker__month-read-view--down-arrow::before {\n content: \"\";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n border-bottom-color: #aeaeae; }\n .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px; }\n .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle::before {\n border-top: none;\n border-bottom-color: #f0f0f0; }\n .react-datepicker-popper[data-placement^=\"bottom\"] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae; }\n .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow {\n bottom: 0;\n margin-bottom: -8px; }\n .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow, .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n .react-datepicker__month-read-view--down-arrow::before {\n border-bottom: none;\n border-top-color: #fff; }\n .react-datepicker-popper[data-placement^=\"top\"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n .react-datepicker__month-read-view--down-arrow::before {\n bottom: -1px;\n border-top-color: #aeaeae; }\n .react-datepicker-wrapper {\n display: inline-block; }\n .react-datepicker {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-size: 12.8px;\n font-size: 0.8rem;\n background-color: #fff;
26826\n color: #000;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n display: inline-block;\n position: relative; }\n .react-datepicker__triangle {\n position: absolute;\n left: 50px; }\n .react-datepicker-popper {\n z-index: 1; }\n .react-datepicker-popper[data-placement^=\"bottom\"] {\n margin-top: 10px; }\n .react-datepicker-popper[data-placement^=\"top\"] {\n margin-bottom: 6px; }\n .react-datepicker-popper[data-placement^=\"right\"] {\n margin-left: 8px; }\n .react-datepicker-popper[data-placement^=\"right\"] .react-datepicker__triangle {\n left: auto;\n right: 42px; }\n .react-datepicker-popper[data-placement^=\"left\"] {\n margin-right: 8px; }\n .react-datepicker-popper[data-placement^=\"left\"] .react-datepicker__triangle {\n left: 42px;\n right: auto; }\n .react-datepicker__header {\n text-align: center;\n background-color: #f0f0f0;\n border-bottom: 1px solid #aeaeae;\n border-top-left-radius: 4.8px;\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 4.8px;\n border-top-right-radius: 0.3rem;\n padding-top: 8px;\n position: relative; }\n .react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll {\n display: inline-block;\n margin: 0 2px; }\n .react-datepicker__current-month {\n margin-top: 0;\n color: #000;\n font-weight: bold;\n font-size: 15.104px;\n font-size: 0.944rem; }\n .react-datepicker__navigation {\n line-height: 27.2px;\n line-height: 1.7rem;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 10px;\n width: 0;\n border: 7.2px solid transparent;\n border: 0.45rem solid transparent;\n z-index: 1; }\n .react-datepicker__navigation--previous {\n left: 10px;\n border-right-color: #ccc; }\n .react-datepicker__navigation--previous:hover {\n border-right-color: #b3b2b2; }\n .react-datepicker__navigation--next {\n right: 10px;\n border-left-color: #ccc; }\n .react-datepicker__navigation--next:hover {\n border-left-color: #b3b2b2; }\n .react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto; }\n .react-datepicker__navigation--years-previous {\n top: 4px;\n border-top-color: #ccc; }\n .react-datepicker__navigation--years-previous:hover {\n border-top-color: #b3b2b2; }\n .react-datepicker__navigation--years-upcoming {\n top: -4px;\n border-bottom-color: #ccc; }\n .react-datepicker__navigation--years-upcoming:hover {\n border-bottom-color: #b3b2b2; }\n .react-datepicker__month-container {\n display: inline;\n float: left; }\n .react-datepicker__month {\n margin: 6.4px;\n margin: 0.4rem;\n text-align: center; }\n .react-datepicker__week-number {\n color: #ccc;\n display: inline-block;\n width: 27.2px;\n width: 1.7rem;\n line-height: 27.2px;\n line-height: 1.7rem;\n text-align: center;\n margin: 2.656px;\n margin: 0.166rem; }\n .react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer; }\n .react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0; }\n .react-datepicker__day-name,\n.react-datepicker__day {\n color: #000;\n display: inline-block;\n width: 27.2px;\n width: 1.7rem;\n line-height: 27.2px;\n line-height: 1.7rem;\n text-align: center;\n margin: 2.656px;\n margin: 0.166rem; }\n .react-datepicker__day {\n cursor: pointer; }\n .react-datepicker__day:hover {\n border-radius: 0.3rem;\n background-color: #f0f0f0; }\n .react-datepicker__day--today {\n font-weight: bold; }\n .react-datepicker__day--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff; }\n .react-datepicker__day--highlighted:hover {\n background-color: #32be3f; }\n .react-datepicker__day--highlighted-custom-1 {\n color: magenta; }\n .react-datepicker__day--highlighted-custom-2 {\n color: green; }\n .react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range {\n border-radius: 0.3rem;\n background-color: #216ba5;\n color: #fff; }\n .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover {\n background-color: #1d5d90; }\n .react-datepicker__day--keyboard-selected {\n border-radius: 0.3rem;\n background-color: #2a87d0;\n color: #fff; }\n .react-datepicker__day--keyboard-selected:hover {\n background-color: #1d5d90; }\n .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range) {\n background-color: rgba(33, 107, 165, .5); }\n .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range) {\n background-color: #f0f0f0;\n color: #000; }\n .react-datepicker__day--disabled {\n cursor: default;\n color: #ccc; }\n .react-datepicker__day--disabled:hover {\n background-color: transparent; }\n .react-datepicker__input-container {\n position: relative;\n display: inline-block; }\n .react-datepicker__year-read-view,\n.react-datepicker__month-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem; }\n .react-datepicker__year-read-view:hover,\n .react-datepicker__month-read-view:hover {\n cursor: pointer; }\n .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b2b2; }\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow {\n border-top-color: #ccc;\n float: right;\n margin-left: 20px;\n top: 8px;\n position: relative;\n border-width: 7.2px;\n border-width: 0.45rem; }\n .react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown {\n background-color: #f0f0f0;\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae; }\n .react-datepicker__year-dropdown:hover,\n .react-datepicker__month-dropdown:hover {\n cursor: pointer; }\n .react-datepicker__year-dropdown--scrollable,\n .react-datepicker__month-dropdown--scrollable {\n height: 150px;
26826\n overflow-y: scroll; }\n .react-datepicker__year-option,\n.react-datepicker__month-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto; }\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type {\n border-top-left-radius: 4.8px;\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 4.8px;\n border-top-right-radius: 0.3rem; }\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 4.8px;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 4.8px;\n border-bottom-right-radius: 0.3rem; }\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover {\n background-color: #ccc; }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b2b2; }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b2b2; }\n .react-datepicker__year-option--selected,\n .react-datepicker__month-option--selected {\n position: absolute;\n left: 15px; }\n .react-datepicker__close-icon {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n display: inline-block;\n height: 0;\n outline: 0;\n padding: 0;\n vertical-align: middle; }\n .react-datepicker__close-icon::after {\n background-color: #216ba5;\n border-radius: 50%;\n bottom: 0;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n content: \"\\D7\";\n cursor: pointer;\n font-size: 12px;\n height: 16px;\n width: 16px;\n line-height: 1;\n margin: -8px auto 0;\n padding: 2px;\n position: absolute;\n right: 7px;\n text-align: center;\n top: 50%; }\n .react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left; }\n .react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, .8);\n left: 0;\n top: 0;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n z-index: 2147483647; }\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day {\n width: 48px;\n width: 3rem;\n line-height: 48px;\n line-height: 3rem; }\n @media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day {\n width: 2rem;\n line-height: 2rem; } }\n .react-datepicker__portal .react-datepicker__current-month {\n font-size: 23.04px;\n font-size: 1.44rem; }\n .react-datepicker__portal .react-datepicker__navigation {\n border: 12.96px solid transparent;\n border: 0.81rem solid transparent; }\n .react-datepicker__portal .react-datepicker__navigation--previous {\n border-right-color: #ccc; }\n .react-datepicker__portal .react-datepicker__navigation--previous:hover {\n border-right-color: #b3b2b2; }\n .react-datepicker__portal .react-datepicker__navigation--next {\n border-left-color: #ccc; }\n .react-datepicker__portal .react-datepicker__navigation--next:hover {\n border-left-color: #b3b2b2; }\n", ""]); 26827 26828// exports 26829 26830 26831/***/ }), 26832/* 536 */ 26833/***/ (function(module, exports, __webpack_require__) { 26834 26835"use strict"; 26836 26837 26838Object.defineProperty(exports, "__esModule", { 26839 value: true 26840}); 26841 26842var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 26843 26844var _react = __webpack_require__(1); 26845 26846var _react2 = _interopRequireDefault(_react); 26847 26848var _TextInput = __webpack_require__(207); 26849 26850var _TextInput2 = _interopRequireDefault(_TextInput); 26851 26852var _TextArea = __webpack_require__(373); 26853 26854var _TextArea2 = _interopRequireDefault(_TextArea); 26855 26856var _reactGoogleRecaptcha = __webpack_require__(260); 26857 26858var _reactGoogleRecaptcha2 = _interopRequireDefault(_reactGoogleRecaptcha); 26859 26860var _reactTextMask = __webpack_require__(281); 26861 26862var _reactTextMask2 = _interopRequireDefault(_reactTextMask); 26863 26864function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 26865 26866function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 26867 26868function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 26869 26870function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
26870onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 26871 26872var PersonalStep = function (_React$Component) { 26873 _inherits(PersonalStep, _React$Component); 26874 26875 function PersonalStep() { 26876 _classCallCheck(this, PersonalStep); 26877 26878 var _this = _possibleConstructorReturn(this, (PersonalStep.__proto__ || Object.getPrototypeOf(PersonalStep)).call(this)); 26879 26880 _this.setCaptha = _this.setCaptha.bind(_this); 26881 return _this; 26882 } 26883 26884 _createClass(PersonalStep, [{ 26885 key: 'render', 26886 value: function render() { 26887 var displayError = Object.keys(this.props.errors).length > 0 ? this.props.errors[Object.keys(this.props.errors)[0]] : ''; 26888 26889 return _react2.default.createElement( 26890 'div', 26891 { className: 'personal-step' }, 26892 _react2.default.createElement( 26893 'p', 26894 { className: 'b-intro' }, 26895 'To confirm your appointment, let us know how to get in touch with you:' 26896 ), 26897 _react2.default.createElement( 26898 'p', 26899 { className: 'validation-errors' }, 26900 displayError 26901 ), 26902 _react2.default.createElement(_TextInput2.default, { 26903 placeholder: 'Full Name', 26904 name: 'name', 26905 onChange: this.props.setAppointmentState, 26906 isInvalid: this.props.errors['name'] 26907 }), 26908 _react2.default.createElement(_TextInput2.default, { 26909 placeholder: 'Email', 26910 name: 'email', 26911 onChange: this.props.setAppointmentState, 26912 isInvalid: this.props.errors['email'] 26913 }), 26914 _react2.default.createElement(_reactTextMask2.default, { 26915 mask: ['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/], 26916 placeholder: 'Phone Number', 26917 className: this.props.errors['phone'] != null ? "a-input invalid" : "a-input", 26918 onChange: this.props.setAppointmentState, 26919 name: 'phone', 26920 isInvalid: this.props.errors['phone'] 26921 26922 }), 26923 _react2.default.createElement(_TextArea2.default, { 26924 placeholder: 'Enter your comments here...', 26925 name: 'comment', 26926 onChange: this.props.setAppointmentState, 26927 isInvalid: this.props.errors['comment'] 26928 }), 26929 _react2.default.createElement(_reactGoogleRecaptcha2.default, { 26930 name: 'captcha', 26931 ref: this.setCaptha, 26932 className: 'recaptcha-widget', 26933 sitekey: '6LcfSkAUAAAAAA-xHDC03d2rghgPjkWMf7Mgd5eU', 26934 onChange: this.onChange 26935 }) 26936 ); 26937 } 26938 26939 // in react-google-recaptcha this field is required 26940 26941 }, { 26942 key: 'onChange', 26943 value: function onChange(value) {} 26944 }, { 26945 key: 'setCaptha', 26946 value: function setCaptha(el) { 26947 this.props.setAppointmentState({ 26948 target: { 26949 name: 'captcha', 26950 value: el 26951 } 26952 }); 26953 } 26954 }]); 26955 26956 return PersonalStep; 26957}(_react2.default.Component); 26958 26959exports.default = PersonalStep; 26960 26961/***/ }), 26962/* 537 */ 26963/***/ (function(module, exports, __webpack_require__) { 26964 26965"use strict"; 26966 26967 26968Object.defineProperty(exports, "__esModule", { 26969 value: true 26970}); 26971 26972var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 26973 26974var _react = __webpack_require__(1); 26975 26976var _react2 = _interopRequireDefault(_react); 26977 26978var _constants = __webpack_require__(372); 26979 26980function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 26981 26982function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 26983 26984function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 26985 26986function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
26986onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 26987 26988var CurrentState = function (_React$Component) { 26989 _inherits(CurrentState, _React$Component); 26990 26991 function CurrentState(props) { 26992 _classCallCheck(this, CurrentState); 26993 26994 var _this = _possibleConstructorReturn(this, (CurrentState.__proto__ || Object.getPrototypeOf(CurrentState)).call(this, props)); 26995 26996 _this.moveBack = _this.moveBack.bind(_this); 26997 return _this; 26998 } 26999 27000 _createClass(CurrentState, [{ 27001 key: 'render', 27002 value: function render() { 27003 return _react2.default.createElement( 27004 'ul', 27005 { className: 'current-state' }, 27006 _react2.default.createElement('li', { className: this.props.currState === _constants.STEPS.GENERAL_DETAILS ? "active" : "", 27007 onClick: this.moveBack }), 27008 _react2.default.createElement('li', { className: this.props.currState === _constants.STEPS.PERSONAL_DETAILS ? "active" : "" }), 27009 _react2.default.createElement('li', { className: this.props.currState > _constants.STEPS.PERSONAL_DETAILS ? "active" : "" }) 27010 ); 27011 } 27012 }, { 27013 key: 'moveBack', 27014 value: function moveBack() { 27015 if (this.props.currState === _constants.STEPS.PERSONAL_DETAILS) { 27016 this.props.onPointClick(_constants.STEPS.GENERAL_DETAILS); 27017 } 27018 } 27019 }]); 27020 27021 return CurrentState; 27022}(_react2.default.Component); 27023 27024exports.default = CurrentState; 27025 27026/***/ }), 27027/* 538 */ 27028/***/ (function(module, exports, __webpack_require__) { 27029 27030"use strict"; 27031 27032 27033Object.defineProperty(exports, "__esModule", { 27034 value: true 27035}); 27036 27037var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 27038 27039function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 27040 27041var Validator = function () { 27042 function Validator() { 27043 _classCallCheck(this, Validator); 27044 } 27045 27046 _createClass(Validator, null, [{ 27047 key: "name", 27048 value: function name(value) { 27049 return value && value.length < 30; 27050 } 27051 }, { 27052 key: "email", 27053 value: function email(value) { 27054 var regex = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 27055 27056 return value && regex.test(value) && value.length < 30; 27057 } 27058 }, { 27059 key: "phone", 27060 value: function phone(value) { 27061 var regex = /^\(\d{3}\) \d{3}-\d{4}$/; 27062 27063 return value && regex.test(value) && value.length === 14; 27064 } 27065 }, { 27066 key: "comments", 27067 value: function comments(value) { 27068 // not required 27069 if (!value) return true; 27070 27071 return value.length < 200; 27072 } 27073 }, { 27074 key: "carYear", 27075 value: function carYear(value) { 27076 var minYear = 1920; 27077 27078 return value >= minYear && value <= new Date(Date.now()).getFullYear() + 1 && Number.isInteger(+value); 27079 } 27080 }]); 27081 27082 return Validator; 27083}(); 27084 27085exports.default = Validator; 27086 27087/***/ }), 27088/* 539 */ 27089/***/ (function(module, exports, __webpack_require__) { 27090 27091"use strict"; 27092 27093 27094Object.defineProperty(exports, "__esModule", { 27095 value: true 27096}); 27097 27098var _react = __webpack_require__(1); 27099 27100var _react2 = _interopRequireDefault(_react); 27101 27102function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 27103 27104var AppointmentCall = function AppointmentCall(props) { 27105 return _react2.default.createElement( 27106 "div", 27107 { className: "appointment-call" }, 27108 _react2.default.createElement( 27109 "div", 27110 { className: "b-content" }, 27111 _react2.default.createElement( 27112 "header", 27113 { className: "b-header" }, 27114 "SCHEDULE APPOINTMENT" 27115 ), 27116 _react2.default.createElement( 27117 "div", 27118 { className: "centered-section" }, 27119 _react2.default.createElement("img", { className: "main-icon", 27120 src: "/images/appointment/icon-call.svg" 27121 }), 27122 _react2.default.createElement( 27123 "h3", 27124 { className: "step-title" }, 27125 _react2.default.createElement( 27126 "a", 27127 { href: "tel:" + props.center.phoneNumber }, 27128 props.center.phoneNumber 27129 ) 27130 ), 27131 _react2.default.createElement( 27132 "h4", 27133 { className: "subtitle" }, 27134 "Please call us", 27135 _react2.default.createElement("br", null), 27136 "to schedule your appointment" 27137 ), 27138 _react2.default.createElement( 27139 "a", 27140 { className: "apply-btn alert-btn", 27141 href: "tel:" + props.center.phoneNumber }, 27142 "CALL US NOW" 27143 ) 27144 ) 27145 ) 27146 ); 27147}; 27148 27149exports.default = AppointmentCall; 27150 27151/***/ }) 27152/******/ ]); 27153//# sourceMappingURL=appointment.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.